How to Clear Cache on Mac: Is It Safe and What Happens?
Yes, it's safe to clear cache on a Mac. See what happens when you do, which caches to leave alone, and steps for Safari, Chrome, Firefox, and apps.
Quick answer: yes, it’s safe to clear cache on a Mac. A cache holds copies of data that apps and websites can download or rebuild, so clearing it doesn’t touch your documents, photos, or messages. When you clear it, you get the disk space back, sites and apps load more slowly the first time while the cache refills, and you’re signed out of websites only if you also delete cookies and website data. Clear browser caches from each browser’s settings, clear an app’s cache by quitting it and emptying its folder in ~/Library/Caches, and leave system caches to macOS.
The steps below follow Apple’s help pages for Safari 27 on macOS 27 Golden Gate, and Google’s and Mozilla’s help pages for Chrome and Firefox.
What is cache on a Mac?
A cache is a local copy of something your Mac already downloaded or built, kept so it doesn’t have to do that work again. A browser caches parts of pages, like images, so they open faster on your next visit. An app caches data it would otherwise have to fetch or recreate. On a Mac, caches fall into three groups:
- App caches live in your own Library folder, at
~/Library/Caches, with one folder per app. Apple’s developer guidance describes this folder as holding cached data that can be regenerated as needed, and tells apps never to rely on those files still being there. - System caches belong to macOS.
/Library/Cachesis shared by every user on the Mac and managed by the system./Systemholds the files macOS needs to run, and since macOS 11 it has been on a signed, read-only system volume that you can’t modify. - Browser caches belong to Safari, Chrome, Firefox, and other browsers. Each browser manages its own, so clear them from the browser rather than from Finder.
macOS also cleans up on its own. Apple says that when space is needed, macOS clears caches and logs that are safe to delete, including temporary database files, interrupted downloads, staged updates, and Safari website data. In System Settings > General > Storage, caches are counted in System Data, a category Apple says macOS manages. Our explainer on what System Data means on a Mac covers what else sits there.
Which caches are safe to delete?
| Cache | Where it lives | Safe to clear? | What you’ll notice |
|---|---|---|---|
| Browser cache | Inside Safari, Chrome, or Firefox | Yes | Slower first load of each site |
| App caches | ~/Library/Caches, one folder per app | Yes, with the app closed | Slower first launch while the app rebuilds it |
| Developer caches (e.g. Xcode DerivedData) | ~/Library/Developer | Yes | The next build takes longer |
| System caches | /Library/Caches and /System | Leave them to macOS | Nothing useful; macOS clears these itself when needed |
You don’t need to touch system caches. If you’re short on room for something like a macOS update, Apple’s guide to freeing up storage space suggests starting up in safe mode instead: your Mac clears certain system caches, which are created again as needed. When clearing cache is worth doing yourself, it’s the browser and the app caches in your own Library folder.
What happens when you clear cache on a Mac?
Clearing a cache deletes those local copies. You get the disk space back right away, and the next visit to each site or launch of each app has to fetch or rebuild what was cached, so it’s slower once. Google’s help page puts it plainly: some sites can seem slower because content, like images, needs to load again.
Being signed out is a separate effect. It comes from deleting cookies and website data, which both Apple and Google warn can sign you out of websites. If you clear only the cache, leave the cookies option unticked. Your documents, photos, messages, and settings are not part of the cache and aren’t touched.
That’s also why clearing cache “to keep things clean” usually backfires. An empty cache isn’t a faster Mac; it’s a Mac that has to rebuild everything on the next use.
How to clear Safari cache on Mac
Safari gives you two options: one clears only the cache, and one clears cookies and website data for some or all sites.
To clear only the cache:
- In Safari, choose Safari > Settings, then click Advanced.
- Select Show features for web developers. A Develop menu appears in the menu bar.
- Choose Develop > Empty Caches.
Apple’s developer documentation describes Empty Caches as deleting all caches stored by the browser. History and cookies are cleared from separate places, described next.
To clear cache and cookies for one site or all sites:
- Choose Safari > Settings, then click Privacy.
- Click Manage Website Data.
- Select one or more websites, then click Remove, or click Remove All.
Apple notes that removing this data may sign you out of websites or change how they behave, and may also change or remove it in other apps. Removing a single site is the gentler fix when only one site is misbehaving.
To clear your browsing history as well, choose History > Clear History and pick how far back to go. If your Apple devices use iCloud for Safari, the history is removed from all of them. Apple’s guide to clearing your browsing history in Safari lists everything that removes.
How to clear Chrome cache on Mac
- In Chrome, click the three-dot More menu, then Delete browsing data, or press Shift-Command-Delete.
- Choose a time range. All time clears everything.
- Tick Cached images and files. Untick Cookies and other site data and browsing history if you want to stay signed in.
- Click Delete data.
Google’s page on deleting browsing data in Chrome explains what each option removes. Saved passwords aren’t part of it; they’re managed separately in Google Password Manager.
How to clear Firefox cache on Mac
- Open Firefox’s settings: choose Firefox > Settings in the menu bar, or use the menu button in the toolbar.
- Click Privacy & Security, go to Cookies and Site Data, and click Clear Data.
- If the dialog has a time range, choose Everything. Leave only the cache option checked: Temporary cached files and pages in current versions, Cached Web Content in older ones. Untick Cookies and Site Data.
- Click Clear.
Mozilla documents this in how to clear the Firefox cache.
How to clear app caches on Mac
App caches are the part you clear yourself, folder by folder.
- Quit the app whose cache you want to clear, so it isn’t using those files while you delete them.
- In Finder, choose Go > Go to Folder (Shift-Command-G) and enter
~/Library/Caches. - Switch to list view, choose View > Show View Options (Command-J), and turn on Calculate All Sizes. Click the Size column header to sort the largest folders to the top.
- Open the folder for that app. Folders are usually named after the app’s
bundle ID, a reverse-domain name such as
com.example.MyApp. - Delete the contents of the folder, not the folder itself. That’s the more conservative choice, and the app fills it again as you use it.
- Empty the Trash to get the space back, then reopen the app.
Expect a slower first launch while the app rebuilds what it had cached.
If you’d rather see what’s actually taking up space before you delete anything, BlueHammer Cleaner shows caches, duplicates and large files for you to review, and nothing is deleted until you’ve reviewed it.

When clearing cache actually helps
There are three good reasons to clear cache:
- A website shows an outdated layout or won’t load properly. Google lists fixing loading and formatting problems and getting the most up-to-date version of a site as reasons to clear cache. Clearing just that site’s data is often enough.
- An app misbehaves after an update. Clearing its cache is a low-risk thing to try, because the app rebuilds the cache from scratch on its next launch.
- Your startup disk is nearly full. Clearing large app caches can hand back space quickly. That’s about space, not speed, so work through freeing up space without removing files you need as well.
Apps you no longer use are often a bigger win than caches; see uninstalling Mac apps completely.
Caches grow back, and that’s fine
After you clear a cache, it fills again as you use the app. That isn’t the cleanup failing. The app is rebuilding the local data that makes it fast, and a cache that grows back is a sign of normal use.
So treat cache clearing as a targeted fix, not a weekly habit. When an app acts up, a page goes stale, or the disk gets tight, it’s the right move. The rest of the time, let your caches do their job.
Common questions
Is it safe to clear cache on a Mac?
Yes, for browser caches and for the contents of app folders in ~/Library/Caches, as long as you quit the app first. Apple describes these caches as data that can be regenerated as needed. The usual cost is that sites and apps load more slowly once while the cache refills, and you may be signed out of websites if you also delete cookies. Leave system caches to macOS, which clears them itself when it needs space.
What happens when you clear cache on a Mac?
The local copies are deleted and rebuilt the next time you use the site or app. You get the disk space back right away, and some sites seem slower at first because their images and other files have to load again. If you also delete cookies and website data, expect to sign in to websites again. Your documents, photos, and messages aren't part of the cache.
What is cache on a Mac?
Cache is data that apps, websites, and macOS save locally so they don't have to download or rebuild it every time. App caches live in ~/Library/Caches, with one folder per app. System-wide caches are in /Library/Caches and are managed by macOS. Browsers keep their own caches of page images and files, which you clear from the browser's settings.
Is it safe to delete system cache files on a Mac?
You don't need to. macOS manages its own caches and clears caches and logs that are safe to delete when space is needed. The /System folder isn't something to clean by hand: since macOS 11 it sits on a signed, read-only system volume. If you're short on space for a macOS update, Apple suggests starting up in safe mode, which clears certain system caches that are created again as needed.
Will clearing cache sign me out or delete my passwords?
Signing out comes from deleting cookies and website data. Apple and Google both say removing them can sign you out of websites, so clear only the cache option if you want to stay signed in. In Chrome, saved passwords aren't removed by Delete browsing data; they're managed separately in Google Password Manager.
Which caches can I clear to free up space without breaking apps?
Start with your browser cache and the largest folders in ~/Library/Caches for apps you can quit. Empty the contents of each folder rather than deleting the folder. Skip anything under /System, and expect each app to be slower once while it rebuilds its cache.
Does clearing cache speed up a Mac?
Usually not. It helps when the drive is nearly full, so the reclaimed space relieves the pressure, or when a site or app misbehaves and a fresh copy fixes it. On a Mac with healthy free space, clearing cache makes the next few loads slower, not faster.
How often should I clear cache on a Mac?
There's no schedule to keep. Cache is meant to build up, and clearing it on a routine only forces apps to rebuild it. Clear it when you have a reason: a stuck app, a stale web page, or a disk that's running out of room.
Recommended next step
See what is taking up space on your Mac
BlueHammer Cleaner sorts what it finds by where your space went, and nothing is removed until you review it.
Review caches with Cleaner
