How to Clear Cache in Windows 11 and 10: 8 Types, What Each One Does and When to Clear It

This guide explains how to clear cache in Windows 11, with notes for Windows 10. Windows and nearby apps keep several kinds of cache: DNS lookups, picture thumbnails, Microsoft Store data, browser files and short history lists such as the clipboard. Each one is cleared in a different place, so the right step depends on what you see.
Clearing cache is rarely a speed fix. It is a troubleshooting step. The first load afterwards may be slower, because the data has to be fetched or rebuilt. If you are weighing third-party cleaner tools for speed, our PC cleaner overview for Windows 10 and 11 explains what they do. If you do decide to try one, read our guide to how to use a PC cleaner safely.
Quick answer
- Clear cache in Windows 11 only when a symptom points to a specific store.
- Start with the smallest cache. A DNS flush is a single command.
- Caches hold copies, not your documents. A browser box ticked by mistake can still sign you out or remove saved passwords.
- The first load after clearing may be slower while the cache refills. That is expected.
- Do not delete system folders by hand. Use the Windows settings named in each section.
In this guide
- Find your symptom first
- Is clearing cache safe? What actually happens
- How to clear cache in Windows 11, type by type
- 1. DNS cache
- 2. Thumbnail cache
- 3. Microsoft Store cache
- 4. Browser cache in Microsoft Edge
- 5. Browser cache in Google Chrome
- 6. Clipboard history
- 7. File Explorer history
- 8. Location history
- Windows Update cache: leave it to the guide
- What not to clear (or delete by hand)
- If clearing cache did not fix it
- Frequently asked questions
- A note for Windows 10 users
- How this guide was checked
- Sources
Find your symptom first
Match what you see to a row. Each row names the most likely cache and links to its steps.
| What you see | Cache that fits | Jump to |
|---|---|---|
| A website will not load, or an old version of a page keeps showing | Browser cache in Edge or Chrome | Edge or Chrome |
| A site name will not resolve after a network or DNS change | DNS cache | DNS cache |
| Thumbnails in folders are wrong or blank | Thumbnail cache | Thumbnail cache |
| Microsoft Store will not open or download | Microsoft Store cache | Microsoft Store cache |
| Win+V shows old items, or the clipboard list looks stuck | Clipboard history | Clipboard history |
| File Explorer suggests folders you no longer use | File Explorer history | File Explorer history |
| An app shows the wrong location | Location history | Location history |
| Windows Update is stuck or keeps failing | None of these; the update tools handle it | Windows Update cache |
If you are not sure which store is involved, try the smallest one first.
- DNS cache: one command
- Browser cache: one shortcut and one window
- Microsoft Store cache: one Run command
- Thumbnail cache: Disk Cleanup or Storage settings
Is clearing cache safe? What actually happens
In most cases, yes. A cache is a saved copy that Windows, an app or a browser keeps so it can work faster. Removing the copy does not remove the original, and the app fetches or rebuilds what it needs.
Some things do change. Thumbnails rebuild as you open folders, so a large picture folder may feel slower at first. Pages load again from the web, so the next visit to a site may be slower. Clearing cookies signs you out of many sites, and clearing saved passwords removes them from the browser.
Your own work is not stored in these caches. Documents, photos, downloads and installed programs stay where they are. Clearing one cache does not reset Windows or repair a fault inside a program.
How to clear cache in Windows 11, type by type
Each section follows the same pattern: what the cache is, what clearing does, how to clear it, what you should see, and what to try if it does not work. Menu names move between versions, so match the closest label on your PC.

1. DNS cache
What it is. A short memory of website names and the addresses they point to. Windows keeps these answers so it does not ask a DNS server every time you open a site.
What clearing does. It discards the saved answers, so the next lookup asks the DNS server again. This helps when a site name points to an old address, for example after a network change.
How to clear it on Windows 11. Open Start, search for Command Prompt or Windows Terminal, and choose Run as administrator. Run the command from that administrator window. Microsoft's ipconfig reference describes /flushdns as flushing and resetting the DNS client resolver cache, but it does not say whether administrator rights are needed, and community reports disagree, so use an administrator window. If Command Prompt replies that ipconfig is not recognized, see our guide to fixing PATH and environment variables. Run this command:
ipconfig /flushdns
To look at what is stored first, run this read-only command in the same window:
ipconfig /displaydns
Windows 10. The steps are the same.
You should see a message confirming that the DNS Resolver Cache was flushed. If you see a permission error instead, close the window, reopen it as administrator and run the command again.
If it does not work. A site that still fails after a flush may be a connection problem. See the next steps section. For a wired connection, our guide to Ethernet not working on Windows 11 covers that case.
2. Thumbnail cache
What it is. Small preview images that File Explorer keeps so picture, video and document folders open quickly.
What clearing does. It removes the saved previews. Windows rebuilds them as you browse, so a large picture folder may be slower the first time. Your files are not deleted.
How to clear it on Windows 11. Microsoft's storage guidance lists Temporary files under Settings > System > Storage > Cleanup recommendations. It does not say whether Thumbnails appears there, so check your build; if no Thumbnails item shows, use Disk Cleanup. If Storage Sense will not clean up, see our guide to Storage Sense not working on Windows 11.
Disk Cleanup on Windows 10 and 11. Search for Disk Cleanup, choose the C: drive and tick Thumbnails. Microsoft's free-up-drive-space page notes that Thumbnails is selected by default, so clear any box you do not want. If Thumbnails will not clear, our guide to why Windows 11 temporary files will not delete covers that failure. If Disk Cleanup frees little space, our Disk Cleanup not freeing space guide lists other causes.
Avoid deleting thumbcache_*.db files by hand. Windows manages those files, and the steps above remove the same cache more safely.
You should see the Thumbnails entry shrink after the cleanup, and folders rebuild their previews as you browse.
If it does not work. Restart the PC and reopen the folder. If one file stays blank, the file itself may be damaged.
3. Microsoft Store cache
What it is. Stored data the Microsoft Store uses for its pages, listings and download state.
What clearing does. It resets that stored data. It does not remove the apps you have installed.
How to clear it on Windows 11 and 10. Press Windows key + R, type the command below and press Enter. Microsoft Support describes a blank Command Prompt window that stays open for about ten seconds, after which the Store opens by itself.
wsreset.exe
You should see the Microsoft Store open after the short blank window. If it does not, check for Windows updates first. For more steps, read our guide to fixing the Microsoft Store when it will not open or download.
4. Browser cache in Microsoft Edge
What it is. Copies of pages, images and other media that Edge keeps so a site loads faster on your next visit.
What clearing does. It removes those copies, so the next visit loads from the web again and may be slower. Cache is separate from cookies, which hold site data such as sign-in details.
How to clear it on Windows 11 and 10. With Edge open, press Ctrl + Shift + Delete to open the clear browsing data dialog. Or go to Settings and more > Settings > Privacy, search, and services, then select Clear browsing data and Choose what to clear. Set the time range, tick Cached images and files, and select Clear now. Microsoft's Edge browsing history guide describes these options.
Warning
Leaving Cookies and other site data ticked can sign you out of many sites. Leaving Passwords ticked removes the site passwords you have saved. Tick only Cached images and files unless you mean to remove the rest.
You should see the clearing finish and the next page load from the web. A slower first visit is expected.
If it does not work. Try an InPrivate window and the checks in the next steps section. If the browser also uses a lot of memory, see our guide to high memory use in Chrome and Edge.
5. Browser cache in Google Chrome
What it is. The same kind of saved copies, held by Chrome.
What clearing does. The next visit loads from the web again. Clearing cookies as well signs you out of many sites. A cleaner that ticks browsing data for you may also remove cookies, history and saved passwords; see whether a PC cleaner deletes browser history, cookies and saved passwords.
How to clear it on Windows 11 and 10. Press Ctrl + Shift + Delete in Chrome. Set the time range, tick Cached images and files, and leave the other boxes unticked unless you mean to remove them. Cookies and other site data sign you out of many sites. Then select Delete data. Google's Delete browsing data in Chrome help page describes the same options. Chrome's menus move between versions, so if the window differs, look for Delete browsing data in the menu.
You should see the cached files cleared. Close and reopen Chrome to be sure the change took effect.
If it does not work. Try a private window and the checks in the next steps section.
Firefox. Mozilla's How to clear the Firefox cache article sets the time range to Everything and ticks only Temporary cached files and pages. The same caution about cookies and passwords applies.
6. Clipboard history
What it is. A list of recent items you copied, which you open with Win+V.
What clearing does. It empties that list. Pinned items stay until you unpin them.
How to clear it on Windows 11. Select Start > Settings > System > Clipboard, then select Clear under Clear clipboard data. Or press Windows key + V and select Clear all. Labels can differ by build.
Windows 10. Win+V also works on Windows 10. The clear option and the Settings page may be laid out differently.
You should see the Win+V list empty, except for pinned items.
If it does not work. Copy one new item and press Win+V again to check that the list refreshes. If copy and paste fails altogether, not just the list, read our guide to copy and paste not working on Windows.
7. File Explorer history
What it is. The list of recently used files and folders that File Explorer shows in Quick access, plus some search history.
What clearing does. It removes that list. It does not delete any file or folder.
How to clear it on Windows 11. Open File Explorer, select the three-dot menu, then Options. On the General tab, under Privacy, select Clear next to Clear File Explorer history, then select OK. Community guides describe this path, but we could not confirm it on an official Microsoft page, so check the labels on your build.
Windows 10. Open File Explorer, go to the View tab, select Options, then use the same Privacy section on the General tab. We could not confirm this path on an official page, so check it on your build.
You should see recent items cleared from Quick access. Some return as you open files again.
If it does not work. To remove one folder from Quick access, right-click it there and choose the remove option. If File Explorer itself freezes when you open it, see our File Explorer not responding fix for Windows 11. If Explorer itself uses a lot of CPU or memory, see Windows Explorer high CPU or memory usage.
8. Location history
What it is. Location history is the record of recent location use that Windows and apps can keep. Microsoft's Windows location service and privacy page says local storage of location history was removed in March 2025. If you are signed in with a Microsoft account and have location services on, your location may be periodically saved in the cloud. Older builds may still keep a history on the device.
What clearing does. It removes the cloud history linked to your Microsoft account. On an older build, it clears only the history stored on that device. Apps that used the history before it was cleared may have stored it elsewhere, so check their privacy policies.
How to clear it on Windows 11. Because local storage was removed, use the cloud steps. Go to account.microsoft.com, make sure you are signed in, select Clear location activity, then select Clear. To review location settings on the PC, go to Start > Settings > Privacy & security > Location.
Windows 10 and older builds. Microsoft's page gives this path: either restart the device, or go to Start > Settings > Privacy > Location, and under Location history, select Clear.
You should see the cloud location activity cleared on account.microsoft.com after you select Clear. On an older build, the history on that device is cleared after you select Clear or restart the device.
If it does not work. If location activity still shows, check your Microsoft account privacy dashboard, which Microsoft's page names as the place to view or delete it. If an app shows the wrong location, clearing history only removes saved history, so also check Settings > Privacy & security > Location for location services and the app's own permission.
Windows Update cache: leave it to the guide
Windows Update keeps download and staging data that is not a normal app or browser cache. When an update is stuck, the fix lives in the update tools. Read our guide to fixing Windows Update when it is stuck or failing for those steps.
Do not delete the SoftwareDistribution folder by hand as a routine clean-up. It is a working folder for updates.
What not to clear (or delete by hand)
Some folders look like cache but are not. Leave these alone:
- System folders such as Windows and System32.
- WinSxS, which holds component files for updates and repairs.
- The driver store, which Windows uses to start devices.
- The registry. Do not edit it with a tool you have not checked.
- Prefetch files. Deleting them is sometimes presented as a speed trick, but it is not a dependable fix.
- The hidden AppData and ProgramData folders. They hold app settings, saves and licences as well as caches, so read what each one holds before you delete anything in them.
Do not download a "cache cleaner" from an unknown site. The built-in steps above cover the caches in this guide without a third-party download. Disk Cleanup does not reach browser caches, so compare what each tool reaches in our Disk Cleanup versus disk cleaner comparison. For how browser caches differ from Windows temporary files, see browser cache vs Windows temporary files. Our guide to system cleanup software on Windows 11 and safe PC cleaner checklist explain what to check before you install any cleaner. For a side-by-side view of a PC cleaner and a registry cleaner, read PC cleaner vs registry cleaner. For red flags to look for in cleanup programs, see our red flags to look for in cleanup programs. To see how to read a cleaner's scan results before deleting anything, see how to read PC cleaner scan results and which junk files are safe to delete. For the Temp and Prefetch folders, see our guide to Temp and Prefetch folders.
If clearing cache did not fix it
Clearing one cache rarely fixes a problem with several causes. Use this table to choose the next step.
| What you see | Next step | Where to look |
|---|---|---|
| Still no internet after a DNS flush | Check the network connection itself | Wi-Fi guide below |
| Edge still misbehaves after clearing | Try an InPrivate window, turn extensions off one at a time, and test a sign-in | Edge section above |
| Cache refills within days | This is normal; the browser or app writes new copies as you use it | No action needed unless a site fails |
| Disk space is still low | Clearing a cache will not fix low space; find what fills the drive | Free-up-space guide below |
| Microsoft Store still will not open | Check for Windows updates, then follow the Store guide | Store section above |
| Windows Update still stuck | Use the update guide, not manual deletion | Windows Update section above |
Connection, browser and space checks
If DNS flushes fine but websites still fail, the connection is the likelier cause. Our guide to fixing a Wi-Fi connection that shows connected but has no internet covers that case.
If Edge still misbehaves, open an InPrivate window with Ctrl + Shift + N. Then turn extensions off one at a time, because one can change how pages load, and test a sign-in you use.
If the cache refills within days, that is normal. Browsers write new copies as you use them.
If the drive is short of space, clearing a cache will not solve it. Start with our guide to freeing up disk space on Windows 11. For other built-in clean-up tools, see built-in Windows clean-up tools. If C: keeps filling again, see our guide to what fills the C: drive. If the drive refills after each cleanup, see our guide to why the C: drive fills up again, which shows how to measure real free space. If you are unsure which step fits your symptom, the Repair Assistant can help narrow it down.
Frequently asked questions
About speed and what gets removed
Does clearing cache speed up Windows?
Not in a way you can count on. It is a troubleshooting step for a specific symptom, and pages may load more slowly until the cache refills.
Will I lose files or passwords?
Your documents, photos and programs are not stored in these caches. Passwords are removed only if you tick Passwords, and you are signed out only if you tick Cookies and other site data.
How often should I clear cache?
Only when a symptom points to a specific cache. There is no need to clear on a schedule. For a routine that spreads upkeep across weekly, monthly and yearly tasks, see our weekly, monthly and yearly cleanup schedule.
Is it safe to clear the thumbnail cache?
Yes. Windows rebuilds thumbnails as you open folders, and the first view of a large picture folder may be slower.
About cookies, passwords and built-in tools
What is the difference between cache and cookies?
A cache holds copies of files such as images, so pages load faster. Cookies hold site data such as sign-in details and preferences. Clearing the cache usually does not sign you out; clearing cookies usually does.
Does Disk Cleanup clear the DNS cache?
Not that we could confirm. Disk Cleanup lists categories such as thumbnails and temporary files. Use ipconfig /flushdns for the DNS cache.
Is it safe to clear the Microsoft Store cache?
The reset targets the Store's stored data, not the apps you have installed. If an app is still broken, use the Store guide linked above.
A note for Windows 10 users
Note
Windows 10 consumer support ended on October 14, 2025. Microsoft's Extended Security Updates program for consumers runs until October 12, 2027. The steps here still apply on Windows 10, but plan the move to Windows 11 or a new PC. More guides are on the PC repair guides home page.
How this guide was checked
The steps were compared with Microsoft's documentation where we could open or confirm a page, with Google's help for Chrome, and with Mozilla's help for Firefox. The location history steps were checked against Microsoft's location privacy page. The Windows 11 thumbnail path and the File Explorer history path were not confirmed on an official page, so they are described as paths to check. Menu names move between Windows and browser versions. Nothing in this guide was run on a real PC.
Review date: November 21, 2026.
Sources
- Microsoft Learn: ipconfig
- Microsoft Support: View and delete browser history in Microsoft Edge
- Microsoft Support: Microsoft Store doesn't open
- Microsoft Support: Using the clipboard
- Microsoft Support: Free up drive space in Windows
- Microsoft Support: Windows location service and privacy
- Microsoft Support: Windows 10 support has ended on October 14, 2025
- Google Chrome Help: Delete browsing data in Chrome
- Mozilla Support: How to clear the Firefox cache
- Google Account Help: Clear cache & cookies