Clear System and Internet Cache on Mac: A Full Guide
In this article
Clearing your system and internet cache on a Mac removes temporary files that the operating system and web browsers store to speed up loading times. Over time, these files can become corrupted, outdated, or excessively large, leading to sluggish performance, website display errors, or a lack of available disk space. By purging these caches, you force your Mac to fetch the freshest version of data and reclaim storage, often resolving mysterious software glitches and improving overall system responsiveness.
What You'll Need
- A Mac running macOS (compatible with Intel and Apple Silicon chips).
- Administrative privileges (you will need your password to delete certain system files).
- A backup of your important data (recommended before modifying system folders).
Step-by-Step
Part 1: Clearing System and User Cache
System caches are created by macOS and third-party applications to store frequently used data. While the OS manages these automatically, manual clearing is useful when apps crash or the system feels bloated.
- Close all open applications: To ensure no files are currently in use, quit all running apps (Cmd + Q).
- Open Finder: Click the Finder icon in your Dock.
- Access the Go to Folder menu: In the top menu bar, click Go and then select Go to Folder... (or press Shift + Cmd + G).
- Navigate to User Cache: Type
~/Library/Cachesinto the search box and press Enter. - Select and Delete: Select the files and folders inside this directory. You can press Cmd + A to select all. Right-click and choose Move to Trash. Note: Do not delete the Caches folder itself, only the contents inside it.
- Navigate to System Cache: Repeat the Go to Folder process, but this time type
/Library/Caches(without the tilde symbol) and press Enter. - Delete System Cache files: Select the contents of this folder and move them to the Trash. You will likely be prompted to enter your administrator password to authorize this action.
- Empty the Trash: Right-click the Trash icon in your Dock and select Empty Trash to permanently remove the files.
- Restart your Mac: Rebooting allows the system to rebuild the necessary cache files from scratch.
Part 2: Clearing Internet Cache (Safari)
Safari is the default browser for macOS. Clearing its cache removes stored images and scripts from websites.
- Open Safari: Launch the browser from your Applications folder or Dock.
- Enable the Develop Menu: By default, the cache clearing tool is hidden. Go to Safari > Settings (or Preferences) > Advanced. At the bottom of the window, check the box that says Show Develop menu in menu bar.
- Empty Caches: Now, look at the top menu bar and click on the new Develop menu. Select Empty Caches from the dropdown list.
- Clear History and Cookies: To perform a deeper clean, go to History > Clear History..., select All History from the dropdown, and click Clear History.
Part 3: Clearing Internet Cache (Google Chrome)
If you use Chrome as your primary browser, the process differs slightly from Safari.
- Open Chrome: Launch the browser.
- Open Clear Browsing Data: Click the three vertical dots in the top-right corner, select Clear Browsing Data... (or press Shift + Cmd + Delete).
- Set Time Range: In the pop-up window, select All time from the time range dropdown menu.
- Select Cache: Check the box for Cached images and files. You may also choose to clear Cookies and other site data if you want a complete reset.
- Confirm: Click the Clear data button.
Common Mistakes
- Deleting the root folder: A common error is deleting the entire
Cachesfolder instead of the files inside it. This can cause some applications to fail because they expect the folder structure to exist. - Forgetting to restart: Many users clear the cache but don't reboot. Restarting is critical because it triggers the OS to initialize fresh cache files.
- Confusing Cache with Cookies: Clearing the cache removes static files (like images), while clearing cookies removes login sessions and site preferences. If you only want to fix a loading error, you may not need to clear cookies.
- Over-clearing: Clearing caches too frequently can actually slow down your Mac, as the system must spend more CPU and disk resources recreating those files.
Tips
- Use Safe Mode: If you are uncomfortable manually deleting files, restart your Mac in Safe Mode (hold Shift during startup on Intel Macs, or hold the power button on Apple Silicon Macs). Safe Mode automatically performs a basic system cache cleanup during the boot process.
- Selective Deletion: If only one specific app is acting up, go to
~/Library/Cachesand delete only the folder associated with that specific application rather than everything. - Check Storage First: Use System Settings > General > Storage to see if the cache is actually taking up a significant amount of space before spending time clearing it.
Troubleshooting
If you encounter issues while following these steps, try the following solutions:
- "File in Use" Error: If macOS tells you a file cannot be deleted because it is in use, ensure the associated application is completely closed. Use Activity Monitor (Cmd + Space, type Activity Monitor) to force quit any background processes related to that app.
- Permissions Denied: If you cannot access
/Library/Caches, ensure you are logged in as an Administrator. If you are, check if the files are locked by right-clicking the file, selecting Get Info, and unchecking the Locked box. - Websites Loading Slower: It is normal for websites to load slightly slower the first time you visit them after clearing the internet cache. This is because the browser is downloading the assets again.
Frequently Asked Questions
Will clearing my cache delete my personal files?
No. Caches are temporary storage files used by the system and apps. Deleting them will not remove your documents, photos, or emails.
How often should I clear my Mac's cache?
There is no set schedule. You should only do it when you notice a decrease in performance, encounter app crashes, or are running critically low on disk space.
Does clearing the cache fix internet connection issues?
It can fix issues where a specific website doesn't load or displays old information, but it will not fix hardware problems or ISP outages.
Is it safe to use third-party cleaning software?
Many third-party tools automate this process. While generally safe, manual clearing is the most precise method and avoids installing unnecessary background software on your system.
Why did my browser log me out of all my accounts?
This happens if you selected "Cookies and other site data" during the internet cache cleaning process. Cookies store your session IDs; removing them requires you to log in again.