Clear Safari Cache on Mac: Easy Step-by-Step
In this article
Clearing your Safari cache on a Mac removes stored copies of web pages, images, and scripts, which can fix pages that load incorrectly, free up disk space, and help with privacy. You don’t need any special tools—just Safari and a few clicks. The quickest way is to go to Safari > Settings > Privacy and click “Manage Website Data,” then remove all or selected data. For a deeper clean, you’ll enable the Develop menu. Below are the full steps, plus what to avoid and how to fix common issues.
What You'll Need
- A Mac running macOS (any recent version, from Catalina to Sonoma or newer).
- Safari closed or open—either works, but closing it after clearing is recommended.
- Optional: a backup of any important website logins (clearing cache does not remove passwords, but it may log you out of some sites).
Step-by-Step
- Open Safari. Click the Safari icon in your Dock or find it in the Applications folder.
- Open Safari’s Settings. In the top menu bar, click Safari (next to the Apple logo), then select Settings (or Preferences on older macOS versions). The keyboard shortcut is Command + , (comma).
- Go to the Privacy tab. In the Settings window, click the Privacy icon (a hand or shield).
- Click “Manage Website Data…” This button is in the middle of the Privacy section. A list will appear showing all websites that have stored data (cookies, caches, and other files).
- Remove data:
- To clear everything, click Remove All at the bottom-left, then confirm by clicking Remove Now in the pop-up.
- To remove only specific sites, select one or more names (hold Command to select multiple) and click Remove.
- Close Settings. Click the red close button or press Command + W.
- For a more thorough cache clear (optional): This removes all cached files, not just website data.
- In Safari, go to Safari > Settings again.
- Click the Advanced tab (gear icon).
- At the bottom, check the box next to “Show features for web developers” (or “Show Develop menu in menu bar”).
- Close Settings. You’ll now see a Develop menu in the top menu bar.
- Click Develop and select Empty Caches. This clears all cached files immediately—no confirmation dialog.
- Restart Safari. Quit Safari (Command + Q) and reopen it. The cache is now cleared.
Common Mistakes
- Only clearing history: Clearing your browsing history (Safari > History > Clear History) does not remove the cache. You must use the Privacy or Develop method above.
- Forgetting to close Safari after clearing: If Safari stays open, it may rewrite cached files. Always quit and reopen Safari after clearing.
- Clicking “Remove All” without reading: This logs you out of all websites and removes offline website data. It does not delete passwords saved in iCloud Keychain, but you’ll need to sign in again on many sites.
- Enabling the Develop menu and forgetting to disable it: That’s fine—it’s harmless, but if you don’t want it, uncheck the same box later.
- Clearing cache while a page is loading: If you clear during an active download or page load, it may cause errors. Wait for pages to finish loading.
Tips
- Clear only when needed: Safari manages its cache automatically. If you’re not having issues, you don’t need to clear it regularly—doing so can slow down frequently visited sites because they have to reload everything.
- Use “Empty Caches” for stubborn problems: If a specific page still shows old content after the standard clear, the Develop > Empty Caches method is more aggressive and often fixes it.
- Check your storage: If you’re clearing to free space, note that the cache is usually small (a few hundred MB at most). For larger space savings, check Safari’s “Downloads” folder or other apps.
- Keep passwords and autofill: Clearing cache does not affect saved passwords, credit card info, or autofill data—those are stored separately in the Passwords tab.
Troubleshooting
If clearing the cache doesn’t fix the problem:
- Restart Safari and your Mac. A simple restart often resolves lingering issues.
- Clear website data again after restarting. Sometimes the first clear doesn’t fully take effect until Safari is closed.
- Check if the issue is with a specific website. Try the same site in another browser (like Chrome or Firefox). If it works there, the problem is Safari-specific; if not, the website itself may be down or have a bug.
- Reset Safari (last resort). Go to Safari > Settings > Privacy and click “Manage Website Data,” then “Remove All.” Also, go to Safari > Settings > Advanced and uncheck “Show features for web developers” if you enabled it. Then quit Safari and reopen. This is not a full factory reset—it only clears website data, not your bookmarks or history.
- If Safari is completely unresponsive: Force quit Safari (press Option+Command+Esc, select Safari, click Force Quit), then reopen. If it still won’t open, restart your Mac.
- If you can’t find the Develop menu: Make sure you checked the correct box in Advanced. On some macOS versions, it’s labeled “Show Develop menu in menu bar.” If it’s already checked, uncheck and recheck it.
Frequently Asked Questions
Will clearing the cache delete my passwords?
No. Passwords saved in Safari are stored separately (in the Passwords tab) and are not affected by clearing the cache. You’ll stay logged into most sites if you have “Remember me” enabled, but some sites may log you out.
How often should I clear my Safari cache?
Only when you notice problems like outdated pages, layout glitches, or if you’re concerned about privacy. Safari manages its cache automatically, so frequent clearing isn’t necessary and can slow down browsing.
Does clearing cache remove my browsing history?
No. Clearing the cache does not delete your browsing history. To clear history, go to History > Clear History in Safari. If you want to clear both, do both steps.
Why do some websites still show old content after clearing?
Some websites use server-side caching or content delivery networks (CDNs) that store copies on their own servers. Your browser cache is cleared, but the site’s server may still send an old version. Try a hard refresh (hold Shift and click the reload button) or wait a few minutes.
Is clearing cache the same as clearing cookies?
No. Cookies are small files that store login sessions and preferences. The “Manage Website Data” option removes both cookies and cache together. The Develop > Empty Caches option only removes cached files, not cookies.
Will clearing cache speed up my Mac?
It might free a small amount of disk space, but it won’t noticeably improve overall Mac performance. Cache files are usually small and Safari recreates them as you browse. For speed, close unused tabs and update macOS.