Your Mac’s app caches live in ~/Library/Caches. Clearing them is safe, because apps rebuild what they need, but most of them grow back. To clear them:
- Quit the apps whose caches you want to clear.
- In the Finder, choose Go → Go to Folder and type
~/Library/Caches. - Move the contents of the biggest subfolders to the Trash, never the Caches folder itself, then empty the Trash.
- Clear browser caches from the browser, and the caches of apps like Spotify from their own settings.
What a cache is, and why your Mac keeps one
A cache is a copy an app keeps so it does not have to fetch or work out the same thing twice: the images of websites you visit, songs you have streamed, the previews of your photos, packages a developer tool has downloaded. Keeping them makes the app faster. Clearing them costs nothing but a little speed the next time.
Most of them sit in one folder, Caches, inside the Library folder in your home folder, which the Finder hides. On my Mac it held 34 GB in 257 folders when I measured it for this post. Almost half was a single folder of test files from my own work, the kind of thing that ends up in Caches and is easy to forget. The rest was ordinary: Spotify 2.5 GB, the Homebrew package manager 2.3 GB, Google’s apps 1.8 GB, Python’s package installer 1.2 GB, and a long tail of small ones.
There is a second Caches folder at the top of the disk, /Library/Caches, for things the whole Mac shares. It is usually small, 19 MB on mine, and best left to macOS.
Find the caches that are worth clearing
Clearing everything is the blunt way, and it slows down every app you use for a while. The better way is to find the two or three folders that are actually big. Klarity, the Mac disk space analyzer I build, draws your Library as a map: every folder is a rectangle sized by the space it takes, so the big caches are the big shapes. Click Library in the sidebar, give Klarity access once if it asks, and double-click Caches.
Klarity also colours each rectangle by how long since it last changed, from blue for this month, through green, gold and orange, to red for three years or more. That matters here. A blue cache belongs to an app you use, and it will refill. A red one belongs to an app you have not opened in years, or have removed, and clearing it frees space for good.
View Klarity Disk on the Mac App Store
Klarity treats Caches as a routine place to clean. Most of your Library holds data apps need, so Klarity warns you before moving anything from it; Caches, along with Logs and Xcode’s Developer folder, is an exception and goes straight to the normal confirmation. A folder of 1 GB or more still needs a deliberate slide to confirm, and Klarity only ever moves things to the Trash, so you can put a folder back until you empty it.
How to clear the cache, app by app
Where an app has its own button for this, use it: the app knows what is safe to drop, and it will not trip over files while it is running.
- Safari. Choose Safari → Settings → Advanced and turn on Show features for web developers. Then choose Develop → Empty Caches. Your history and sign-ins stay.
- Chrome. Open Settings → Privacy and security → Delete browsing data. Tick only Cached images and files. Leave cookies unticked unless you want to be signed out of every website.
- Spotify and other streaming apps. Look in the app’s settings for a storage section with a clear-cache button. Songs you downloaded for offline listening are kept separately and will need downloading again if you remove them.
- Developer tools. Most have a command for it:
brew cleanupfor Homebrew,pip cache purgefor Python’s installer. Xcode is a story of its own: what Xcode leaves on your Mac.
For everything else, the Finder works:
- Quit the app whose cache you are clearing.
- In the Finder, choose Go → Go to Folder, type
~/Library/Cachesand press Return. - Open the app’s folder and move what is inside it to the Trash. Leave the Caches folder itself, and the app’s folder, in place.
- Empty the Trash. Until you do, the space is not free.
~/Library/Caches typed in. Press Return to open the folder.Then restart the Mac. If the disk is so full that apps misbehave, starting up once in Safe Mode clears certain system caches as well; macOS builds them again as needed.
What is not a cache
The Library folder holds plenty of folders that look like clutter and are not. Application Support, Containers, Group Containers, Preferences and Keychains hold your apps’ real data and settings: mail, notes, passwords, saved games. Clearing them is not like clearing a cache. Nothing rebuilds it. If a folder is not inside Caches and you cannot say what made it, leave it.
Why the space comes back
Clearing caches is the most satisfying kind of cleaning and the least lasting. A browser refills its cache in a day of browsing; a music app refills it as you listen. That is the cache doing its job. So the caches worth clearing are the big ones from apps you no longer use, which never come back, and the occasional runaway one that has grown far past what it needs. Clearing the rest every week, by hand or with a cleaner app, buys you nothing but slower apps.
Caches are one part of the grey System Data bar in Storage settings, and they are part of what macOS calls purgeable space. How to clean up Mac storage puts all the safe steps in order.
See your disk. Clearly.
$6.99 one-time · macOS 14.6+ · Apple Silicon & Intel
Download on Mac App StoreQuestions people ask
How do I clear the cache on a Mac?
Quit the apps you want to clean, open the Finder, choose Go, Go to Folder, and type ~/Library/Caches. Move the contents of the largest subfolders to the Trash, not the Caches folder itself, then empty the Trash. Clear browser caches from the browser’s own settings, and restart the Mac afterwards.
Is it safe to delete cache files on a Mac?
The contents of ~/Library/Caches, yes: apps rebuild what they need. Quit an app before you clear its cache, expect it to be slower the first time it opens, and leave the Caches folder itself in place. Folders like Application Support, Containers and Preferences are not caches and should stay.
Will clearing the cache free space for good?
No. Caches grow back as you use your apps, because keeping copies is how apps stay fast. Clearing them gives you room now; it is most worth it for the caches of apps you no longer use, which never refill.
How do I clear the Safari cache on a Mac?
In Safari, choose Settings, then Advanced, and turn on Show features for web developers. Then choose Develop, Empty Caches. That clears the cache without signing you out of websites or removing your history.
How do I clear the Chrome cache on a Mac?
In Chrome, open Settings, then Privacy and security, then Delete browsing data. Tick only Cached images and files, choose a time range, and click Delete data. Leave cookies unticked if you want to stay signed in to websites.
What is the difference between ~/Library/Caches and /Library/Caches?
~/Library/Caches, in your home folder, holds the caches of the apps you use and is usually the big one. /Library/Caches, at the top of the disk, holds caches shared by the whole Mac and is usually small: 19 MB on my Mac. Leave it to macOS.
Does restarting a Mac clear the cache?
It clears some temporary files, not the caches in your Library. Starting up once in Safe Mode clears certain system caches as well, which macOS then builds again as needed.
Should I use a cleaner app to clear caches automatically?
There is little to gain. A cache cleared every day is rebuilt every day, which costs time and battery and frees nothing for long. Look at what is big, clear the caches of apps you no longer use, and leave the rest.
— Mukul