Over time, every Windows installation builds up junk that takes up space and wastes resources. It's easy to neglect regular maintenance, so often the problem comes from old files and programs.

If you don't clean your computer, before long you'll encounter low disk space warnings and notice it slowing down. Let's walk through how to clean Windows 10 (and Windows 11) using a step-by-step plan with a variety of tools for different situations.

The Best Way to Clean Windows 10 A Step-by-Step Guide

Step 1: Erase Temporary Junk

Windows 10 and 11 include a pair of similar tools for clearing out old temporary files from your disk, meaning you don't need a dedicated Windows cleaner app. They're a great first stop on your Windows cleanup journey.

Disk Cleanup

If you don't mind an old-school interface, the classic Disk Cleanup tool gets the cleaning job done. Access it by typing Disk Cleanup into the Start menu and selecting the disk you want to clean.

After a moment, you'll see a list of unnecessary files that Windows can clean up. Assuming you're an administrator, you should first click the Clean up system files button to scan again for additional types of data.

Windows 10 Disk Cleanup

Feel free to delete pretty much every category of data available here, with a few exceptions. On older versions of Windows 10, watch out for Downloads, which will delete everything in that folder. You may also want to avoid cleaning the Recycle Bin unless you're sure that you won't need to restore anything from it.

If you've recently updated to a new major version of Windows, you'll see a Previous Windows installation(s) entry. Deleting this will remove the old files that Windows keeps for 10 days—those allow you to easily go back to an earlier version. You should also avoid removing the Windows ESD installation files option, as this is used for resetting your PC via Settings.

Check out Windows folders you can delete to save space for more info on the specific items you can remove with Disk Cleanup.

Storage Sense

Windows 10 and Windows 11 both include much of this same functionality of Disk Cleanup, with a nicer interface, at Settings > System > Storage. You can use the Storage Sense feature found there to automatically clean up files when your disk space is low, or every so often. Click Configure Storage Sense or run it now (on Windows 10) to change these options.

Windows 10 Storage Menu

In the list of what's using space on your PC, click Temporary files and you can delete the same types of data as in Disk Cleanup. Show more categories provides more info about types of data that aren't using as much space.

Step 2: Delete Large Files

You've removed unnecessary files; the next step to cleaning up Windows 10 is to find old data taking up a lot of space on your computer. To help with this, download TreeSize Free, which will scan your storage and show you where the biggest files are.

Once installed, search for TreeSize on the Start Menu and launch it using the (Administrator) link so you can scan everywhere. To start, choose Select Directory in the top-left and select your main storage disk.

TreeSize Free Windows 10

After a few moments, you'll see a visual breakdown of your PC's storage, with the largest files at the top. Click the dropdown arrow on any folder to expand by one level.

The largest folders will probably be Users, Windows, and Program Files (and/or Program Files (x86)). There's not much you can do in the Windows directory without causing issues (be aware of Windows folders you should never touch), so let's look at the others.

Uninstall Big Programs

Under Program Files (and/or Program Files (x86) on 64-bit Windows), you'll find files for most of the apps you have installed. If you don't use some of these anymore, head to Settings > Apps > Apps & features (on Windows 11, Settings > Apps > Installed apps) to uninstall them.

Windows 10 Uninstall Store App

Eliminate Large Items From Your User Folder

The majority of space-hogging files is generally in your account folder under Users. This contains your documents, pictures, videos, and similar.

You'll likely see a lot of space taken up in the AppData folder, which is where many apps store information and preferences. For instance, Chrome and Spotify's caches can take up several gigabytes here.

Have a look at these files and see if anything is low-hanging fruit. You can delete files you no longer use or move some data to an external hard drive. If you have lots of files in Dropbox or other cloud storage, use their preference panels to de-sync cloud files you don't need. You can always access them through the web interface.

You might see some other enormous files in TreeSize, such as WinSxS. See our guide to managing a large WinSxS folder if you have this issue.

Step 3: Clean Windows 10 Bloatware

Most store-bought computers come loaded with worthless manufacturer bloatware that wastes space and duplicates functionality already in Windows. In addition, Windows 10 itself includes some junk apps you probably never use.

If you haven't taken the time to remove bloatware from your system, you should. It's an important part of Windows 10 cleanup. See our guide to removing bloatware from Windows 10 for instructions. If you're on Windows 11, see instructions for removing bloatware in Windows 11.

Windows 10 Uninstall Start Menu Apps

Step 4: Tidy Your Desktop

Even after you've cleaned up your computer's files and apps, a messy desktop can still confuse you and make it harder to work efficiently. Many people use their desktop as a temporary storage space, leading to all sorts of files getting scattered across it.

You should try "resetting" your desktop to a clean state to make it neater. Start by moving all the files from your desktop to another location. Next, you can create shortcuts to files you need all the time and place those on your desktop.

If you have so many files that you don't think this will work, the Fences app is definitely worth a look. It includes powerful tools that let you automatically combine similar desktop icons, hide or show all icons with a few clicks, and much more.

After you've cleaned up Windows 10 and your desktop, you'll feel like you have a whole new machine. We have a deeper guide on cleaning up your Windows desktop if you're interested.

If Necessary: Refresh Windows 10

Maybe you've concluded your PC is such a mess that you don't want to take the effort to clean up Windows 10. In that case, you can use a built-in option to reinstall a fresh copy of Windows.

You might know about the Reset this PC option available in the Recovery settings. However, using this with certain options will restore your PC to how it was out of the box, including the preinstalled manufacturer bloatware. To avoid this, you can use another method.

Windows 10 Recovery Refresh

To use it, hit the same Get started button in the Recovery menu. Pick Keep my files, choose whether to download or reinstall locally, pick settings, and then make sure you pick No for Restore preinstalled apps?

This reinstalls Windows 10 and updates it to the latest version, plus it removes all installed apps. Only your personal files and "some Windows settings" are kept.

Even though this process promises to keep them safe, make sure you back up your Windows files before doing this, in case something goes wrong. You should also make a note of any license keys you'll need to reactivate software after the refresh.

Having to reinstall all your programs by hand will take some time. But if your computer is a mess, it might still be worth it to get a clean system.

Avoid Fake Cleaning Apps

While we're discussing Windows 10 and 11 cleanups, it bears mentioning that you should be careful what cleaning software you download. While the tools explained earlier are all legitimate ways to clean your PC, you'll find many scammy "PC cleaners" online that are totally worthless (such as the one in the above video).

These tools provide a "free scan" that finds thousands of "issues," which absurdly count every cookie on your computer as a "privacy risk." Then they demand you pay a good amount of money to actually "clean" anything up.

Don't bother with this nonsense. The above tools should be plenty to clean up unnecessary files. If you feel the need to do more, follow our ultimate Windows cleaning checklist.

Now Windows 10 Is Cleaner Than Ever!

That's how to clean your computer without any frills. You now know the big steps to clean up large and unnecessary files in Windows 10 and 11. These methods should be sufficient to clean up a good chunk of space on your computer and make it feel fresh. Keep up with them every so often, and you shouldn't have to worry about low disk space warnings any longer.

Just make sure you don't go overboard and make common Windows maintenance mistakes.