Do OneDrive Online-Only Files Use Computer Storage? Explained
Question details
The user wants to know if OneDrive online-only files consume local disk space, especially why they require storage when opened and whether they stay on the computer after being closed.
- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Managing local computer disk space while accessing and editing files stored in OneDrive.
- Observed behavior
- When an online-only file is opened, it is downloaded to the local device and remains there even after being closed, which unexpectedly consumes local storage space.
Ensure you are signed into the OneDrive desktop client on your computer and that your operating system is up to date to access the latest storage management features.
Enable OneDrive Files On-Demand
Activating Files On-Demand allows you to browse all your cloud files in File Explorer without actually downloading them until you open them.
When you open an online-only file, OneDrive must download it temporarily to your hard drive so the application can read it. Once downloaded, it becomes a locally available file and takes up local disk space until you free it up.
Click the OneDrive cloud icon located in the Windows system tray (taskbar), click the gear icon (Help & Settings), and choose 'Settings'.
Navigate to the 'Sync and back up' tab on the left pane and expand the 'Advanced settings' section.
Locate 'Files On-Demand' and click 'Free up disk space' or toggle the feature on. Your files will now default to online-only (indicated by a blue cloud icon).
Use Windows Storage Sense to Automate Cleanup
Configure Storage Sense to automatically return locally available cloud files back to online-only status if they haven't been opened for a specified number of days.
Manage Your Documents Seamlessly with WPS Office
If managing cloud files and local storage in Microsoft OneDrive is becoming tedious, consider switching to WPS Office. It offers an incredibly lightweight suite with its own built-in WPS Cloud service, providing seamless document synchronization without overwhelming your hard drive.

Frequently Asked Questions
Why did my online-only file stay on my computer after I closed it?
When you open an online-only file, OneDrive downloads a cache copy so your computer can read and edit it. After closing the application, OneDrive keeps the file locally available for faster access the next time you need it, unless you manually free up the space.
How can I manually change a file back to online-only?
Open File Explorer, right-click the file or folder that is taking up space, and select 'Free up space'. This deletes the local copy and changes the status icon back to a blue cloud, while keeping your file safe in OneDrive.
Does the 'Always keep on this device' option use my computer storage?
Yes. Files or folders marked with 'Always keep on this device' are permanently downloaded to your local hard drive for offline access. They will use your computer's storage space until you right-click them and select 'Free up space'.




