macOSMedium

How to Clear Cache on Mac: A Detailed Guide to macOS

This guide will help you safely clear cache on macOS to free up disk space and improve system performance. We cover methods using both Finder and Terminal, as well as browser cache cleanup.

Updated at February 15, 2026
5-10 minutes
Easy
FixPedia Team
Применимо к:macOS 12 MontereymacOS 13 VenturamacOS 14 Sonoma

Introduction / Why This Is Needed

Cache (cache files) are temporary data that macOS and applications save to speed up operations. Over time, the cache can occupy gigabytes of space and slow down the system. Clearing the cache helps:

  • Free up disk space, especially on models with small SSDs.
  • Speed up the system and applications if the cache is corrupted or too large.
  • Resolve issues with certain applications (e.g., browsers) that behave strangely due to outdated cache.

In this guide, you will learn how to safely clear the cache on macOS using built-in tools.

Requirements / Preparation

Before you begin, make sure:

  • You have administrator account access (deleting system caches may require a password).
  • A backup is not mandatory but recommended (via Time Machine) in case important files are accidentally deleted.
  • You have an up-to-date version of macOS (this guide is relevant for macOS 12 Monterey and newer).
  • Close all essential applications, especially those actively using the disk (e.g., video editors).

Step-by-Step Instructions

We will cover three main ways to clear the cache: via Finder (user caches), via Terminal (for advanced users), and clearing browser caches.

Method 1: Clearing User Cache Files via Finder

This is the simplest and safest method. User caches are stored in the ~/Library/Caches folder.

  1. Open Finder.
  2. From the menu, select Go → Go to Folder… (or press Cmd+Shift+G).
  3. Enter ~/Library/Caches and click Go.
  4. You will see a list of folders, each corresponding to an application or service.
  5. Select all contents (Cmd+A) and move them to the Trash.
  6. Empty the Trash (right-click → Empty Trash).

⚠️ Important: Do not delete the Caches folder itself, only its contents. Also, avoid folders with com.apple in their names—they may contain system caches that require a password.

Method 2: Clearing System Cache Files (Requires Password)

System caches are stored in /Library/Caches. Deleting them requires administrator privileges.

  1. Open Finder and navigate to /Library/Caches (via Go → Go to Folder…).
  2. Enter /Library/Caches and click Go.
  3. Select all files and folders inside (except the Caches folder itself) and move them to the Trash.
  4. When prompted, enter your administrator password.
  5. Empty the Trash.

💡 Tip: If you don't want to delete system caches manually, skip this step—user caches are usually sufficient for significant space recovery.

Method 3: Clearing Browser Cache

Browsers accumulate large amounts of cache (images, scripts). Clearing it will speed them up and fix site display issues.

Safari

  1. Open Safari.
  2. From the menu, select Safari → Settings… (or Cmd+,).
  3. Go to the Advanced tab.
  4. Click the button Remove all website data (or Clear Cache in older versions).
  5. Confirm deletion.

Google Chrome

  1. Open Chrome.
  2. From the menu, select Chrome → Clear Browsing Data… (or Cmd+Shift+Delete).
  3. In the window that appears, set the time range to All time.
  4. Check Cached images and files (and others if needed).
  5. Click Clear data.

Mozilla Firefox

  1. Open Firefox.
  2. From the menu, select Firefox → Settings (or about:preferences).
  3. In the Privacy & Security section, click Clear History….
  4. Select Cache and click OK.

Method 4: Clearing Cache via Terminal (For Advanced Users)

If you prefer the command line, you can use Terminal.

  1. Open Terminal (via Launchpad or Finder → Utilities).
  2. To clear user caches, run:
    rm -rf ~/Library/Caches/*
    
    This command recursively deletes all files and folders inside Caches.
  3. To clear Safari cache (if you use it), you can also delete:
    rm -rf ~/Library/Caches/com.apple.Safari
    
  4. Enter your administrator password if prompted (for system caches).

⚠️ Caution: The rm -rf command permanently deletes files. Ensure the path is correct. Do not run rm -rf / or similar.

Method 5: Using Third-Party Utilities (Optional)

Applications like CleanMyMac X, OnyX, or DaisyDisk simplify cache clearing and other optimizations. They provide safe interfaces and can remove only unnecessary files. However, these utilities are not free (except OnyX). If you don't want to delete files manually, this option may be convenient.

💡 Tip: When using third-party utilities, carefully review what they delete to avoid losing important data.

Verifying the Result

After clearing the cache, check that disk space has been freed:

  1. Open Disk Utility (via Launchpad or Finder → Utilities).
  2. Go to the Storage tab.
  3. Wait for the calculation and see how much space the Caches section occupied (it should decrease significantly).

Also, check system performance: applications should launch faster, browsers should load pages quicker (the first launch after clearing may be slightly slower as the cache rebuilds).

Potential Issues

Access Error When Deleting System Caches

If you see an "Operation not permitted" error when trying to delete files in /Library/Caches, ensure you are logged in with an administrator account and enter the password when prompted.

Deleting Important Files

Although cache files are usually non-critical, some applications store settings or temporary data there that might be needed. If an application behaves incorrectly after clearing, try restarting it or restoring files from the Trash (if you haven't emptied it).

Cache Not Fully Deleted

Some applications (e.g., Adobe Creative Cloud) store cache in other locations (e.g., ~/Library/Application Support). Complete cleanup may require manually deleting cache from these folders. Refer to the specific application's documentation.

Restart Doesn't Help

If the system still runs slowly after clearing the cache, the problem may lie elsewhere (e.g., insufficient RAM, disk fragmentation, too many startup items). Use other macOS optimization guides.

F.A.Q.

Is it safe to delete cache on macOS?
Do I need to restart my Mac after clearing cache?
How often should I clear cache on my Mac?
Will clearing cache delete my personal data?

Hints

Open the user cache folder
Delete the contents of the cache folders
Clear browser cache
Restart your Mac
FixPedia

Free encyclopedia for fixing errors. Step-by-step guides for Windows, Linux, macOS and more.

© 2026 FixPedia. All materials are available for free.

Made with for the community