Windows

Clearing Cache Files in Windows 10 and Windows 11: A Practical Guide

Learn how to clear different types of cache files in Windows 10 and Windows 11, including temporary files, app caches, browser data, and update leftovers.

Andrew Miller
Andrew Miller
Technology Writer  •  Sep 19, 2026  •  5 min read

Cache files can help Windows and apps load faster, but over time they can take up a lot of storage space or contribute to odd app behavior. If you want to free disk space or remove stale temporary data, Windows 10 and Windows 11 give you several safe ways to clear cache files.

Not all cache is the same, so the best method depends on what you want to clean. This guide covers the common cache locations most Windows users can clear without affecting personal files.

Clearing Cache Files in Windows 10 and Windows 11: A Practical Guide

What Counts as Cache in Windows?

In Windows, cache usually means temporary data stored so the system or apps can open faster next time. That can include thumbnail previews, temporary update files, browser cache, Microsoft Store cache, and leftover temporary files from apps.

Key Fact Clearing cache usually does not remove your documents, photos, or installed programs, but it can sign you out of websites or make apps load a little more slowly the first time after cleaning.

The Safest Place to Start: Windows Storage Settings

If your main goal is to free space quickly, Storage settings is the easiest place to begin. It lets Windows identify common temporary files and lets you choose what to remove.

  1. Open Settings.
  2. Select System, then Storage.
  3. Wait for Windows to scan the drive.
  4. Select Temporary files.
  5. Review the items listed before deleting anything.
  6. Check the types of files you want to remove, then select Remove files.
Note The exact categories shown may vary depending on your Windows version and what is currently stored on the PC.

Clear Temporary Files with Disk Cleanup

Disk Cleanup is still useful in both Windows 10 and Windows 11, especially for removing system-generated junk such as update leftovers and thumbnail caches.

  1. Search for Disk Cleanup in the Start menu and open it.
  2. Choose the drive you want to clean, usually C:, and select OK.
  3. Wait while Windows calculates what can be removed.
  4. Select Clean up system files if you want a deeper scan.
  5. Check the boxes for files you want to delete, then select OK and confirm.
Warning Be careful with Windows Update Cleanup if you are troubleshooting a recent update issue. It removes files that Windows may need to roll back certain updates.

Clear the Microsoft Store Cache

If Microsoft Store apps are loading slowly, failing to download, or showing strange errors, clearing the Store cache can help without removing your apps.

  1. Press Windows + R to open the Run box.
  2. Type wsreset.exe and press Enter.
  3. A blank Command Prompt window will appear briefly.
  4. Wait for the Microsoft Store to open automatically when the reset is complete.
Why It Matters This reset removes cached Store data that can block downloads or cause the Store interface to misbehave, while keeping your installed apps in place.

Remove Browser Cache

If your browser is the main problem, clearing browser cache is often the most effective step. This can fix page display issues, old login data, or websites that are not loading correctly.

Quick Tip If a website looks broken, try clearing only cached images and files first instead of deleting passwords or cookies unless you need to.

Clear File Explorer Thumbnail Cache

Windows stores thumbnail previews so folders open faster and show image or video previews. If those thumbnails become corrupted, you may see blank or incorrect previews. Clearing the thumbnail cache can fix that.

  1. Open Disk Cleanup or Storage settings.
  2. Look for Thumbnails in the list of files to remove.
  3. Select it and delete the cache.
  4. Windows will rebuild thumbnails automatically as needed.
Best For Users who see broken folder previews, incorrect image thumbnails, or sluggish File Explorer behavior in media folders.

Clear Temporary Files Manually

Windows stores a lot of temporary data in the temp folders. You can safely remove many of these files, but some may be in use by currently open programs.

  1. Press Windows + R.
  2. Type %temp% and press Enter.
  3. Select the files and folders inside the Temp folder.
  4. Delete what Windows allows, then skip anything currently in use.
  5. Repeat with temp if you want to check the system temp folder as well.
Warning Do not force-delete files that are in use. If Windows says a file cannot be removed, leave it alone rather than trying to bypass the warning.

Clear DNS Cache When Websites Stop Loading Properly

Sometimes the cache problem is not on the disk at all. Windows also keeps a DNS cache that stores recent network lookup results. If websites are loading the wrong address or failing to resolve, clearing DNS cache can help.

  1. Open Command Prompt or Windows Terminal as an administrator.
  2. Type ipconfig /flushdns and press Enter.
  3. You should see a confirmation that the DNS Resolver Cache was cleared.
Note This does not erase browser history or app data. It only clears cached network lookup information.

When You Should Be Cautious

Most cache-clearing steps are safe, but it is still smart to check what you are deleting before confirming. Some cleanup tools also offer files that are not really cache, such as downloads, previous Windows installations, or recycle bin contents.

Which Cache Should You Clear First?

If you are trying to solve a storage problem, start with Storage settings and Disk Cleanup. If a specific app is acting up, clear that app’s cache first, such as the Microsoft Store or your browser. If the issue is network-related, DNS cache is the better target.

Why It Matters Choosing the right cache saves time and avoids deleting data you did not mean to remove. It also makes troubleshooting more effective because you are addressing the most likely source of the problem.

Quick Summary

Topics

More from Windows

View all →
How to Fix DISM Error 0x800f0915 in Windows
Windows

How to Fix DISM Error 0x800f0915 in Windows

How to Fix Command Prompt When You Can’t Run It as Administrator
Windows

How to Fix Command Prompt When You Can’t Run It as Administrator

5 Ways to Fix HP Support Assistant When It Won’t Install
Windows

5 Ways to Fix HP Support Assistant When It Won’t Install

Why USB Devices Show Up as Unknown in Windows 11
Windows

Why USB Devices Show Up as Unknown in Windows 11

How to Fix the Windows Fast Startup Error 0xc00000d4
Windows

How to Fix the Windows Fast Startup Error 0xc00000d4

How to Fix a Volume Bar That Keeps Appearing in Windows
Windows

How to Fix a Volume Bar That Keeps Appearing in Windows