Why Is OneDrive Taking Up Disk Space and How Do I Get It Back?
Files On-Demand, Free Up Space and Automatic Cloud-Only Files
Short answer: OneDrive files take up disk space whenever a local copy exists on your PC, even though they are also stored in the cloud. The fix is to right-click a folder inside your OneDrive folder and choose "Free up space" — the file keeps appearing in File Explorer but lives only in the cloud. To make it permanent, turn on the Storage Sense option that automatically makes cloud files online-only after a number of days you choose.
This is the point that surprises OneDrive users most: the files are "in the cloud", yet the C: drive keeps filling up. The reason is that OneDrive's default behaviour keeps a local copy of anything it syncs, and every file you open is quietly downloaded. This guide covers how to reclaim the space, how to automate it, and the common mistake that makes the problem considerably worse.
Pontos principais
- OneDrive files occupy disk space whenever a local copy exists, regardless of them also being in the cloud.
- "Free up space" does not delete anything; it removes only the local copy, and the file still appears in File Explorer.
- A cloud outline icon means online-only, a hollow green check means a local copy exists, and a solid green check means "always keep on this device".
- Storage Sense can automatically make OneDrive files online-only after they have gone unopened for a number of days you set.
- Turning Files On-Demand OFF downloads your entire cloud library to the disk — it makes the problem worse, not better.
- Unlinking OneDrive does not delete local files; they stay on the PC and keep occupying space.
Why Does OneDrive Use Local Space at All?
OneDrive is a cloud storage service, but on Windows it operates as a sync client. That means files in the folder can exist both in the cloud and, optionally, on your PC. This behaviour exists so you can work without an internet connection — and it becomes a problem only when the disk fills up.
The real source of confusion is that opening a file once downloads it permanently. A 2 GB presentation you opened three years ago may still be sitting on your disk today. Over months this accumulation reaches tens of gigabytes, and the OneDrive folder quietly becomes one of the largest folders on your C: drive.
On Windows 11, Files On-Demand is enabled by default, so newly synced files start out as online-only. But every file you open converts into a local copy and stays that way until someone reverses it.
Reading the Status Icons
Every item in your OneDrive folder carries a small status icon in File Explorer, and those icons tell you directly whether the file is using disk space.
A hollow blue cloud means the file is online-only and occupies no local space. A green check outline on a white background means a local copy exists but can be removed automatically if needed. A solid green check marks files flagged as "Always keep on this device" — these are never removed, not even by Storage Sense.
When you need space, look at the solid-green folders first. To unpin one, right-click it and untick "Always keep on this device".
The Most Common Mistake: Turning Files On-Demand Off
When the disk fills up, many users find the "Files On-Demand" setting in OneDrive and do the thing that looks logical: they turn it off. This is the single worst move available.
Disabling that option triggers a download of your entire OneDrive library onto the disk. If you have a 500 GB OneDrive account, Windows will attempt to pull all of it down and fill an already-full drive completely. The feature name is misleading: "off" does not mean disconnect from the cloud, it means localise everything.
The correct direction is the opposite: leave Files On-Demand enabled and clear local copies with Free up space. Unlinking OneDrive does not help either — when you unlink, downloaded files remain on the PC and only syncing stops.
Other Cloud Leftovers That Use Space
OneDrive's own cache and log files accumulate in %LOCALAPPDATA%\Microsoft\OneDrive. This holds old client versions, setup files and sync logs, typically ranging from a few hundred megabytes to a few gigabytes, and it can be cleared safely.
Personal Vault uses a separate area and keeps its contents online while locked. Other cloud clients follow the same pattern: Google Drive, Dropbox and iCloud Drive all maintain local cache folders that swell over time.
Disk Mop's Disk Analysis shows what these folders actually hold on a treemap, so you see how much of your C: drive OneDrive occupies rather than guessing. Large Files lists everything above a size threshold, revealing which individual files are sitting downloaded and unused.
Setting Up an Arrangement That Lasts
A one-off cleanup buys you a few months before you end up in the same place. The durable fix combines two settings: set a 30-day threshold for cloud content in Storage Sense, and mark the folders you genuinely need offline as "Always keep on this device".
In that arrangement, the documents you use regularly stay local while archives you last opened a year ago quietly return to the cloud. No manual intervention is required and the OneDrive folder's footprint stays balanced.
To extend the same discipline to disk cleanup generally, use Disk Mop's scheduled cleanup: a weekly task collects temporary files, browser caches and old downloads. You can download Disk Mop free and try it with limited features; the Pro version is a one-time $19.90 payment for a lifetime license. It runs on Windows 10 and 11 (64-bit) and macOS 12 or later.
Perguntas frequentes
Why does OneDrive take up disk space if the files are in the cloud?
Because OneDrive is a sync client and keeps a local copy of the files you open so you can work offline. Opening a file once downloads it permanently, and that local copy stays on the disk until you run the "Free up space" command on it.
Does "Free up space" delete my files?
No. The command removes only the local copy on your PC; the file remains in the cloud and still appears in File Explorer. Double-clicking it downloads the file again automatically. The only requirement is an internet connection at that moment.
Should I turn Files On-Demand off?
No — this is the most common mistake. Disabling the feature starts downloading your entire OneDrive library to the disk and makes the space problem considerably worse. To reclaim space, leave the feature enabled and clear local copies using Free up space instead.
Will unlinking OneDrive free up space?
No. Unlinking stops syncing, but files already downloaded to the PC stay exactly where they are and continue to occupy space. If you want the space back, run Free up space on the folders before you unlink.
Can OneDrive files be made online-only automatically?
Yes. Under Settings > System > Storage > Storage Sense, you can have cloud files become online-only automatically if they have not been opened for a period you choose — 14, 30 or 60 days. Folders you have marked as "Always keep on this device" are excluded from this.
How do I see how much space my OneDrive folder uses?
You can right-click the OneDrive folder in File Explorer and check Properties, but that only gives a total. To find which subfolder is actually bloated, a treemap visualisation such as Disk Mop's Disk Analysis is far quicker, since folders are drawn as areas proportional to their real size.
Veredito
OneDrive using disk space is by design rather than a fault: every file you open is kept locally for offline access. The correct way to reclaim that space is to right-click folders and choose Free up space while leaving Files On-Demand enabled.
There are two moves to avoid: turning Files On-Demand off (which downloads everything) and unlinking OneDrive (which deletes nothing). Both look intuitive and neither works.
For a durable fix, set a 30-day threshold in Storage Sense and pin only the folders you truly need offline as "always keep on this device". After that, the arrangement maintains itself.
See What Your OneDrive Folder Really Holds
Pagamento único para acesso vitalício a todos os recursos. Sem assinatura, sem taxas ocultas.
Baixe o Disk Mop Agora