What cache is and why you might want to delete it
Cache is temporary data that Windows and your programs store to load things faster next time. Your browser saves images and web pages. Windows saves file thumbnails and search results. Your programs save login information and settings. Over time, this cache can grow to gigabytes and slow down your computer, especially if the files are corrupted or outdated.
Deleting cache won't break anything — Windows and your programs will rebuild it automatically the next time you use them. You might notice things load slightly slower the first time after you clear cache, but then they'll run faster again as new cache builds up. The main reason to delete cache is when your computer feels sluggish, when you're running low on disk space, or when you want to remove traces of websites you've visited.
There are three main types of cache on Windows: temporary files (the easiest to delete), browser cache (specific to each browser), and application cache (varies by program). You can delete all three, or just the ones causing problems.
Key Takeaways
- Windows Disk Cleanup removes temporary files and cache in one place, and is the safest starting point for most users.
- Each browser (Chrome, Firefox, Edge) stores cache separately, and you delete it from that browser's settings, not from Windows itself.
- Clearing cache does not delete your saved passwords, bookmarks, or login information unless you specifically check those boxes.
- You can set Windows and your browsers to delete cache automatically when you shut down, so you don't have to do it manually.
Delete temporary files using Windows Disk Cleanup
The easiest way to delete cache on Windows is through Disk Cleanup, a built-in tool that removes temporary files, cache, and other junk in one place. Open the Start menu, type "Disk Cleanup" and click the app. Windows will ask you which drive to clean — select C: (your main drive) unless you store files elsewhere.
Disk Cleanup will scan your drive for a minute or two, then show you a list of file types it can delete. Look for these categories: "Temporary files", "Recycle Bin", "Temporary Internet Files", and "Thumbnails". Check the boxes next to each one. Do not check "Windows Update Cleanup" unless you're very low on space — it removes old Windows updates you might need to roll back if something breaks.
Click "Delete Files" at the bottom. Windows will ask you to confirm. Click "Delete" again. The process usually takes a few minutes depending on how much cache you have. When it's done, you'll see how much space you freed up.
Clear cache in Chrome, Firefox, and Edge
Browser cache is separate from Windows cache, so you need to delete it inside each browser you use. The steps are similar across all three, but the menus are in slightly different places.
In Chrome: Click the three-dot menu in the top right corner. Go to Settings. Click "Privacy and security" on the left side. Click "Clear browsing data". A window will pop up. Make sure "Cached images and files" is checked. At the top, change the time range from "All time" to whatever you want — "All time" deletes everything, "Past 4 weeks" deletes only recent cache. Click "Clear data".
In Firefox: Click the menu button (three horizontal lines) in the top right. Click Settings. Go to Privacy & Security on the left. Scroll down to "Cookies and Site Data". Click "Clear Data". Check "Cached Web Content". Click "Clear".
In Edge: Click the three-dot menu in the top right. Go to Settings. Click "Privacy, search, and services" on the left. Under "Clear browsing data", click "Choose what to clear". Check "Cached images and files". Click "Clear now".
Set up automatic cache deletion
Instead of manually deleting cache every few weeks, you can tell Windows and your browsers to delete it automatically when you shut down. This keeps your computer running smoothly without any extra work from you.
In Windows: Open Disk Cleanup (same as above). After you've cleared cache once, click "Options" at the bottom. Check "Delete files upon shutdown". From now on, Windows will automatically delete temporary files every time you restart.
In Chrome: Go to Settings > Privacy and security. Scroll down to "Clear browsing data". Check the box that says "Delete cookies and other site data when you quit Chrome". Chrome will now clear cache every time you close the browser completely.
In Firefox: Go to Settings > Privacy & Security. Scroll to "Cookies and Site Data". Check "Delete cookies and site data when Firefox is closed". Firefox will clear cache when you close it.
In Edge: Go to Settings > Privacy, search, and services. Scroll down to "Clear browsing data". Turn on "Choose what to clear every time you close the browser". Then click "Select what to clear every time you close the browser" and check "Cached images and files".
What not to delete if you want to keep your settings
When you clear cache, Windows and browsers show you checkboxes for different types of data. Some of these are cache (safe to delete), and some are settings and passwords (you probably want to keep). Know the difference so you don't accidentally delete something important.
Safe to delete: "Temporary files", "Cached images and files", "Temporary Internet Files", "Thumbnails". These are all cache — Windows and your programs will rebuild them automatically.
Do not delete unless you want to: "Cookies and site data" (stores your login information and preferences on websites), "Passwords" (your saved passwords), "Autofill data" (your saved addresses and payment methods), "Browsing history" (the list of sites you've visited). If you want to delete your browsing history but keep your passwords, uncheck "Cookies and site data" and "Passwords" and check only "Browsing history".
When to delete cache and when to leave it alone
You don't need to delete cache constantly. Most people benefit from clearing it once a month or when their computer starts feeling slow. If you're running low on disk space (less than 10 percent of your drive free), clearing cache can help immediately.
There are a few situations where you should delete cache right away: if you're selling or giving away your computer (delete all cache and browsing history to remove traces of your activity), if a website isn't loading correctly (clear browser cache for that site), or if a program is crashing or freezing (clearing its cache sometimes fixes it).
You don't need to delete cache if your computer is running fine and you have plenty of disk space. Cache actually helps things load faster, so there's no benefit to clearing it unless you have a specific reason.
Frequently Asked Questions
Will deleting cache delete my passwords and saved logins?
No, not unless you specifically check the box for "Cookies and site data" or "Passwords". Disk Cleanup and the browser cache-clearing tools separate cache from login information. If you only check "Cached images and files" or "Temporary files", your passwords stay safe.
How much space will I free up by deleting cache?
It varies widely. Temporary files and browser cache can range from a few hundred megabytes to several gigabytes depending on how long it's been since you last cleared them and how much you browse. Disk Cleanup will show you the exact amount before you delete anything.
Why is my computer still slow after I deleted cache?
Cache is usually not the main cause of slowness. If deleting it didn't help, the problem is likely too many programs running at startup, a full hard drive, or malware. Check your Task Manager (press Ctrl+Shift+Esc) to see which programs are using the most CPU and memory, and disable the ones you don't need to start automatically.
Can I delete cache from just one website instead of all of them?
In Chrome and Edge, yes. Go to Settings > Privacy and security > Cookies and other site data. Type the website name in the search box and click the trash icon next to it. Firefox doesn't have this feature built in, so you'd have to clear all cache or use a browser extension.
What's the difference between cache and the Recycle Bin?
Cache is temporary data that programs create automatically. The Recycle Bin is where files go when you delete them — they stay there until you empty it. You can recover files from the Recycle Bin, but cache is meant to be temporary and won't be missed if you delete it.