How to clear caches on a Mac safely

By Little Mac Apps · Updated

Short answer: quit the app, open ~/Library/Caches in Finder (Go → Go to Folder), and move that app's folder to the Trash. Remove one app's cache folder at a time, never the whole Caches folder or anything in the system's /Library. Apps rebuild their caches, so the space may come back as you use them.

A cache is a copy an app keeps so it doesn't have to fetch or compute something again: thumbnails, web pages, downloaded packages. Removing it loses nothing of yours, but the app is slower once while it rebuilds. Clearing caches makes sense when one has grown very large, or when an app misbehaves and its developer suggests it.

Clear one app's cache in Finder

  1. Quit the app whose cache you want to clear. A running app can recreate the folder at once, or lose data it was writing.
  2. In Finder, choose Go → Go to Folder, type ~/Library/Caches and press Return.
  3. Find the app's folder. It's usually named after the app or its developer, like com.developer.appname.
  4. Drag that one folder to the Trash. Check the app still works, then empty the Trash.

Browsers have their own setting for clearing browsing data; use it rather than deleting their files, so you choose what's kept, such as passwords and logins.

What not to remove

File Stacker enforces this: it refuses to move ~/Library, its top-level folders, or anything in system folders to the Trash.

Measure and clear caches with File Stacker

  1. Grant your Home folder: on the welcome screen click Scan Home Folder…, then Grant Access.
  2. Open Cleanup in the sidebar. It measures known locations and shows each one's size, such as:
    • Application Caches: per-app folders in ~/Library/Caches.
    • Safari Cache, Slack Cache, Spotify Cache (offline downloads are untouched) and VS Code / Cursor Caches.
    • Mail Downloads: copies of attachments you opened; the originals stay in your mailbox.
    • Logs: app logs and crash reports.
    • Developer caches: Homebrew, npm / Yarn / pnpm / Bun, pip / uv / Hugging Face, Gradle / Maven / CocoaPods, Go / Cargo, Swift packages and Xcode DerivedData.
  3. Read the explanation. It says what's inside, whether it comes back, and which app to quit first.
  4. Tick an item and click Move Selected to Trash. The free version moves one item at a time; File Stacker Pro moves several together.

Nothing is pre-selected. Items marked Review — may hold your data need a closer look, and items marked Size only must be cleaned up with their own tool. If macOS protects a location, Cleanup says it couldn't be inspected rather than reporting it as empty.

Empty the Trash to get the space back. Everything File Stacker removes goes to the Trash, and the space stays in use until you empty it in Finder. That's deliberate: until then, Recent Removals → Put Back can undo it.

File Stacker is free on the Mac App Store for macOS 12 or later. The free version scans without limits and moves one item at a time; File Stacker Pro, a one-time purchase, adds removing several items at once, every duplicate set, Uninstall Apps, History and System Doctor. See File Stacker.

Sources