macOS storage guide

How to Clear System Cache on Mac (Safely)

Caches can quietly take up gigabytes on your Mac. Clearing the right ones is safe and easy. Clearing the wrong ones can sign you out of apps or cause problems. This guide shows which caches you can remove, which ones macOS should handle, and how to do it step by step.

What is cache on a Mac?

A cache is a temporary copy of something an app can fetch or rebuild again: thumbnails, web images, downloaded updates, compiled code. Apps keep it on disk so they open and load faster. If you delete it, the app simply rebuilds what it needs. The cost is a little time, not your data.

macOS has three main cache locations:

FolderWhat it holdsSafe to clear?
~/Library/CachesCaches of the apps you use, one folder per appContents: yes, with apps closed
/Library/CachesCaches shared by all users and some system servicesUsually small. Needs an admin password. Not worth it in most cases
/System/Library/CachesmacOS's own cachesNo. macOS manages and protects them

The ~ means your home folder. So ~/Library/Caches is the Caches folder inside your user account.

When people search for "system cache", they usually mean all of these together. In practice, the cache you can and should clear yourself is your user cache in ~/Library/Caches, plus your browser caches.

Before you start

  • Back up. A Time Machine backup takes a few minutes to set up and protects you from mistakes.
  • Quit your apps with Command-Q, not just by closing the window. A running app may be writing to its cache.
  • Delete what's inside the cache folders, never the folders themselves.

How to clear user cache on Mac (~/Library/Caches)

  1. Open Finder.
  2. In the menu bar, choose Go > Go to Folder (Shift-Command-G).
  3. Type ~/Library/Caches and press Return.
  4. To find the biggest folders, choose View > Show View Options and turn on Calculate all sizes in List view. Then sort by Size.
  5. Select the folders of apps you recognize and want to reset. Folders are usually named after the app, such as com.spotify.client.
  6. Drag them to the Trash. If an item refuses to move, skip it: a background process is using it.
  7. Restart your Mac.
  8. Use your Mac normally for a day. When you're sure everything works, empty the Trash. Space is only freed when the Trash is emptied.

Tip: moving items to the Trash instead of deleting them in Terminal gives you an undo button. If an app misbehaves, put its folder back.

How to clear browser cache on Mac

Browsers keep your logins, history and passwords in separate files next to their cache. Use each browser's own setting instead of deleting folders by hand.

Safari

  1. Open Safari and choose Safari > Settings > Advanced.
  2. Turn on Show features for web developers.
  3. In the menu bar, choose Develop > Empty Caches.

To also remove website data (this can sign you out of sites), go to Safari > Settings > Privacy > Manage Website Data.

Google Chrome

  1. Open Chrome > Settings > Privacy and security > Delete browsing data.
  2. Choose a time range and tick only Cached images and files.
  3. Click Delete data.

Firefox

  1. Open Firefox > Settings > Privacy & Security.
  2. Under Cookies and Site Data, click Clear Data.
  3. Tick only Cached Web Content and click Clear.

How to clear system cache on Mac

You don't need to clean /System/Library/Caches by hand, and macOS won't let you change it anyway: it is protected by System Integrity Protection.

If you need extra space temporarily, for example to install a macOS update, Apple recommends starting up in safe mode. Your Mac clears certain system caches during a safe-mode startup, and they are created again as needed. Restart normally to leave safe mode. The steps to enter safe mode depend on whether your Mac has Apple silicon or an Intel processor, and Apple's support site explains both.

A normal restart also helps. It clears temporary files that macOS keeps while it is running.

What NOT to delete

  • The Caches folders themselves. Empty the contents, keep the folder.
  • /System/Library/Caches. Leave it to macOS.
  • /private/var/folders. It's macOS's temporary area while the Mac runs. A restart cleans it safely.
  • The rest of ~/Library. Application Support, Containers and Preferences hold your apps' data and settings, not cache.
  • Any command with sudo rm -rf. Many guides suggest it. It deletes instantly, with no Trash and no undo, and one typo can point it at the wrong folder.

Why does cache come back?

That's expected. Apps rebuild their caches as you use them, which is how they stay fast. Clearing cache is a good fix when an app acts strangely or when you need space now. It is not a permanent diet. Cache is often only part of what fills your disk. Backups, local snapshots and old installers usually take more, and our guide to clearing System Data on Mac covers them.

The easier way: review caches with DeleteIt

Hunting through hidden Library folders works, but it's slow and it's easy to miss what's actually big. DeleteIt is a native macOS app that does the hunting for you without deleting blindly:

  • Scan: it analyzes your disk locally and finds caches, logs and installers, along with large files, duplicates and app leftovers.
  • Review: you see what takes up space by category, size and safety level before anything is touched.
  • Clean: the items you confirm are moved to the Trash. Nothing is erased permanently, so you can still restore something.
  • No admin password: it doesn't ask for sudo. Extended scope is optional and uses Full Disk Access, with an explanation of why it's needed.
  • Free to start: download without an account, scan as often as you want, and clean up to 10 GB for free. A free account adds 10 GB more.

DeleteIt works on macOS 14 or later, on Apple silicon and Intel Macs.

See what your caches are really using

Scan your Mac for free and decide what goes to the Trash.

Download DeleteIt

Frequently asked questions

Is it safe to clear cache on a Mac?

Yes, for user and browser caches. Apps rebuild them. Close the apps first, delete the contents rather than the folders, and leave system caches to macOS.

Will clearing cache delete my files or passwords?

Not if you clear only cache. Your documents are not in cache folders. Browser passwords and logins live in separate files, which is why you should use the browser's own "clear cache" option.

Does clearing cache make my Mac faster?

It can fix an app that is misbehaving and it frees space. It isn't a general speed boost: apps may load a bit slower right after while they rebuild their caches.

How often should I clear my Mac's cache?

Only when you need the space or an app has problems. Clearing it constantly just makes apps rebuild it.

Can I clear system cache with Terminal?

You can, but we don't recommend sudo rm -rf commands. They delete with no undo. Finder and the Trash are safer, and safe mode handles system caches for you.

Keep reading