How to Clear Cache on Mac and Free Up Storage

To clear cache on a Mac, remove cached website data from your browser and, when necessary, delete temporary files created by individual apps. You usually do not need to clear every cache folder on macOS because the system and apps recreate cache files automatically when they need them.

Clearing cache helps when a website loads incorrectly, an app keeps showing outdated data, Safari or Chrome behaves strangely, or temporary files have become unusually large. It is less useful as a routine maintenance task, and deleting the wrong files from the Library folder can reset app settings or create new problems.

This guide covers Safari, Chrome, Firefox, user app caches, system caches, DNS cache, Microsoft Edge, and the safest ways to free cached storage on current versions of macOS.

How to Clear Cache on Mac Safely

Start with the cache related to the problem you are trying to fix. If one website is broken, clear that website’s browser data instead of deleting every cache on the Mac. If one app is malfunctioning, quit that app and clear only its cache.

Cache type When to clear it Best method
Safari cache Websites load old or broken content Remove website data in Safari
Chrome cache Pages fail to load or display correctly Delete cached images and files
Firefox cache Pages or browser interface behave incorrectly Clear temporary cached files and pages
App cache A specific app crashes or keeps stale data Delete only that app’s cache folder
System cache Rare troubleshooting or temporary storage issue Restart or use Safe Mode
DNS cache Domain resolves incorrectly after a DNS change Flush it through Terminal

Do not delete the entire Library folder, random folders under System, or files you cannot identify. macOS manages most system caches itself.

How to Clear Safari Cache on Mac

Safari stores cached page resources, cookies, login data, and other website information. Apple provides a built-in way to remove data for one website or all websites, which is safer than manually deleting Safari files from the Library folder.

Clear cache for one website in Safari

  1. Open Safari.
    Clear cache for one website in Safari
  2. Select Safari > Settings from the menu bar.
    Clear cache for one website in Safari
  3. Open Privacy.
  4. Click Manage Website Data.
  5. Search for the website causing the problem.
  6. Select it and click Remove.
    Clear cache for one website in Safari
  7. Click Done.

This removes stored website data, including caches and cookies associated with that site. You may need to sign in again the next time you visit it.

Clear all Safari cache and website data

  1. Open Safari > Settings > Privacy.
  2. Click Manage Website Data.
    Clear cache for one website in Safari
  3. Select Remove All.
  4. Confirm the deletion.

Use this option when several websites are affected or Safari has widespread loading problems. Clearing all website data signs you out of many websites and removes local site preferences.

Clear Safari history and cached browsing data

If you also want to delete browsing history:

  1. Open Safari.
  2. Select History > Clear History.
  3. Choose the time period.
  4. Click Clear History.

Safari’s history command removes more than the visible history list, so use the Privacy settings method when you only need to troubleshoot one website.

How to Clear Chrome Cache on Mac

Chrome stores cached images, scripts, fonts, and other website resources to make repeat visits load faster. Google recommends clearing cached browsing data when websites display incorrectly or keep loading outdated content.

  1. Open Google Chrome.
  2. Click the three-dot menu in the upper-right corner.
  3. Select Delete browsing data.
  4. Choose a time range such as All time.
  5. Select Cached images and files.
  6. Leave other boxes unchecked if you want to keep cookies and browsing history.
  7. Click Delete data.

Selecting only cached images and files clears the cache without deliberately removing saved passwords, browsing history, or cookies.

Chrome cache shortcut on Mac

Press:

Command + Shift + Delete

Chrome cache shortcut on Mac

This opens Chrome’s Delete browsing data window directly.

Clear Chrome cache for one website

If only one website is broken, clearing all Chrome data is unnecessary. Open the affected site, click the site controls icon beside the address bar, open its site settings, and remove stored data for that site.

You can also test the page in an Incognito window first. If it works there, cached data, cookies, or an extension in the normal Chrome profile is likely involved.

How to Clear Firefox Cache on Mac

Firefox provides a separate option for temporary cached files, so you can remove the cache without deleting cookies or other browsing data.

  1. Open Firefox.
  2. Select Firefox > Settings.
  3. Open Privacy & Security.
  4. Find the browsing data or Cookies and Site Data section.
  5. Click Clear browsing data or Clear Data.
  6. Set the time range to Everything if available.
  7. Select Temporary cached files and pages.
  8. Leave cookies unchecked if you want to stay signed in.
  9. Click Clear.

Clear the Firefox startup cache

Firefox also maintains a startup cache that can affect browser interface problems rather than website content.

  1. Open the Firefox menu.
  2. Select Help > More Troubleshooting Information.
  3. Find Try clearing the startup cache.
  4. Click Clear startup cache.
  5. Restart Firefox.

Mozilla says clearing the startup cache does not remove your Firefox profile data or extensions.

How to Clear Microsoft Edge Cache on Mac

Microsoft Edge uses Chromium, so its cache controls are similar to Chrome.

  1. Open Microsoft Edge.
  2. Click the three-dot menu.
  3. Select Settings.
  4. Open Privacy, search, and services.
  5. Find Clear browsing data.
  6. Click Choose what to clear.
  7. Select a time range.
  8. Check Cached images and files.
  9. Click Clear now.

You can leave cookies, passwords, and browsing history unchecked when cache is the only thing you want to remove.

How to Clear App Cache on Mac

Most Mac applications store temporary files inside your user Library. These files can include thumbnails, downloaded images, temporary databases, update files, and other data that helps an app load faster.

The user cache folder is located at:

~/Library/Caches

The tilde represents your user account’s home folder.

Open the Mac cache folder

  1. Quit the app whose cache you want to clear.
  2. Open Finder.
  3. Select Go > Go to Folder from the menu bar.
  4. Enter:
~/Library/Caches
  1. Press Return.
  2. Find the folder belonging to the affected application.
  3. Open that folder and move its cached contents to the Trash.
  4. Open the app again and test it.

Delete only cache folders you can clearly associate with the application you are troubleshooting. Some folders use a bundle identifier instead of the visible application name, such as com.company.application.

Should you delete everything in ~/Library/Caches?

macOS and applications can rebuild many files stored there, but deleting the entire folder at once is unnecessary. It can force every application to rebuild data, increase load times temporarily, and sign you out or reset temporary state in some applications.

Target the affected app instead. If your goal is simply to recover storage, Apple’s storage management tools are a better starting point.

How to Clear System Cache on Mac

macOS stores system-level caches separately from your personal app caches. Manually removing these files should not be a routine maintenance step because macOS manages them automatically.

A safer method is to restart the Mac. A restart clears temporary operating-system state and allows macOS to recreate files it needs.

Use Safe Mode to clear certain system caches

Apple says starting a Mac in Safe Mode clears certain system caches automatically. This can also temporarily free storage when a Mac does not have enough room to complete an update or another operation.

Apple silicon Mac

  1. Shut down the Mac.
  2. Press and hold the power button until startup options appear.
  3. Select your startup disk.
  4. Hold the Shift key.
  5. Click Continue in Safe Mode.

Intel Mac

  1. Restart or turn on the Mac.
  2. Immediately press and hold Shift.
  3. Release the key when the login window appears.
  4. Sign in.

Restart the Mac normally when you finish troubleshooting.

How to Clear DNS Cache on Mac

The DNS cache stores recently resolved domain names and IP addresses. Clear it when a website has changed servers or DNS records and your Mac keeps connecting to an old address even though other devices work correctly.

Open Terminal from Applications > Utilities and run:

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Press Return, enter your Mac administrator password, and press Return again. Terminal does not display characters while you type the password.

The command normally returns no confirmation message. Close and reopen the browser, then test the website again.

Flushing DNS does not delete browser cookies, passwords, downloads, bookmarks, or browsing history.

How to Clear Cache on Mac Using Terminal

You can delete cache files through Terminal, but Finder gives you better visibility into exactly what you are removing. Terminal commands that recursively delete Library folders are easy to mistype and provide little benefit for normal cache troubleshooting.

If you know the exact application cache folder, you can inspect it first:

open ~/Library/Caches

This opens the user cache folder in Finder, where you can identify and remove the appropriate application cache manually.

Avoid copying commands from websites that use sudo rm -rf against broad Library or system paths. Such commands can delete considerably more than temporary cache files.

How to Clear Cache on MacBook Air and MacBook Pro

The cache-clearing process is the same on a MacBook Air, MacBook Pro, iMac, Mac mini, Mac Studio, and Mac Pro when they run the same version of macOS.

Your processor also does not change the Safari, Chrome, or application-cache instructions. Apple silicon Macs and Intel Macs mainly differ in procedures such as entering Safe Mode.

Therefore, you do not need separate cache-cleaner software for an M1, M2, M3, M4, or later Apple silicon Mac.

How to Clear Cache on Mac Without Deleting Passwords

Browser cache, cookies, browsing history, and saved passwords are separate categories. Select only the cache category when your browser provides that option.

Browser Select Leave unchecked
Chrome Cached images and files Passwords, cookies, browsing history
Firefox Temporary cached files and pages Cookies, site data, login information
Edge Cached images and files Passwords, cookies, browsing history
Safari Website data for the affected site Avoid clearing all history when unnecessary

Safari combines cached website information with other website data in its management interface, so removing a site’s data can sign you out of that website.

How to Clear Cache on Mac Without Losing Browsing History

Chrome, Firefox, and Edge let you clear cached files while leaving browsing history untouched. Open each browser’s clearing dialog and select only its cache option.

In Safari, use Safari > Settings > Privacy > Manage Website Data rather than History > Clear History. This lets you remove stored website data without intentionally clearing your entire visible browsing-history list.

Does Clearing Cache Free Up Space on Mac?

Yes, clearing a large cache can recover storage immediately, but cache files often return because applications create them again as you use them.

If your Mac is genuinely running out of storage, open:

Apple menu > System Settings > General > Storage

Review large applications, Downloads, documents, old iPhone or iPad backups, Mail attachments, media, and Trash before spending time deleting normal caches. Apple recommends these areas when you need meaningful long-term storage savings.

Safe Mode can temporarily clear certain system caches when you need enough free space to complete an update, but that space can be used again after macOS recreates the cache.

When Should You Clear Cache on a Mac?

Cache clearing makes sense when there is a specific symptom connected to cached data, including a website showing old content, a page rendering incorrectly, an app displaying stale information, a browser repeatedly failing on one site, or an unusually large application cache.

Clearing every cache every few days does not provide a lasting speed improvement. Cache exists to reduce repeated work, so deleting it forces browsers and applications to download or recreate data again.

What Happens After You Clear the Cache?

The effect depends on which cache you remove. Websites can load slightly slower on the first visit because the browser has to download images and scripts again, while an application can take longer during its first launch as it rebuilds temporary files.

Clearing browser cache alone does not normally delete bookmarks or downloaded files. Cookies, passwords, history, and site permissions are separate data types, so check the selected options carefully before confirming a browser cleanup.

Frequently Asked Questions

What is the fastest way to clear cache on a Mac?

If the problem is in a browser, use its built-in cache controls. Chrome users can press Command + Shift + Delete, select Cached images and files, and delete the cache without manually opening Library folders.

Where is the cache folder on Mac?

Your user application caches are normally stored in ~/Library/Caches. macOS also maintains system-level caches elsewhere, which you should generally leave under macOS control.

Is it safe to delete cache files on Mac?

Deleting the cache belonging to a specific application is generally safe after quitting that app because the application can recreate temporary files. Avoid mass-deleting unknown Library and system folders.

Can I delete everything in the Mac Caches folder?

You can remove many files from your user Caches folder, but deleting everything provides little advantage and forces all affected applications to rebuild their caches. Remove only the cache associated with the app causing trouble.

Does clearing cache make a Mac faster?

It can improve performance when a cache is damaged or abnormally large. Routine cache deletion can make initial app launches and website loads slower while the data is rebuilt.

Does clearing cache delete photos or documents?

Normal browser and application cache clearing should not delete personal photos or documents. Manually deleting files from Library or system folders carries more risk, which is why you should identify the application before removing anything.

Does clearing Safari cache delete passwords?

Removing website data can sign you out of websites, but saved passwords stored in Apple’s password system are separate. Avoid clearing unrelated data when your only goal is to fix cached website content.

How do I clear Chrome cache without deleting passwords?

Open Delete browsing data and select only Cached images and files. Leave passwords, cookies, autofill information, and other categories unchecked.

How do I clear cache for only one website on Mac?

In Safari, open Settings > Privacy > Manage Website Data, select the website, and click Remove. Chrome, Firefox, and Edge also provide site-specific data controls.

Should I use a Mac cache cleaner app?

You do not need a third-party cleaner for normal browser or application cache removal. macOS and major browsers already include the tools required to clear temporary data.

Why is System Data so large on my Mac?

System Data can include caches, logs, temporary files, local resources, app support data, and other files that macOS does not place in a more specific storage category. Clearing browser cache alone usually does not reduce a large System Data category significantly.

Does restarting a Mac clear cache?

A restart removes some temporary state and allows macOS and applications to recreate temporary resources, but it does not erase all browser or application caches.

Does Safe Mode clear Mac cache?

Yes. Apple says Safe Mode clears certain system caches. Use it for troubleshooting or temporarily freeing enough space to complete a task, rather than as regular maintenance.

How often should I clear cache on Mac?

There is no fixed schedule. Clear a cache when it is connected to a loading problem, corrupted app data, or excessive temporary storage. macOS, Safari, and other applications manage normal cache turnover automatically.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

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