Guide · macOS storage

Is it safe to delete ~/Library/Caches?

Yes, mostly. ~/Library/Caches is where apps keep temporary data they can rebuild, so deleting an app's cache folder is safe once the app is closed. Expect the app to start slower once and the folder to grow back. Delete folders inside it, not the Caches folder itself, and leave Apple's system caches alone.

Why it gets big

Every Mac has a Caches folder in your user Library, at ~/Library/Caches. Apps store things there that make them faster: downloaded images, compiled code, thumbnails, update files. Apple’s rules say apps may only put data there that they can recreate, which is why it is the safest place on a Mac to clear.

It still grows. Browsers, chat apps, music streaming apps and developer tools are the usual heavy users. Some apps set no limit, so a cache can reach gigabytes and stay there long after you stopped using the app.

There are a few things to know before you clear it:

  • It is not one cache. Each app has its own folder, usually named after the app or its bundle ID, such as com.spotify.client.
  • Some apps keep useful things there. Music apps can store offline downloads in their cache. Clearing it means downloading those songs again.
  • Apple’s own caches (folders starting com.apple.) are used by macOS itself. Some are protected and many are recreated straight away. They are not worth the risk.
  • There are other Caches folders. /Library/Caches and /System/Library/Caches belong to the system. Do not clear those by hand.

How to clear it by hand

Find out which folders are worth clearing. This lists the 15 largest:

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

Then clear them one at a time, in Finder, so they go to the Trash:

  1. Quit the app that owns the folder.
  2. In Finder, choose Go > Go to Folder and enter ~/Library/Caches.
  3. Drag the app’s folder to the Trash.
  4. Open the app and check it works, then empty the Trash.
  • Safe: folders for third-party apps you recognise, such as browsers, chat apps and editors. Cookies, logins and history are stored elsewhere, so clearing a browser cache does not sign you out.
  • Check first: music and podcast apps, which may keep offline downloads in their cache.
  • Leave alone: com.apple.* folders, anything you do not recognise, and the Caches folder itself.

Avoid tips that tell you to run rm -rf ~/Library/Caches/*. It clears everything at once, including caches of apps that are running, skips the Trash and gives you no way to back out. Some caches have their own cleanup command: Homebrew has brew cleanup (see the Homebrew cache guide), and Xcode’s build data lives in ~/Library/Developer, covered in clearing DerivedData.

Clearing caches is a one-time gain. They refill as you use your apps, so it helps most when a single app has a cache far larger than it needs.

How Berth handles it

Berth reads ~/Library/Caches folder by folder, not as one lump:

  • Rebuilds itself: browser caches for Safari, Chrome, Arc, Edge, Firefox, Brave and others. Berth notes that cookies, history and logins are not touched, and asks you to quit a browser that is open.
  • Rebuilds itself: other app caches, with the largest named so you can see whose they are.
  • Re-downloadable: caches that are really downloads, like Spotify’s. Berth only offers that one when nothing is saved for offline listening.

Apple system caches, sign-in and security caches are left alone. Folders that another rule explains better, such as Homebrew or Xcode, appear under that app instead.

Whatever Berth finds goes into a review tray first. A dry run shows exactly what would move, pre-flight checks make sure the owning app is closed, and everything goes to the macOS Trash, so Undo puts it back. Berth is free to scan and explore; one-click cleanup is part of Berth Pro, $14.99 one-time for 2 Macs. There is no account and nothing is uploaded.

Questions

Will deleting ~/Library/Caches break my Mac?

Not if you delete app folders inside it with the apps closed. Apps rebuild what they need. Leave the com.apple folders and the system-wide Caches folders alone.

Will clearing caches log me out of websites?

No. Browsers keep cookies and logins outside the cache. Pages load a little slower the first time, then speed up again.

Why did my Caches folder grow back?

Apps refill their caches as you use them. That is expected. It is only worth clearing again if one app grows far larger than the rest.

Does clearing caches make a Mac faster?

Usually not. Caches exist to make apps faster. Clearing them frees space and can fix an app with corrupted cached data, but it does not speed up the Mac.

Can I clear caches while an app is open?

It is better not to. The app may still be writing to its cache, which can cause errors. Quit it first.

Make room.
See what’s filling your Mac.

Free to scan, explore and understand everything on your disk. Berth Pro adds one-click cleanup when you want it.

See my biggest caches, free

Free download · Version 1.0.0 · Signed and notarized by Apple

Berth runs on macOS. Send yourself the link and open it there.