Mac Cache Folders: Leave Alone & Free Space Safely
- Time to clear
- 15 min
- You entered
- Space freed
- 5 GB
- You entered
You can safely delete the contents of most user-level cache folders (like ~/Library/Caches) to free space, but you should leave system-level caches (like /System/Library/Caches) and the caches of running apps alone to avoid slowdowns or crashes. The key is knowing which caches are safe to clear, how to do it without breaking apps, and which ones you should never touch.
What Are Mac Cache Folders?
Caches are temporary files that macOS and your apps create to speed things up. Instead of recalculating or re-downloading data, they store it locally. For example, Safari keeps webpage images, fonts, and scripts so pages load faster on repeat visits. Photoshop stores temporary project data. Even the system caches kernel extensions and font information. There are three main locations:
- User caches:
~/Library/Caches– per-user app data, the safest to clean. - System caches:
/Library/Cachesand/System/Library/Caches– shared by all users and the OS itself. - App-specific caches: inside each app’s container in
~/Library/Containers– e.g., Safari’s cache is in~/Library/Containers/com.apple.Safari/Data/Library/Caches.
macOS also has a separate “purgeable� space category (like Time Machine local snapshots and iCloud files) that the system manages automatically. That’s not a cache folder, but it often shows up when you check storage.
Why You Should Leave Some Caches Alone
System caches are used by the OS for core functions like booting, window server, and kernel extensions. Deleting them can cause slow startup, login issues, or even a kernel panic. macOS also has a security component called System Integrity Protection (SIP) that prevents you from modifying /System even with admin rights. Trying to force it (by disabling SIP) is a security risk and not recommended.
Even user-level caches are sometimes actively in use. If you delete a cache while an app is running, the app may crash or misbehave. For example, clearing the cache of a video editor mid-project can cause it to lose undo history or re-encode everything.
How to Free Space Safely (Step-by-Step)
The safest way is to use macOS’s built-in storage management, then manually clear only the caches that are safe.
- Use “Storage Management�: Go to → About This Mac → Storage → Manage. Look at “Developer� and “Other� – these often contain caches. macOS will show you the biggest files and let you delete them safely.
- Clear user caches manually: Quit all apps, then open Finder, press Shift+Cmd+G, type
~/Library/Caches, and press Go. You’ll see folders for each app. You can delete the contents of these folders, but keep the folders themselves. For example, delete files insidecom.google.Chromebut not the folder. - Use the “Purgeable� space: In the same Storage Management window, you can “Optimize� storage (e.g., remove watched films) and “Reduce Clutter� (which scans for large files). This is the safest because it uses Apple’s own logic.
- Restart after cleaning: After you delete caches, restart your Mac. macOS will recreate the necessary cache files. If an app fails to launch, it’s often because you deleted a critical cache – restarting usually fixes it.
Common Mistakes and Misconceptions
Mistake 1: Deleting the whole cache folder. Some apps store preferences or license files inside their cache folder. Deleting the whole folder can reset your settings. Always delete the contents, not the folder itself.
Mistake 2: Using “sudo rm -rf� on system caches. This can break your system. Even if you have admin rights, macOS may not let you delete system caches. Don’t force it.
Mistake 3: Believing caches are “junk� that can be freely deleted. Some caches are large because they hold useful data. For example, your photo library may have a large thumbnail cache – deleting it will force Photos to rebuild it, which takes time and may temporarily slow down your Mac.
Misconception: Clearing caches speeds up your Mac. It frees disk space, but it can actually slow things down temporarily because apps have to rebuild the cache. Only clear caches if you need space, not as a routine “cleanup�.
Tools and Alternatives: What to Use Instead of Manual Deletion
You don’t need third-party “cleaner� apps. macOS has built-in tools. But if you prefer a GUI, there are free utilities that only show safe-to-delete caches. However, be cautious: some “cleaners� delete too much and cause problems. The safest alternative is to use the built-in storage manager, or to manually inspect the largest files in ~/Library/Caches using Finder’s “Size� column (Cmd+J to enable). You can also use the command line with du -sh ~/Library/Caches/* to see which apps use the most space.
How to Check What’s Actually Taking Space
If you want to know exactly what’s in your cache folders, open Terminal and run:
du -sh ~/Library/Caches/* | sort -rh | head -20
This lists the 20 largest cache folders. You can then decide which app’s cache is worth clearing. For example, if com.apple.Safari shows 2 GB, you can safely clear it (Safari will rebuild it). But if com.adobe.Photoshop shows 5 GB, it might be holding temporary files from a crash – clearing it is usually safe, but only after quitting Photoshop.
When to Leave Caches Alone (Even If They’re Large)
- System caches: Never touch
/System/Library/Cachesor/Library/Cachesunless you’re following Apple’s official troubleshooting guide (e.g., after a failed update). - Caches of running apps: If an app is open, its cache is in use. Quit the app first.
- Time Machine local snapshots: These are not cache folders, but they are stored in
/Volumesand can take up huge space. Usetmutil listlocalsnapshots /to see them, andtmutil thinlocalsnapshots / 999999999to delete them safely. - iCloud Drive caches: Files are stored locally for offline access. If you delete them, you’ll lose offline access. Instead, use the “Optimize Mac Storage� option in iCloud settings.
Frequently Asked Questions
Q: Is it safe to delete everything in ~/Library/Caches?
A: Generally yes, but delete the contents of each folder, not the folders themselves. Some apps store preferences there. If you delete the folder, the app will recreate it, but you may lose settings.
Q: Why does my Mac say “Other� storage is huge?
A: “Other� includes caches, logs, temporary files, and system files. Use Storage Management to see a breakdown. In macOS Sonoma and later, you can click “Other� to see a list of large files.
Q: Will clearing caches delete my passwords or bookmarks?
A: No. Passwords are stored in Keychain, bookmarks in Safari’s Bookmarks.plist. Caches are separate. However, clearing Safari’s cache will log you out of some websites because it also clears cookies (if you choose “Remove All Website Data�).
Q: How often should I clear caches?
A: Only when you need disk space. There’s no need to do it weekly. macOS manages caches automatically and will purge them when space is low.
Q: Can I move caches to an external drive?
A: Not recommended. Apps expect caches in their default location. Moving them can cause crashes. If you need space, delete them instead.
Q: What does “purgeable� space mean?
A: It’s space that macOS can free automatically when needed, such as local Time Machine snapshots, iCloud files that are only stored locally, and some caches. You don’t need to manually delete them.
Related
Formula used
in t | Time to clear | min | 15 | 0 in d | Space freed | GB | 5 | 0 out rate | Freeing rate | GB/min | d / t | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.