Is it safe to delete ~/Library/Caches on Mac?
Safe~/Library/Caches
Yes, with the app closed. What lives in ~/Library/Caches, what rebuilds after you delete it, how to measure it, and the safe way to clear the big ones.
Verdict: Safe. You can delete what is inside ~/Library/Caches, because it only holds data apps can fetch or rebuild, and Apple's guidance to developers is that apps must never rely on a cache being there. Quit the app first, move the contents of its cache folder to the Bin, and leave the Caches folder itself in place.
What you lose is time, not data: the app runs a little slower while it rebuilds, and anything it had downloaded comes down again.
What lives in ~/Library/Caches
This is the cache folder in your own user Library. Apple's macOS Library Directory Details describes it as cached data "that can be regenerated as needed" and adds that "apps should never rely on the existence of cache files".
Inside, each app gets its own folder, named either after the app (Google, Homebrew, pip) or after its bundle ID, such as com.spotify.client. Typical contents:
- Browser caches: copies of web pages, scripts and images, so sites load faster.
- App caches: thumbnails, artwork, streamed media, update downloads and compiled code.
- Developer tool downloads: Homebrew bottles, pip packages, Playwright browsers, Go build output and more.
- Apple's own caches: folders starting with
com.apple., used by macOS services and Apple apps.
Sandboxed apps, which includes most App Store apps, keep their cache inside their own container in ~/Library/Containers instead, so they don't appear here.
On the macOS 15.5 Mac we checked this on, the folder came to 5.4 GB. The two biggest entries were a browser's cache at 1.6 GB and Playwright's test browsers at 1.2 GB. That pattern is common: a handful of folders make up most of the total.
What happens if you delete it
What rebuilds by itself:
- Browsers download pages and images again, so sites load a little slower the first time.
- Apps rebuild thumbnails, indexes and compiled code on their next launch.
- Developer tools fetch packages again the next time you install or build, which costs time and bandwidth.
What is lost for good: almost nothing, in a well-behaved app. Logins, cookies, settings and your own documents live elsewhere. The real risks are clearing a cache while the app is still open, which can make it misbehave or crash, and clearing one you didn't need to, which only makes that app slower.
How to check its size safely
In Terminal:
du -sh ~/Library/Caches
This prints the folder's total size. It only reads. To see the 15 biggest folders inside, largest last:
du -sh ~/Library/Caches/* 2>/dev/null | sort -h | tail -15
The 2>/dev/null part hides "Operation not permitted" lines for a few Apple folders that macOS keeps private. Those are normal and change nothing.
In Finder:
- Choose Go > Go to Folder, type
~/Library/Cachesand press Return. - Choose View > as List, then View > Show View Options, and tick Calculate all sizes.
- Click the Size column so the biggest folders come first.
The safest way to get the space back
Start with the app's own tools, because they know exactly what is safe to remove:
- Browsers: use the browser's clear-cache option and tick only cached images and files, so you stay signed in.
- Homebrew: run
brew cleanup. Our page on the Homebrew cache has the details. - pip: run
pip3 cache purge.
For any other app:
- Quit the app with Command-Q, and quit any helper it has in the menu bar.
- In Finder, open
~/Library/Cachesand then the app's folder. - Press Command-A to select everything inside, then choose File > Move to Bin.
- Open the app and check it works.
- Empty the Bin. Apple's Free up storage space on Mac notes that the space only becomes available once you do.
From Terminal, macOS 14 Sonoma and later include a trash command that moves files to the Bin instead of deleting them:
trash ~/Library/Caches/com.spotify.client/*
This moves the contents of Spotify's cache folder to the Bin and keeps the folder. Swap in the folder you want, and check the path before you press Return, because a typo moves the wrong files. Avoid rm -rf here: it skips the Bin, so a slip cannot be undone.
What never to touch
- The Caches folder itself, and each app's own folder inside it. Clear the contents.
- Caches of apps that are open. Quit first.
- The system caches in
/Library/Cachesand/System/Library/Caches. They belong to macOS and need an administrator password. See is it safe to delete /Library/Caches. - Look-alike folders.
~/Library/Application Supportand~/Library/Containershold real app data, not just caches. Read is it safe to delete Application Support before touching it.
For browser-by-browser steps, see our guide on how to clear cache on Mac.
How Headroom helps
Headroom's Clean scan picks out the caches in this folder that are worth clearing, rather than all of it. It lists browser caches for Chrome, Brave, Edge, Arc, Vivaldi, Chromium, Opera and Firefox (only their cache folders, so logins, history and bookmarks stay), Spotify and Zoom, which it won't clear until you quit them, and developer caches such as Homebrew, pip, Yarn, CocoaPods, Go and older Playwright browsers. These are ticked and deleted for good, because they rebuild. Apple's own caches are left alone. The scan is free; the $19 one-time licence clears what you tick. See the cleaner or download Headroom.
Questions
Can I delete everything in ~/Library/Caches?
You can, and apps will rebuild what they need, but it is rarely worth it. Every app becomes slower for a while and the folder fills again. Clear the few big caches instead, with each app closed.
Will clearing ~/Library/Caches sign me out of apps or websites?
Usually not. Logins, cookies, settings and history are kept in other folders, such as Application Support, Preferences and the app's container. A cache holds copies of files an app can fetch or rebuild.
Should I delete the Caches folder itself?
No. Leave ~/Library/Caches and each app's own folder in place and clear what is inside. Apps expect the folder to be there, and macOS gives it the right permissions.
Why does ~/Library/Caches fill up again?
Because that is its job. Apps store downloads, thumbnails and compiled code there so they don't have to fetch or build them again. A cache that grows back after you clear it is working as intended.