Is It Safe to Delete ~/Library/Caches on a Mac?
Most of it comes back. The part that does not is usually a folder named after an app you already removed.
Xoá cache trên MacBook: thư mục nào nên dọn, thư mục nào để yên
“Delete your caches” is some of the most common advice on a Mac that feels full. It is also easy to overdo. ~/Library/Caches is a real folder, every user account has one, and a lot of what is inside it is working as designed: apps keep thumbnails, downloads and indexes there so the next launch is faster.
The useful question is not “is it safe?” in the abstract. Most of these files can be rebuilt. The useful question is “who still reads this, and will it just come back?” Once you ask that, the folder splits cleanly: leftovers of apps you deleted, caches of apps you still use, package-manager caches that have their own command, and, next door, two folders that look similar and are not caches at all.
1. One folder per app, inside ~/Library/Caches
Difficulty1 of 5
The Library folder is hidden in Finder. Go › Go to Folder and type ~/Library/Caches to open it. You will see one folder per app, often named after a bundle identifier such as com.apple.Safari or the name of a tool you installed years ago.
A read-only look at the largest ones, biggest last:
du -hd1 ~/Library/Caches 2>/dev/null | sort -h | tail -15Storage settings has no category for these folders, so they usually count as System Data. That is why a “full” Mac can still look tidy on the desktop.
What you are looking for first are names you do not recognise, or names of apps you dragged to the Trash months ago. Dragging an app to the Trash removes the app, not its cache. Those orphaned folders are the safe, worthwhile ones: nothing will read them again. Move them to the Trash. If something unexpected happens, they are still there until you empty it.
The cache of an app you already deleted is the one worth your time.
2. The cache of an app you still use will grow back
Difficulty2 of 5
This is the part the advice usually skips. If Safari, a photo tool, or a code editor is still on the Mac, its cache is not waste. It is why the app opens quickly and why previews appear at once. Clear it and the app quietly builds it again, because its cause is still alive.
There are two fair reasons to clear a live cache anyway: the app is misbehaving and the developer has suggested it, or the folder has grown out of all proportion to how you use the app. In both cases, quit the app fully (Command-Q) before you move its cache folder to the Trash.
Do not make emptying ~/Library/Caches a weekly ritual. You will spend the week watching the space disappear again, and the apps will be slower while they rebuild. Apple’s own caches, whose folder names often start with com.apple., are best left alone unless you have a specific reason.
A cache of an app you still use is doing its job. Clearing it is usually temporary.
3. Package managers already know how to clean up
Difficulty2 of 5
Homebrew, pip, npm and their cousins keep their own caches, sometimes under ~/Library/Caches, sometimes under ~/.cache. The right tool to tidy them is the tool itself, not Finder.
With Homebrew, see where the cache lives, then ask what would be removed. Both of these only read:
brew --cachebrew cleanup -nIf the list looks right, brew cleanup does the work. Installed formulae stay; old versions and cached downloads go. Python’s pip cache purge and npm’s npm cache clean --force play the same role. The packages themselves are not touched, and the cache is filled again the next time you install something.
There is a longer look at JavaScript project folders and package caches in node_modules and package caches on a Mac.
Use the package manager’s own cleanup command. Ask it what it would remove, first.
4. The folders next door are not caches
Difficulty5 of 5
Two large neighbours of Caches in ~/Library are often swept into the same advice, and that is the expensive mistake in this guide.
Application Support is where apps keep databases, settings, accounts and history. Containers is the sandbox home of Mac App Store apps, including their real data. Clearing a folder in either place for an app you still use can sign you out, drop settings, or delete data that does not come back. They do not rebuild the way a cache does.
If an app in there is genuinely heavy, look for a cleanup option inside the app first. A folder named after an app you have fully removed can be treated like an orphaned cache: look at it, then move it to the Trash if you are sure.
Caches rebuild. Application Support and Containers do not. Do not treat them as the same thing.
Conclusions
~/Library/Caches is safe to tidy, not safe to empty on a schedule. The two questions sort it:
- Is its cause still alive? If the app is still on the Mac, the cache is working. If the app is gone, the folder is leftover.
- If I remove it, does it come back? Caches: yes, often within days. Application Support, Containers, and anything that was really data: no.
Clear the caches nobody reads. Leave the ones that will just grow back, and never treat app data as a cache.
If you would rather not inspect each folder by hand, Haikos Clean lists the large folders in ~/Library/Caches, skips Apple’s own caches, never ticks them for you, and moves only what you pick to the Trash first. For the wider picture, start with Your Mac Looks Clean. Until You Ask One Question.
Questions people ask
Is it safe to delete everything in ~/Library/Caches?
It is usually safe in the sense that apps can rebuild those files, but it is a poor way to free space for long. Caches of apps you still use come back within a few days, and in the meantime those apps may launch more slowly. The part worth clearing is the folder of an app you have already removed, because nothing will read it again. Quit an app before you move its cache to the Trash, and do not touch Apple’s own caches unless you know why you are doing it.
Why does my Mac fill up again after I clear caches?
Because the cause is still alive. A cache exists so the next launch, the next thumbnail, or the next download is faster. If the app is still installed and you still use it, it will write the cache again. That is the cache doing its job, not a leak. The way to keep the space is to clear folders whose apps are gone, and to use each tool’s own cleanup command for package caches, rather than emptying the whole Caches folder on a schedule.
What is the difference between Caches and Application Support?
Caches, at ~/Library/Caches, are files an app can make again. Application Support, at ~/Library/Application Support, is where apps keep databases, settings, accounts and history. Containers, at ~/Library/Containers, is the sandbox home of Mac App Store apps, including their real data. Clearing a cache is usually temporary. Clearing Application Support or Containers for an app you still use can sign you out, drop settings, or delete data that does not come back.
Sources
Paths and commands were checked against these pages on the date above.