How to clear the cache on a Mac (apps, system, browsers)
To clear app caches on a Mac, quit your apps, open Finder, choose Go › Go to Folder, type ~/Library/Caches and delete the folders inside it. Apps make new caches when they need them. Browsers keep their own cache, which you clear in each browser's settings. Clearing caches frees space. It rarely makes a Mac faster.
App caches (your user account)
- Quit the apps you have open.
- In Finder, choose Go › Go to Folder (Shift-Command-G) and type
~/Library/Caches. - Select the folders inside and move them to the Trash. Do not delete the Caches folder itself.
- Restart your Mac, then empty the Trash.
The first launch of each app after this is a little slower while it makes a new cache.
System caches
Shared caches are in /Library/Caches. They are usually small, and you need an administrator password to remove them. Leave folders that start with com.apple.
Browser caches
- Safari: Safari › Settings › Advanced, turn on Show features for web developers, then choose Develop › Empty Caches.
- Chrome: Settings › Privacy and security › Delete browsing data, select Cached images and files only.
- Firefox: Settings › Privacy & Security › Cookies and Site Data › Clear Data, select Cached Web Content only.
Clear only the cache if you want to stay signed in to websites. Cookies are a separate item.
DNS cache
If websites do not load after a network change, clear the DNS cache in Terminal:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
Will it make my Mac faster?
Usually not. Caches exist to make apps faster. Clear them to free space, or to fix one app that behaves badly after an update.
With SpeedyMac
SpeedyMac finds app caches and logs, skips the caches of apps that are open, and leaves Apple's own caches alone. You see the size of each item before you remove it, and everything goes to the Trash first. The free version cleans user caches and logs. System caches are part of Pro.
Questions
Is it safe to delete ~/Library/Caches on a Mac?
Deleting the folders inside it is safe when the apps are closed. Apps make new caches when they need them. Do not delete the Caches folder itself.
Does clearing the cache delete my passwords?
No. App caches and the browser cache do not hold passwords. Browser cookies keep you signed in to websites, so clear only the cache if you want to stay signed in.
Last updated 10 November 2026. More guides.