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.
- Windows 11
- Windows 10
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.
Text version of this diagram
- Start: Drive is almost full
- Step 1: Look at what uses the space
- Step 2: Clean up temporary files
- Question 3: Enough space now? If yes: You are done. If no, go on to the next item.
- Step 4: Uninstall apps you no longer use
- Question 5: Enough space now? If yes: You are done. If no, go on to the next item.
- Step 6: Move large files to another drive
- If nothing worked: Still full? Consider a larger or additional drive.
Step 1: See what is using the space
- Open .
- 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.
- 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
- Open .
- Open Temporary files. Read the list of items and their sizes.
- Tick the items you want to remove. Leave Downloads unticked unless you have checked that folder.
- 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
- Select the search box on the taskbar, type Disk Cleanup, and open it.
- Choose the drive, usually C:, and select OK.
- 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.
- 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.
- Open .
- Switch Storage Sense to On.
- 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
- On Windows 11, open . On Windows 10, open .
- Sort the list by size if the page offers that option.
- 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.
- 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
- Open File Explorer and look in Videos, Music, Pictures and Downloads.
- To find the biggest files, open the folder, select View, choose Details, right-click an empty space, and choose Sort by then Size.
- Move files you want to keep to a USB drive, an external drive or cloud storage. Delete files you do not need.
- 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 . 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.
Text version of this diagram
- Apps: Programs and games you installed
- Temporary files: Leftovers from Windows and apps
- Pictures and video: Photos, recordings and downloads
- 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?
Thank you for your rating.
Ratings are not available right now. You can still use the contact page to tell us what you think.
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.
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.