How to clear cache on Mac safely
Often, yes — for a cache that belongs to an app you have quit. A cache is a copy the app can build again. Removing it does not remove the app, your documents, or your bookmarks.
What a cache is
Apps store caches so they do not have to download or compute the same thing twice. Browsers keep page resources. Creative tools keep previews. Package managers keep downloaded archives. The files can be large. They are supposed to be disposable.
Apple’s Mac User Guide describes caches as one of the things that show up inside System Data, mixed with logs, temporary files, and app support. You will not find a single “Caches” row you can empty on the Storage screen. The files live in Library folders.
Two places hold most of what people mean:
~/Library/Cachesis in your home folder. These belong to your user account.- Some apps from the App Store keep a cache inside their container:
~/Library/Containers/<app>/Data/Library/Caches.
There are also caches under /Library/Caches and /System/Library/Caches. Leave /System alone. Be very slow about /Library/Caches. Those files can belong to every account on the Mac, or to a helper that is running.
A safe way to remove one app’s cache
- Quit the app. If it is a menu-bar app, quit it from its menu, not only by closing the window. An app that is open may recreate the cache immediately, or misbehave if the folder vanishes underneath it.
- In the Finder, hold the Option key and choose Go → Library.
- Open Caches.
- Find a folder whose name matches the app. Names often look like
com.vendor.app. If you do not recognize the name, leave the folder. - Leave anything that starts with
com.apple. - Move that one folder to the Trash.
- Open the app once and see that it still has your accounts, projects, and settings. Those should not have been in Caches.
- Empty the Trash only after that check. Until you empty it, the files still take space, and you can put them back from the Trash.
Do not move the Caches folder itself. Move one app folder inside it.
What not to remove when you mean “cache”
~/Library/Preferences. Those are settings. They are usually small.~/Library/Application Supportand~/Library/Containers. An app’s real data is often here. A container may have a Caches directory inside it — go into that directory; do not trash the container.- Safari, Chrome, or Firefox cookies and history, unless you mean to sign out of websites. Prefer the browser’s own control that clears cached files and leaves the rest. In Safari: Settings → Privacy → Manage Website Data…. In Google Chrome: Delete browsing data, and turn off every category except cached files.
- The Photos library, Mail’s mailboxes, or a developer project’s
node_modulesor build folder, unless you already know that project can rebuild them.
After you delete a cache
The app may be slower the first time you use it, because it is filling the cache again. That is the trade. You have not removed the app’s documents by removing its cache.
If the app misbehaves, and the folder is still in the Trash, put it back and empty nothing. If you already emptied the Trash, the app should rebuild the cache. You will not get the old cache files back.
Space on the disk changes when the Trash is emptied, not when the folder first moves there. For a wider pass that does not start in Library, see how to free up space.
Browser caches versus Library caches
Browsers keep their own controls for cached website files. Prefer those when your goal is “make Safari or Chrome leaner” without digging in Library. The Library steps above are better when a creative app, a chat app, or a package manager left a large folder you can name.
Developer tools sometimes keep download caches that look enormous (npm, Gradle, Xcode derived data). Treat those as project tooling, not as mystery System Data. If you still need the projects, ask whether the tool can prune its own cache before you move folders by hand. If you move a tool cache to the Trash, expect a longer next build or install while it refills.
For the Storage bar itself, remember that caches can be counted inside System Data. Removing a real cache may shrink that row later — or it may not move much if other remainder files dominate. Judge success by free space after Empty Trash, not by chasing the System Data number alone. See System Data for that distinction.
Sources:
- Apple, Change Storage settings on Mac (caches can fall under System Data)
FAQ
Is it safe to delete everything in ~/Library/Caches?
No. Remove one app folder you recognize after quitting that app. Leave com.apple folders alone.
Will clearing a cache delete my documents?
It should not. Documents and settings live outside Caches. Still check the app after you move the folder, before you empty the Trash.
Why didn’t free space go up yet?
Files in the Trash still use space until you choose Finder → Empty Trash.