For the main Windows 10 cache, go to Settings > System > Storage > Temporary files and select Remove files. For a web browser, press Ctrl + Shift + Delete inside Edge or Chrome. Windows actually keeps several separate caches, and clearing the wrong one fixes nothing. The table below shows what each holds, what clearing it costs and when it’s worth doing.
Windows 10 caches compared
A cache is a stash of files saved so something loads faster next time. Each one rebuilds itself as you use your PC, so clearing it is safe, but it’s only useful when the cache is corrupted, taking up too much room, or holding stale information.
| Cache | What it holds | What clearing it costs | Clear it when |
|---|---|---|---|
| Temporary files | Leftovers from Windows and apps | Nothing, if you leave Downloads, Recycle Bin and Previous Windows Installation(s) unchecked | You need drive space |
| Browser cache | Saved copies of pages, images and media | Sites load a little slower on the next visit | A site looks broken or won’t show recent changes |
| Cookies (not really a cache) | Sign-ins and site preferences | You get signed out of sites and lose their saved preferences | A single site keeps misbehaving, or for privacy |
| DNS cache | Website addresses your PC already looked up | Almost nothing: the first lookup repeats | A site won’t load here but works on other devices |
| Microsoft Store cache | The Store app’s saved data | Nothing you’d notice | The Store won’t open or downloads get stuck |
| File Explorer history | Recent files and address bar history | The recent lists empty out; your files stay | Privacy, or a cluttered list |
| Thumbnails | Small previews of pictures and files | The first few folders open slowly | Previews look wrong or blank |
Be realistic about speed. Caches exist to make things faster, so clearing them usually won’t speed up a PC, and it can make the first visit to a website a little slower. When the slowdown happens mostly right after you sign in, it helps more to stop unneeded startup programs in Windows 10. For changes that make a bigger difference, see how to optimize Windows 10 with startup apps, updates and visual effects.
A note on versions: Microsoft ended Windows 10 support on October 14, 2025 (consumer Extended Security Updates can run to October 12, 2027). Clearing caches works the same either way. If your PC already runs Windows 11, use these steps to clear cache in Windows 11 instead, since some options sit in different menus.
Temporary files: the one to clear for space
This is Windows’ built-in cleanup and the safest place to start.
Warning: three entries in the list you’re about to see aren’t cache. Downloads deletes everything in your Downloads folder. Recycle Bin permanently empties it. Previous Windows Installation(s), if listed, removes the Windows.old folder, which you need to roll back a recent upgrade. Leave these unchecked unless you’re sure.
- Press Windows key + I to open Settings, then select System.
- Select Storage in the left pane. Windows shows how your C: drive is used.
- Select Temporary files. Windows takes a moment to scan, then lists categories with their sizes.
- Check the boxes you want to remove, leaving the three entries above unchecked.
- Select Remove files and wait. Large cleanups can take several minutes.
To have Windows handle this for you, turn on the Storage Sense switch on the same Storage page. Microsoft says it’s off by default, works only on the system drive (usually C:), and removes nothing from Downloads unless you set it to. It does delete old Recycle Bin items on a timer you can change.
Disk Cleanup, the older tool
Disk Cleanup is still included. Type Disk Cleanup in the taskbar search box (or press Windows key + R, type cleanmgr and press Enter), pick drive C:, check the categories you want, select OK, then select Delete Files to confirm. The same warnings apply. For the Clean up system files option, the Temp folder and Storage Sense schedules in more detail, see deleting temporary files in Windows 10. The Clean up system files button also lists upgrade leftovers, and removing Windows setup files in Windows 10 explains which of those are safe to delete.
Your personal temp folder
Some apps leave files in a temp folder of their own. Close your programs first, then press Windows key + R, type %temp%, press Enter, select everything with Ctrl + A and delete it. Windows skips files in use, so choose Skip if it asks. The deleted files go to the Recycle Bin, so empty it afterward if you need the space. That folder sits inside the hidden AppData folder, so to browse there in File Explorer, first show hidden files in Windows 10.
Browser cache and cookies: Edge, Chrome and Firefox
Each browser keeps its own cache, so Windows cleanup tools don’t fully clear it. The two items sit side by side in the same dialog, but they do different jobs:
- Cached images and files are copies of web content. Clearing them costs you a slightly slower next visit and nothing else.
- Cookies and site data are what keep you signed in and remember your settings. Clearing them can sign you out of sites and erase saved site preferences. Have your passwords handy, and any sign-in codes you use for important accounts.
If a site is acting up, clear the cache alone first. Add cookies only if that doesn’t help, and try just that one site’s cookies before clearing them everywhere.
Microsoft Edge
- Press Ctrl + Shift + Delete, or select Settings and more (the three dots) > Settings > Privacy, search, and services, then select Choose what to clear next to Clear browsing data now.
- Pick a Time range. All time gives a full clear.
- Check Cached images and files. Check Cookies and other site data only if you mean to. Leave Passwords and Autofill form data unchecked, because Edge lists them in this same box.
- Select Clear now.
With sync on, Edge clears the items on all your synced devices. To clear this PC only, first turn sync off under Settings > Profiles > Sync. To remove one site’s cookies, go to Privacy, search, and services > Cookies > See all cookies and site data, search for the site, select the down arrow beside it and choose Delete. Microsoft’s page on deleting cookies in Edge also shows how to clear them each time you close the browser.
Google Chrome
- Press Ctrl + Shift + Delete, or select the three-dot menu at the top right and choose Delete browsing data.
- Choose a time range, such as All time.
- Check Cached images and files, and Cookies and other site data only if needed.
- Select Delete data.
Google’s Chrome help page says passwords, passkeys and downloaded files aren’t removed here, but if you’re signed in to Chrome, the data also goes from your other devices and your Google Account. For a single site, select the three-dot menu > Settings > Privacy and security > Third-party cookies > See all site data and permissions, search for the site, select the trash icon and confirm with Delete.
Mozilla Firefox
- Select the menu button (three lines), then History, then Clear Recent History.
- Set When to Everything, or a shorter period.
- Check Temporary cached files and pages. Add Cookies and site data only if you need to.
- Select Clear.
To remove one site’s cookies while you’re on it, select the padlock or shield icon to the left of the address bar, then select Clear cookies and site data. Mozilla changes these labels between versions, so yours may read slightly differently.
DNS cache: when one site won’t load
DNS is the system that turns a website’s name into a network address, and your PC keeps the answers it has already received. If an entry goes stale, a site can fail here while working on your phone.
- Type cmd in the taskbar search box and open Command Prompt. If search isn’t working, you can also open Command Prompt on Windows 10 from the Run box or Task Manager.
- Type ipconfig /flushdns (with a space before the slash) and press Enter.
- You should see a message saying the DNS Resolver Cache was flushed.
A regular Command Prompt normally works. If you get an error, right-click Command Prompt and choose Run as administrator. Treat it as a troubleshooting step, not routine maintenance. To go further, including the PowerShell route, see clearing the DNS cache in Windows 10.
Microsoft Store cache: when the Store misbehaves
- Press Windows key + R to open Run.
- Type wsreset.exe and select OK.
- A blank Command Prompt window opens. After about ten seconds it closes and the Microsoft Store opens on its own.
The blank window looks like a hang, but it’s normal, so don’t close it. If the Store still won’t behave, Microsoft’s next checks are installing pending updates and confirming your date, time and region settings.
File Explorer history and thumbnails
To clear the recent files list and the address bar history, type File Explorer Options in the taskbar search box and open it. On the General tab, under Privacy, select Clear, then OK. Your files aren’t deleted, only the list. If you don’t want the list to rebuild, uncheck the boxes for showing recently used files and frequently used folders in the same section.
If previews show the wrong picture or a blank icon, clear the thumbnail cache: in Settings > System > Storage > Temporary files (or in Disk Cleanup), check Thumbnails and remove them. Windows recreates previews the next time you open each folder.
Caches to leave alone
Search results for this topic list several other “caches.” Here’s why they’re not worth your time, or your risk.
- Location cache. Older instructions say to clear it under Settings > Privacy > Location. Microsoft says it removed on-device location history and its settings in March 2025, so that button may be missing. If you sign in with a Microsoft account and use location services, your location may be saved in the cloud, and you can select Clear location activity in your privacy dashboard at account.microsoft.com.
- The Windows and System32 folders. Never delete anything from these by hand. They hold Windows itself.
- Prefetch, icon cache and the Windows Update folder. Windows manages these on its own, and the usual instructions involve ending Explorer or stopping services. Unless a Microsoft troubleshooting page sends you there for a specific problem, leave them.
- “RAM cache.” Restarting clears what’s held in memory. No download does it better.
- “PC cleaner” and registry cleaner apps. The built-in tools cover the same caches, and these apps can remove things you wanted to keep or bundle extra software.
Checking that it worked, and what you can’t undo
- Return to Settings > System > Storage. The used space on C: should be lower.
- Reload the site or app that was misbehaving. If it works now, stale data was the problem. If it doesn’t, the cache wasn’t the cause, so stop clearing and look elsewhere.
- Nothing above has an undo button. Caches refill on their own and you can sign back in after clearing cookies, but an emptied Recycle Bin, deleted Downloads and a removed Windows.old folder are gone for good.
Common questions about Windows 10 caches
Does restarting my PC clear the cache?
A restart clears what’s held in memory and closes apps that may be locking temp files, so it’s worth doing before a cleanup. It doesn’t delete temporary files, browser cache or thumbnails on the drive.
Will clearing browsing data delete my downloads or history?
Clearing download history in Edge or Chrome removes only the list, and the files stay on your PC. Browsing history is a separate checkbox, so you can clear the cache and keep your history.
If clearing temporary files didn’t free enough room, move on to the bigger options in freeing up space on Windows 10, such as removing apps you don’t use.
Matthew Burleigh has been a freelance writer since the early 2000s. You can find his writing all over the Web, where his content has collectively been read millions of times.
Matthew received his Master’s degree in Computer Science, then spent over a decade as an IT consultant for small businesses before focusing on writing and website creation.
The topics he covers for MasterYourTech.com include iPhones, Microsoft Office, and Google Apps.
You can read his full bio here.