How to Remove OneDrive Files from Local Storage on Mac
Question details
The user wants to know if locally downloaded OneDrive files can be automatically removed from a Mac after a period of inactivity, and needs clarification on OneDrive's file availability options.

- Product
- OneDrive for Mac
- Device & OS
- macOS
- Scenario
- Optimizing local disk space by keeping inactive OneDrive files strictly in the cloud.
- Observed behavior
- OneDrive for Mac lacks an automatic, time-based local file removal feature, requiring users to manually manage file availability and understand menu options.
Ensure that you are running the latest version of macOS and that the 'Files On-Demand' feature is turned on in your OneDrive preferences.
Understand 'Free Up Space' vs. 'Always Keep on This Device'
Learn what each OneDrive sync option means to properly manage your Mac's storage.
OneDrive's Files On-Demand feature provides different statuses for your files. Understanding these options is key to effectively managing your local Mac storage.
Selecting this option removes the local copy of the file from your Mac's hard drive to save space. The file remains visible in Finder with a cloud icon, meaning it is now online-only and requires an active internet connection to open.
This option downloads a permanent copy of the file to your Mac. It displays a solid checkmark icon, meaning it takes up local disk space but is always available to open and edit even when you are offline.
Manually Free Up Space in OneDrive for Mac
Since macOS does not support automatic time-based removal for OneDrive, you must manually convert files to online-only.
Manage Your Documents Seamlessly with WPS Office
While dealing with cloud storage limits and local disk space on Mac, you can rely on WPS Office for a lightweight, fast, and completely free alternative to Microsoft Office. It integrates beautifully with macOS and supports all your standard document formats.
- 1. Download WPS Office: Visit the official WPS website and download the macOS version.
- 2. Install on Mac: Open the downloaded installer package and drag WPS Office to your Applications folder.
- 3. Open and Edit: Launch WPS Office and immediately start viewing and editing your existing Office files locally or from the cloud.

Frequently Asked Questions
Does Mac have a 'Storage Sense' feature for OneDrive?
No, the Storage Sense feature that automatically clears temporary files and unused cloud files after a set period (e.g., 30 days) is exclusive to Windows. Mac users must manually use the 'Free Up Space' option in OneDrive.
Why are my online-only OneDrive files still taking up space on my Mac?
If you have selected 'Always Keep on This Device' at the folder level, any new files added inside it will automatically download to your hard drive. To fix this, right-click the main parent folder and select 'Free Up Space'.
Can I use Apple Automator to remove local OneDrive files automatically?
While it is technically possible to script shell commands to clear the OneDrive cache or evict files using the 'fileproviderctl' command in newer macOS versions, it requires advanced technical knowledge and is not an officially supported Microsoft solution.





