HomeMac Guides › Clear Cache on Mac

How to clear the cache on your Mac — safely

A cache is a file an app keeps so it does not have to redo work: a decoded image, a downloaded asset, a compiled shader, a search index. Caches exist to make your Mac faster, which is why "clear your cache regularly" is bad general advice. Clearing them is worth doing for two specific reasons — reclaiming disk space when a cache has grown to gigabytes, and fixing an app that is misbehaving because its cache is stale. Here is how to do it properly.

Updated 2026-08-02 · Written by the CleanerMac team · macOS 13–15 tested

The three cache locations that matter

macOS stores cached data in several places with very different rules attached.

Sandboxed apps are a separate case. Their caches often sit inside ~/Library/Containers/<bundle-id>/Data/Library/Caches rather than in the top-level Caches folder, which is why a manual sweep of ~/Library/Caches can look like it freed nothing for App Store apps.

Clearing user caches by hand

  1. Quit the app first. This is the one rule that actually matters. Deleting the cache of a running application can crash it, corrupt its state, or lose unsaved work, because the app holds open file handles into that directory.
  2. In Finder, press ⇧⌘G and enter ~/Library/Caches. (The tilde matters — without it you land in the system folder.) You can also hold Option while opening the Finder Go menu to reveal the Library entry permanently.
  3. Switch to list view and sort by size using ⌘J → Calculate all sizes, so you work on the folders that are actually large instead of all two hundred of them.
  4. Open the offending folder and delete its contents, not the folder itself. Some apps expect their cache directory to exist and behave oddly if it vanishes.
  5. Empty the Trash to actually reclaim the space, then relaunch the app. The first launch will be slower — that is the cache rebuilding, and it is expected.

Take a Time Machine backup before your first bulk clear. Not because caches are precious, but because it costs nothing and removes the anxiety.

What is safe, what is not

ItemSafe to clear?What you lose
Browser caches in ~/Library/CachesYesSites reload from the network once; logins are unaffected
~/Library/LogsYesDiagnostic history only
Xcode ~/Library/Developer/Xcode/DerivedDataYes, with Xcode quitNext build is a full rebuild — often gigabytes reclaimed
Quick Look thumbnail cacheYesPreviews regenerate on demand
Font cachesYesRebuilt at next login
~/Library/Application SupportNoThis is app data, not cache — settings, libraries, saved projects
~/Library/Containers wholesaleNoSandboxed apps keep real documents here
/System/LibraryNoProtected by SIP; nothing good comes of it
Mail's local storeNoRisk of losing locally-only messages; rebuild from the Mailbox menu instead

The recurring mistake is confusing Caches with Application Support. The first is disposable by design. The second is where apps keep the things you would be upset to lose. If a guide tells you to clear Application Support to free space, close it.

Browser caches, done properly

Browsers manage their own storage and it is better to use their own controls than to delete files underneath them.

Browser caches regrow quickly. If a browser is consistently consuming many gigabytes, the cause is usually profile data and extensions rather than the cache itself.

System caches worth resetting when something is broken

These are targeted fixes. Run them when you have the matching symptom, not on a schedule.

Why cache clearing often frees less than you hoped

Two things surprise people. First, macOS reports some space as purgeable — APFS local Time Machine snapshots and cached content the system will release automatically under pressure. You may delete gigabytes and see the free-space figure barely move, because macOS had already counted that space as available. You can list local snapshots with tmutil listlocalsnapshots /.

Second, caches are usually not where your disk actually went. Once you have cleared them, the bigger wins are duplicated media, old installers, iOS backups and large forgotten files — see how to free up space on a Mac and what System Data storage really contains. If your Mac feels sluggish rather than full, work through how to speed up a slow Mac instead.

The one-click version

The manual routine above works and costs nothing but attention. The part that goes wrong is step one — remembering to quit every app before touching its cache folder. CleanerMac automates exactly that: it maps each cache folder to its owning application by bundle identifier and refuses to clear anything belonging to a process that is currently running. It sweeps user caches and logs, protects active Xcode projects while clearing stale build data, and lists every item with its size before it removes anything. It runs entirely on your Mac with no account and nothing uploaded.

Either way, the principle is the same: clear caches for a reason, quit the app first, know the difference between Caches and Application Support, and leave the system volume alone.

Clear your cache the safe way

Open apps automatically skipped, everything recoverable from the Trash. Free for 3 days, then $24.99 once.

Download CleanerMac — free for 3 days

macOS 13+ · Apple Silicon & Intel · $24.99 once, no subscription

Frequently asked questions

Is it safe to delete everything in ~/Library/Caches?

Broadly yes, provided the corresponding apps are quit first. Apps rebuild their caches on next launch, so the only real cost is a slower first start. Delete the contents of the subfolders rather than the folders themselves, and never do it while an app is running.

How often should I clear my Mac's cache?

There is no schedule worth following. Clear a cache when a specific app is misbehaving, or when a cache folder has grown large enough to matter for disk space. Routine clearing just makes your apps slower for no benefit.

What is the difference between Caches and Application Support?

Caches holds disposable data an app can regenerate. Application Support holds real app data — settings, libraries, databases and saved work. Deleting from Caches is routine; deleting from Application Support can lose things you cannot get back.

Why did clearing caches not free any disk space?

macOS often reported that space as purgeable already, meaning it counted the cached data and local APFS snapshots as available. Your free-space number may barely change even after deleting gigabytes. Run tmutil listlocalsnapshots / to see the snapshots involved.

Do I need to restart after clearing caches?

Usually not. Relaunching the affected app is enough for user caches. Font-cache resets are the exception and need a logout or restart to take full effect.

Will clearing the cache log me out of websites?

Clearing only the cache does not remove cookies, so your logins survive. Removing website data or ticking the cookies option in a browser's clear-data dialog will sign you out of most sites.