What clearing your cache does
Your computer stores temporary files called cache in several places — your web browser, Windows or Mac system files, and individual programs. These files speed things up by keeping copies of websites, images, and data you've used before. Over time, cache builds up and can slow your computer down, cause websites to load outdated versions, or use up disk space you need.
Clearing cache won't delete your passwords, saved usernames, or files you actually created. It only removes the temporary copies your browser and system made on their own. Most people should clear cache every month or two, or whenever their computer feels sluggish.
Key Takeaways
- Browser cache (Chrome, Firefox, Edge, Safari) clears in one menu and takes under a minute for each browser you use.
- Windows computers have a built-in Disk Cleanup tool that removes system cache, temporary files, and old updates all at once.
- Mac users should empty the Trash after clearing browser cache, since deleted files sit there until you do.
- Clearing cache will not delete your passwords, bookmarks, or any files you created yourself.
- You can set your browser to clear cache automatically every time you close it, so you never have to do this manually again.
Clear cache in Chrome
Open Chrome and look at the top right corner. Click the three vertical dots (the menu button), then select Settings. On the left side, click Privacy and security, then click Clear browsing data.
A window will pop up. Make sure the time range at the top says All time — this clears everything, not just the last hour. Check the box next to Cached images and files. You can also check Cookies and other site data if you want to clear login information, but that will sign you out of websites. Click the blue Clear data button and wait a few seconds. You're done.
To make this happen automatically: go back to Settings > Privacy and security, scroll down to Clear browsing data, and toggle on Clear cookies and site data when you quit Chrome. Chrome will now clear cache every time you close the browser completely.
Clear cache in Firefox, Edge, and Safari
Firefox: Click the menu button (three horizontal lines) in the top right. Select Settings, then Privacy & Security on the left. Under Cookies and Site Data, click Clear Data. Check Cached Web Content and click Clear.
Edge: Click the three dots in the top right, select Settings, then Privacy, search, and services on the left. Under Clear browsing data, click Choose what to clear. Check Cached images and files and click Clear now.
Safari (Mac only): Click Safari in the top menu bar, then select Settings. Click the Privacy tab, then click Manage Website Data. Click Remove All, then Remove Now.
Clear system cache on Windows
Windows stores cache in a folder called Temp that you can clean out using the built-in Disk Cleanup tool. Press the Windows key and type Disk Cleanup, then press Enter. A window will open asking which drive to clean — your main drive is usually C:. Click it and wait while Windows scans.
When the scan finishes, you'll see a list of file types you can delete. Check the boxes next to Temporary files, Recycle Bin, and Temporary Internet Files. You can also check Windows Update Cleanup if you want to remove old system updates that Windows no longer needs. Click OK, then Delete Files when it asks to confirm. This usually frees up between 500 MB and 5 GB depending on how long it's been since you last cleaned.
If Disk Cleanup doesn't show much to delete, your system cache is already small. You can also manually empty the Temp folder by pressing Windows key + R, typing %temp%, and pressing Enter. Select all files (Ctrl + A), delete them, and ignore any error messages about files that are in use.
Clear system cache on Mac
Mac doesn't have a built-in cache-clearing tool like Windows does, but you can clear cache manually. Open Finder and click Go in the top menu, then Go to Folder. Type ~/Library/Caches and press Enter. You'll see folders full of cache files from your programs.
Select the folders you recognize — for example, Google for Chrome cache, Firefox for Firefox cache — and drag them to the Trash. Don't delete folders you don't recognize, since some programs need their cache to work. After you delete what you want, click the Trash icon in your dock and select Empty Trash. The files are now permanently deleted.
A simpler option is to use a free tool like CleanMyMac X or Onyx, which can clear cache with one click. These tools are optional — manually clearing browser cache and emptying Trash works just fine.
What to do if clearing cache causes problems
Occasionally, clearing cache can cause a website to load strangely or a program to run slowly for a few minutes. This happens because the program has to rebuild its cache from scratch. The fix is simple: close and reopen the program or refresh the website (press Ctrl + Shift + R on Windows or Cmd + Shift + R on Mac to do a hard refresh). The program will rebuild its cache and work normally again.
If a website keeps showing you an old version of a page even after you clear cache, the problem might be on the website's server, not your computer. Try opening the page in a different browser or on a different device. If it's still old, contact the website owner — they may need to update their server.
Frequently Asked Questions
Will clearing cache delete my passwords and saved usernames?
Not unless you specifically check the box for "Cookies and site data" or "Cookies and other site data." Cache and cookies are different things. Cache is temporary files; cookies store login information. You can clear one without clearing the other. Most people should clear cache but leave cookies alone so they stay logged into their accounts.
How often should I clear cache?
Once a month is a good routine for most people. If your computer feels slow or websites load outdated content, clear cache sooner. You can also set your browser to clear cache automatically when you close it, so you never have to think about it.
What's the difference between cache and cookies?
Cache stores copies of images, videos, and web pages so they load faster next time. Cookies store information about you — like login details and preferences — so websites remember who you are. Clearing cache won't sign you out; clearing cookies will.
Is it safe to clear cache?
Yes, it's completely safe. Cache is temporary and your computer will rebuild it automatically as you use programs and visit websites. You won't lose any files, photos, documents, or personal information.
Can I clear cache for just one website?
Most browsers let you clear cache for specific websites. In Chrome, go to Settings > Privacy and security > Cookies and other site data, find the website in the list, and click the X next to it. Firefox and Edge have similar options in their privacy settings.