If your Windows 11 PC is running low on storage, showing outdated thumbnails, or having trouble loading a website or app, clearing the right cache may help. Cache files are temporary data Windows and apps keep to work faster. Most are safe to remove, and Windows can recreate them when needed. However, “system cache” can refer to several different things, so the best method depends on what you want to fix.
This guide explains how to clear system cache in Windows 11 using built-in settings and tools. It covers temporary files, Windows Update downloads, DNS data, Microsoft Store cache, and more—along with precautions to help you avoid deleting personal files.
What Is System Cache in Windows 11?
Cache is data saved temporarily so Windows or an app can retrieve it quickly next time. Examples include thumbnail previews, downloaded update files, temporary installation data, and DNS records used to look up websites. Cache can improve performance, but some files may become outdated or take up storage space.
Clearing cache does not normally delete your documents, photos, or installed programs when you use the methods below. Still, check the selected items before confirming a cleanup. Some options—such as Downloads or Recycle Bin—may contain files you want to keep.
Clearing cache is not a guaranteed way to make a slow computer faster. If your PC is sluggish, consider other causes too, such as limited storage, too many startup apps, background processes, or hardware issues.
How to Clear Temporary System Files in Windows 11
The simplest way to clear common Windows cache files is through the Settings app. This is a good starting point because Windows identifies temporary files and lets you choose what to remove.
- Open Settings by pressing Windows + I.
- Select System, then choose Storage.
- Select Temporary files and wait for Windows to calculate how much space you can free up.
- Review the categories. Select items such as Temporary files, Thumbnails, or DirectX Shader Cache if you want to remove them.
- Leave any category unchecked if you are unsure what it contains. In particular, check Downloads and Recycle Bin carefully.
- Select Remove files and confirm.
The names and available categories can vary by Windows version and PC. Some files may be in use and therefore cannot be removed immediately. After cleaning, Windows or your apps may take a little longer to recreate certain caches the next time they are needed.
Use Disk Cleanup to Remove More Cache Files
Disk Cleanup is a built-in Windows utility that can remove temporary files and other items, including some system files. It is useful when you want to review cleanup categories in a separate tool.
- Open the Start menu, type Disk Cleanup, and launch the app.
- Choose the Windows drive, usually C:, and select OK.
- Choose the file categories you want to remove, then select OK.
- To review additional system cleanup options, select Clean up system files, choose the drive again, and review the updated list.
- Select OK, then choose Delete Files to confirm.
Disk Cleanup may show items such as Windows Update Cleanup, temporary files, or thumbnails, depending on your system. Read each category’s description before deleting it. If Windows has recently updated and you remove previous installation files, you may lose the option to roll back to the prior version.
Clear Windows 11 Cache Automatically with Storage Sense
Storage Sense can automatically remove certain temporary files and manage space on your drive. It is a useful option if you do not want to run a manual cleanup every time storage gets low.
- Go to Settings > System > Storage.
- Turn on Storage Sense.
- Select Storage Sense to adjust its schedule and cleanup settings.
- Choose how often Windows should run and what it may remove, such as temporary app files or items in the Recycle Bin.
- Use Run Storage Sense now if that option is available and you want to start a cleanup immediately.
Review the settings before enabling automatic cleanup. Storage Sense can be configured to remove files from the Recycle Bin or Downloads folder after a chosen period. Set these options according to your needs so that files you still want are not removed unexpectedly.
Clear the Windows Update Download Cache
Windows stores downloaded update files temporarily. If an update is stuck or repeatedly fails, clearing the update download cache may help. Start with Windows’ built-in troubleshooting options and restart the PC after applying any fix. If you need to remove the downloaded update files manually, follow these steps carefully.
- Open Start, type Services, and open the Services app.
- Find Windows Update, right-click it, and select Stop.
- Open File Explorer and enter
C:\Windows\SoftwareDistribution\Downloadin the address bar. - Delete the contents of the Download folder, not the folder itself. If Windows says a file is in use, skip it.
- Return to Services, right-click Windows Update, and select Start.
- Restart your PC and check for updates again in Settings > Windows Update.
Windows may download update files again when you check for updates. Do not delete other folders in C:\Windows, and do not stop services if you are uncomfortable making system changes. If update errors continue, use Windows Update troubleshooting or seek technical support instead of repeatedly deleting system files.
Flush the DNS Cache in Windows 11
The DNS cache stores recent website address lookups. If a website has moved to a new address or you are troubleshooting a connection problem, flushing this cache can prompt Windows to look up the address again.
- Open Start and type Command Prompt.
- Select Run as administrator. Approve the prompt if one appears.
- Enter
ipconfig /flushdnsand press Enter. - Look for a message confirming that the DNS Resolver Cache was successfully flushed.
This command clears DNS records stored on your PC. It does not erase your browsing history or remove cached website files from your browser. If you are troubleshooting only one browser, clearing that browser’s cache may be more relevant.
Reset the Microsoft Store Cache
If Microsoft Store apps are not downloading or the Store is behaving unexpectedly, you can reset its cache with the built-in wsreset tool.
- Press Windows + R to open the Run dialog.
- Type
wsreset.exeand press Enter. - Wait while a blank Command Prompt window appears and closes. Microsoft Store may open automatically afterward.
This process resets the Store cache; it does not uninstall your apps. If the Store still has problems, restart Windows and check for app and Windows updates.
Clear the User Temporary Files Folder
Some applications store temporary files in your Windows user account. You can open this folder directly, but be cautious: files currently being used may not be removable, and you should not force-delete them.
- Press Windows + R, enter
%temp%, and press Enter. - Select files you want to remove, or press Ctrl + A to select the contents.
- Press Delete and approve the prompt if needed.
- If Windows says a file is in use or cannot be deleted, select Skip.
- Empty the Recycle Bin only if you are sure you do not need its contents.
Do not confuse your user temporary folder with other Windows system folders. Avoid deleting files from unfamiliar locations, and do not use third-party cleanup apps that promise to remove every cache or “boost” Windows without clearly explaining what they will delete.
What Happens After You Clear Cache?
Windows and apps may rebuild deleted cache files automatically. As a result, the first launch of an app, opening of a folder with many images, or visit to a website may take slightly longer while new data is created. This is normal and usually temporary.
Clearing cache does not normally remove saved passwords, browser bookmarks, or personal documents when you use the Windows methods in this guide. Browser cleanup is different: if you choose to remove cookies or site data in a browser, you may be signed out of websites. Review the choices in each app before confirming.
How Often Should You Clear Windows 11 Cache?
You usually do not need to clear every cache on a regular schedule. Windows manages many temporary files on its own, and frequently deleting caches may simply make Windows or apps recreate them. Consider a manual cleanup when you are low on storage, resolving a specific app or network issue, or following a trusted troubleshooting instruction.
For routine maintenance, Storage Sense is generally more convenient than manually removing files from system folders. Keep Windows updated, maintain enough free disk space, and restart your computer when troubleshooting calls for it.
Conclusion
To clear system cache in Windows 11, begin with Settings > System > Storage > Temporary files and remove only the categories you understand. Disk Cleanup and Storage Sense offer additional ways to manage temporary files, while commands such as ipconfig /flushdns and wsreset.exe target specific caches. For Windows Update problems, clear only the designated download folder and follow the steps carefully.
Choose the cleanup method that matches the issue rather than deleting files at random. With a quick review of the selected items, you can free up space or refresh a troublesome cache while protecting your personal files.
Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.