How to Remove OneDrive Files from Mac Finder Without Deleting Them Online
Question details
The user wants to remove local copies of synced OneDrive files from their Mac to save disk space, while ensuring the files remain safely stored in the cloud.

- Product
- Microsoft OneDrive
- Device & OS
- macOS
- Scenario
- Running out of local disk space on a Mac due to large synced OneDrive files and folders.
- Observed behavior
- OneDrive files are consuming significant local storage on the Mac, and manually deleting them in Finder causes them to be deleted from the cloud storage as well.
Ensure your Mac is connected to the internet and that OneDrive is actively running so that any sync changes are properly registered before you clear local files.
Free up space using OneDrive Files On-Demand
Use the built-in Files On-Demand feature to keep files visible in Mac Finder but only stored in the cloud, freeing up your local disk space.
Files On-Demand allows you to see all your files in Mac Finder without having to download them. When you make a file 'online-only', it stops taking up space on your Mac.
Click the OneDrive cloud icon in your Mac menu bar, click the Help & Settings gear icon, and select 'Preferences'.
Navigate to the 'Sync and back up' or 'Preferences' tab and expand the 'Advanced settings' section. Under 'Files On-Demand', click 'Free up disk space' to remove local copies of all your synced files.
To remove local copies of specific files instead of all of them, open Finder, right-click the file or folder in your OneDrive directory, and select 'Free Up Space'.

Unlink your OneDrive account to remove the folder entirely
Unlinking stops the sync process entirely, allowing you to safely delete the local OneDrive folder without affecting your files in the cloud.
Choose WPS Office for Lightweight Cloud File Management on Mac
If heavy cloud sync clients and traditional office suites are slowing down your Mac or consuming too much storage, try WPS Office. It provides a lightweight, fully compatible suite for your documents with seamless cloud integration, so you can edit files without cluttering your local drive.
- 1. Install WPS Office for Mac: Download and install WPS Office for Mac from the official website to get a lightweight office suite.
- 2. Connect Your Cloud: Open WPS Office and sign in to easily connect your preferred cloud storage services.
- 3. Edit Files Directly: Open, edit, and save your Microsoft Office format files directly to the cloud without needing to keep local copies on your Mac.

Frequently Asked Questions
Why did deleting a file from my Mac Finder also delete it from OneDrive online?
If Files On-Demand is not enabled, your local OneDrive folder is fully synced with the cloud. Deleting a file locally tells the sync client to mirror that action and remove it from the cloud as well. To avoid this, always use the 'Free Up Space' right-click option instead of deleting the file.
How do I access online-only files on my Mac once they are removed locally?
Online-only files appear in Finder with a small cloud icon next to them. Simply double-click the file while your Mac is connected to the internet, and OneDrive will quickly download and open the file.
Can I use OneDrive Files On-Demand on older versions of macOS?
Files On-Demand requires macOS 10.14 (Mojave) or later. If your Mac cannot run a supported operating system, you will not have this feature. Instead, you will need to unlink the account and use a web browser to access your OneDrive files without downloading them.




