How-toPC Troubleshooting

How to free up disk space on Windows

Your drive is nearly full. Check what is using space, then clear temporary files, unused apps and old downloads safely with Windows' own tools.

Applies to
  • Windows 11
  • Windows 10

Rate this guide

Windows is warning you that your drive is almost full, or updates will not install. You will see what is using the space and then clear it safely, starting with the lowest-risk steps.

Windows 10 no longer gets free security updates

Windows 10 reached the end of free support on October 14, 2025. These steps still apply to it. See what to do about the end of Windows 10 support for your longer-term options.

What you need

You need a Windows 11 or Windows 10 PC and about 15 minutes. A second place for files you want to keep, such as an external drive or cloud storage, helps if you decide to move photos or videos off the PC.

Back up before you delete your own files

Deleted files go to the Recycle Bin, but emptying it removes them for good. Copy anything you might want later to an external drive or cloud storage first. See how to back up your files.

Freeing space, safest firstA top-to-bottom flow chart with 8 boxes. Work through them in order and stop when the problem is fixed. The full text follows the picture.Freeing space, safest firstNoNoDrive is almost full1Look at what uses thespace2Clean up temporary files3Enough space now?Yes: You are done4Uninstall apps you nolonger use5Enough space now?Yes: You are done6Move large files toanother driveStill full? Consider a largeror additional drive.
Check the free space after each step and stop when you have enough.
Text version of this diagram
  1. Start: Drive is almost full
  2. Step 1: Look at what uses the space
  3. Step 2: Clean up temporary files
  4. Question 3: Enough space now? If yes: You are done. If no, go on to the next item.
  5. Step 4: Uninstall apps you no longer use
  6. Question 5: Enough space now? If yes: You are done. If no, go on to the next item.
  7. Step 6: Move large files to another drive
  8. If nothing worked: Still full? Consider a larger or additional drive.

Step 1: See what is using the space

  1. Open Settings then System then Storage.
  2. Wait a moment while Windows scans. A bar shows how much of your main drive (usually C:) is used, with a breakdown by type, such as apps, temporary files and documents.
  3. Select a category to see more detail.

This only looks. It changes nothing.

Clear space, safest first

Step 2: Clear temporary files

Temporary files are leftovers that Windows and apps no longer need. Clearing them is low risk.

On Windows 11

  1. Open Settings then System then Storage then Cleanup recommendations.
  2. Open Temporary files. Read the list of items and their sizes.
  3. Tick the items you want to remove. Leave Downloads unticked unless you have checked that folder.
  4. Select Clean up. The space shown as used goes down when it finishes.

The same page also lists Large or unused files, Files synced to the cloud and Unused apps. Review each list before you select Clean up.

On Windows 10

  1. Select the search box on the taskbar, type Disk Cleanup, and open it.
  2. Choose the drive, usually C:, and select OK.
  3. Tick the types of files to remove. Some, such as Downloaded Program Files, Temporary Internet Files and Thumbnails, may already be ticked, so clear any you want to keep.
  4. Select OK, then select Delete files to confirm.

Leave Previous Windows installations alone unless you are sure

If you updated Windows recently, a previous version of Windows can appear as a file you can delete. Microsoft warns that if you delete it, you lose the option to go back to the earlier version, and that cannot be undone. Only remove it if the new version is working well and you do not want to roll back. Microsoft says this applies if you upgraded fewer than 10 days ago.

Step 3: Turn on Storage Sense

Storage Sense clears temporary files for you from now on.

  1. Open Settings then System then Storage.
  2. Switch Storage Sense to On.
  3. Select Storage Sense to choose how often it runs and how long items stay in the Recycle Bin.

Microsoft notes that Storage Sense works on your main drive only. By default it does not delete files in your Downloads folder, but you can set it to. It runs only when you are signed in and online, so do not rely on it when you need space right now.

Step 4: Uninstall apps you no longer use

  1. On Windows 11, open Settings then Apps then Installed apps. On Windows 10, open Settings then Apps then Apps & features.
  2. Sort the list by size if the page offers that option.
  3. On Windows 11, select the three dots beside an app, then select Uninstall (on some builds it is under More). On Windows 10, select the app, then select Uninstall.
  4. Follow any prompts.

Remove only programs you recognize and know you no longer need. Some built-in Windows apps cannot be removed, and that is normal. Your documents are not part of an app, but saved game data may be.

Step 5: Deal with large personal files

  1. Open File Explorer and look in Videos, Music, Pictures and Downloads.
  2. To find the biggest files, open the folder, select View, choose Details, right-click an empty space, and choose Sort by then Size.
  3. Move files you want to keep to a USB drive, an external drive or cloud storage. Delete files you do not need.
  4. Empty the Recycle Bin. Space is not freed until you do.

If you use OneDrive, Microsoft suggests turning on Files On-Demand. It keeps small placeholders on your PC and stores full copies online. You need internet access to open those files.

Check that it worked

Return to Settings then System then Storage. The used space should be lower. If Windows still reports too little room for an update, Microsoft advises using an external drive during the update. See Windows Update stuck or failing.

If something goes wrong

  • Space does not drop after deleting files: empty the Recycle Bin.
  • The drive fills again quickly: check for unwanted software with a scan. See how to run a malware scan.
  • Deleted something by mistake: open the Recycle Bin and restore it, if you have not emptied it.
  • The PC is still slow: see why your PC is running slow.
Where space usually goes4 numbered steps, one under the other. The full text follows the picture.Where space usually goes1AppsPrograms and games youinstalled2Temporary filesLeftovers from Windows andapps3Pictures and videoPhotos, recordings anddownloads4WindowsSystem files and updateleftovers
Use the Storage page to see your own numbers.
Text version of this diagram
  1. Apps: Programs and games you installed
  2. Temporary files: Leftovers from Windows and apps
  3. Pictures and video: Photos, recordings and downloads
  4. Windows: System files and update leftovers

Frequently asked questions

Is Disk Cleanup still available?

Yes. On both systems you can search the taskbar for Disk Cleanup, although Microsoft steers Windows 11 users to Cleanup recommendations in Settings, which is why this guide uses it.

Is it safe to delete temporary files?

Yes, if you use the Windows tools above, which list what they will remove. Do not delete folders in the Windows folder by hand.

Will compressing the drive help?

Microsoft's Windows 10 instructions mention a Compress this drive to save disk space option on the drive's Properties page. This guide leaves it out. Try the steps above first.

Why does Windows need free space?

Windows uses free space for updates and temporary work. A nearly full drive can slow the PC and stop updates from installing.

Was this guide helpful?

Choose from 1 star (not helpful) to 5 stars (very helpful)

Rating this guide needs JavaScript. You can send feedback on the contact page instead.

Official resources used

Pages consulted while preparing this guide. Check them for the latest details.

Need more help?

If this guide did not solve your problem, send us a message and tell us what you tried.

Contact us

Beware of fake support

Real support never asks you to call an unfamiliar number, pay with gift cards or let a stranger control your computer.

Read how to stay safe online