DownloadApp Store

How to clear the cache on a Mac, and when it actually helps

Also in日本語한국어繁體中文简体中文EspañolDeutschPortuguês (Brasil)Français

Quick answer

Quick answer

Clear the cache in the app that's misbehaving, not the whole Library. Safari keeps it under Settings › Privacy › Manage Website Data, Chrome under Delete browsing data, and other apps in their own folder in ~/Library/Caches. Here's when clearing helps, when macOS already does it for you, and which folders to leave alone.

Download for MacDownload on the App Store

To clear the cache on a Mac, clear it in the app that's misbehaving. In Safari, choose Safari › Settings › Privacy › Manage Website Data and remove the site that looks wrong. In Chrome, choose More › Delete browsing data and tick Cached images and files. For another app, quit it and move only its own folder in ~/Library/Caches to the Trash. Don't do it just to free space: macOS clears safe caches itself when space runs low.

What is a cache, and why is clearing one usually safe?

A cache is a spare copy, like the images of pages you've opened or a list an app downloaded, kept so the next time is quicker. Apple's File System Programming Guide tells developers that an app generally doesn't need its cache to work properly and must be able to re-create or download those files. So removing a cache rarely breaks anything, and rarely saves space for long: the folder refills as you use the app.

When does clearing the cache help, and when is it a waste of time?

It helps when the stored copy is wrong: a site shows an old version or a broken layout, a sign-in keeps failing, or an app shows outdated information.

It does little for:

  • Freeing space. Apple's macOS 27 page on optimizing storage says macOS clears caches and logs that are safe to delete when space is needed, Safari website data included. For space you control, use System Settings › General › Storage.
  • Speeding up a slow Mac. Everything you removed has to load again, so things get slower for a while. Activity Monitor shows what's really using the processor.
What you want to fix What to clear
One site looks wrong in Safari That site, in Manage Website Data
A site misbehaves in Chrome Cached images and files
A page you're building shows old code in Safari Develop › Empty Caches
One app shows stale information Its own folder in ~/Library/Caches, with the app quit
No room for a macOS update Nothing by hand: Storage settings, or safe mode

How do you clear the cache in Safari?

Apple calls its page Clear your cache and cookies in Safari on Mac, and the steps work on website data:

  1. In Safari, choose Safari › Settings, then click Privacy.
  2. Click Manage Website Data.
  3. Select the site that's misbehaving and click Remove. Remove All clears every site.

Apple warns this may sign you out of websites or change how they behave, in other apps too, so start with one site. History › Clear History is a different tool: Apple's list of what it removes doesn't name the cache or cookies.

Web developers can also select Show features for web developers in Safari › Settings › Advanced (Apple's steps), then choose Develop › Empty Caches, which Apple's developer documentation says deletes all caches stored by the browser.

How do you clear the cache in Chrome and Firefox?

In Chrome, per Google's Clear cache & cookies page:

  1. Click More (the three dots) at the top right and choose Delete browsing data.
  2. Pick a time range, like Last hour or All time.
  3. Tick Cached images and files. Untick Cookies and other site data if you want to stay signed in to sites.
  4. Click Delete data.

The drawback, as Google puts it: some sites can seem slower afterwards, because content like images has to load again. Its Chrome help lists what each box removes.

In Firefox, Mozilla's article, How to clear the Firefox cache, puts the option under Settings › Privacy & Security. Firefox's labels have changed between versions and we couldn't open the page to check them, so follow Mozilla if yours differ.

How do you clear one app's cache without breaking anything?

  1. Quit the app with Command-Q, or from its menu bar icon, so it isn't writing to its folder.
  2. In the Finder, click Go, hold Option and choose Library, as Apple's page on going to a folder explains. Our hidden files guide has other routes.
  3. Open Caches and find the app's folder, often named like com.company.appname.
  4. Select only that folder and press Command-Delete to move it to the Trash.
  5. Open the app. If it behaves, empty the Trash later; if not, select the folder in the Trash and choose File › Put Back, per Apple's page on deleting files.

What not to do:

  • Don't select everything in Caches. Open apps may be using those files, and the space comes back anyway.
  • Stay out of /Library/Caches and /System. If the Finder asks for an administrator password, you've left your own Library. For system caches, Apple's route is safe mode, which clears some of them, such as font caches, and lets macOS rebuild them.
  • Don't mistake Application Support for cache. It holds an app's real data. To remove what a deleted app left behind, see our guide to uninstalling Mac apps.

What's in Shimejiko's cache folder?

We make Shimejiko, a Mac app for animated Shimeji desktop pets, and its cache plays by these rules. The version from shimejiko.app keeps two things in ~/Library/Caches/ai.resonancestudio.shimejiko/: catalog.json, the last Shop catalog, so the Shop opens with every pack even offline, and TryOn/<pack id>/, packs you've tried on. Trash that folder while Shimejiko is quit and nothing is lost: the catalog downloads again when the app opens, and try-ons when you next try them.

Your imported packs aren't cache: they live in ~/Library/Application Support/Shimejiko/Packs/, so don't delete that folder expecting it to refill. The Mac App Store edition is sandboxed, so its cache sits inside the app's own container.

Recorded on a MacBook
Shimejiko, Miyu, Vesper, Ren and Mirai hop on top of a browser window at a knock, then fall through it at a firmer one
Shimejiko, Miyu, Vesper, Ren and Mirai hop on top of a browser window at a knock, then fall through it at a firmer one

Recorded in the app: five friends ride a browser window, hop at a knock and drop to the Dock at a firmer one. Showing five character types at once takes Pro; the free version shows one type at a time, up to 3 copies. Nothing here clears a cache, and the macOS steps follow Apple's pages, untested on Mac hardware.

More from the blog

Guides
The pointer rests on Shimejiko's cap while two fingers stroke the trackpad and hearts float up

AI desktop pets: the robots on your desk and the characters on your screen

"AI desktop pet" means two different things. One is a small robot that sits on your desk, like EMO, Loona Deskmate or Anthropic's open-source Claude Desktop Buddy. The other is a character on your screen that chats through a language model, like Clippy or Project AIRI. Here is what each one does, what it costs, what it needs and what it sees and hears, and where Shimejiko fits: a desktop pet with no AI at all.

8 min read

Guides
Shimejiko holds a box in the welcome show’s drop area, and a new character pops out

How to use AirDrop on a Mac: send, receive and find your files

To AirDrop from a Mac, open Finder › AirDrop and drag a file onto the recipient. Going the other way, tap Share › AirDrop on the iPhone and pick the Mac. Here’s how to find what arrived and what to check when a device doesn’t appear or asks for a code.

4 min read

Guides
A character sits on a notes window and rides along as the window is dragged around

TADC shimeji: where Caine, Pomni and Jax packs are shared, and how to run them on a Mac

TADC shimeji are unofficial, fan-made Shimeji-ee packs of The Amazing Digital Circus characters such as Caine, Pomni, Jax and Kinger, shared on the artists' own Tumblr, itch.io and DeviantArt pages, usually as a Windows zip that needs Java. Download from the artist's page, keep the credit and skip extensions and re-upload sites. On a Mac, drop the zip on Shimejiko.

5 min read

Bring your crew home.

macOS 14 or later · Apple silicon and Intel

Apple's sandbox keeps knock and window throwing out of the Mac App Store edition. The direct download has every trick.