TechBuzzPro

Clear Safari Cache, History & Cookies on Mac

· 6 min read · Mac

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Clearing Safari's cache, history, and cookies on a Mac frees up storage, fixes pages that load incorrectly, and removes traces of your browsing. The quickest way is to go to Safari > Settings > Privacy and click “Manage Website Data,” or use the History > Clear History menu for a full wipe. You don't need any special tools—just a few clicks in Safari's own menus. Note that menu labels can differ slightly depending on your macOS and Safari version.

What You'll Need

  • A Mac running macOS with Safari installed (any recent version works).
  • Your Mac's login password if you have FileVault enabled (not required for clearing data, but needed if you restart).
  • No other preparation—just close any important Safari tabs you want to keep open, because clearing history may close them.

Step-by-Step

  1. Open Safari. If it's already open, make sure it's the active app (click its icon in the Dock).
  2. Clear history (all of it): Click History in the menu bar at the top of the screen, then select Clear History… (or “Clear History and Website Data” on older versions). In the pop-up, choose All history from the dropdown, then click Clear History. This removes your browsing history, cookies, and other website data from all devices signed into the same iCloud account (if Safari sync is on).
  3. Clear history (specific time range): In the same Clear History… pop-up, instead of “All history,” pick Last hour, Today, or Today and yesterday to only wipe that period.
  4. Clear cookies and website data (without wiping history): Go to Safari > Settings (or Safari > Preferences on older macOS), then click the Privacy tab. Here you'll see a button labeled Manage Website Data…. Click it.
  5. Remove specific site data: In the “Manage Website Data” window, you'll see a list of websites that have stored cookies or other data. To remove one, select it and click Remove. To remove everything, click Remove All. Confirm if prompted.
  6. Clear the cache (temporary files): Safari doesn't have a simple “Clear Cache” button in the standard menus. The easiest way is to first enable the Develop menu: go to Safari > Settings > Advanced, then check the box at the bottom that says “Show features for web developers.” Now a Develop menu appears in the menu bar. Click Develop > Empty Caches to clear Safari's cache files.
  7. Alternative: clear everything at once. If you want a full reset (history, cookies, cache, and all website data), go to Safari > Settings > Privacy > Manage Website Data… and click Remove All, then go to History > Clear History… and choose All history. This is the most thorough method.
  8. Restart Safari. After clearing, quit Safari (press Cmd+Q) and reopen it. This ensures the changes take effect and frees memory.

Common Mistakes

  • Confusing “Clear History” with “Clear Cache.” Clearing history does not empty the cache. You still need the Develop menu step to remove cached files.
  • Clicking “Remove All” without reading the warning. This deletes saved passwords, logins, and site preferences for every website. If you want to keep some, remove them individually.
  • Forgetting that iCloud sync spreads the change. If you have “Safari” checked in iCloud settings, clearing history on your Mac also clears it on your iPhone and iPad. This can surprise you.
  • Using the wrong menu. On older macOS, it's “Preferences” not “Settings.” Look for the gear icon or the Safari menu name.
  • Not quitting Safari after clearing. Some data may be re-cached immediately if Safari stays open and you visit a page.

Tips

  • If you only want to clear one site's data (e.g., to fix a login loop), use Manage Website Data and remove just that site. It's faster and less disruptive.
  • To avoid clearing everything, use Private Browsing (Shift+Cmd+N) for sessions you don't want recorded. That way you don't need to clear history later.
  • Check your storage after clearing: Safari's cache can be hundreds of megabytes. You'll see the freed space in About This Mac > Storage.
  • If you want to keep your history but remove cookies, use the Manage Website Data method instead of “Clear History.”
  • For a deeper clean, you can also clear Safari's “Downloads” history (the list in the Downloads window) but that doesn't delete the files themselves.

Troubleshooting

If clearing didn't fix the problem:

  1. Restart Safari completely. Press Cmd+Q, then reopen. Sometimes the cache is only flushed on a fresh launch.
  2. Check if the issue is a website problem, not Safari. Try the same site in a different browser (e.g., Chrome or Firefox). If it works there, the site's data in Safari may be corrupted—clear that site's data specifically.
  3. Make sure you cleared the right time range. If you chose “Last hour” but the issue started yesterday, the old data is still there. Use “All history” if you're unsure.
  4. Verify the Develop menu is actually enabled. If you don't see “Empty Caches,” go back to Settings > Advanced and confirm the checkbox is checked. The menu only appears after you enable it.
  5. If Safari is still slow or crashes, reset Safari entirely. Go to Safari > Settings > Privacy > Manage Website Data > Remove All, then also clear history. If that doesn't help, consider restarting your Mac (this clears system caches and can resolve lingering issues).
  6. If the “Manage Website Data” button is grayed out, you may have parental controls or a managed profile on your Mac. Check System Settings > Screen Time or your IT department's restrictions.

Frequently Asked Questions

Will clearing Safari history delete my saved passwords?

No. Clearing history and cache does not remove passwords saved in iCloud Keychain or in Safari's AutoFill. Only “Remove All” in Manage Website Data will remove website-specific login data (like cookies that keep you logged in), but your stored passwords remain.

Does clearing cache log me out of websites?

Yes, usually. Cookies are what keep you logged in. Clearing website data (including cookies) will log you out of most sites. You'll need to sign in again.

Can I clear Safari cache without clearing history?

Yes. Use the Develop menu (enable it in Settings > Advanced) and click “Empty Caches.” That clears only the cache, not your history or cookies.

Why doesn't Safari have a “Clear Cache” button in the main menu?

Apple intentionally hides it to prevent accidental data loss. The Develop menu is the official way, but it's disabled by default. You have to enable it first.

Will clearing Safari data on my Mac affect my iPhone?

If you have Safari syncing enabled in iCloud (System Settings > Apple ID > iCloud > Safari), then yes—clearing history on your Mac will also clear it on your iPhone and iPad. To avoid that, turn off Safari sync before clearing.

How often should I clear Safari cache?

Only when you have a problem, like a page not loading correctly or Safari being sluggish. There's no need to clear it regularly—Safari manages cache size automatically. Over-clearing can make websites load slower initially because they have to re-download resources.