OneDrive File Issues

How to Remove OneDrive Files from Local Storage on Mac

Emma BrownEmma Brown Nov 3, 2026 869 views

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.

How to Remove OneDrive Files from Local Storage on Mac
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.
Before you start

Ensure that you are running the latest version of macOS and that the 'Files On-Demand' feature is turned on in your OneDrive preferences.

Solution 1

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.

1
Free Up Space

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.

2
Always Keep on This Device

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.

Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS website and download the macOS version.
  2. 2. Install on Mac: Open the downloaded installer package and drag WPS Office to your Applications folder.
  3. 3. Open and Edit: Launch WPS Office and immediately start viewing and editing your existing Office files locally or from the cloud.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight application that consumes minimal local disk space and system resources on your Mac.Built-in cloud storage integration to save local space directly without complex syncing issues.
microsoft office alternative - wps office

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.