What caches do and why you might clear them
A cache is temporary data your Mac stores to speed things up. When you visit a website, your browser saves images and code so the next visit loads faster. When you open an app, macOS remembers where it is and what it was doing. These shortcuts are useful — until they take up space, cause an app to behave strangely, or hold onto outdated information.
Clearing caches won't break anything. The data is temporary by design. Your Mac will rebuild caches the next time you need them. The trade-off is that some things may load slightly slower the first time after you clear them, then speed up again as new caches build.
Most people clear caches when an app is freezing or crashing, when a website looks wrong, or when they need to free up disk space. You can clear caches selectively — just your browser, or just one app — or clear system-wide caches all at once.
Key Takeaways
- Browser caches live in your browser's settings and can be cleared without affecting other apps or your files.
- Application caches are stored in the Library folder, which is hidden by default but can be accessed through Finder.
- System caches in ~/Library/Caches can be cleared safely; your Mac will rebuild them automatically.
- Clearing caches frees disk space and can fix app crashes or website display problems, but may slow down first-time loads temporarily.
- You do not need third-party cleaning apps to clear caches — macOS provides the tools built in.
Clearing browser caches in Safari, Chrome, and Firefox
Each browser stores its cache separately, so clearing one does not affect the others. The steps differ slightly depending on which browser you use.
Safari: Open Safari, then go to History > Clear History in the menu bar. A window will appear asking how far back to clear. Select "all history" to clear everything, or choose a specific time range. Make sure "Cookies and other website data" is checked. Click Clear History.
Chrome: Open Chrome, then press Command+Shift+Delete. This opens the Clear Browsing Data window. At the top, set the time range to "All time" to clear everything. Check the boxes for "Cookies and other site data" and "Cached images and files". Click Clear Data.
Firefox: Open Firefox, then press Command+Shift+Delete. The Clear Recent History window opens. Set the time range to "Everything". Make sure "Cache" is checked. Click Clear Now.
Clearing application caches through the Library folder
Apps store their own caches in a hidden folder called Library. To access it, open Finder and press Command+Shift+G. Type ~/Library/Caches and press Enter. This folder contains cache files for every app on your Mac.
You can delete individual app caches by finding the app's folder and moving it to Trash. For example, if Slack is freezing, look for a folder named com.slack.Slack and delete it. The app will create a new cache the next time you open it. If you are not sure which folder belongs to which app, you can safely delete the entire Caches folder — your Mac will rebuild it.
After deleting cache folders, empty your Trash to free the space. If an app is currently running, close it first, or the cache may not clear completely.
Clearing system caches from the command line
For a faster, more thorough system-wide cache clear, you can use Terminal. Open Terminal (found in Applications > Utilities), then paste this command and press Enter:
rm -rf ~/Library/Caches/*
This deletes all user-level caches at once. You may see warnings about files that are in use — that is normal. The command will skip those and delete everything else. After it finishes, restart your Mac to ensure all caches are fully cleared and rebuilt.
If you want to clear system-wide caches that require administrator access, use this command instead:
sudo rm -rf /Library/Caches/*
You will be asked to enter your password. These are deeper system caches, so restart your Mac afterward.
Clearing temporary files and downloads cache
Your Mac also stores temporary files in a separate location. Open Finder, press Command+Shift+G, and type ~/Library/Saved Application State. This folder holds the state of apps — where windows were, what documents were open. Deleting this folder is safe; apps will simply open fresh the next time.
You can also clear your Downloads folder manually. Open Finder, click Downloads in the sidebar, and delete files you no longer need. This is not a cache, but it is temporary storage that often builds up and takes space.
When to clear caches and what to expect
Clear caches when an app crashes repeatedly, when a website displays incorrectly even after refreshing, or when you need to free disk space. You can also clear them as routine maintenance — many people do this monthly or quarterly.
After clearing, the first time you use an app or visit a website, things may load slightly slower as the cache rebuilds. This usually takes only a few seconds. Subsequent uses will be fast again. If clearing caches does not fix a crashing app, the problem is likely something else, and you may need to reinstall the app or contact its support.
Clearing caches will not delete your files, documents, photos, or passwords. It will not sign you out of accounts, though some websites may ask you to log in again the first time you visit after clearing.
Frequently Asked Questions
Will clearing caches delete my passwords or sign me out of websites?
Clearing browser cache alone will not delete passwords. If you want to keep passwords but clear cache, uncheck "Cookies and other website data" when clearing. However, some websites may ask you to log in again because they use cookies to remember you, and those are cleared along with cache.
How much space do caches usually take up?
Browser caches typically range from 100 MB to 2 GB depending on how much you browse. Application caches vary widely — some apps store very little, others store gigabytes. Checking your Library/Caches folder in Finder and sorting by size will show you which apps use the most cache space.
Is it safe to delete the entire Caches folder at once?
Yes, it is completely safe. The Caches folder is designed to be temporary. Your Mac will rebuild it automatically as you use apps and browse. The only downside is that things may load slightly slower the first time after clearing, until new caches are built.
Do I need a cleaning app to clear caches on Mac?
No. macOS includes everything you need built in. Browser settings, Finder, and Terminal all provide ways to clear caches without installing additional software. Third-party cleaning apps are not necessary and may cause problems if they delete files they should not.
What is the difference between clearing cache and clearing cookies?
Cache stores website images, code, and app data to speed up loading. Cookies store login information, preferences, and tracking data. Clearing cache frees space and fixes display problems. Clearing cookies signs you out of websites and resets preferences. Most browsers let you clear them separately or together.