Caches are temporary files that macOS and applications store on your disk to speed up repeated operations. Instead of fetching data from the internet or recalculating something from scratch, your Mac reads the cached copy. This is great for performance, but over months and years these cached files accumulate to surprising sizes.

On a typical Mac that has been in use for a year or more, caches can account for 3 to 10 GB of storage. For heavy browser users or developers, the number can be even higher. Clearing them is one of the safest and most effective ways to free up disk space on your Mac.

What Are Caches and Why Clear Them?

There are three main categories of caches on macOS:

Clearing caches is safe because they are, by definition, temporary data that can be recreated. The worst that happens is that apps may load slightly slower the first time they rebuild their caches. No personal data, settings, or documents are stored in cache directories.

Clear User Application Caches

User caches are the biggest opportunity. They are located in ~/Library/Caches and are safe to manage without admin privileges.

Step 1: Check Total Size

$ du -sh ~/Library/Caches
6.2G /Users/you/Library/Caches

Step 2: Identify Largest Cache Folders

$ du -sh ~/Library/Caches/* 2>/dev/null | sort -rh | head -15
1.8G /Users/you/Library/Caches/com.spotify.client
980M /Users/you/Library/Caches/com.tinyspeck.slackmacgap
640M /Users/you/Library/Caches/com.apple.Safari
420M /Users/you/Library/Caches/com.google.Chrome
280M /Users/you/Library/Caches/com.microsoft.VSCode
190M /Users/you/Library/Caches/com.apple.dt.Xcode

Step 3: Clear Individual Caches

You can delete the contents of individual cache folders. It is better to delete the contents of the folder rather than the folder itself, since some apps expect their cache directory to exist:

# Clear Spotify cache
$ rm -rf ~/Library/Caches/com.spotify.client/Data/*

# Clear Slack cache
$ rm -rf ~/Library/Caches/com.tinyspeck.slackmacgap/*

Using Finder

If you prefer a visual approach:

  1. Open Finder
  2. Press Shift + Cmd + G to open "Go to Folder"
  3. Type ~/Library/Caches and press Enter
  4. Sort by size (View > List, then click Size column)
  5. Open large folders and delete their contents
Before You Clear

Quit the application before clearing its cache. Deleting cache files while an app is running can cause unexpected behavior or crashes.

Common Large Cache Offenders

Clear System Caches

System caches are stored in /Library/Caches (note: no tilde, this is the system-level Library). These require admin privileges and should be handled more carefully.

$ sudo du -sh /Library/Caches/* 2>/dev/null | sort -rh | head -10
890M /Library/Caches/com.apple.iconservices.store
340M /Library/Caches/com.apple.amsengagementd
120M /Library/Caches/com.apple.spotlight

System caches are generally smaller than user caches and are more aggressively managed by macOS. The safest approach is to leave most system caches alone, or use a trusted cleanup tool that knows which ones are safe to remove.

Important

Never modify anything in /System/Library/Caches. This directory is protected by System Integrity Protection (SIP) and is essential for macOS to function. Only /Library/Caches and ~/Library/Caches are safe to manage manually.

Clear Browser Caches

Browser caches are often the largest single category for non-developers. Each browser stores cached web pages, images, scripts, and other assets independently.

Browser Cache Location Typical Size
Safari ~/Library/Caches/com.apple.Safari 200 MB - 2 GB
Chrome ~/Library/Caches/Google/Chrome 300 MB - 3 GB
Firefox ~/Library/Caches/Firefox/Profiles 200 MB - 1.5 GB
Arc ~/Library/Caches/company.thebrowser.Browser 200 MB - 2 GB
Brave ~/Library/Caches/BraveSoftware/Brave-Browser 200 MB - 2 GB
Edge ~/Library/Caches/com.microsoft.edgemac 200 MB - 2 GB

Safari

Open Safari, go to Safari > Settings > Privacy > Manage Website Data, then click Remove All. Alternatively, enable Develop menu (Settings > Advanced > Show features for web developers) and use Develop > Empty Caches.

Chrome

Navigate to chrome://settings/clearBrowserData in the address bar. Select "Cached images and files" under the Advanced tab, choose "All time" for the time range, and click "Clear data."

Chrome also stores additional caches in Application Support that are not cleared by the built-in tool:

$ du -sh ~/Library/Application\ Support/Google/Chrome/Default/Service\ Worker 2>/dev/null
340M .../Service Worker

$ du -sh ~/Library/Application\ Support/Google/Chrome/Default/GPUCache 2>/dev/null
45M .../GPUCache

Firefox

Open Firefox, press Cmd + Shift + Delete, select "Cache" and "Offline website data," choose "Everything" for the time range, and click "Clear Now."

Arc, Brave, Edge, and Other Chromium Browsers

All Chromium-based browsers follow the same pattern as Chrome. Access their clear data settings via the browser's settings menu. They also store GPU caches and service worker data in Application Support directories.

Multiple Browsers?

If you use more than one browser, you may have duplicate caches for the same websites. Clearing caches across all your browsers can recover several GB combined.

Flush DNS Cache

The DNS cache stores recent domain name lookups. Flushing it does not recover meaningful storage space, but it can fix issues with websites not loading correctly or resolving to outdated IP addresses.

$ sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

This is particularly useful after changing DNS servers, connecting to a VPN, or experiencing intermittent website loading failures.

Clear Font Cache

If you experience font rendering issues (wrong fonts displaying, garbled text, or font-related crashes), clearing the font cache can help:

$ sudo atsutil databases -remove
# Restart your Mac after running this command

macOS will rebuild the font cache on restart. This takes a few extra seconds during boot but resolves most font-related display issues.

What Happens After Clearing Caches?

After clearing caches, you may notice a few temporary changes:

None of these side effects are permanent. Caches rebuild themselves naturally through normal usage.

Which Caches Are Safe to Delete?

When in doubt, a targeted approach is best: identify the largest cache folders, verify they belong to an application you recognize, and delete their contents while the app is not running.

For a broader look at freeing up disk space beyond just caches, see our complete guide to freeing up space on Mac.

Clear All Caches Safely

DeepClean scans 7 browser cache locations and hundreds of app-specific cache directories. It identifies what is safe to remove and shows you exactly how much space you will recover before you delete anything.

Try DeepClean