How to Clean Windows 11 to Improve Performance

Your PC takes longer to start than it used to, the C drive is nearly full, and you want to tidy it without installing a cleaner app. Windows 11 already has everything you need: clear temporary files in Settings > System > Storage, turn on Storage Sense, remove apps you don’t use, and switch off startup apps you don’t need.

Updates, a malware scan and a quick look at Power mode round out the routine. Every tool below is built into Windows 11.

Before You Start: What Cleaning Can and Can’t Speed Up

Cleaning does two different jobs, and it helps to know which one you need. Deleting files frees disk space. Trimming startup apps and background programs reduces the work Windows does while you use it. Free space only affects speed when the drive is nearly full, since low space can slow the PC and block updates. On older machines Microsoft notes that tuning may help only a little.

Two quick checks before you change anything:

  1. Open File Explorer and select This PC. Under Devices and drives, the bar under Local Disk (C:) shows how much space is left.
  2. Restart the PC (Start > Power > Restart). Microsoft notes that having many apps or browser tabs open can slow performance, and a restart closes them all.

Back up anything important to OneDrive or an external drive first. Then work through the steps in order and check the PC after each one, as Microsoft suggests.

StepWhat it mainly improves
Temporary files, Cleanup recommendations, Storage Sense, Disk CleanupDisk space
Uninstalling unused appsDisk space, sometimes background load
Startup appsBoot time and background usage
Windows Update and a malware scanFixes and performance improvements; removes malware that uses CPU and disk
Power mode and visual effectsCPU performance and system resources, at the cost of battery or looks

Remove Temporary Files and Use Cleanup Recommendations

The Storage page in Settings shows what is using space and gives you two ways to clear it.

Clear Temporary Files

  1. Open Start > Settings > System > Storage. Wait a few seconds while Windows measures each category.
  2. Select Temporary files. Windows lists each type of temporary data it found, with its size.
  3. Read every ticked box before you go on. If Downloads or Recycle Bin appear in the list, untick them unless you have checked what’s in them, since both hold your own files.
Windows 11 Temporary files page with sizes listed and Downloads unticked
Illustration: Read every ticked box before removing files.
  1. Select Remove files. The total at the top drops as Windows finishes.

For more ways to clear these folders, including the Temp folder itself, see how to delete temp files in Windows 11.

Emptying the Recycle Bin also frees space once you are sure nothing in it is needed; see how to empty the Recycle Bin in Windows 11.

Work Through Cleanup Recommendations

Go to Settings > System > Storage > Cleanup recommendations. Windows groups candidates into Temporary files, Large or unused files, Files synced to the cloud and Unused apps. Expand a section, tick the items you are sure about, and select Clean up for that section. Windows shows how much space each selection will free. Microsoft’s free up drive space page covers the same tool.

Here is a typical result. Say a laptop with a 256 GB drive shows 9 GB free. Temporary files lists 6 GB of update leftovers and 3 GB in Downloads, and Large or unused files flags a 4 GB video you exported months ago and have since copied elsewhere. Removing the update leftovers and the video brings free space to 19 GB without touching Downloads at all.

Warning before you remove system files: if you upgraded Windows within the last 10 days, the previous version appears as a removable item (Previous Windows installation(s)). Deleting it removes the Windows.old folder and you can no longer go back to the earlier version. That step can’t be undone. If you’re sure, the steps to delete Windows.old in Windows 11 explain the rest.

Turn On Storage Sense So Space Stays Free

Storage Sense is the automatic version of the Temporary files page. It is off by default, though Windows may switch it on for some temporary files when space runs low and let you know.

  1. Go to Start > Settings > System > Storage and turn Storage Sense on.
  2. Select Storage Sense to open its settings. Under Run Storage Sense, choose how often it runs.
Windows 11 Storage Sense settings with the run schedule menu open
Illustration: Storage Sense can clean on a schedule.
  1. Set the Recycle Bin rule (files deleted after they’ve been there a set number of days) and the Downloads rule (files removed if not opened for a set time). If you keep installers or receipts in Downloads, pick the setting that never deletes them.

Three limits are worth knowing. Storage Sense only cleans the system drive (C:), its settings apply to the account you’re signed in with, and it won’t run unless you’re signed in and the PC has been online for more than 10 minutes. The full walkthrough is in how to turn on Storage Sense in Windows 11, and Microsoft documents it on its Storage Sense support page.

Use Disk Cleanup if You Prefer the Classic Tool

Disk Cleanup is still included in Windows 11 and Microsoft still lists it as a way to free space. It overlaps with the Storage settings above, so use it if you know it or want to clean a drive other than C:.

  1. Type Disk Cleanup in the taskbar search box and open it.
  2. Pick the drive to scan. Windows calculates how much it can free.
  3. Tick the file types to remove and confirm the deletion.
  4. For update and installation leftovers, use the option in the same window to clean up system files.

Uninstall Apps You No Longer Use

  1. Go to Start > Settings > Apps > Installed apps.
  2. Select the More icon (three dots) beside an app you don’t use.
  3. Select Uninstall and confirm.

Some desktop programs can’t be removed from Settings. For those, open Control Panel > Programs > Programs and Features, select the program and choose Uninstall. A few built-in Windows apps can’t be uninstalled at all, which is expected. Microsoft’s uninstall or remove apps page lists both routes.

Turn Off Startup Apps You Don’t Need

Microsoft notes that apps that run at startup can slow boot time and increase background usage, so this step matters most when the PC is slow right after you sign in.

  1. Go to Start > Settings > Apps > Startup.
  2. Look at the impact label under each app: None, Not measured, Low, Medium or High impact.
  3. Switch off apps you don’t need the moment you sign in, starting with High impact ones such as game launchers, chat apps and updaters for software you rarely open.
Windows 11 Startup apps page with impact labels and one app switched off
Illustration: Start with High impact apps you don't need.
  1. Restart and see how long the desktop takes to settle.

Prefer Task Manager? Press Ctrl + Shift + Esc, open the Startup apps page, select an app and choose Disable. Leave antivirus, touchpad, audio and graphics driver entries on. Turning an app off doesn’t uninstall it, and you can switch it back on the same way. More detail is in how to change startup programs in Windows 11.

Install Updates and Scan for Malware

Updates often include fixes and performance improvements, and malware can consume CPU and disk resources, which reduces performance.

  1. Go to Settings > Windows Update and select Check for updates. Install what it offers and restart if asked.
  2. Open Advanced options > Optional updates to see driver updates that aren’t installed automatically. Install them if one matches a device you’ve had trouble with.
  3. Go to Settings > Privacy & security > Windows Security > Virus & threat protection and run a Quick scan.

If something still seems wrong, choose Scan options. A Full scan checks every file and program. The Microsoft Defender Antivirus (offline scan) option restarts the PC to catch threats that hide while Windows is running, so save your work first. Results appear under Protection history. Microsoft explains the scan types on its virus and threat protection page, and there’s more on how to run a Windows Defender scan.

Clear Your Browser Cache Only When It Helps

Browsers keep copies of pages, images and other media on your device, so after you clear the cache, sites download them again on your next visit. Do it when a site misbehaves or the cache has grown large. In Microsoft Edge:

  1. Open Settings and more (three dots) > Settings > Privacy, search, and services.
  2. Under Clear browsing data, select Choose what to clear next to Clear browsing data now.
  3. Pick a Time range, tick Cached images and files only, and select Clear now.
Edge Clear browsing data dialog with only Cached images and files ticked
Illustration: Leave passwords and history unticked.

If sync is on, cleared items are removed on every device signed in to the same account. There’s more on how to clear the cache in Microsoft Edge.

Check Power Mode, Background Apps and Drive Optimization

  • Power mode: go to Settings > System > Power & battery > Power mode and choose Best performance. Microsoft warns this uses more power, drains a battery faster and can make the device run warmer, so on a laptop away from a charger you may want to switch back to your usual mode.
  • Background apps: for apps that offer it, open Settings > Apps > Installed apps, select More options > Advanced options, and under Background app permissions set Let this app run in the background to Never.
  • Visual effects: search for “Adjust the appearance and performance of Windows”, open the Visual Effects tab and choose Adjust for best performance. Windows looks plainer.
  • Drive optimization: type “defrag” in search and open Defragment and Optimize Drives. Windows optimizes drives automatically once a week. Hard drives are defragmented and SSDs are trimmed, so there’s no reason to defragment an SSD by hand. Use Change settings to confirm the schedule is on.

Microsoft’s tips to improve PC performance cover each of these settings.

Cleaning Advice to Skip

  • Registry cleaners. Microsoft’s support policy for registry cleaning utilities says it doesn’t support them and that problems caused by them may require reinstalling Windows.
  • “RAM booster” or memory cleaner apps. None of Microsoft’s performance advice includes freeing RAM with a separate app.
  • Deleting files inside Windows system folders by hand. Let the Storage settings or Disk Cleanup decide what’s safe to remove.
  • Debloat scripts and “optimizer” downloads. They change many settings at once and can be hard to undo, and none of them appear in Microsoft’s own performance tips.

If the PC is still slow after all of this, Microsoft notes that older PCs may not see much improvement from these steps and upgrading the hardware may be the better long-term fix. Working through how to fix a slow computer in Windows 11 is the next step. Resetting Windows is a last resort, and only after a full backup: Microsoft’s reset your PC page shows the route, Settings > System > Recovery > Reset PC.

What People Ask About Cleaning Windows 11

How often should I clean Windows 11?

Microsoft doesn’t set a schedule. With Storage Sense on, temporary files take care of themselves, so a manual pass through Storage and Startup every few months, or whenever free space gets low, is plenty.

Will cleaning make games run faster?

Microsoft’s performance tips don’t promise gains for games. Freeing space mainly helps when the drive is nearly full, since low disk space can reduce performance. Turning off background apps, installing optional driver updates that apply to your hardware and choosing Best performance power mode are the steps Microsoft lists for getting more out of the CPU.

I removed something I needed. Can I get it back?

Check the Recycle Bin first, as long as you didn’t empty it in the same cleanup. Otherwise restore the file from OneDrive or your backup. A backup made before you start covers anything the Recycle Bin doesn’t.

Does Storage Sense clean my second drive?

No. It only works on the C: drive. Disk Cleanup lets you pick another drive, and Cleanup recommendations can flag large files you no longer open.

Start with Temporary files and Startup today, then turn on Storage Sense so the drive stays tidy without another manual pass.