Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Clear Cache on MacBook Pro

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Clearing the cache on your MacBook Pro can free up storage space, fix slow performance, and resolve issues with apps or websites that are loading outdated content. This guide covers the main types of caches—system, user, and browser—and shows you exactly where to find them. You don't need any special tools, just a few minutes and your admin password for some steps.

What You'll Need

  • Your MacBook Pro (any model running macOS)
  • An administrator account (for some system-level cache clearing)
  • About 10–15 minutes of time
  • A backup (optional but recommended, especially if you're deleting system caches)

Step-by-Step

1. Clear the User Cache Folder

  1. Open Finder.
  2. In the menu bar, click Go > Go to Folder (or press Shift + Command + G).
  3. Type ~/Library/Caches and press Return. This opens the Caches folder for your user account.
  4. Inside, you'll see folders for each app that stores cache files. To clear a specific app's cache, open that folder and delete its contents (but keep the folder itself). For example, to clear Safari's cache, open the com.apple.Safari folder and delete the files inside.
  5. To clear everything, select all items (Command + A) and drag them to the Trash. You'll be prompted for your password. Note: some files may be in use and won't delete—that's fine.
  6. Empty the Trash by right-clicking the Trash icon in the Dock and selecting Empty Trash.

2. Clear the System Cache (with caution)

  1. In Finder, press Shift + Command + G again.
  2. Type /Library/Caches (without the tilde) and press Return. This is the system-wide cache folder.
  3. You'll likely see folders like com.apple.audio, com.apple.softwareupdate, etc. Do not delete the com.apple.softwareupdate folder—that can cause issues with future updates.
  4. For most users, it's safer to only clear caches for specific apps you're having trouble with, rather than deleting everything here. If you want to proceed, select the contents (Command + A) and drag to Trash, but be aware this may slow down your Mac temporarily as it rebuilds caches.
  5. Empty the Trash as before.

3. Clear Browser Caches

Each browser has its own cache. Here's how to clear the most common ones:

  • Safari: Open Safari, go to Safari > Settings (or Preferences) > Privacy tab, then click Manage Website Data and select Remove All.
  • Chrome: Open Chrome, click the three-dot menu > More tools > Clear browsing data. Choose a time range (e.g., "All time"), check "Cached images and files", and click Clear data.
  • Firefox: Open Firefox, click the hamburger menu > Settings > Privacy & Security panel. Scroll to Cookies and Site Data and click Clear Data, then check "Cached Web Content" and click Clear.

4. Clear DNS Cache (for network issues)

  1. Open Terminal (found in Applications > Utilities).
  2. Type the following command and press Return:
    sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
  3. Enter your admin password when prompted (you won't see characters as you type).
  4. This clears the DNS cache, which can help if websites aren't loading properly.

5. Restart Your Mac

After clearing caches, restart your MacBook Pro to ensure all changes take effect and to clear any temporary system files still in memory.

Common Mistakes

  • Deleting the entire cache folder instead of its contents. Always keep the folder itself, as many apps expect it to exist.
  • Clearing system caches unnecessarily. This can slow down your Mac temporarily and may cause some apps to behave oddly until they rebuild caches.
  • Not emptying the Trash. Files in the Trash still take up space until you empty it.
  • Using third-party "cleaner" apps that may delete important files or cause instability. Manual clearing is safer.

Tips

  • Before clearing caches, consider restarting your Mac first—many performance issues are resolved with a simple reboot.
  • If you're low on storage, use About This Mac > Storage > Manage to see what's taking up space. Caches are often a small part of the total.
  • Some apps (like Adobe Creative Cloud) store large caches in ~/Library/Caches. Clearing those can free up significant space, but be prepared for the app to re-download or rebuild them.
  • If you're clearing caches to fix a specific app issue, quit that app first, then clear its cache, then reopen it.

Troubleshooting

If clearing caches didn't help or caused new problems, try these steps in order:

  1. Restart your Mac again—this often resolves any temporary glitches.
  2. Check if the issue persists. If an app is still slow or crashing, try uninstalling and reinstalling that app (this will also reset its cache).
  3. Run First Aid on your disk: go to Applications > Utilities > Disk Utility, select your startup disk, and click First Aid. This checks for disk errors but doesn't delete data.
  4. If you deleted a system cache that caused problems, you can often force a rebuild by restarting your Mac. macOS will recreate essential caches automatically.
  5. If you're still having issues, try resetting the NVRAM (on Intel Macs) by shutting down, then holding Option + Command + P + R for 20 seconds during startup. On Apple Silicon Macs, just restart—NVRAM reset isn't needed.
  6. As a last resort, you can use Time Machine to restore files you accidentally deleted, but only if you backed up before clearing.

Frequently Asked Questions

Is it safe to clear all caches on my MacBook Pro?

Generally yes, but you may notice apps take longer to open the first time after clearing. Avoid deleting system caches like com.apple.softwareupdate unless you know what you're doing.

How often should I clear the cache?

Only when you're experiencing issues like slow performance, low storage, or a specific app misbehaving. There's no need to do it regularly—macOS manages caches automatically.

Will clearing cache delete my passwords or bookmarks?

No. Caches are temporary files. Passwords and bookmarks are stored separately in your browser's profile and are not affected by clearing cache.

Why does my MacBook Pro still show low storage after clearing cache?

Caches are often small compared to other files like photos, videos, and applications. Use the Storage Management tool (About This Mac > Storage > Manage) to see what's actually taking up space.

Can I clear cache using Terminal commands?

Yes, you can use commands like rm -rf ~/Library/Caches/* in Terminal, but it's riskier because you might delete something important. The Finder method is safer for most users.

Do I need to restart after clearing cache?

It's recommended, but not always required. A restart ensures all processes reload with the cleared cache and can help fix any lingering issues.