Free up disk space and delete temporary files

Windows can find and delete temporary files, old update files and the Recycle Bin for you. Start with Cleanup recommendations, turn on Storage Sense so it happens automatically, and use Disk Cleanup for system files.

Time
5 to 15 minutes
Level
Easy
You need
An administrator account to clean up system files.

Before you start

  • Check what uses the space first: Settings > System > Storage shows it by category.
  • Some cleanup options can empty the Recycle Bin and your Downloads folder. Look at what is checked before you confirm.

Windows 11

Steps written for Windows 11 (screenshots: 26H2).

  1. Open Storage settings

    Select Start > Settings > System > Storage. The top of the page shows how full the drive is and what uses the space.

  2. Open Cleanup recommendations

    Under Storage management, select Cleanup recommendations.

    Settings, System, Storage with Cleanup recommendations under Storage management
    Settings, System, Storage: Cleanup recommendations is under Storage management. Screenshot: Windows 11 26H2
  3. Clean up what Windows suggests

    Open each group (Temporary files, Large or unused files, Files synced to the cloud, Unused apps), check the items you do not need and select Clean up in that group.

    Cleanup recommendations page with four groups
    Cleanup recommendations groups the suggestions; on our test PC there was nothing to clean yet. Screenshot: Windows 11 26H2
  4. Delete more temporary files

    Go back to Storage and select Temporary files. Windows lists the types it can remove with their size. Check the ones you do not need and remove them. Leave Downloads unchecked unless you have checked that folder.

  5. Turn on Storage Sense

    Back on Storage, turn the Storage Sense switch on. Windows then deletes temporary files on its own when the drive runs low.

  6. Choose what Storage Sense cleans

    Select Storage Sense to open its page. Check the box for cleaning temporary files, then choose when it runs and how long files may stay in the Recycle Bin and Downloads before they are deleted.

    Storage Sense page with cleanup schedules and Run Storage Sense now
    Storage Sense: schedules for the Recycle Bin and Downloads, and Run Storage Sense now. Screenshot: Windows 11 26H2
  7. Run it now

    Select Run Storage Sense now at the bottom of the page.

  8. Clean up system files with Disk Cleanup

    Type disk cleanup in the search box on the taskbar and open Disk Cleanup. Choose drive C: and select OK, then select Clean up system files and choose C: again.

    Disk Cleanup for Windows (C:) with the Clean up system files button
    Disk Cleanup: Clean up system files adds Windows Update and other system files to the list. Screenshot: Windows 11 26H2
  9. Delete the files

    Check the types of files you want to remove (select a name to see what it is), select OK, then Delete files.

Steps checked against Microsoft Support: Free up drive space in Windows (Feb 2026); our screenshots of Windows 11 26H2 on Oct 3, 2026.

Empty the Temp folder by hand (Windows)

  1. Press Windows + R, type the line below and press Enter:
    %temp%
  2. Press Ctrl + A to select everything, then press Delete.
  3. If Windows says a file is in use, select Skip. Those files belong to programs that are running.
  4. Empty the Recycle Bin.

Windows.old and the previous version of Windows

For a few days after a Windows upgrade, Cleanup recommendations and Disk Cleanup offer to delete the previous version of Windows (the Windows.old folder). It is large, but once deleted you cannot go back to the earlier version. Delete it only when the new version works well.

If the drive is still full

  • Uninstall programs you no longer use: Uninstall a program or app in Windows.
  • Move photos, videos and other large files to an external drive, or keep them in OneDrive with Files On-Demand turned on so they stay online until you open them.
  • Choose another drive for new files: Settings > System > Storage > Advanced storage settings > Where new content is saved.
  • If the space fills up again quickly for no clear reason, scan the PC for malware.

Used in 2 guides

Sources

  1. Microsoft Support: Free up drive space in Windows (read Oct 3, 2026)
  2. Microsoft Support: Manage drive space with Storage Sense (read Oct 3, 2026)

Questions and experiences

Ask about this page: members and our editors answer. Reading is open; writing needs a free account.

0 comments

…

4,322 members already hereThey read, write, comment and vote. 0 verified · 31 joined this year

Cookies

We use essential cookies to run the platform. Analytics and marketing cookies are only turned on once you consent — you can change your choice at any time.