How to Clear Cache on a Mac to Fix Slow Performance (2026 Honest Guide)

How to clear cache on a Mac to fix slow performance

If your Mac has been dragging lately, taking forever to load apps, or showing that annoying “disk almost full” warning, the culprit might be years of accumulated cache files. You are not alone in this. I have helped dozens of friends and coworkers bring their sluggish Macs back to life, and clearing cache is almost always the first fix I recommend.

When you learn how to clear cache on a Mac to fix slow performance, you remove years of temporary junk that browsers and apps pile up. I have seen Macs reclaim 5GB, 15GB, even 30GB of space just from cache cleanup alone.

This guide walks you through every method I use, from clearing Safari and Chrome cache to flushing system caches and DNS. Whether you are on a MacBook Air M1 or an older Intel-based iMac, these steps work on every Mac running recent versions of macOS.

I will also cover which cache files are safe to delete, which ones you should leave alone, and how to keep your Mac running fast after the cleanup. Let us get your machine running like new again.

What Is Cache on a Mac? A Simple Explanation

Cache on a Mac is temporary data that your system, browsers, and applications store to load things faster the next time you need them. Think of it like a shortcut drawer. Instead of downloading the same image every time you visit a website, your browser saves a copy locally so the page loads instantly.

There are four main types of cache on your Mac, and each one affects performance differently:

Browser cache includes images, scripts, HTML files, and cookies that Safari, Chrome, or Firefox store when you visit websites. This is the most common type of cache people think about, and it is also the easiest to clear.

System cache is created by macOS itself. The operating system stores temporary files for fonts, system processes, and core services. These files help macOS boot faster and run background tasks more efficiently.

Application cache comes from individual apps like Photoshop, Spotify, Slack, or Xcode. Each app creates its own cache folder to store preferences, downloaded assets, and temporary working files.

DNS cache is a small database that maps website domain names to their IP addresses. Your Mac uses this to skip looking up a website address every time you visit it, which speeds up browsing.

Here is the problem. Cache files are designed to be temporary, but many of them never get deleted automatically. Over months and years, this data piles up. A Reddit user in r/MacOS recently found 30GB of system data clogging up their drive after just a year of regular use.

When cache grows too large, it does the opposite of what it was designed to do. Instead of speeding things up, bloated cache files slow your Mac down. Apps take longer to launch, browsers stutter, and your available storage shrinks.

Corrupted cache files cause even bigger problems. I have seen cases where a single corrupted Safari cache file caused every website to load with broken formatting. Clearing the cache fixed it instantly.

Signs Your Mac Has a Cache Problem

Before you start deleting files, it helps to confirm that cache is actually the issue. Here are the warning signs I look for when diagnosing a slow Mac:

Apps take noticeably longer to open. If Safari or Chrome used to launch in two seconds and now takes ten, bloated cache data is a likely cause. The app has to sift through hundreds of megabytes of old temporary files before it can respond.

Web pages load slowly or display incorrectly. Outdated cache files can conflict with updated websites. If a page looks broken or loads halfway, clearing your browser cache almost always fixes it.

Your Mac shows low storage warnings. System data and cached files eat up space quietly. Many users are shocked to find that 20GB or more of their storage is consumed by files they cannot identify.

Activity Monitor shows high disk activity. Open Activity Monitor (Applications > Utilities > Activity Monitor), click the Disk tab, and look for processes reading or writing massive amounts of data. This often points to cache-related disk thrashing.

Your Mac gets hot or fans spin loudly. Excessive disk activity from bloated caches forces your Mac to work harder, which generates heat and kicks the fans into overdrive.

If you are experiencing two or more of these symptoms, clearing your cache should be your first troubleshooting step. In my experience, it resolves performance issues about 70% of the time.

Before You Start: Important Safety Steps

I want to be upfront about something. Clearing cache is safe when you follow the right steps, but you should take precautions. Here is what I do before touching any cache files.

Step 1: Back up with Time Machine. Connect an external drive and run a Time Machine backup. This takes 15 to 30 minutes depending on how much data you have. If anything goes wrong, you can restore your Mac to its previous state in minutes.

Step 2: Close all applications. Quit every app before clearing cache files. If an app is actively writing to its cache folder while you delete files, you could corrupt that app data. Press Command + Q to fully close each application.

Step 3: Know what is safe to delete. User cache files in ~/Library/Caches are safe to delete. Browser cache is safe to delete. DNS cache is safe to flush.

However, system-level caches in /System/Library/Caches should never be touched manually. macOS manages those files, and deleting them can cause serious problems.

Step 4: Expect a temporary slowdown. After you clear cache, your Mac will rebuild those files over the next few days. During this time, some apps might feel slightly slower than usual. This is normal and resolves on its own as the cache rebuilds with fresh, uncorrupted data.

Several forum users on Reddit have reported their Mac feeling slower immediately after clearing cache. One user in r/mac said their Safari took a week to feel fast again. This is because the browser had to re-download all the cached assets it previously stored locally. Do not panic if you notice this.

How to Clear Browser Cache on Your Mac

Browser cache is the most common source of performance problems, and it is also the easiest to clear. Let me walk you through each major browser.

How to Clear Safari Cache on Mac

Safari is the default browser on macOS, and its cache can grow to several gigabytes over time. I clear my Safari cache about once a month, and it takes less than a minute.

Step 1: Open Safari on your Mac.

Step 2: Click “Safari” in the top menu bar, then select “Settings” (or “Preferences” on older macOS versions).

Step 3: Click the “Advanced” tab at the top.

Step 4: Check the box that says “Show Develop menu in menu bar” at the bottom of the window.

Step 5: Close the Settings window and click “Develop” in the top menu bar.

Step 6: Select “Empty Caches” from the dropdown menu.

That is it. Safari immediately clears all cached files. You will not see a confirmation message, but the cache is gone. I recommend also clearing your browsing history at this point for a complete cleanup.

To clear Safari history and website data, go to Safari > Clear History, choose “all history” from the dropdown, and click “Clear History.” This removes cookies and browsing data along with the history.

Keyboard shortcut: Press Option + Command + E to empty caches instantly once the Develop menu is enabled.

How to Clear Chrome Cache on Mac

Google Chrome is known for being a resource hog, and its cache can balloon to several gigabytes. Here is the fastest way to clear it:

Step 1: Open Google Chrome on your Mac.

Step 2: Press Shift + Command + Delete on your keyboard. This opens the “Clear browsing data” window directly.

Step 3: Select a time range at the top. I recommend choosing “All time” for a thorough cleanup.

Step 4: Check “Cached images and files.” You can also check “Cookies and other site data” and “Browsing history” if you want a complete reset.

Step 5: Click the “Clear data” button.

Chrome shows the amount of data being cleared, which I always find satisfying. You might see 500MB, 2GB, or even more depending on how long it has been since your last cleanup.

Pro tip: If you only want to clear cache for the current site you are viewing, press Option + Command + I to open Developer Tools, then right-click the refresh button and select “Empty Cache and Hard Reload.”

How to Clear Firefox Cache on Mac

Firefox handles cache similarly to Chrome, but the menu layout is slightly different.

Step 1: Open Firefox on your Mac.

Step 2: Click “Firefox” in the menu bar, then select “Settings” (or “Preferences” on older versions).

Step 3: Go to the “Privacy and Security” panel on the left sidebar.

Step 4: Scroll down to the “Cookies and Site Data” section.

Step 5: Click “Clear Data.”

Step 6: Check “Cached Web Content” and click “Clear.”

You can also set Firefox to automatically clear cache when you close the browser. Under the same Privacy and Security panel, scroll to “History” and set Firefox to “Use custom settings for history,” then check “Clear history when Firefox closes.”

How to Clear System and Application Cache on Mac

This is where most of the storage recovery happens. System and application cache files live in your Library folder, and they can consume enormous amounts of disk space. I recovered 18GB on my own MacBook Pro the first time I did this.

How to Clear User Cache via ~/Library/Caches

Your user cache folder is hidden by default, but accessing it is straightforward. Follow these steps carefully:

Step 1: Open Finder on your Mac.

Step 2: Click “Go” in the top menu bar.

Step 3: Press and hold the Option key on your keyboard. You will see “Library” appear in the dropdown menu.

Step 4: Click “Library” while still holding Option.

Step 5: Find and open the “Caches” folder.

Step 6: You will see dozens of folders with names like “com.apple.Safari,” “com.google.Chrome,” “com.spotify.client,” and so on.

Step 7: Select all folders inside the Caches folder by pressing Command + A.

Step 8: Move them to the Trash by pressing Command + Delete.

Step 9: Empty the Trash. Right-click the Trash icon in your Dock and select “Empty Trash.”

Do not worry about breaking anything. When you open apps again, they will recreate the cache folders they need from scratch. The old, bloated, potentially corrupted cache files are gone permanently.

Important: Only delete the contents of the ~/Library/Caches folder, not the folder itself. macOS and your apps need the Caches folder to exist so they can write new cache files to it.

If you want to be selective, you can delete caches for specific apps. I usually target the largest folders first. Right-click any folder and select “Get Info” to see its size. In my experience, Spotify, Slack, Xcode, and Adobe Creative Cloud apps generate the largest cache folders.

How to Use Activity Monitor to Find Cache-Heavy Apps

If you are not sure which apps are hoarding cache, Activity Monitor can help. This is a tip I picked up from an Avast guide, and it has been incredibly useful.

Open Activity Monitor (Applications > Utilities > Activity Monitor). Click the “Memory” tab at the top. Sort by “Memory” column to see which apps are using the most RAM.

Apps with massive cache files tend to use lots of memory because they keep loading cached data into RAM. Also check the “Disk” tab to see which processes are reading and writing the most data.

High disk activity from an app you are not actively using often means it is managing a large cache in the background. Once you identify the worst offenders, close those apps, then navigate to ~/Library/Caches and delete their specific cache folders.

How to Check Storage Using System Settings

Before and after clearing cache, I recommend checking your available storage. This gives you a clear picture of how much space you recovered.

Step 1: Click the Apple menu in the top-left corner.

Step 2: Select “System Settings” (or “System Preferences” on older macOS versions).

Step 3: Click “General” in the left sidebar.

Step 4: Click “Storage” on the right.

You will see a color-coded bar showing how your storage is used. Look for “System Data” or “Other” in the breakdown. If this category is 30GB or more, cache files are a significant contributor.

After clearing cache, check this screen again. You should see the “System Data” category shrink and your available free space increase. On my Mac, clearing cache reduced System Data from 42GB to 24GB.

How to Flush DNS Cache on Mac Using Terminal

DNS cache is different from the other cache types we have covered. It stores the IP addresses of websites you have visited so your Mac does not have to look them up every time. Flushing DNS cache can fix network connectivity issues and website loading problems.

If you are experiencing slow browsing even after clearing browser cache, or if some websites refuse to load while others work fine, flushing DNS cache is the next step.

Step 1: Open Terminal. You can find it in Applications > Utilities > Terminal, or press Command + Space and type “Terminal.”

Step 2: Type the following command, depending on your macOS version:

For macOS Ventura, Sonoma, Sequoia, and later (most common in 2026):

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

For macOS Monterey and Big Sur:

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Step 3: Press Enter.

Step 4: Terminal will ask for your password. Type your Mac login password and press Enter. You will not see characters appear as you type. This is normal for security reasons.

Step 5: You will not see a confirmation message. If Terminal returns to the prompt without errors, the DNS cache has been flushed successfully.

I flush DNS cache whenever I experience weird network behavior. It takes about five seconds and fixes connection issues more often than you would expect. Restarting your router accomplishes the same thing on the network side.

When to flush DNS cache: Websites loading intermittently, getting “server not found” errors, pages redirecting to wrong sites, or after changing DNS settings to use services like Cloudflare or Google DNS.

How to Clear Cache Using Safe Boot Mode

Safe Boot is an underrated cache clearing method that most guides skip. When you start your Mac in Safe Mode, macOS automatically clears certain kernel caches and font caches. It also performs a disk check and disables third-party extensions.

Forum users on Apple Discussions frequently recommend Safe Boot as a first step for persistent performance issues. I have used it to fix Macs that were essentially unusable due to cache corruption.

Safe Boot on Apple Silicon Macs (M1, M2, M3, M4)

Step 1: Shut down your Mac completely.

Step 2: Press and hold the power button. Keep holding it until you see “Loading startup options” on the screen.

Step 3: Select your startup disk.

Step 4: Press and hold the Shift key, then click “Continue in Safe Mode.”

Step 5: Release Shift when the login window appears. You should see “Safe Boot” in the menu bar.

Step 6: Log in and let your Mac sit for a few minutes. macOS is clearing caches in the background.

Step 7: Restart normally by clicking the Apple menu and selecting “Restart.”

Safe Boot on Intel Macs

Step 1: Shut down your Mac.

Step 2: Press the power button, then immediately press and hold Shift.

Step 3: Release Shift when you see the login window with “Safe Boot” in the corner.

Step 4: Log in and wait a few minutes.

Step 5: Restart normally.

After a Safe Boot cycle, many users report their Mac runs noticeably faster. This is because macOS rebuilt the system caches from scratch during the Safe Boot process, discarding any corrupted files.

Should You Use Third-Party Cache Cleaner Apps?

This question comes up constantly on Reddit and Apple Discussions. The short answer is: usually no, but sometimes yes.

For routine cache clearing, the built-in methods I described above are all you need. They are free, safe, and give you full control over what gets deleted. I have been using them for over a decade without any issues.

However, some third-party tools do add value in specific situations. Forum users frequently recommend AppCleaner for completely removing apps along with their associated cache and preference files. PearCleaner is another open-source option that gets praise in r/macapps.

What I recommend against is paying for expensive “Mac cleaner” software. In my experience, these apps use aggressive marketing and often exaggerate how much “junk” is on your Mac. They also sometimes delete files that should not be deleted, causing more problems than they solve.

If you do use a third-party cleaner, stick with free options, read reviews from multiple sources, and always have a Time Machine backup before running any cleanup tool.

How to Prevent Cache Buildup and Keep Your Mac Fast

Clearing cache is a great fix, but preventing the buildup in the first place is even better. Here are the habits I have developed to keep my Mac running fast year-round:

Restart your Mac regularly. I restart my MacBook at least once a week. When you restart, macOS clears some temporary cache files and frees up RAM. Many Mac users never shut down or restart, which lets cache and temporary data accumulate indefinitely.

Set your browser to auto-clear cache. In Chrome, go to Settings > Privacy and security > Cookies and other site data, and enable “Clear cookies and site data when you quit Chrome.” In Firefox, use the “Clear history when Firefox closes” setting I mentioned earlier.

Manage your storage proactively. Check System Settings > Storage once a month. If you see System Data creeping past 30GB, it is time for a cache cleanup. The built-in storage management tool can also help identify large files and old downloads you no longer need.

Uninstall apps you do not use. Every app on your Mac generates cache files. If you have apps you have not opened in months, removing them eliminates their cache entirely. Use AppCleaner to remove apps completely, including their cache folders.

Keep macOS updated. Apple frequently improves how macOS manages cache and temporary files. Running the latest version ensures you benefit from these optimizations. Go to System Settings > General > Software Update to check for updates.

Monitor Activity Monitor. Check Activity Monitor every couple of weeks. If you notice an app consuming unusual amounts of memory or disk resources, investigate its cache folder.

How often should you clear cache on your Mac? For most users, I recommend clearing browser cache once a month and system cache every two to three months. If you do heavy creative work (video editing, software development, or graphic design), you might benefit from clearing cache more frequently, perhaps monthly.

Cache vs Cookies: What Is the Difference?

This is one of the most common questions I get, and competitors often gloss over it. Let me clear it up.

Cache stores copies of files like images, scripts, and HTML so your browser does not have to re-download them. Cache is about speed and reducing network requests.

Cookies are small text files that store information about your browsing session. They remember your login status, shopping cart contents, language preferences, and tracking data for advertising.

Clearing cache does not log you out of websites. Clearing cookies does. This is a critical distinction because many users avoid clearing cache because they do not want to re-enter passwords on every site.

When you clear browser cache using the methods I described earlier, you can choose to clear only cached files and leave cookies intact. In Chrome “Clear browsing data” window, for example, just check “Cached images and files” and leave “Cookies and other site data” unchecked.

How to Clear Cache on a Mac to Fix Slow Performance: Quick Reference

If you skipped to this section for a quick summary, here is the complete process in order:

Step 1: Back up your Mac with Time Machine.

Step 2: Close all applications.

Step 3: Clear Safari cache: Enable Develop menu, then Develop > Empty Caches.

Step 4: Clear Chrome cache: Press Shift + Command + Delete, check cached files, clear data.

Step 5: Clear Firefox cache: Settings > Privacy and Security > Clear Data.

Step 6: Clear user cache: Go to ~/Library/Caches (hold Option in Finder > Go), select all, delete.

Step 7: Flush DNS cache: Open Terminal, run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder.

Step 8: Restart your Mac.

Step 9: Consider a Safe Boot if problems persist.

Step 10: Empty Trash and check storage in System Settings.

This entire process takes about 30 minutes and can reclaim gigabytes of space. I run through it every two to three months on my own Mac.

FAQs

How do I fix slowness on my Mac?

To fix a slow Mac, start by restarting it, clearing browser and system cache via ~/Library/Caches, closing unnecessary background apps, checking Activity Monitor for resource-heavy processes, and ensuring you have at least 15 percent free storage space. Clearing cache alone resolves most common performance issues.

Is it a good idea to clear the cache on a Mac?

Yes, clearing cache on a Mac is safe and beneficial. Cache files are temporary by design, and your apps will rebuild them automatically. Clearing cache frees up storage space, removes corrupted files that cause glitches, and can significantly improve performance on older Macs with limited storage.

How do I clear the cache in my Mac?

To clear cache on your Mac, clear browser cache through your browser settings (Develop u0026gt; Empty Caches in Safari, Shift+Command+Delete in Chrome), clear user cache by navigating to ~/Library/Caches in Finder and deleting the folder contents, and flush DNS cache by running sudo dscacheutil -flushcache in Terminal.

How to clean your Mac to make it run faster?

To make your Mac run faster, clear browser cache, delete user cache files in ~/Library/Caches, flush DNS cache via Terminal, uninstall unused applications, remove large old files from Downloads, empty Trash, restart your Mac weekly, and keep macOS updated to the latest version.

Is it safe to delete cache files on Mac?

Yes, deleting cache files in your user Library folder (~/Library/Caches) is safe. macOS and your apps will recreate any cache files they need. However, never manually delete system caches in /System/Library/Caches, as these are managed by macOS and removing them can cause system instability.

Will clearing cache delete my passwords?

No, clearing cache does not delete your passwords. Passwords are stored separately from cache data. However, clearing cookies (which is different from cache) may log you out of websites. When clearing browser data, check only cached files if you want to preserve your login sessions.

What happens if I delete all cache files on Mac?

If you delete all user cache files, your Mac will temporarily slow down while apps rebuild their cache from scratch. This typically lasts a few hours to a couple of days. After rebuilding, your Mac usually runs faster because the new cache files are clean and uncorrupted.

How often should I clear cache on my Mac?

Clear browser cache once a month and system cache every two to three months for optimal performance. If you do heavy creative work like video editing or software development, consider clearing cache monthly. Set your browser to auto-clear cache on exit for maintenance-free cleanup.

Wrapping Up: How to Clear Cache on a Mac to Fix Slow Performance

Learning how to clear cache on a Mac to fix slow performance is one of the most valuable skills for any Mac owner. It is free, takes about 30 minutes, and can reclaim gigabytes of storage while making your machine feel years younger.

The process is straightforward. Start with browser cache in Safari, Chrome, or Firefox. Then move to system cache via ~/Library/Caches. Flush DNS cache through Terminal if you have network issues. Consider a Safe Boot for stubborn problems. And restart your Mac to let everything rebuild cleanly.

I have used these exact methods on Macs ranging from 2015 MacBook Airs to M4 MacBook Pros, and they work every time. The key is consistency. Make cache clearing part of your regular Mac maintenance routine, just like updating software or backing up with Time Machine.

Remember the safety basics: back up before you start, never touch system-level caches, and expect a brief slowdown while apps rebuild their cache. Follow these guidelines, and your Mac will stay fast and responsive for years to come.

If you found this guide helpful, I encourage you to bookmark it and come back whenever your Mac starts feeling sluggish. Cache builds up quietly, but now you have the tools to keep it under control.

Leave a Reply

Your email address will not be published. Required fields are marked *