If you notice that your Mac has started to slow down and lacks free space, it may be time to clear cached files. If left unnoticed, they quickly pile up and consume a lot of storage. But what are cache files, where are they located, and how to delete cache on Mac? Wonder no more; in this article, we answer all of these questions and even more.

How to clear cache on Mac

You may be wondering where most cache files are stored. There are several such locations on your Mac. The first one is the folder storing application caches. If you use resource-intensive apps, such as Photoshop, its cache folder may occupy up to several gigabytes of space. Another location is each browser you use. The smallest space-eater is your system cache. 

Now, we'll show you how to get rid of cache files — either automatically or manually.

1. How to clear MacBook cache automatically

Potential space reclaimed: up to 70%

As we've mentioned, cache files are essential for the correct functioning of apps and the system. Because they pile up, though, deleting them may be a good idea, and there is a safe way to do it — by using CleanMyMac.

This Apple notarized app effortlessly removes outdated cache as well as temporary files, documents versions, and more. Once it completes the very first scan, you'll be able to enjoy more disk space, better Mac performance, and higher speed. Here's how it works:

  1. Open CleanMyMac (free download here).
  2. Go to Cleanup in the sidebar.
  3. Click Scan and then Clean.
CleanMyMac - System junk scan complete

That's it. All cache files cleaned! CleanMyMac is compatible with all systems, including the latest macOS version.

If you want to remove the cache manually, we've also got some tips for you. 


2. How to clear browser cache on Mac?

Potential space reclaimed: up to 15%

Once you've gotten rid of system cache files, let's proceed with browser cache. If not deleted, they can pile up quickly and generate some privacy-related issues. The process depends on the browser you use. It's important to delete cache for all browsers you have installed on your Mac.

How to clear cache in Safari

Deleting cache files in Safari is not as straightforward as in other browsers. However, it's still not too complex if you follow the steps we outline. The steps vary for macOS Ventura and later and macOS Monterey and older.

macOS Ventura or later:

  1. Open Safari and go to Settings from the menu bar.
  2. Navigate to the Advanced tab and make sure that the box next to the "Show Develop menu in menu bar" option is selected. In macOS Sonoma and Sequoia, it is named "Show features for web developers".
  3. Quit Settings.
  4. Now, navigate to Develop > Empty Caches.

macOS Monterey or older: 

  1. Open Safari and go to Preferences > Advanced. 
  2. Enable "Show Develop menu in menu bar".
  3. Quit Preferences. 
  4. Click Develop from the menu bar > Empty caches.

Finally, restart the browser. Note that you'll have to enter your login info once again, as it will be removed along with the auto-fill details. Let's move on to the next browser. 

Did you know?

Sometimes, your browsers may misbehave because you experience issues with the network. One way to fix them is to flush the DNS cache, and here's an article on how to do it.

How to clear cache in Chrome

Clearing browser cache in Chrome is less tricky. Here's how:

  1. Open Chrome and paste the following in the search bar chrome://settings. Now, press Return.
  2. Navigate to the "Privacy and security" section and click "Delete browsing data" there. 
  3. From the list, select "Cached images and files".
  4. In "TIme range," choose "All time" and click "Delete data".

Let's move on to our last browser.

How to clear cache in Firefox

In Firefox, the process is somewhat similar to Chrome. Here's how to delete cache in Firefox manually:

  1. Open Firefox and paste about:preferences into the search bar.
  2. Navigate to the Privacy & Security section.
  3. Find Cookies and Site Data in the pane and click "Clear Data".
  4. Choose "Temporary cached files and pages" and click "Clear" to confirm.

So, we've removed all browser cache. Now, let's try to get rid of user cache on Mac.

Tip

Another way to speed up your browsers is to delete cookies, not only browser cache. Check out our guide on removing cookies to learn more.


3. How to clean system cache on Mac

Potential space reclaimed: Up to 10%

Let's start our cache-clearing journey by deleting system cache files — files built-in macOS system services generate for proper operation. To locate them, open the Finder, and from the Go menu, choose Go to Folder. Now, paste /Library/Caches and press Return. 

If you want to find out how much space it occupies, right-click the Caches folder and choose Get Info from the menu. You'll see the size of the folder in the info window:

To remove system cache files, browse through the com.apple folders you see and send files to the Trash. Note that only files can be deleted — keep the folders.

Tip

Clearing cache is one way to speed up your Mac. One more way to do it is to lower memory usage. To find out how to do it, check out this article on how to free up RAM on Mac.


4. How to empty user cache on Mac?

Potential space reclaimed: up to 70%

Did you know that the single-user cache folder may take gigabytes of space? On my Mac, it's almost 3 GB, and it's just one folder. So, it's a good idea to remove user cache to reclaim valuable space and speed up your Mac.

To clear your user cache manually, do the following:
  1. Open the Finder, and from the Go menu, select Go to Folder.
  2. Type in ~/Library/Caches and press Return.
  3. Optional step: Copy all the files to a different folder if something goes wrong.
  4. Make your way through each of the folders and clean out everything.
    Note: Delete only the files from the folders, and do not send the folders themselves to the Trash.

Don't forget to empty the Trash afterward. Just control-click on the Trash icon from the Dock and choose "Empty Trash." Now, restart your Mac, and it will create new cache.


5. How to remove application cache on Mac?

In the previous step, we've removed user cache. But, as we mentioned, apps also generate cache files, so you may delete them as well. Some users believe these files are needed; still, deleting them is absolutely safe. 

Some apps may create more cache than others, for instance, Spotify, Xcode, and Steam. But removing it is still a piece of cake. 

  1. You can get rid of the app cache on Mac by opening ~/Library/Caches from the Go menu of the Finder like we did before.
  2. There, you'll find different app cache — for example, com.spotify.client stores Spotify cache. 
  3. Clear up these folders like we did with user cache: press Command-A to highlight all files, then right-click them and move to Trash.

What is cache and what are the main cache types?

Cache is a small file storing temporary data. When you open a web browser or an app, this information is then retrieved instead of being downloaded to make the work or this app or browser faster and address your request within seconds.

There are roughly three main types of caches on your Mac:

  • System cache. Mac's system cache is a memory bank that connects the main memory and the processor. This allows the CPU, or central processing unit, to retrieve data that your device uses to execute instructions quickly and without the need to load it bit by bit.
  • Browser cache. No matter what web browser you use, they all have their own cache. Those caches store files and their elements like HTML, CSS, JavaScript, cookies, or images that your browser uses to display websites. For instance, product page images, login information, shopping cart content, etc.
  • User cache (including app cache). Just like a web browser, the app maintains cache of its own. It helps quickly reload images, search history, videos, and other needed information to speed up and improve the performance and efficiency of the apps.

Is it safe to remove cache?

Generally, it is absolutely safe to remove cache because the apps you install or browsers you use will create new cache files when needed. However, caution is necessary when removing the cache generated by the system — your macOS. A good rule of thumb is to delete individual files but preserve the folders in which they were created.

Can I delete all my cache on Mac?

The easy answer is no. The thing is that your Mac accesses some type of cache files all the time. A safer option is to remove cache you don't need, like browser cache for all browsers you have on your Mac or app cache for apps you don't actively use. As for the system cache, it should be cleared only when you're trying to fix some issue and remove only files, not the folders. 

But what happens if I delete all cache files on Mac? It may lead to system failure or app crashes so that you will need to reinstall apps or even the entire macOS to fix it.


Frequently asked questions

Is cache necessary?

It is because it helps make the user experience more enjoyable. It happens because this temporary data makes the work of your devices, browsers, and apps faster. It can accumulate over time and cause issues, though.

Is there a shortcut to empty cache on Mac?

There is a shortcut to delete browser cache. In Safari, it is Option + Command + E. If it doesn't work for your Mac, check what it is by clicking Develop in the menu bar with Safari open and looking next to Empty Caches. For Chrome and Firefox, it is Command + Shift + Delete. It should bring up the Clear data window.

Do I need admin permissions to remove cache from Mac?

Yes and no. To delete system cache, you may need to have admin permissions. But to remove app cache and browser cache, you won't need them.