logo
search
OneDrive File Issues

How to Remove an Old OneDrive Folder on Mac Without Deleting Your Active Account

Ayan MasoodAyan Masood Sep 30, 2026 869 views

Question details

The user needs a reliable method to identify and delete an inactive, unlinked OneDrive folder on macOS without accidentally deleting the active folder of a remaining connected account.

How to Safely Remove an Old OneDrive Folder on macOS
Product
Microsoft OneDrive for Mac
Device & OS
macOS
Scenario
Managing local storage after unlinking a OneDrive account, which often leaves behind duplicate folders or symbolic links that look identical to the active sync directory.
Observed behavior
Duplicate OneDrive folders or timestamped directories remain in the home folder or ~/Library/CloudStorage. It is unclear which folder is actively syncing and which can be safely deleted.
Before you start

Before attempting to delete any directories, make sure your active OneDrive application is running, connected to the internet, and showing an 'Up to date' sync status.

Solution 1Recommended

Identify the Active Folder Using a Cloud Test File

This is the safest method to verify folder activity. By creating a file online, you can observe which local folder downloads it.

Because macOS utilizes the File Provider extension (locating folders under ~/Library/CloudStorage), old symbolic links or unlinked folders may still appear alongside active ones. Testing the sync connection directly prevents accidental data loss.

1
Create a test file in OneDrive Web

Open your web browser, log in to your active OneDrive account, and click 'New' > 'Word document' or 'Text document' to create a test file named 'SyncTest'.

2
Monitor local folders in Finder

Open Finder on your Mac and navigate to your home directory or where your OneDrive folders are located. Check inside both the duplicate and the primary OneDrive folders.

3
Identify the active directory

The folder that successfully downloads the 'SyncTest' file within a few moments is your active, connected OneDrive folder.

4
Inspect CloudStorage paths

Press Command + Shift + G in Finder and go to ~/Library/CloudStorage. Verify the folder structure to see which folder matches the active one you just identified.

5
Delete the inactive folder

Once you are absolutely sure which folder is inactive (it did not receive the test file), right-click that specific folder and select 'Move to Trash'.

Identify the Active Folder Using a Cloud Test File
Check Symbolic Links: After removing the inactive folder from ~/Library/CloudStorage, check your Mac's Home folder for any leftover aliases or symbolic links pointing to the old account and move them to the Trash as well.
Free Microsoft Office alternative

Manage Documents More Efficiently with WPS Office

If you are tired of dealing with confusing account synchronizations and complex cloud storage setups in Microsoft Office, try WPS Office. It provides a straightforward, lightweight alternative that connects beautifully with multiple cloud services, giving you full control over where your documents are saved without creating messy duplicate directories.

Seamlessly compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Easily manage local and cloud files without the hassle of duplicate sync folders.Lightweight application size saves valuable disk space on your Mac.Free to download and use with a highly intuitive, user-friendly interface.
microsoft office alternative - wps office

Frequently Asked Questions

Where are OneDrive folders actually stored on modern macOS?

Since macOS Monterey 12.1, OneDrive uses the Apple File Provider platform. The actual files are officially stored in the ~/Library/CloudStorage directory. The OneDrive folders you see in your home directory or sidebar are often symbolic links or aliases pointing to this hidden library location.

Why did OneDrive create a duplicate folder with a timestamp?

When you reset the OneDrive application or log into a new account while an old configuration still exists, macOS prevents overwriting the old data. Instead, it renames the old folder by appending a timestamp or date to its name, allowing the new active account to create a fresh directory.

Is it safe to delete the entire CloudStorage folder?

No, you should never delete the entire ~/Library/CloudStorage directory. Doing so could corrupt or permanently delete files from other synced cloud services like iCloud Drive or Google Drive. Only target and delete the specific, inactive OneDrive folder inside that directory.