What cache is and why you might want to clear it
Cache is temporary data your Mac stores to load websites, apps, and files faster the next time you use them. Your browser remembers images and code from websites you visit. Your apps save login information and settings. Your system keeps copies of files you've opened recently. None of this is necessary to keep — it's just a shortcut.
You might want to clear cache to free up storage space, especially if your Mac is running low on disk room. You might clear it to fix a website or app that's behaving oddly — sometimes old cached data causes display problems or login issues. You might clear it for privacy, so websites can't track your browsing history through stored cookies. Or you might clear it before selling or giving away your Mac.
Clearing cache won't break anything. Your Mac will simply rebuild it the next time you use those apps and websites. The process takes a few minutes and frees up anywhere from a few hundred megabytes to several gigabytes, depending on how much you've accumulated.
Key Takeaways
- Browser cache lives in your web browser's settings and is separate from system cache; you clear them in different places.
- Safari cache clears through Safari > Settings > Privacy, while Chrome and Firefox have their own cache-clearing menus.
- Your Mac's system cache (used by the operating system itself) lives in hidden folders and requires either a utility or manual navigation to Library folders.
- Clearing cache is safe and won't harm your Mac; it simply rebuilds the next time you use apps and websites.
- Apps like CleanMyMac X or Disk Diag can clear cache automatically, but you can also clear it manually without paying for software.
How to clear Safari cache
Open Safari and click Safari in the menu bar at the top of your screen. Select Settings (or Preferences on older macOS versions). Click the Privacy tab.
At the bottom of the Privacy window, you'll see Remove all website data. Click that button. A confirmation box will appear asking if you're sure — click Remove Now. Safari will clear all cached website data, cookies, and browsing history associated with the sites you've visited.
If you want to clear cache without clearing your entire browsing history, use the menu bar instead. Click History in the menu bar, then select Clear History. A dropdown will appear asking how far back to clear — choose all history or a specific time range. This method clears cache and history together.
How to clear Chrome and Firefox cache
In Chrome, click the three vertical dots in the top right corner and select Settings. Click Privacy and security on the left side, then Clear browsing data. A window will open with checkboxes for different data types. Make sure Cached images and files is checked, set the time range to All time at the top, then click Clear data.
In Firefox, click the menu button (three horizontal lines) in the top right and select Settings. Click Privacy & Security on the left. Under Cookies and Site Data, click Clear Data. Check both Cookies and Site Data and Cached Web Content, then click Clear.
Both browsers also let you set up automatic cache clearing when you close the browser. In Chrome, toggle on Clear cookies and site data when you quit Chrome under Privacy and Security. In Firefox, go to Settings > Privacy & Security and set History to Firefox will use custom settings for history, then check Clear history when Firefox closes.
How to clear your Mac's system cache
Your Mac's operating system stores cache in hidden folders that aren't visible by default. The easiest way to access these is through Finder. Open Finder and press Command + Shift + G to open the "Go to Folder" dialog. Type ~/Library/Caches and press Enter. This folder contains cache files from your system and installed apps.
You can delete individual app cache folders here — for example, if Spotify is acting up, you might delete the Spotify cache folder. Select the folder you want to clear, press Delete, and move it to Trash. Then empty your Trash by right-clicking it in the Dock and selecting Empty Trash.
If you want to clear all system cache at once, select all folders in the Caches directory (Command + A), delete them, and empty Trash. Your Mac will rebuild these files as needed. Be aware that clearing cache for certain apps — like Mail or Photos — may cause them to re-index their data, which can take several minutes the next time you open them.
Using Mac utilities to clear cache automatically
Several third-party utilities can clear cache with a single click. CleanMyMac X is a paid app that scans your Mac for cache, temporary files, and other data you can safely delete, then removes them in bulk. Disk Diag is another paid option that shows what's taking up space and lets you clear cache selectively. Both charge a one-time or subscription fee.
Free alternatives exist but are less polished. CCleaner (free version available) clears browser and system cache, though it's less aggressive than paid options. Onyx is a free utility that can clear cache, temporary files, and logs, but it requires more technical knowledge to use safely.
You don't need to buy software to clear cache — the manual methods above work just as well and cost nothing. Utilities are useful only if you want to clear cache on a schedule without thinking about it, or if you want a visual breakdown of what's taking up space before you delete it.
How much space you'll free up
The amount of space you recover depends on how long you've been using your Mac and how much you browse. Light users might free up 500 megabytes to 1 gigabyte. Heavy users who haven't cleared cache in years might free up 5 to 10 gigabytes or more. Browser cache is usually the largest contributor, followed by system cache from apps like Mail and Photos.
If your Mac is critically low on storage, clearing cache alone may not be enough. You'll also want to check your Downloads folder (which accumulates old installers and files), delete duplicate photos in Photos, or move large files to external storage. But cache clearing is a quick first step that takes just a few minutes.
What happens after you clear cache
After you clear cache, websites will load slightly slower the first time you visit them, because your browser has to download images and code again instead of pulling them from storage. This slowdown is usually imperceptible — a fraction of a second. Subsequent visits will be fast again as new cache builds up.
Apps may also take longer to open the first time after clearing their cache, or they may need to re-index data (this is common with Mail and Photos). This is temporary. Once the app rebuilds its cache, performance returns to normal.
If you cleared cache to fix a problem — a website displaying incorrectly, an app crashing, or login issues — you should see the improvement immediately. If the problem persists after clearing cache, it's likely a different issue unrelated to stored data.
Frequently Asked Questions
Will clearing cache delete my passwords or saved login information?
Not necessarily. Cache and cookies are different. Cache is just images and code. Cookies store login tokens and preferences. When you clear cache in Safari or Chrome, you usually have the option to keep cookies separate. If you want to keep passwords but clear cache, uncheck "Cookies and site data" before clearing. However, clearing cookies will log you out of websites.
How often should I clear cache?
There's no set schedule. Clear cache when your Mac is running low on storage, when a website or app is misbehaving, or when you want to improve privacy before selling your Mac. If you rarely run out of storage space, clearing cache once every few months is fine. If you're concerned about privacy, you can set your browser to clear cache automatically when you close it.
Is it safe to delete everything in the Library/Caches folder?
Yes, it's safe. Everything in that folder is temporary data that your Mac can rebuild. However, clearing cache for certain apps like Mail or Photos will cause them to re-index the next time you open them, which can take several minutes. It's safer to delete cache for individual apps rather than everything at once, unless you're willing to wait for re-indexing.
What's the difference between cache and temporary files?
Cache is data stored to speed up future use of apps and websites. Temporary files are data created during operations that should have been deleted but weren't — incomplete downloads, crash logs, or work files from closed apps. Both are safe to delete. Utilities like CleanMyMac X clear both, while manual methods focus mainly on cache.
Will clearing cache improve my Mac's speed?
Clearing cache won't make your Mac noticeably faster in daily use. It frees up storage space, which can help if your drive is nearly full. But if your Mac is slow, the problem is usually something else — too many apps running at startup, insufficient RAM, or a full hard drive. Clearing cache is worth doing for storage and privacy, but don't expect a speed boost.