How to free up disk space in Windows 11

Quick answer: Open Start > Settings > System > Storage and select Cleanup recommendations to remove temporary files, large or unused files, files already synced to the cloud and unused apps. Then turn on Storage Sense on the same page so Windows clears temporary files and old Recycle Bin items for you. If that isn’t enough, uninstall apps you don’t use, set OneDrive files to online-only and move large files to another drive. Be careful with a previous Windows installation: once it’s deleted, you can’t go back to that version.

Applies to: Windows 11, on the drive where Windows is installed (usually C:). Most Settings pages named here also exist in Windows 10, but the steps below follow Windows 11. This guide is the overview: for single folders that take a lot of room, see the separate guides on deleting Windows.old and the $GetCurrent folder.

Why it matters: Microsoft’s Free up drive space in Windows page says that low drive space can slow your PC down and cause problems installing Windows updates. Microsoft suggests working through the options in order and checking how much space you have after each one, so you can stop as soon as you have enough.

1. See what is using the space

Start by finding out how much room is left. Microsoft’s quick check is to open File Explorer, select This PC and look under Devices and drives, where each drive shows its free space.

For a breakdown, open Start > Settings > System > Storage. The page lists how space on the system drive is split into categories such as apps, temporary files and other files; the exact category names may vary between Windows 11 versions. Selecting a category opens more detail and, for some categories, a way to remove files. The biggest categories are the ones worth working on first.

2. Use Cleanup recommendations

Cleanup recommendations is the fastest single place to recover space. Microsoft gives these steps:

  1. Go to Start > Settings > System > Storage > Cleanup recommendations.
  2. Review each section: Temporary files, Large or unused files, Files synced to the cloud and Unused apps.
  3. Select only the items you’re sure you don’t need, then select Clean up in that section.

Warning: according to Microsoft, if you upgraded Windows less than 10 days ago, your previous version of Windows shows up here as a system file you can delete. Deleting it removes the Windows.old folder, and you can’t go back to the earlier version after that. If the new version is giving you trouble, keep it until you’re sure.

Large or unused files can include personal files. Check each one before you clean it up, because the list is based on size and use, not on whether the file still matters to you.

3. Turn on Storage Sense

Storage Sense clears out items you don’t need on a schedule, so the drive doesn’t fill up again. Microsoft’s steps to turn it on in Windows 11:

  1. Go to Start > Settings > System > Storage.
  2. Set Storage Sense to On.
  3. To choose what it does, select Storage Sense to open its settings.

On the settings page, Microsoft’s Manage drive space with Storage Sense page describes these options:

  • Run Storage Sense: how often it runs while you’re online and signed in.
  • Delete files in my recycle bin if they have been there for over: how long deleted items stay in the Recycle Bin before Storage Sense removes them.
  • Delete files in my Downloads folder if they haven’t been opened for more than: how long unopened downloads are kept. Microsoft says Downloads isn’t touched unless you set this.
  • Content will become online-only if not opened for more than: for OneDrive or other cloud files. Microsoft notes the OneDrive default is 30 days starting with Windows 11, version 22H2.

A few limits from the same page: Storage Sense settings apply only to the user who sets them, it works only on the system drive, and it can’t run until you’ve been signed in and online for more than 10 minutes. Microsoft’s page says Storage Sense is off by default but that Windows may turn it on when the drive runs low, so check the switch rather than assuming it’s on or off.

If you set a Downloads cleanup period, anything you saved there and never opened again will be deleted when the period passes. Move files you want to keep out of Downloads first.

4. Remove temporary files and previous Windows installations

To clear temporary files by hand, Microsoft’s Storage Sense page gives this path:

  1. Go to Start > Settings > System > Storage.
  2. Under the disk usage list, select Temporary files.
  3. Select the types of files you want to remove. To clear an old Windows version, make sure Previous Windows Installation(s) is selected.
  4. Select Remove files.

Warning: Previous Windows Installation(s) is the Windows.old folder left by an upgrade. It can be one of the largest items, but removing it means you can’t roll back to the earlier version. Our guide to deleting Windows.old covers what’s inside it and what to do if it won’t delete. Leftover update setup folders such as $GetCurrent are covered in the $GetCurrent folder guide.

Other items in the list, such as Downloads or the Recycle Bin, may also appear here. Leave them unselected unless you’ve checked what’s in them.

5. Use Disk Cleanup and Clean up system files

Disk Cleanup is the older desktop tool for the same job. It isn’t covered in the Microsoft pages used for this guide, so treat the steps below as a general outline; it may be phased out or look different in your version of Windows 11, and the Settings options above do the same work.

  1. Select Start, type Disk Cleanup and open it.
  2. If asked, choose the drive (usually C:) and select OK.
  3. Select Clean up system files and choose the drive again. This rescan adds system items, such as Windows Update leftovers and, if present, previous Windows installations. It may ask for administrator permission.
  4. Select the items you want to remove and select OK, then confirm.

Warning: the same rule applies here. If Previous Windows installation(s) is selected, Disk Cleanup removes Windows.old and you lose the option to go back to the earlier version.

6. Uninstall apps you no longer use

Microsoft lists Unused apps as one of the Cleanup recommendations, which is the easiest way to see candidates. To remove any app yourself in current Windows 11 versions, go to Settings > Apps > Installed apps, select the three-dot menu next to the app and choose Uninstall. The page and menu names may differ slightly on older builds.

The installed apps list can usually be sorted by size, which helps you find large games and creative apps first. Don’t remove drivers, runtimes or tools from your PC maker unless you know what they do.

7. Make OneDrive files online-only

If you use OneDrive, Files On-Demand lets you see all your files in File Explorer without keeping full copies on the drive. According to Microsoft’s OneDrive Files On-Demand page, it has been on by default since OneDrive build 23.066, and files can be in one of three states:

  • Online-only (blue cloud icon): take no space on the PC and open only when you’re online.
  • Locally available (green check icon): downloaded when you opened them; they use space.
  • Always available (solid green circle with a white check mark): set with Always keep on this device; they use space and work offline.

To get space back, right-click a file or folder in your OneDrive folder and select Free up space. Making a file online-only doesn’t delete it from OneDrive. If Files On-Demand is off, Microsoft says you can turn it on from the OneDrive icon in the notification area: open Help and Settings, then Settings, the Sync and back up tab and Advanced settings.

Warning: deleting an online-only file deletes it from OneDrive on every device and online, not just from this PC. Microsoft says deleted items can be restored from the OneDrive recycle bin on the web for up to 30 days on a personal account (up to 93 days for work or school). If you want OneDrive to stop using the PC altogether, see how to stop OneDrive from syncing without losing files.

8. Clear Downloads, large personal files and the Recycle Bin

Microsoft points to the Videos, Music, Pictures and Downloads folders as places where large files tend to collect. To find them:

  1. Open the folder in File Explorer.
  2. Select View > Details.
  3. Right-click an empty area and select Sort by > Size so the largest files are at the top.
  4. Delete what you don’t need, or move it to an external drive (see the next method).

Files you delete go to the Recycle Bin and still take up space until it’s emptied, as Microsoft notes. Right-click Recycle Bin on the desktop and select Empty Recycle Bin once you’re sure nothing in it is needed. If Windows says the Recycle Bin is corrupted when you try, see how to fix a corrupted Recycle Bin.

9. Move files and new content to another drive

If the PC has a second drive, or you have a USB drive or SD card, Microsoft suggests moving large personal files there with Cut and Paste. Moving frees the space on C:, while copying does not.

To stop new files filling the system drive, go to Start > Settings > System > Storage > Advanced storage settings > Where new content is saved and pick another drive for each type of content, such as documents, music or new apps.

If you only need room for a Windows feature update, Microsoft says Windows can use an external storage device to complete the update, so you may not need to delete anything.

10. Turn off the hibernation file (only with care)

Windows keeps a hidden file, hiberfil.sys, on the system drive so it can hibernate. It can take up several gigabytes; its size is generally tied to the amount of memory (RAM) in the PC. None of the Microsoft pages used for this guide cover it, so treat this as an advanced, last-resort step.

Turning hibernation off removes the file, but you lose the Hibernate option, and it may also turn off Fast Startup, which relies on the same file. On a laptop that you rely on hibernating, skip this step. If you still want to do it, right-click Start, open Terminal (Admin) (the name may differ on older builds) and run powercfg /hibernate off. To turn it back on later, run powercfg /hibernate on, and see how to add Hibernate back to the power menu if the option doesn’t return.

Space still disappearing after all this? Microsoft also recommends a scan with Windows Security, since malware can use up drive space. If cleanup recommendations themselves trigger a Low Disk Space error, Microsoft’s page notes that the Temp folder can fill with Microsoft Store .appx files and suggests running the Windows Store Apps and Windows Update troubleshooters and the wsreset.exe command, then restarting.

Where the space goes: quick reference

What uses the spaceWhere to clear itBefore you remove it
Temporary filesStorage, Temporary files; Storage SenseUsually safe; leave Downloads unselected
Previous Windows installationStorage, Temporary files; Disk Cleanup system filesBlocks rollback to the earlier version
Unused appsCleanup recommendations; Installed appsKeep drivers and PC maker tools
OneDrive filesRight-click, Free up spaceOnline-only files need internet to open
Downloads and mediaFile Explorer, sorted by sizeDeleted files use space until the Recycle Bin is emptied
Hibernation filepowercfg /hibernate offRemoves Hibernate and may affect Fast Startup

Sources

How we write our guides: read our editorial policy.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *