How to free up storage space on Windows 11

To free up storage space on Windows 11, open Settings > System > Storage > Cleanup recommendations, select the items you no longer need and select Clean up.

The sections below add more built-in methods, from Storage Sense and Disk Cleanup to removing hiberfil.sys and compressing Windows, plus fixes for a C drive that stays full.

How to free up storage space on Windows 11
Temporary files, Installed apps and Cleanup recommendations all open from Settings > System > Storage, with used space shown per category. (Image: Microsoft)

Fastest ways to free up space on Windows 11 (2 minutes)

Cleanup recommendations is the quickest route because Windows lists removable items and shows how much space each one frees.

  1. Select Start > Settings > System > Storage.
  2. Select Cleanup recommendations.
  3. Open each category: Temporary files, Large or unused files, Files synced to the cloud and Unused apps.
  4. Select the items you want to remove and check the space shown for each one.
  5. Select Clean up in each section you changed.
  6. Empty the Recycle Bin if you deleted any personal files by hand.

If the drive is still short of room after this, work through the methods below in order and check your free space after each one.

Free up disk space using built-in tools on Windows 11

Every tool here ships with Windows, so you never need a third-party cleaner. Match your situation to a row, then jump to that numbered method.

Your situation Built-in tool Space you can expect Can you undo it?
You want one-off cleanup in Settings Delete temporary files (method 1) Shown per item before you remove it No, the files are deleted
Space keeps filling up over time Storage Sense (method 2) Depends on your Recycle Bin and Downloads rules Yes, turn it off, but removed files stay gone
You prefer the classic tool or need system files gone Disk Cleanup (method 3) Calculated when the tool opens No, the files are deleted
Large programs you no longer use Uninstall apps (method 4) Listed under Installed apps Reinstall the app
You never use Hibernate Turn off hibernation (method 5) Hiberfil.sys is about the size of your RAM Yes, powercfg.exe /hibernate on
Search index has grown very large Rebuild the index (method 6) The index is usually under 10% of indexed files It rebuilds itself
Your files are already in OneDrive Files On-Demand (method 7) The full size of each file you make online-only Yes, Always keep on this device
Old folders you rarely open NTFS compression (method 8) Varies by file type Yes, compact /u
A small SSD or a tablet with little storage Compact OS (method 9) Microsoft measured over 3.7 GB on 64-bit Windows 10, version 1607 Yes, Compact.exe /CompactOS:never
Photos, videos and archives fill the drive Move files (method 10) The full size of what you move Yes, move them back

1. Delete temporary files

Temporary files are the safest first target. Programs store working data in them, and Microsoft says files not modified within the last week are safe to delete.

  1. Select Start > Settings > System > Storage.
  2. Select Temporary files.
  3. Read each category and select the ones you do not need.
  4. Clear Downloads if it appears and you still want those files.
  5. Select Remove files and confirm.

You can also delete temporary files by hand from the Temp folder when a specific app leaves large leftovers behind.

2. Run Storage Sense

Storage Sense removes temporary files and old Recycle Bin items on a schedule. It is off by default, works only on the system drive and needs you signed in and online for more than 10 minutes.

  1. Select Start > Settings > System > Storage.
  2. Set Storage Sense to On.
  3. Select Storage Sense to open its settings.
  4. Choose a schedule under Run Storage Sense.
  5. Set how long files stay under Delete files in my recycle bin if they have been there for over.
  6. Set the Downloads rule under Delete files in my Downloads folder if they haven't been opened for more than.
  7. Set the online-only rule under Content will become online-only if not opened for more than if you use a cloud account.

Downloads and cloud content stay untouched until you configure them, except that OneDrive files become online-only after 30 days unopened on version 22H2 and later. Online-only files are not deleted, and Always keep on this device exempts a file.

3. Run Disk Cleanup

Disk Cleanup is the older tool, and it still runs on Windows 11 through the cleanmgr command. Use it when you want to tick categories such as Old Chkdsk Files or remove system files in one pass.

  1. Press Windows logo key + R, type cleanmgr and select OK.
  2. Select drive C: and select OK.
  3. Tick the categories you want to remove, such as Temporary Files and Recycle Bin.
  4. Select Clean up system files, select the drive again and select OK.
  5. Select the types of system files you want to delete after the tool finishes its calculation.
  6. Select OK and confirm the deletion.

On any drive other than the Windows drive, the tool offers only the Recycle Bin and catalog file options. The cleanmgr /lowdisk switch starts it with default settings when space is tight.

Run Disk Cleanup on Windows 11 with Clean up system files button
Press Windows logo key + R, run cleanmgr, tick the categories you want, then select the highlighted button and pick the drive again. (Image: Microsoft Q&A)

4. Uninstall apps

Installed apps use space for their own files plus caches, logs and updates, so removing ones you no longer open is an easy win.

  1. Select Start > Settings > Apps > Installed apps.
  2. Find the app you no longer use.
  3. Select the More icon next to it and select Uninstall.
  4. Follow the on-screen directions until the app is gone.
  5. Open Control Panel > Programs > Programs and Features if Settings cannot remove the app, then right-click it and select Uninstall or Uninstall/Change.

Some built-in apps cannot be uninstalled. Skip anything you do not recognise until you know what it does.

5. Disable hibernation

Windows reserves a hidden file called Hiberfil.sys in the root of the system drive, and it is about the same size as your installed RAM. Turning hibernation off removes that file, so learn what hiberfil.sys does first if you use Hibernate.

  1. Select Start and search for cmd.
  2. Right-click Command Prompt and select Run as administrator.
  3. Approve the User Account Control prompt.
  4. Type powercfg.exe /hibernate off and press Enter.
  5. Type exit and press Enter.

Hibernate and hybrid sleep both stop working after this. Microsoft warns that you may lose data if you turn hibernation off and a power loss occurs while hybrid sleep is on.

To keep part of the feature, run powercfg /h /type reduced instead, which cuts the file by about 30%. To bring everything back, run powercfg.exe /hibernate on.

6. Clear search index database

Windows 11 keeps its search index in a file named Windows.db, stored in C:\ProgramData\Microsoft\Search\Data\Applications\Windows. Check its Size on disk value in Properties, because the size listed in File Explorer may not be accurate. Rebuilding replaces the database with a fresh one.

  1. Select Settings > Privacy & security > Searching Windows.
  2. Select Add an excluded folder and exclude any folder full of small files you never search.
  3. Select Advanced indexing options.
  4. Select Advanced, then select Rebuild and confirm.
  5. Leave the PC on and let the indexer run for up to 24 hours.

Search results may be incomplete until Indexing complete appears. The index is normally under 10% of the size of the files it covers, but many very small files or computer code can push it much higher.

Clear search index database in Windows 11 from Indexing Options dialog
After you select Rebuild, search results may be incomplete until this message appears, which can take up to 24 hours. (Image: Microsoft)

7. OneDrive enable free up disk space

Files On-Demand keeps a small placeholder on your drive and the full file in OneDrive, and you can still open it from your PC. It is on by default in OneDrive build 23.066 and later.

  1. Select the OneDrive cloud icon in the notification area.
  2. Select the gear icon, then select Settings.
  3. Open the Sync and back up tab and expand Advanced settings.
  4. Turn on Files On-Demand.
  5. Right-click a large file or folder in File Explorer and select Free up space.

Select Always keep on this device for anything you need offline, which downloads the file and keeps it on the drive.

8. Enable NTFS compression

NTFS compression shrinks files in place, and you can still open them normally. It works on NTFS volumes only, never on FAT or FAT32. Use it on an archive folder rather than the whole system drive; the example below uses D:\Archive.

  1. Select Start, search for cmd and open Command Prompt.
  2. Run compact /c /s:D:\Archive to compress the folder, its subfolders and the files already in them.
  3. Run cd /d D:\Archive to enter the folder.
  4. Run compact with no switches to display the compression state of the files.
  5. Run compact /u /s:D:\Archive later if you want the files uncompressed again.

Microsoft documents a drive-level option, Compress this drive to save disk space, under Properties > General, in its Windows 10 steps only. Prefer the folder command above on Windows 11.

Free up storage space with NTFS compression: compact command parameters /c, /u and /s
Use /c to compress, /u to uncompress and /s to include subfolders; the folder stays marked so files added later follow it. (Image: Microsoft)

9. Enable CompactOS

Compact OS runs Windows from compressed files on UEFI and BIOS PCs alike, and Windows Update can still replace individual files afterwards. Microsoft measured savings of more than 3.7 GB on a 64-bit Windows 10, version 1607 image. Expect a different figure on a current Windows 11 install.

  1. Select Start and search for cmd.
  2. Right-click Command Prompt and select Run as administrator.
  3. Run Compact.exe /CompactOS:query to see whether Windows is already compacted.
  4. Run Compact.exe /CompactOS:always and wait for the command to finish.
  5. Run Compact.exe /CompactOS:never later if you want the operating system files uncompressed again.

The state stays in place until an administrator changes it, so you only run this once.

10. Transfer files to another drive

Videos, Music, Pictures and Downloads usually hold the largest personal files, so moving them gives the biggest single gain.

  1. Connect a USB drive or SD card.
  2. Open File Explorer and go to This PC > Videos, Music, Pictures or Downloads.
  3. Select View > Details, right-click an empty area and select Sort by > Size.
  4. Select the large files you keep but rarely use, then select Cut on the ribbon.
  5. Open the external drive and select Paste.
  6. Select Start > Settings > System > Storage > Advanced storage settings > Where new content is saved.
  7. Choose the other drive for each content type so new files stop landing on C:.

The other drive must be connected to appear in that list. To add room permanently, you can manage drives and partitions with Disk Management.

How to delete Windows.old folder in Windows 11

A recent upgrade leaves your previous Windows in a folder called Windows.old. Removing it frees a large block of space, but the deletion cannot be undone, so keep it until the new version has proved stable.

  1. Select Start > Settings > System > Storage.
  2. Select Temporary files.
  3. Select Previous Windows Installation(s).
  4. Select Remove files and confirm.

If you upgraded fewer than 10 days ago, the previous version also appears as a deletable item under Cleanup recommendations.

Disable Windows Recall to free up storage on a Copilot+ PC

Recall is exclusive to Copilot+ PCs and stays off until each user opts in. Once on, its snapshots can use up to 25 GB on a 256 GB device, 75 GB on 512 GB and 150 GB on 1 TB or more by default.

  1. Select Settings > Privacy & security > Recall & snapshots and approve the Windows Hello prompt.
  2. Expand Storage and pick a lower limit for snapshots, down to 25 GB or 10 GB depending on your drive.
  3. Choose a maximum storage duration of 30, 60, 90 or 180 days.
  4. Expand Delete snapshots and select Delete all to clear what is already saved.
  5. Set Save snapshots to Off to stop new snapshots.
  6. Open Turn Windows features on or off if you want to remove Recall completely.

When the storage limit is reached, Windows deletes the oldest snapshots first, so a lower limit also shortens how far back Recall can search.

Disable Windows Recall to free up storage in Recall & snapshots settings
Lower Maximum storage for snapshots under Storage; Windows deletes the oldest snapshots first when a Copilot+ PC reaches the limit. (Image: Microsoft)

How to scan for malware when storage space disappears in Windows 11

Microsoft lists malware as a possible cause of lost space, because it can consume room by corrupting system files. Scan if space vanishes and no folder explains it.

  1. Open the Windows Security app.
  2. Select Virus & threat protection.
  3. Under Current threats, select Scan options.
  4. Select Full scan to check every file and program on your device.
  5. Remove anything the scan reports, then check your free space again.
Scan for malware when storage space disappears using Windows Security Virus & threat protection
Select Scan options under Current threats, then choose Full scan to check every file and program on your device. (Image: Microsoft)

How to view storage space on Windows 11

Check the numbers after each method so you can stop as soon as you have enough room. You can view storage on Windows 11 in more detail with other tools too.

  1. Select File Explorer on the taskbar, then select This PC.
  2. Read the free space shown under Devices and drives.
  3. Select Start > Settings > System > Storage for a breakdown such as Installed apps and Temporary files.
  4. Select Show more categories to see System & reserved space.
  5. Check that the capacity bar is no longer red, which marks a low-disk state.

C drive is full on Windows 11: low disk space errors

Each symptom below lists its likely cause first, then the fix to try.

C drive is full on Windows 11

Personal files usually fill the drive, and new downloads keep landing on C:.

  1. Open File Explorer > This PC and check Videos, Music, Pictures and Downloads.
  2. Sort each folder by Size and delete or move the largest files.
  3. Empty the Recycle Bin, because deleted files still use space until you do.
  4. Send new content to another drive through Where new content is saved.

Why does my computer say free up disk space?

A low disk space warning that survives Cleanup recommendations can mean the Temp folder is filling with Microsoft Store .appx files.

  1. Select Start > Settings > System > Troubleshoot > Other troubleshooters.
  2. Select Run next to Windows Store Apps.
  3. Press Windows logo key + R, type wsreset.exe and select OK, then wait about ten seconds for the Store to open.
  4. Select Run next to Windows Update in Other troubleshooters.
  5. Restart the PC and check your free space.

Disk space not freeing up after you delete files

The files are still in the Recycle Bin, are still stored locally by OneDrive, or sit on a different drive.

  1. Empty the Recycle Bin.
  2. Right-click your OneDrive folders and select Free up space.
  3. Open Advanced storage settings > Storage used on other drives to see where the space went.
  4. Run a Full scan in Windows Security if nothing explains the loss.

Why can't I free up disk space on Windows 11?

Part of the used space is system and reserved storage, which Windows keeps for updates and clears itself when the device runs low.

  1. Open Settings > System > Storage and select Show more categories.
  2. Note the System & reserved figure, which you should leave to Windows.
  3. Target Installed apps and Temporary files instead, because you control both.
  4. Turn off hibernation or use Compact OS if those two categories are already small.

Windows 11 says it needs more space for a feature update

Feature updates typically need 6 GB to 11 GB or more of free space, and some need 20 GB or more.

  1. Connect an external drive with at least 10 GB free and back up important files.
  2. Open Settings > Windows Update.
  3. Select Fix issues if it appears, which opens the external storage tool.
  4. Select the drive from the list and follow the prompts.
  5. Remove the drive after the installation finishes.

Free up storage space on Windows 11 FAQ

Does Windows 11 have Disk Cleanup?

Yes. Windows 11 still includes Disk Cleanup, and you can start it by pressing Windows logo key + R and running cleanmgr. Microsoft's current Windows 11 steps focus on Cleanup recommendations in Settings, which covers most of the same files.

Can I delete temporary files in Windows 11?

Yes. Use Settings > System > Storage > Temporary files, read each category and select Remove files. Microsoft says temporary files not modified within the last week are safe to delete, but check the Downloads category because it can hold files you want.

Do I need hiberfil.sys?

You need hiberfil.sys only if you use Hibernate or hybrid sleep, because a PC without it cannot hibernate. If you never use either feature, powercfg.exe /hibernate off removes the file. Delete it that way rather than by hand.

Why is hiberfil.sys so big?

Hiberfil.sys is big because Windows uses it to store a copy of system memory, so its size is about equal to your installed RAM. Running powercfg /h /type reduced shrinks the file by about 30% if you want to keep it.

Can you delete the Windows.old folder in Windows 11?

Yes. Go to Settings > System > Storage > Temporary files, select Previous Windows Installation(s) and select Remove files. The deletion cannot be undone, so keep the folder until you are sure you will not go back to the earlier Windows version.

What is Storage Sense in Windows 11?

Storage Sense is a built-in Windows feature that removes temporary files and old Recycle Bin items automatically. It is off by default, works only on the system drive, and can also make unopened cloud files online-only if you configure it to.

Is Windows Search Indexer necessary?

Windows Search Indexer is what makes file search fast, so keep it running if you search your PC often. To reduce its footprint, exclude folders you never search and rebuild the index from Advanced indexing options rather than disabling the Windows Search service.

Can I move files from C drive to D drive?

Yes. Select personal files in File Explorer, select Cut, open the D drive and select Paste. Then choose D under Where new content is saved so new documents, photos and apps stop filling C. Leave Windows system folders where they are.

How much free space does Windows 11 need for updates?

Microsoft says feature updates typically need 6 GB to 11 GB or more of free space, and quality updates need roughly 2 GB to 3 GB or more. Optional features, languages and drivers can raise the total to 20 GB or more.

Does Windows 11 Recall take up storage?

Yes, on Copilot+ PCs where you opt in to Recall. Its snapshots use up to 25 GB, 75 GB or 150 GB by default, depending on drive size. Lower the limit or select Delete all under Settings > Privacy & security > Recall & snapshots.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

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