How to Delete Cache on a Mac: Step-by-Step Guide
In this article
Clearing your Mac's cache can free up storage space, fix app glitches, and speed up your system. Caches are temporary files that apps and the system use to load data faster, but they can accumulate and become corrupted. This guide covers how to safely delete user, system, and browser caches on macOS. You don't need any special tools—just a few clicks in Finder and your browser settings.
What You'll Need
- An administrator account on your Mac (for clearing system caches).
- Time to restart your Mac after clearing caches.
- Optional: a backup (Time Machine or other) in case anything goes wrong.
Step-by-Step
1. Clear User Cache Files (Safest Option)
- Open Finder.
- In the menu bar, click Go and select Go to Folder (or press Shift + Command + G).
- Type
~/Library/Cachesand press Enter. This opens your user's cache folder. - You'll see a list of folders and files. To remove everything, press Command + A to select all, then drag them to the Trash. Alternatively, you can go inside specific folders (like
com.apple.Safari) and delete only their contents. - Empty the Trash by right-clicking the Trash icon in the Dock and selecting Empty Trash.
2. Clear System Cache Files (Requires Admin)
- Open Finder and press Shift + Command + G again.
- Type
/Library/Cachesand press Enter. This is the system-wide cache folder. - You may need to enter your administrator password to access it.
- Select all items (Command + A) and drag to Trash. Be careful: some system caches may be in use; if a file is locked or gives an error, skip it.
- Empty the Trash.
3. Clear Browser Cache (Safari, Chrome, Firefox)
Safari:
- Open Safari.
- In the menu bar, click Safari → Settings (or Preferences in older versions).
- Go to the Advanced tab and check the box at the bottom that says "Show features for web developers".
- Close Settings. Now you'll see a new Develop menu in the menu bar.
- Click Develop → Empty Caches.
Chrome:
- Open Chrome.
- Click the three-dot menu (top right) → More tools → Clear browsing data.
- In the pop-up, set the time range to All time.
- Check Cached images and files (you can also clear other data if desired).
- Click Clear data.
Firefox:
- Open Firefox.
- Click the hamburger menu (top right) → Settings (or Preferences).
- Go to Privacy & Security.
- Under Cookies and Site Data, click Clear Data.
- Check Cached Web Content and click Clear.
4. Restart Your Mac
- After clearing caches, restart your Mac (Apple menu → Restart). This ensures the system rebuilds caches cleanly.
Common Mistakes
- Deleting all caches blindly: Some caches are essential for apps to function. Deleting them may cause apps to slow down temporarily or lose preferences. It's safer to delete only the contents of specific app folders.
- Using terminal commands without knowing what they do: Commands like
sudo rm -rfcan delete system files if mistyped. Stick to Finder unless you're experienced. - Forgetting to empty the Trash: Files in Trash still take up space until emptied.
- Not closing apps before clearing: If an app is running, its cache files may be in use, and deleting them could cause errors. Close all apps first.
Tips
- Use the "Go to Folder" shortcut: It's faster than navigating through hidden Library folders.
- Clear caches periodically: Doing this once a month can help maintain performance.
- Use third-party tools cautiously: Apps like CleanMyMac can automate the process, but they may delete more than needed. Always review what they'll remove.
- Keep an eye on storage: If you're low on space, caches are a good place to start cleaning, but also check Downloads and Trash.
Troubleshooting
- If you get a "file in use" error: Close all apps and try again. If the error persists, restart your Mac and then delete the file.
- If your Mac runs slower after clearing: This is normal—the system needs to rebuild caches. Give it a few hours or a day, and performance should improve.
- If an app crashes after cache deletion: Try reinstalling the app or resetting its preferences. In most cases, the app will recreate its cache automatically.
- If you can't access the system cache folder: Make sure you're logged in as an administrator. If you still can't, restart in Safe Mode (hold Shift during boot) and try again.
Frequently Asked Questions
Is it safe to delete all caches on my Mac?
Generally yes, but it's safer to delete only the contents of specific app folders rather than everything. System caches are essential; deleting them can cause temporary slowdowns.
Will clearing cache delete my passwords or bookmarks?
No, clearing cache does not affect passwords, bookmarks, or other personal data. Those are stored separately.
How often should I clear my Mac's cache?
There's no set rule, but once a month is a good frequency for most users. If you notice apps misbehaving or storage is low, clear it sooner.
Can I clear cache without using Finder?
Yes, you can use terminal commands like rm -rf ~/Library/Caches/*, but be careful—typos can cause data loss. Finder is safer for most users.
Why does my Mac have so much cache?
Apps and browsers create cache files to speed up loading times. Over time, these accumulate, especially if you use many apps or browse heavily.
Will clearing cache fix a slow Mac?
It can help if the slowness is due to corrupted or excessive cache files, but it's not a guaranteed fix. Other factors like low RAM or too many startup items also affect speed.