Apps · free up space

How to uninstall OneDrive on a Mac

Click the OneDrive cloud icon in the menu bar, open Help & Settings → Preferences, and on the Account tab choose Unlink this Mac. Then quit OneDrive and drag it from Applications to the Trash. Microsoft says you lose no files or data by unlinking or uninstalling: everything in your OneDrive is still there when you sign in at OneDrive.com.

What happens to your files

OneDrive on a Mac is a view of your OneDrive, not the only copy of it. Microsoft's help says you won't lose files or data by unlinking or uninstalling, and that you can still reach your files by signing in at OneDrive.com.

The one thing to be careful with is deleting while the Mac is still linked. From macOS 12.1, Files On-Demand is on by default: files you have not opened are online-only and take no space, and Microsoft is explicit that deleting an online-only file from your Mac deletes it from your OneDrive on all devices and online. So unlink first, and do not empty the OneDrive folder to "tidy up" before you do.

Uninstall OneDrive

  1. Click the OneDrive cloud icon in the menu bar, open Help & Settings, and choose Preferences.
  2. On the Account tab, choose Unlink this Mac and follow the instructions.
  3. Quit OneDrive from the same menu.
  4. In Finder, go to Applications and drag OneDrive to the Trash, then empty the Trash.

Check for a second copy

OneDrive comes from the Mac App Store and as a standalone download, and a Mac can end up with both. Microsoft gives a command for each; any path either prints is a copy of OneDrive:

mdfind kMDItemCFBundleIdentifier = "com.microsoft.OneDrive"
mdfind kMDItemCFBundleIdentifier = "com.microsoft.OneDrive-mac"

The first finds the standalone version, the second the App Store one. Drag every copy to the Trash. Microsoft's two-versions page also covers an old OneDrive folder left in the CloudStorage folder: with OneDrive still running, click its menu bar icon, follow Show in Finder in the message, open each OneDrive folder, and if one shows a banner with a Delete button at the top of the window, that folder belongs to the previous version and the button removes it.

If you were uninstalling to fix sync

A reset is the shorter route, and Microsoft says it loses no files either. Quit OneDrive, find it in Applications, Control-click it and choose Show Package Contents, go to Contents → Resources, and double-click ResetOneDriveApp.command (or ResetOneDriveAppStandalone.command for the standalone version). Start OneDrive and choose your previous sync location, so files that have not changed are not downloaded again. If you had chosen to sync only some folders, choose them again.

The local folder

Microsoft's pages do not say what becomes of the OneDrive folder on the Mac once it is unlinked. Before you move it to the Trash, sign in at OneDrive.com and check that what you need is there. Anything you marked to always keep on the Mac takes space until you do; online-only files never did. For other pieces OneDrive leaves in your Library, search by its bundle ID, as the leftover files after uninstalling an app describes.

Where the app comes in

RefreshYourMac has no OneDrive category, so unlinking is OneDrive's job, with the steps above. Its Uninstall an App, described in how to uninstall apps on a Mac, searches both Library folders by the bundle IDs of an app and its helpers and lists every piece with its size before anything moves; your own files go to the Trash, and root-owned ones are removed only after the password prompt. A shared container is listed but left unticked, and it does not look in the CloudStorage folder, so your synced files are never part of the plan. Uninstall an App is in the download edition, not the Mac App Store edition. What any uninstaller should and should not do is in macOS uninstaller apps: do you need one?

What to do next: see these numbers for your own Mac. Download RefreshYourMac free, or get it on the Mac App Store.

What it costs to have an app do this

RefreshYourMacCleanMyMacMacKeeper
Pay once$24.99€119.95 on MacPaw’s store; $89.99 for CleanMyMac X on the Mac App Storesubscription only
Yearly$14.99 a year, first 7 days free$39.99/yr; €19.91/yr for the cleaning-only Essential Trio€71.40 for the first year, 1 Mac. Their page shows it against a €119.40 list price
Monthly$1.99 a month$9.99/mo€10.95/mo
Account neededNoYesYes

Before you pay anything, both versions give you 3 free scans. CleanMyMac and MacKeeper prices read from their own pages and the Mac App Store on 27 October 2026; the full comparison is at RefreshYourMac vs CleanMyMac and MacKeeper.

Frequently asked questions

Will I lose my files if I uninstall OneDrive on a Mac?

No. Microsoft says you won’t lose files or data by unlinking or uninstalling OneDrive, and you can still reach everything by signing in at OneDrive.com. The one thing to avoid is deleting files from the OneDrive folder while the Mac is still linked: deleting an online-only file from the Mac deletes it from your OneDrive on all devices.

How do I unlink OneDrive from my Mac?

Click the OneDrive cloud icon in the menu bar, open Help & Settings and choose Preferences. On the Account tab, choose Unlink this Mac and follow the instructions. Then quit OneDrive and drag it from Applications to the Trash.

Why do I have two versions of OneDrive on my Mac?

OneDrive comes from the Mac App Store and as a standalone download, and a Mac can end up with both. Microsoft’s mdfind commands for com.microsoft.OneDrive and com.microsoft.OneDrive-mac show where each copy is. Drag every copy to the Trash.

Should I reset OneDrive instead of uninstalling it?

If you are uninstalling to fix sync, yes. Quit OneDrive, choose Show Package Contents on it in Applications, go to Contents → Resources and double-click ResetOneDriveApp.command, or ResetOneDriveAppStandalone.command for the standalone version. Microsoft says a reset loses no files.