OptiClear

Cloud Storage

Clear Microsoft OneDrive Cache on Mac

Clearing the cache for Microsoft OneDrive means emptying its sync log folder, which the app rebuilds automatically. It helps only when sync shows errors or the logs keep growing, and it leaves your files untouched.

Last updated: 2 min read

Clear the Microsoft OneDrive cache without guessing

Microsoft OneDrive data usually takes 500 MB – 20 GB on a Mac. The free scan shows the exact size on your Mac before you change anything.

Scan your Mac free

Free scan · No account · Nothing is deleted without your OK · Moves to the Trash first · macOS 14+

Application
Microsoft OneDrive
Typical data size
500 MB – 20 GB
Category
Cloud Storage
File Location
~/Library/Application Support/OneDrive

Microsoft OneDrive cache folders you can clear

These folders are rebuilt automatically, so removing them does not touch your own files.

Locations are the standard macOS folders Microsoft OneDrive uses; some appear only after you use the matching feature.

What the Microsoft OneDrive cache holds

Specific to Microsoft OneDrive

Microsoft OneDrive spreads its data across several folders, and its typical data size is 500 MB – 20 GB. The Application Support folder holds only settings, sync state and logs, so it is not safe to empty. The folder to clear is ~/Library/Logs/OneDrive, which holds sync logs and is rebuilt automatically. Clear it when sync shows errors or the logs keep growing. Your synced files sit in the OneDrive folder under CloudStorage, and that folder stays where it is.

What happens after you clear the Microsoft OneDrive cache

The log folder is rebuilt automatically, so there is nothing to restore by hand. Your files stay in your Microsoft account, and online-only files are still not stored on the Mac. The OneDrive folder under CloudStorage and your synced documents are not affected. If errors or growing logs return, the app bundle includes a ResetOneDriveApp script for a clean reset, which is a larger step. Items moved to the Trash can be restored until the Trash is emptied.

0 of 4 done

Account and sync
Files are stored in your Microsoft account; online-only files are not on the Mac.

Try it without risk

  1. Download and scan for freeSee every Microsoft OneDrive file and its size. No account needed.
  2. Clean free for 7 daysStart the 7-day free trial of the yearly plan inside the app.
  3. Keep it or cancelCancel in your App Store settings at least 24 hours before the trial ends and you won't be charged.
Download free and scan

After the free trial, Pro costs $39.99 per year in your country's App Store; cancel any time.

Frequently asked questions

Yes. Folders marked “Yes, rebuilt automatically” are rebuilt automatically; removing them only makes the next start slower.
Does clearing the logs change my OneDrive storage plan?
No. Storage beyond the free tier comes with a Microsoft 365 subscription, and clearing logs does not change that subscription.
Why do the logs keep growing again?
Growing logs usually point to sync problems, so clearing them alone may not stop the growth. Fix the errors shown in the app, then clear the logs again if needed.

Related cleanup guides