OneDrive Files On-Demand: free up gigabytes without losing access
Files On-Demand keeps every OneDrive file visible in File Explorer, but only downloads them when you open them. Here's how to set it up and free up space.
Mona Steele
Microsoft 365 enthusiast
Affiliate disclosure: Some links in this article may earn us a commission at no extra cost to you. Learn more.
It's 11:14 on a Tuesday night and a friend texts me a screenshot of that yellow C: drive warning. Her laptop is wheezing. She's got a deadline at 8 AM. And OneDrive, she swears, has eaten her entire SSD without asking.
I've seen this exact thing maybe forty times. The fix is one setting. It's been there for years. Microsoft just doesn't go out of their way to tell you about it.
The setting is called Files On-Demand, and once you flip it on you'll wonder why you spent so long wrestling with disk space.
So what does it actually do
Here's the short version. With Files On-Demand on, your OneDrive folder still shows every single file you have stored in the cloud. Every PowerPoint. Every photo. The 2017 tax return PDF you forgot existed. All of it, right there in File Explorer.
But only the files you've actually opened recently take up real disk space. Everything else is a little placeholder, a few KB of metadata that pretends to be the file. Looks the same. Acts the same. Weighs almost nothing.
Double-click a placeholder and OneDrive streams it down on demand, opens it in whatever app, and keeps a local copy until you (or Windows) decide to evict it. Right-click any file, pick Free up space, and poof — back to a placeholder. Your folder view never changes. Only the bytes change.
Behind the scenes Microsoft uses a Windows feature called the Cloud Files API. Same plumbing iCloud Drive and Dropbox use. So this isn't some hack — it's baked into the OS.
The little icons in File Explorer (learn these three)
Windows shows a tiny status icon next to every OneDrive file and folder. They're not labeled anywhere obvious, which is annoying, but you only need to know three:
| Icon | Meaning | Takes local space? |
|---|---|---|
| Cloud outline | Online-only placeholder | No (just a few KB) |
| Green check, outlined | Downloaded on demand, can be evicted | Yes, until evicted |
| Green check, filled in | Always keep on this device | Yes, permanently |
Sometimes you'll see a little blue arrows icon. That just means OneDrive is syncing changes for that file right now. A red X means sync failed — click the OneDrive cloud in the system tray and it'll tell you why.
Turning Files On-Demand on
On Windows 11 and recent Windows 10 builds, this is on by default for fresh installs. But if your laptop has been around the block (mine has), the old setup probably still has it off. Here's how to flip it:
- Click the OneDrive cloud in your system tray, bottom right. If it's hiding, click the little up arrow to reveal the rest.
- Hit the gear icon in the upper-right of the popup. Pick Settings.
- Open the Sync and backup tab on the left.
- Expand Advanced settings.
- Under Files On-Demand, click Free up disk space.
That's it. Within a few minutes OneDrive starts converting your unused stuff into placeholders. There's no progress bar, which is one of those small Microsoft choices I'll never understand, but watch your free space climb in File Explorer and you'll know it's working.
If you ever need every file local again — say, you're flying to Lisbon next week and the airline Wi-Fi is famously awful — the same screen has a Download all files button. Use it the night before, not at the gate.
Pinning the stuff you actually need offline
For files you genuinely can't be without on a plane, right-click them in File Explorer and pick Always keep on this device. The icon turns into a filled-in green check. OneDrive will never evict that file no matter what. Good candidates:
- Boarding passes and travel docs
- A PowerPoint deck you're presenting somewhere with no Wi-Fi
- Code projects you want to work on offline
- Reference PDFs you open every week
- Anything you might need on a plane, train, or in a basement office with cement walls
You can do this with whole folders too. Right-click a folder, choose Always keep on this device, and every file inside (plus anything added later) stays local.
Pair it with Storage Sense and forget about disk space forever
Windows has this other feature called Storage Sense that can automatically convert unused OneDrive files back to online-only after they've been sitting untouched for X days. Pair the two and you basically never think about disk space again.
- Open Settings in Windows.
- Go to System, then Storage.
- Turn on Storage Sense.
- Click into Storage Sense to see the schedule.
- Under Locally available cloud content, pick how many days a file should sit unused before it goes back to placeholder. 30 days is a sensible default for most people. I run mine at 14 because I have a small SSD and a lot of photo backups.
Now anything you open today stays on disk for the next 30 days in case you open it again. If you don't, it quietly turns back into a placeholder.
Why your OneDrive got so huge in the first place
OneDrive without Files On-Demand keeps a full local copy of everything in your cloud. Fine on a desktop with a 2 TB drive. Brutal on a laptop with 256 GB. The setting was off by default for years, and tons of people are still running with the old behavior because nothing ever told them otherwise.
There's a related thing that compounds the problem: Known Folder Move. That's the feature that backs up your Desktop, Documents, and Pictures to OneDrive automatically. Helpful, mostly. But without Files On-Demand on, every download you've ever made, every screenshot, every photo you imported from a phone — all of it now lives twice. Once on your laptop, once in the cloud, and they're both taking up local space.
A reader emailed me last fall asking why her 512 GB MacBook was suddenly full. Turned out OneDrive had quietly synced 380 GB of family photos to a folder she'd never opened. Files On-Demand fixed it in under an hour.
Stuff that goes weird with Files On-Demand
It's mostly seamless, but there are a few situations where things get strange:
- Some apps don't understand placeholders. Older backup tools, antivirus scanners that touch every file on disk, certain search indexers — they'll hydrate every placeholder as they walk through the folder. If your placeholders mysteriously turn into local copies overnight, suspect a misbehaving background app. Look at your antivirus first.
- Adobe Premiere and other video editors hate streaming files. They expect everything physically on disk, then throw weird errors when files aren't there. Mark project folders as Always keep on this device.
- Game launchers will refuse to install into a OneDrive folder once they figure out the files are placeholders. Steam in particular will just say no. Move game libraries elsewhere.
- Searching inside file content doesn't work for placeholders. Windows Search can only see file names. If you regularly search the actual contents of files, mark those folders Always keep on this device or you'll get nothing back.
- Open a placeholder offline and you get an error, not your file. Obvious in hindsight, but easy to forget when you're on a train.
Mac and mobile
Files On-Demand also works on macOS. Apple plugs it in through their File Provider extension. The right-click menu has slightly different wording (you get Remove Download instead of Free up space), but it does the same thing.
On iOS and Android, the OneDrive app is always Files On-Demand by default. Files only download when you tap them, and you can flag the important ones for offline use the same way.
How much space will this actually save you
Honest numbers from a client laptop I cleaned up last March: a 90 GB OneDrive folder, two years of accumulated junk, screenshots, old project files. After enabling Files On-Demand and letting Storage Sense run once, the local footprint was 2.3 GB. Not a typo. Files re-downloaded as she opened them, and after a few weeks of normal use the local size settled around 8 to 12 GB — basically just the working set she actually touched.
If you have multiple OneDrive accounts (personal one and a work one, like most of us), repeat the steps for each one separately in OneDrive Settings. They each have their own Files On-Demand toggle. I don't know why it's not a single global setting. It just isn't.
Anyway. Flip the switch, mark a few critical folders for offline, let Storage Sense do the rest. Your friend with the 8 AM deadline will thank you.
One Microsoft 365 tip every Tuesday.
Practical tutorials, troubleshooting, and shortcuts — straight to your inbox. No spam. Unsubscribe anytime.
Related articles
OneDrive 'Processing changes' forever — break the sync loop
monasteele.com
OneDrive 'Processing changes' forever — break the sync loop
When OneDrive's status icon spins for hours, the cause is usually a single file the sync engine cannot finish handling. Here is how to identify and remove it without losing data.