Independent. Reader-supported. Tested before publishing.
Emely Correa
emelycorrea.com
In OneDrive

OneDrive Files On-Demand: Free Up Hundreds of Gigabytes Without Losing Anything

Files On-Demand keeps every file in your library visible while only downloading the ones you actually open. Set it up properly once and you'll never worry about disk space on your laptop again.

EC
OneDrive

A OneDrive library can easily contain a terabyte of files. Your laptop SSD might be 256 GB. The math doesn't work — unless you understand Files On-Demand, which is the OneDrive feature that lets you have everything available without actually storing everything locally. Once it's set up properly, you stop worrying about disk space ever again.

The basic idea

By default, every file in your OneDrive folder takes up space on your local drive. If you have 500 GB of files in OneDrive, you'd need 500 GB of free space on your machine to store them all. That math gets ugly very quickly on modern laptops with their small SSDs.

Files On-Demand changes that completely. With it enabled, every file in your OneDrive folder shows up normally — same names, same folders, same icons — but the files aren't actually downloaded until you open them. Until then, they exist only as small placeholder entries. The full content lives on the server.

The result: you see your entire OneDrive library in File Explorer, but you only use a few gigabytes of local disk.

The three states a file can be in

Look in your OneDrive folder. Next to each file, there's an icon that tells you what state the file is in.

Files transition between states based on what you do and what OneDrive needs to do to manage disk space. You can also manually push a file between states.

Make sure Files On-Demand is on

It usually is by default. To check:

  1. Click the OneDrive icon in the system tray.
  2. Click Help & Settings → Settings.
  3. Click Sync and backup.
  4. Click Advanced settings.
  5. Look for Files On-Demand — it should say "Download files as you use them."

If it's off, turn it on. OneDrive will then convert every fully-downloaded file in your library to a cloud placeholder, and your local disk usage drops dramatically — sometimes by hundreds of gigabytes within a few minutes.

Control which files stay local

You decide. Right-click any file or folder in OneDrive:

You can do this on individual files, on whole folders, or on the top-level OneDrive root. Common patterns I see working well:

How OneDrive reclaims space automatically

If your disk is filling up, OneDrive can help by releasing files you haven't used recently. It does this automatically when you're running low.

  1. Open OneDrive Settings → Sync and backup.
  2. Make sure Storage Sense is integrated. (Storage Sense is a Windows feature that works with OneDrive.)
  3. In Windows Settings → System → Storage, configure how aggressive Storage Sense should be.

Storage Sense starts with the oldest unused cloud files and releases them first. Pinned files are never touched. Set this up once and forget about disk space for the rest of the year.

The "this file doesn't sync" warning

Files On-Demand has one quirk that catches people off-guard. Some applications need a real file with real bytes behind it — backup software, photo editors like Lightroom, professional video editors, some scripts. When they hit a cloud placeholder, they either trigger a download (which is slow at scale) or silently fail.

The signs:

For folders that need to be fully present, right-click and choose Always keep on this device. That's the workaround. Trade some disk space for application compatibility.

Files On-Demand vs Selective Sync

Files On-Demand says: "show everything, download lazily." Selective Sync says: "only show me some folders at all." Different tools for different scenarios.

To use Selective Sync:

  1. OneDrive Settings → Account.
  2. Click Choose folders.
  3. Untick the folders you don't want visible on this device at all.

The trade-off:

You can combine them. Use Selective Sync to hide the giant folders you never touch from this laptop, and rely on Files On-Demand for everything else.

Pinning best practices

Diagnosing weird behavior

Two issues come up a lot.

Cloud files won't open

Double-clicking a cloud file should trigger a download and then open it. If it doesn't, either your network is broken or OneDrive isn't fully running. Check the OneDrive icon — if it has a yellow or red status badge, fix that first.

Files keep re-downloading after you free up space

If you free up space on a file but a synced application keeps opening it, the file gets re-downloaded immediately. You either need to stop that application from auto-opening the file, or accept that the file should stay pinned. Be deliberate about which it is.

The shortcut summary

Files On-Demand is one of those features that, once configured, quietly saves you huge amounts of disk space for the rest of your life with the laptop. Spend ten minutes setting it up properly today and you'll never need to think about it again.

One of the best ROI ratios in personal computing.

Filed under OneDrive Storage Files On-Demand Windows 11
EC

Written by

Emely Correa

Independent writer at Emely Correa. Practical, hands-on guides for Windows, Microsoft 365, and the apps you reach for every day. Got a topic request? Email hello@emelycorrea.com.

The Sunday note

Get more guides like this in your inbox.

One short email a week. No marketing, unsubscribe anytime.