Quick answer
Mostly yes: files in ~/Library/Caches are rebuildable, and apps recreate them. Don’t wipe the whole folder. Run du -sh ~/Library/Caches/* | sort -h | tail -20, quit the app that owns each large folder, and delete that folder only. Never touch /System/Library/Caches.
Where the space goes
What lives in ~/Library/Caches
Every app can store rebuildable data here: thumbnails, downloaded updates, compiled shaders, package downloads. On developer Macs the big folders are usually package managers and build tools, not browsers.
~/Library/Application Support holds real app data such as settings and databases. Don’t clear it like a cache.Step 1: Find the biggest cache folders
du -sh ~/Library/Caches/* 2>/dev/null | sort -h | tail -20Most of the space is usually in three to five folders. Ignore the small ones; clearing them gains nothing.
Step 2: Use each tool’s own clean command
For developer caches, the tool’s own command is safer than deleting the folder:
brew cleanup --prune=all
pip cache purge
npm cache clean --force
yarn cache cleanMore commands are in Clear npm, yarn, pip, uv and conda caches and Clean Homebrew and Cargo caches.
Step 3: Delete a single app’s cache folder
- Quit the app that owns the folder (the folder name usually matches the app’s bundle ID).
- In Finder, press Shift-Command-G and go to
~/Library/Caches. - Move that one folder to the Trash, then relaunch the app.
- Empty the Trash once the app works normally.
/System/Library/Caches or folders you don’t recognise under /Library/Caches. macOS manages those and clears them itself when space runs low.Clear caches with a preview using SpaceWise
SpaceWise scans Xcode, Docker, node_modules, Gradle, Homebrew, package manager caches and local AI models, groups them by project, checks git status and lockfiles before it suggests anything, and moves what you approve to the Trash so you can undo it. The scan is free on Mac and Windows.
See your biggest caches
Scan for free and see every developer cache with its size before you delete anything.
Download for MacFAQ
Is it safe to delete everything in ~/Library/Caches?
It won't break macOS, but it isn't a good idea. Every app rebuilds its cache, so launches are slower, some apps sign you out, and much of the space comes back within days. Clear the few largest folders instead.
What is the difference between ~/Library/Caches and /Library/Caches?
~/Library/Caches belongs to your user account and holds app caches. /Library/Caches is shared by all users and holds system-wide app caches. /System/Library/Caches belongs to macOS and is protected; leave it alone.
Will deleting caches log me out of apps?
Some apps keep session data next to their cache, so clearing a whole app folder can sign you out. Passwords in Keychain are not affected.
How do I clear developer caches the proper way?
Use each tool's own command where one exists: brew cleanup --prune=all, pip cache purge, npm cache clean --force, yarn cache clean. They remove exactly what is safe and keep the tool's state consistent.
Run this cleanup in SpaceWise
Same targets, Recovery Bin rollback, no Terminal required. Free tier included.