KlystorDownload

How to clear the cache on a Mac safely: browsers, apps and system

Caches speed up apps, but they grow without limit and can reach several GB. Clearing them is safe, as long as you do it in the right place.

5 min readUpdated

01Where caches live

Each app keeps its temporary files in ~/Library/Caches, one folder per app. To open it in the Finder: Go › Go to Folder… (⇧⌘G), then ~/Library/Caches. To see the heaviest ones, in Terminal:

du -sh ~/Library/Caches/* 2>/dev/null | sort -h | tail -20

Browsers, Spotify, Slack, Teams and developer tools often come first.

02Browsers

  • Safari: Settings › Advanced, tick Show features for web developers, then the Develop › Empty Caches menu.
  • Chrome: Settings › Privacy and security › Delete browsing data, tick only Cached images and files.
  • Firefox: Settings › Privacy & Security › Cookies and Site Data › Clear Data, tick only Cached Web Content.

Do not tick cookies or passwords: you would be signed out of your sites.

03Apps

Quit the app, then move the contents of its folder in ~/Library/Caches to the Trash (the Caches folder itself must stay). On next launch, the app rebuilds what it needs; the first start may be slightly slower.

In Klystor, the free Quick cleanup does this sorting for known caches and logs: it shows first what will go, then uses the Trash.

04System caches

Caches in /Library/Caches and those of macOS itself are managed by the system. A restart clears some of them; starting up in safe mode (Shift key on an Intel Mac, power button held on an Apple silicon Mac) clears more and checks the disk.

For developer tools (Xcode, Docker, npm), see the guide Clean up developer caches.

What not to do

  • deleting the ~/Library or ~/Library/Caches folder itself;
  • running sudo rm -rf on system folders found on a forum;
  • clearing caches every day: they rebuild, and apps slow down meanwhile;
  • confusing caches with Application Support: that folder holds real data (settings, libraries, backups).

Klystor

All of this, safely and in minutes

Klystor measures your disk, explains every item and only offers what rebuilds itself or what you choose. A dry run before every deletion, the Trash by default. Free version with no time limit, for macOS, Windows and Linux.

Need help?