SiftMac
Guide · Updated 21 November 2026

How to clear cache on a Mac: app, browser and system caches

By Mohit Nippanikar, who makes SiftMac

The short answer
On this page
  1. Three kinds of cache, three places to clear them
  2. Find the big ones first
  3. Clear one app’s cache
  4. Clear a browser’s cache
  5. System caches: let macOS refresh them
  6. What happens after you clear a cache
  7. Questions

1. Three kinds of cache, three places to clear them

A cache is a copy an app or macOS saved so it doesn’t have to fetch or work it out again: thumbnails, web pages, compiled code, map tiles, song previews. Because they’re copies, deleting them loses nothing you made. Each kind is cleared in its own place:

CacheWhere it isHow to clear it
App caches~/Library/Caches, one folder per app, plus a few apps’ own foldersWith the app quit, empty its folder (steps)
Browser cachesInside each browser’s dataThe browser’s own command, which keeps your logins (steps)
System caches/Library/Caches, /System/Library/Caches, /private/var/foldersLeave them to macOS; a restart or safe mode refreshes them (how)

macOS also trims caches by itself. Apple’s guide to optimizing storage says that when space is needed, macOS clears caches and logs that are safe to delete, so on a nearly full disk some of this is already happening for you.

2. Find the big ones first

Most cache folders are small. A handful, usually browsers, music and video apps, chat apps and developer tools, hold gigabytes. This lists the 20 biggest, biggest last. If Terminal says “Operation not permitted”, turn it on in System Settings › Privacy & Security › Full Disk Access first:

du -sh ~/Library/Caches/* 2>/dev/null | sort -h | tail -20

Folders are named after the app or its ID: com.spotify.client is Spotify, and com.todesktop.230313mzl4w4u92.ShipIt is Cursor’s update cache. If a name means nothing to you, look it up before you delete anything in it.

Some apps keep their cache somewhere else, so look here too:

3. Clear one app’s cache

  1. Quit the app with ⌘Q. If it has a menu bar icon, quit it from there too, so nothing is writing to the folder.
  2. In Finder, choose Go › Go to Folder (⇧⌘G), type ~/Library/Caches and press Return.
  3. Open the app’s folder, select everything inside it (⌘A) and move it to the Trash. Leave the folder itself where it is.
  4. Empty the Trash and open the app again. It rebuilds what it needs as you use it.

Or in Terminal, with the app quit. This clears what’s inside Spotify’s cache folder, for example:

rm -rf ~/Library/Caches/com.spotify.client/*

Go app by app rather than emptying the whole Caches folder at once. Apps that are running keep writing to their folders and can act up until they restart, and macOS’s own folders there, the ones starting with com.apple., are often guarded by the system and buy little when cleared.

4. Clear a browser’s cache

Browsers usually hold the biggest caches on a Mac. Clear them from inside the browser: that removes the cache only, and keeps your passwords, history and logins unless you tick those too.

Safari

  1. Choose Safari › Settings, click Advanced, and turn on Show features for web developers. Older versions call it “Show Develop menu in menu bar”.
  2. Choose Develop › Empty Caches. Apple describes it as emptying the network cache and other Safari caches.

Safari › Settings › Privacy › Manage Website Data goes further: it removes cookies and what each site stored. Apple notes that this may sign you out of websites or change how they behave. More in Safari’s cache, explained.

Chrome

Click ⋮ at the top right, then Delete browsing data. Choose a time range such as All time, tick only Cached images and files, and click Delete data. Leave cookies unticked to stay signed in. Chrome’s cache folders.

Firefox

Choose Firefox › Settings › Privacy & Security, and under Cookies and Site Data click Clear Data. Tick only the cache option, “Temporary cached files and pages” in current versions, and click Clear. Firefox’s cache.

Afterwards, sites load a little slower the first time while the browser saves them again.

5. System caches: let macOS refresh them

The caches in /Library/Caches, /System/Library/Caches and /private/var/folders belong to macOS and to every account on the Mac. Don’t delete them by hand: some are protected, some are in use by processes you can’t see, and removing them can confuse running apps until you restart. Two safe ways to refresh them instead:

If one system folder keeps growing, such as a log that never stops or a Spotlight index that balloons, fix the cause rather than deleting the folder: the System Data guide covers the usual ones.

6. What happens after you clear a cache

So clear a cache when you need space in a hurry, or when one app shows stale or broken content. There’s no need to do it on a schedule.

Questions

Can I delete the whole Caches folder at once?

Better not. Empty each app’s folder with that app quit, and leave ~/Library/Caches itself in place. Wiping everything while apps run can make them misbehave until they restart, and macOS’s own folders there refill or are protected anyway.

Will clearing the cache delete my passwords or log me out?

Not an app cache: passwords are in your keychain and settings are in Preferences. In a browser, clearing only the cache keeps you signed in; clearing cookies or website data signs you out of sites.

How often should I clear the cache on my MacBook?

Only when you need the space or an app misbehaves. macOS clears caches by itself when space is needed, and apps rebuild theirs within days of normal use, so clearing on a schedule gains little.

What’s the difference between cache and cookies?

The cache holds copies of what a site or app loaded, like images and scripts, so it can show them faster next time. Cookies are small notes a site leaves to remember you, such as your login. Clearing the cache is harmless; clearing cookies signs you out.

How SiftMac handles it. Its App caches category lists each folder in ~/Library/Caches with its size and clears what’s inside, never the folder itself. Caches of open apps are skipped and checked again right before cleaning, macOS’s own (Safari’s included) are left to macOS, and caches are deleted straight away since they rebuild. It also clears logs older than a week, and Quick clean in the menu bar clears app caches only.

Download SiftMac · scanning is free, and so is your first 2 GB of cleaning · See how it works