Help · Mac storage

How to clear the cache on a Mac.

You can clear most app and browser caches on a Mac safely: use each browser's own setting, and for other apps, quit the app and empty its folder in ~/Library/Caches. Caches are files apps keep so things load faster next time (web pages, thumbnails, downloaded updates), so they're rebuilt as you use your apps and the space partly comes back. Clearing them is a tidy-up, not a cure for a full disk.

Not sure which caches are safe? Pangalin Space Manager lists only the ones that are, one line per app. The scan is free and changes nothing.

Clear a browser's cache

Use the browser's own setting. It's the safest way, and you can keep your sign-ins.

Clear app caches in your Library

  1. Quit the apps whose caches you're clearing. Clearing a cache while its app is open can confuse it.
  2. In Finder choose Go › Go to Folder… (⇧⌘G), type ~/Library/Caches and press Return.
  3. Switch to list view (⌘2), turn on View › Show View Options › Calculate all sizes, and sort by Size.
  4. Open a big folder named after an app you recognise (for example com.spotify.client or Google) and move what's inside it to the Trash. Leave the folder itself.
  5. Restart your Mac, then empty the Trash.

Leave Apple's caches alone (folders starting com.apple.). Some, such as Photos' face and scene analysis, take hours to rebuild and keep your Mac busy while they do. Others protect you, like Safari's safe-browsing list. And never delete the Caches folder itself, or anything in /Library/Caches or /System.

When not to clear a cache

Why the space comes back

That's what caches are for. A browser rebuilds its cache as you browse, a music app re-caches what you play. If one app's cache keeps growing to many gigabytes, check its settings for a cache size limit (Spotify, Steam and many video apps have one) rather than clearing it every week.

What about “system junk”?

Logs and temporary files are usually small, and macOS cleans them itself. Restarting clears much of the temporary space. If your disk is genuinely full, the big wins are usually elsewhere: see how to find large files and what to do when your disk is almost full.

Clear the caches that are safe, and only those.

Pangalin Space Manager's Caches list shows only caches that are safe to clear: installed apps' caches, browser caches and logs, one line per app, biggest first. It leaves Apple's own caches off on purpose, and tells you how much will rebuild. It won't clear the cache of an app that's open: quit the app first. You review everything before anything is cleared. Everything goes to the Trash first, caches included; the space comes back when you empty the Trash.

Free Up Space in Pangalin Space Manager with Caches open: one line per app, plus user logs and diagnostic reports, each with its size.

Free scan · The scan changes nothing · First 5 GB freed free, then $25 a year · Notarised by Apple · Apple silicon, macOS 13 or later