·Updated ·8 min read

How to Clear Cache on Mac: Browser, App and System Cache

Clear browser caches from each browser's settings. Clear app caches from ~/Library/Caches. Leave most of /Library/Caches alone unless you know the folder.

Browser caches are the tip — Library and developer caches hold the gigabytes.

Caches speed apps up and then overstay. Almost every user cache can be deleted; the app rebuilds what it needs. The trick is knowing which layer you are clearing — browser UI, ~/Library/Caches, or heavyweight developer folders.

Clear browser caches

Clear browsers first for a quick win, then attack Library and developer caches.
  • Safari: Settings → Advanced → show features, then Develop → Empty Caches (or clear history with cache).
  • Chrome: Settings → Privacy → Clear browsing data → Cached images and files.
  • Firefox: Settings → Privacy → Clear Data → Cached Web Content.

Clear ~/Library/Caches

  1. Open Go → Go to Folder → ~/Library/Caches.
  2. Delete folders for apps you recognize.
  3. Empty Trash.

Developer caches

Xcode DerivedData, CocoaPods caches, Gradle, npm/Yarn/pnpm caches and Docker build cache are often larger than browser caches. Link out to the Xcode, Docker and node_modules guides.

FAQ

Is clearing cache safe?

User caches: yes, with temporary slowdowns. Random system folders: no. Prefer named app folders.