How to Clear Cache in Windows 11 to Speed Up Your Computer

Rate this post

Is your Windows 11 PC feeling sluggish, freezing unexpectedly, or taking forever to load apps? The culprit is often a bloated cache. Knowing how to clear cache in Windows 11 is one of the simplest — and most effective — ways to reclaim storage space and get your computer running like new again.

In this guide, you’ll learn 7 proven methods to clear different types of cache on Windows 11, step by step. No tech degree required.



What Is Cache and Why Does It Build Up?

Cache is temporary data your PC stores to help apps, browsers, and Windows itself load faster. Think of it as your computer’s short-term memory — great in small doses, but problematic when it piles up.

Over time, cache from browsers, apps, system updates, and the Windows Store accumulates and takes up gigabytes of disk space. When that happens, your PC can slow down, crash more often, or show outdated content.

Clearing it regularly is like giving your computer a fresh start.


How to Clear Cache in Windows 11 — 7 Methods

Let’s walk through every type of cache you should be clearing — and exactly how to do it.


Method 1: Clear Temporary Files Using Settings

This is the easiest and most recommended starting point for most users.

  1. Press Windows + I to open Settings.
  2. Go to SystemStorage.
  3. Click on Temporary files.
  4. Windows will scan and display categories of junk files (Temp files, Thumbnails, Recycle Bin, etc.).
  5. Check the boxes for what you want to remove.
  6. Click Remove files and confirm.
clear cache in Windows 11

💡 Pro Tip: Always check “Temporary Internet Files” and “Thumbnails” — these two alone can free up several gigabytes.

This method handles a broad sweep of cached system data and is safe for all users.


Method 2: Run Disk Cleanup

Disk Cleanup is a classic Windows utility that’s still fully functional in Windows 11.

  1. Press Windows + S and search for Disk Cleanup.
  2. Select your C: drive and click OK.
  3. Wait for the scan to complete.
  4. Check all relevant boxes, then click OKDelete Files.
  5. For a deeper clean, click Clean up system files and repeat the process.

⚠️ Warning: Do not delete “Windows ESD Installation Files” unless you are sure you won’t need to reset Windows in the near future.

This tool is especially useful after Windows updates, which tend to leave large leftover system files behind.


Method 3: Clear the DNS Cache

The DNS cache stores records of websites you’ve visited to speed up future connections. A corrupted DNS cache can cause websites to fail to load or display outdated pages.

  1. Press Windows + S and search for Command Prompt.
  2. Right-click it and select Run as administrator.
  3. Type the following command and press Enter:
ipconfig /flushdns
  1. You’ll see the message: “Successfully flushed the DNS Resolver Cache.”
clear cache in Windows 11

That’s it. This takes less than 10 seconds and can instantly fix browsing issues.

💡 Pro Tip: If a website you visit regularly starts behaving oddly or refusing to load, flushing your DNS cache should be your first troubleshooting step. For more network fixes, check out [link: how to fix internet connection on Windows 11 → /fix-internet-connection-windows-11].


Method 4: Clear the Microsoft Store Cache

The Microsoft Store has its own dedicated cache that can cause app download failures, loading errors, and slow store performance.

  1. Press Windows + R to open the Run dialog.
  2. Type wsreset.exe and press Enter.
  3. A blank Command Prompt window will appear — don’t close it.
  4. Wait for it to close automatically. The Microsoft Store will open once it’s done.
clear cache in Windows 11

⚠️ Warning: Do not manually close the Command Prompt window during this process. Interrupting it can cause the Store to malfunction temporarily.

This process resets the Store cache completely and usually resolves most Store-related issues.


Method 5: Clear Browser Cache

Your browser stores images, scripts, and data from every website you visit. Over time, this slows down browsing speed and can cause display glitches.

For Microsoft Edge (built into Windows 11):

  1. Open Edge and press Ctrl + Shift + Delete.
  2. Set the time range to All time.
  3. Check Cached images and files and Cookies and other site data.
  4. Click Clear now.

For Google Chrome:

  1. Press Ctrl + Shift + Delete.
  2. Select All time as the time range.
  3. Check Cached images and files.
  4. Click Clear data.

💡 Pro Tip: You don’t need to clear cookies every time — just clearing cached images and files is usually enough to speed up your browser without signing you out of websites.

For more detail on keeping your browser fast, Microsoft’s Edge support page has official guidance on managing cache and browsing data.


Method 6: Clear the Location Cache

Windows 11 stores a history of your location data. Clearing it protects your privacy and removes stored location records apps may be pulling from.

  1. Open Settings (Windows + I).
  2. Go to Privacy & SecurityLocation.
  3. Scroll down to Location history.
  4. Click Clear next to “Clear location history on this device.”

This is especially useful if you share your PC with others or use location-based apps regularly.


Method 7: Clear Prefetch Files

Prefetch files help Windows load programs faster by preloading data. Over time, outdated prefetch data can actually slow things down instead.

  1. Press Windows + R to open Run.
  2. Type prefetch and press Enter.
  3. If prompted by a UAC dialog, click Continue.
  4. Select all files (Ctrl + A) and delete them (Delete key).
  5. Empty the Recycle Bin afterward.

⚠️ Warning: Windows will automatically rebuild prefetch files after your next few app launches. Your PC may feel slightly slower for a short period — that’s completely normal.

According to Microsoft, clearing prefetch files is safe and Windows handles the rebuild process automatically without any user action needed.


How Often Should You Clear Cache on Windows 11?

There’s no one-size-fits-all answer, but here’s a simple guideline:

Cache TypeRecommended Frequency
Temporary Files (Settings)Every 1–2 months
Disk CleanupEvery 2–3 months
DNS CacheAs needed (when browsing issues occur)
Browser CacheEvery 2–4 weeks
Microsoft Store CacheWhen Store errors appear
Prefetch FilesEvery 3–6 months

For most users, doing a full cache clear every month keeps the PC running smoothly without any noticeable slowdown.

💡 Pro Tip: Enable Storage Sense in Windows 11 Settings to automatically delete temporary files on a schedule. Go to Settings → System → Storage → Storage Sense and toggle it on.

If your PC is still slow after clearing cache, there may be deeper performance issues at play. Check out [link: how to speed up a slow Windows 11 PC → /speed-up-windows-11-pc] for a complete optimization guide.

You can also refer to Microsoft’s official Storage Sense documentation for managing automatic cleanup settings on Windows 11.


Frequently Asked Questions

Q1: Will clearing cache delete my files or personal data?

No. Cache files are temporary system data, not your personal documents, photos, or installed apps. Your personal files are completely safe.

Q2: How do I clear cache in Windows 11 quickly?

The fastest method is pressing Windows + R, typing %temp%, and deleting everything in that folder. It takes under a minute.

Q3: Does clearing cache speed up Windows 11?

Yes, especially if your cache hasn’t been cleared in months. It frees up disk space and removes outdated data that can slow down app loading.

Q4: Is it safe to delete prefetch files in Windows 11?

Yes, it’s completely safe. Windows automatically rebuilds prefetch files as you use your apps — you won’t lose anything permanently.

Q5: How do I clear the RAM cache in Windows 11?

The simplest way is to restart your PC. Windows automatically flears the RAM cache on reboot. Third-party RAM cleaners are generally not recommended.


You can check this too

PC Blue Screen of Death Fix: 10 Proven Solutions to Stop BSOD

Create Restore Point on Windows PC to Protect Your System From Crashes

Sharing Is Caring:

Ilyas Byahatti is the founder of HowtoFixMyPC.com and DrtechCTO - trusted tech expert who simplifies Windows issues, PC performance, infrastructure, and networking for everyday users. With more than 15 years of hands-on experience, he has helped over 20,000 people troubleshoot hardware, networking, and software problems with confidence and ease.

Leave a Comment