How to Clear Cache on a Mac (and When It's Worth It)
Caches rebuild, so clearing them buys space for a while. Which Mac caches are safe to clear, how to do it app by app, and which folders to leave alone.
- Caches
- Quick Fix
- Storage
A cache is a copy an app keeps so it doesn't have to fetch or rebuild something twice: web pages, album art, thumbnails, compiled code. Deleting it is safe in the sense that the app rebuilds it. That is also the catch: caches grow back.
So clearing caches is worth it when one app's cache has grown out of proportion. It is not a monthly ritual. On most Macs the user caches folder is a few gigabytes. On some it is 20 GB or more, usually because of one or two apps.

Step 1: see how big your caches are
Your caches live here:
~/Library/Caches
Open it with Finder → Go → Go to Folder (Shift-Command-G). Switch to list view, then View → Show View Options → tick Calculate all sizes. Sort by Size.
Or in Terminal, the 15 biggest app caches:
du -sh ~/Library/Caches/* 2>/dev/null | sort -h | tail -15
Folder names are app IDs: com.spotify.client is Spotify, com.google.Chrome is Chrome.
Step 2: use the app's own button first
An app's own setting knows what is safe to drop, so use it where one exists.
Safari
- Safari → Settings → Advanced → tick Show features for web developers (older versions: Show Develop menu in menu bar).
- Develop menu → Empty Caches.
Chrome
Chrome menu → Delete Browsing Data…, choose Cached images and files, and untick cookies and history if you want to keep them.
Firefox
Settings → Privacy & Security → Cookies and Site Data → Clear Data…. Tick only the cache option (Temporary cached files and pages, or Cached Web Content in older versions).
Spotify
Settings → Storage → Clear cache.
Developer tools
brew cleanup # old Homebrew versions and downloads
npm cache clean --force # npm's package cache
pip cache purge # pip's wheel cache
xcrun simctl delete unavailable # Simulators for runtimes you removed
Xcode's biggest cache is DerivedData, which has its own guide.
Step 3: clear an app's folder by hand
For apps without a button:
- Quit the app. Clearing the cache of a running app can confuse it.
- In
~/Library/Caches, open the app's folder and move its contents to the Trash (Bin on UK Macs). - Empty the Trash.
Delete what is inside an app's cache folder, not ~/Library/Caches itself, and never the whole ~/Library.
Folders to leave alone
/System/Library/Caches: part of the sealed system volume. macOS manages it./Library/Caches(at the top of the disk, not in your Home): shared by all users. Usually small; leave it./private/var/folders: per-user temporary files and caches that macOS cleans itself. A restart clears much of it. Do notrmit.
If an app or website promises to “clean 90,000 junk files”, it is counting cache files one by one. The number sounds scary and means little. Look at gigabytes, not file counts.
When caches aren't the problem
If your caches total 3 GB and your Mac is still full, the space is elsewhere. The usual suspects:
- Local Time Machine snapshots
- Old iPhone backups
- Docker.raw and node_modules on developer Macs
A disk map finds them faster than guessing. FreeUpMac scans your Home folder for free. It tags cache folders Safe, because they rebuild, and shows which app's cache is the big one. Reveal in Finder is free. Pro ($12.99 once, no subscription) moves the selection to the Trash for you.
See your Mac as a map
Free download. Pro unlock is one-time ($12.99) — no subscription.
Related guides
Mac Storage Full: A 10-Minute Cleanup Path
When macOS says storage is almost full, Settings still hides the folders. Empty Trash (Bin on UK Macs), scan a disk map, then clear snapshots.
Quick FixDelete Old iPhone Backups on a Mac Safely
Finder keeps iPhone and iPad backups in a hidden Library folder, often 10–100 GB. Where they live, how to check them, and how to delete the old ones.
iPhone BackupHow to Find Large Files on a Mac: 4 Ways
Find what is filling your Mac with the Storage Large Files list, a Finder size search, two Terminal commands, or a free disk map that adds up small files by folder.
Large Files