How to Free Up Disk Space in Windows 11 (Safe Methods That Work)
Steps verified in December 2026 against Microsoft’s official documentation for current versions of Windows 11. All methods below use tools built into Windows; no third-party “cleaner” apps are needed.
A nearly full drive slows your PC down and can block Windows updates from installing. Windows 11 includes everything you need to reclaim space safely. Work through these methods in order and check your free space after each one, as Microsoft recommends.
1. Check how much space you actually have
Before deleting anything, see where you stand:
- Open File Explorer from the taskbar and select This PC. Free space for each drive appears under Devices and drives.
- For a category breakdown, go to Start > Settings > System > Storage. The capacity bar turns red when space runs low.
2. Turn on Storage Sense
Storage Sense is Windows 11’s built-in automatic cleanup. It removes temporary files and old Recycle Bin items for you. It is off by default, so turn it on once and let it work:
- Go to Start > Settings > System > Storage.
- Set Storage Sense to On.
- Select Storage Sense to choose how often it runs (when space is low, or daily, weekly, or monthly) and how long files stay in the Recycle Bin before deletion. Downloads and cloud files are untouched unless you choose otherwise.
Note: Storage Sense works on the system drive (C:) only, and it cannot run unless you are signed in and online.
3. Delete temporary files and empty the Recycle Bin
For a manual sweep, Windows 11 offers two views:
- Temporary files: Go to Settings > System > Storage > Temporary files, review the categories, check what you want gone, and select Remove files.
- Cleanup recommendations: Go to Settings > System > Storage > Cleanup recommendations for suggested temporary files, large or unused files, cloud-synced files, and unused apps.
Deleted files still take up space in the Recycle Bin until you right-click it on your desktop and select Empty Recycle Bin.
4. Use Disk Cleanup for system files
Disk Cleanup removes system files the Settings app does not list:
- Type disk cleanup in the taskbar search box and select it from the results.
- Select your system drive (usually C:) and select OK.
- Check the file types you want to remove, then select Clean up system files and pick the drive again. The expanded list adds system files, including items such as Delivery Optimization files and files left over from previous Windows updates.
- Select OK, then Delete files to confirm.
Warning – Previous Windows Installation(s): Within 10 days of a Windows upgrade, Disk Cleanup offers to delete “Previous Windows Installation(s)”. This removes the Windows.old folder and the option to roll back to your previous version, and it cannot be undone. Select it only if you are keeping the current version.
5. Uninstall unused apps and find large files
- Apps: Go to Start > Settings > Apps > Installed apps. Find an app you no longer use, then select More > Uninstall. To spot big apps first, open Settings > System > Storage, which shows usage by category, including Installed apps.
- Personal files: Videos, photos, and downloads often take the most space. In File Explorer, open a folder, switch to View > Details, then right-click in the list and choose Sort by > Size to bring the biggest files to the top. Delete what you do not need, or move files to a USB drive or SD card.
6. Turn on OneDrive Files On-Demand
If you use OneDrive, Files On-Demand keeps small placeholder files on your PC instead of full copies, so your cloud files stop consuming disk space. In current OneDrive versions it is on by default; otherwise select the OneDrive cloud icon in the notification area, open Help and Settings > Settings > Sync and back up, expand Advanced settings, and toggle Files On-Demand on. Online-only files show a blue cloud icon and download when you open them. To reclaim space from files already downloaded, right-click them and select Free up space; choose Always keep on this device for files you need offline.
7. Optional: hibernation file and restore point size
These two recover real space but change Windows behavior, so treat them as optional.
Disable hibernation (removes hiberfil.sys)
The hidden hiberfil.sys file is roughly the size of your installed RAM. If you never use Hibernate:
- Press the Windows key, type cmd, right-click Command Prompt, and select Run as administrator.
- Type
powercfg.exe /hibernate offand press Enter.
To bring hibernation back, run powercfg.exe /hibernate on the same way.
Warning: Disabling hibernation also turns off hybrid sleep, so a power loss during sleep can lose unsaved data.
Limit how much space restore points use
System Protection creates restore points for recovery, and you can cap their size: press Start, search for Create a restore point and open it, select Configure… on the System Protection tab, and use the slider to set the maximum disk space. Keep System Protection turned on; just give it a modest allowance.
8. What NOT to delete
Never delete these yourself; it can break Windows:
- WinSxS folder (C:\Windows\WinSxS): Microsoft warns that deleting WinSxS files can leave the PC unable to boot or update. Windows shrinks this folder automatically with built-in cleanup tasks; never clean it by hand.
- System32 and anything else in C:\Windows you do not recognize.
- The pagefile (pagefile.sys): Windows manages it by default, and some apps and features such as crash dumps rely on it. Leave it alone.

Quick checklist
- ☐ Checked free space in Settings > System > Storage
- ☐ Storage Sense turned on and configured
- ☐ Temporary files removed; Recycle Bin emptied
- ☐ Disk Cleanup run with “Clean up system files”
- ☐ Unused apps uninstalled; large personal files moved or deleted
- ☐ OneDrive Files On-Demand enabled (if you use OneDrive)
- ☐ Optional: hibernation disabled, restore point usage capped
FAQ
Is it safe to delete temporary files? Yes. Temporary files, Recycle Bin contents, Delivery Optimization files, and files left over from previous Windows updates are safe to remove through Storage Sense or Disk Cleanup; that is exactly what Microsoft builds those tools for.
Is Storage Sense on by default? No. Windows may turn it on and notify you if your PC runs low on space, but otherwise you need to enable it yourself in Settings > System > Storage.
Will Storage Sense delete my Downloads or cloud files? Not unless you tell it to. By default it only clears temporary files and older Recycle Bin items; cloud files can be made online-only, not deleted.
How much free space does Windows 11 need? Microsoft requires at least 20 GB free to upgrade a 64-bit PC, and keeping a comfortable buffer helps updates install smoothly.
Sources
- Microsoft Support – Free up drive space in Windows: https://support.microsoft.com/en-us/windows/experience/storage-filemanagement/free-up-drive-space-in-windows
- Microsoft Support – Manage drive space with Storage Sense: https://support.microsoft.com/en-us/windows/experience/storage-filemanagement/manage-drive-space-with-storage-sense
- Microsoft Support – Free up space for Windows updates: https://support.microsoft.com/en-us/windows/deployment/updates-lifecycle/free-up-space-for-windows-updates
- Microsoft Support – Uninstall or remove apps and programs in Windows: https://support.microsoft.com/en-us/windows/apps/uninstall-or-remove-apps-and-programs-in-windows
- Microsoft Support – Save disk space with OneDrive Files On-Demand for Windows: https://support.microsoft.com/en-us/onedrive/save-disk-space-with-onedrive-files-on-demand-for-windows
- Microsoft Support – System protection: https://support.microsoft.com/en-us/windows/experience/backup-recovery/system-protection
- Microsoft Support – Storage settings in Windows: https://support.microsoft.com/en-us/windows/experience/storage-filemanagement/storage-settings-in-windows
- Microsoft Support – Get help with Windows upgrade and installation errors (20 GB free space figure): https://support.microsoft.com/en-us/windows/deployment/install-upgrade/get-help-with-windows-upgrade-and-installation-errors
- Microsoft Learn – Delivery Optimization FAQ: https://learn.microsoft.com/en-us/windows/deployment/do/waas-delivery-optimization-faq
- Microsoft Learn – Introduction to the page file: https://learn.microsoft.com/en-us/troubleshoot/windows-client/performance/introduction-to-the-page-file
- Microsoft Learn – How to disable and re-enable hibernation: https://learn.microsoft.com/en-us/troubleshoot/windows-client/setup-upgrade-and-drivers/disable-and-re-enable-hibernation
- Microsoft Learn – Clean up the WinSxS folder: https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/clean-up-the-winsxs-folder