Your browser remembers everything — here's how to make Safari forget

Updated September 2026 · 7 min read

Safari is the default browser on every Mac, and it does a great job of being invisible — until you check how much disk space it's using. Between cached images, website data, history records, and offline storage, Safari can quietly accumulate several gigabytes of data you never asked it to keep.

The good news: clearing Safari's cache is straightforward, built right into the browser, and won't break anything important. Let's walk through every option, from the nuclear button to the surgical approach.

What Safari actually stores (and where)

Safari keeps several types of data on your Mac:

Cache is the biggest space consumer here — typically 1 to 5 GB, sometimes more if you browse media-heavy sites. History and website data are usually smaller but matter more for privacy.

Option 1: Clear all history (the quick way)

This is the fastest approach and what most people need:

  1. Open Safari.
  2. Click Safari in the menu bar, then Clear History.
  3. Choose a time range: last hour, today, today and yesterday, or all history.
  4. Click Clear History.

This removes your browsing history, cookies, and cached data in one step. It's the equivalent of a fresh start — Safari will behave as if you've never visited those sites before.

When not to do this: clearing all history logs you out of every website. If you rely on saved logins and don't use a password manager, you'll need to sign in everywhere again. Consider clearing website data selectively instead (Option 3 below).

Option 2: Clear cache only (keep your logins)

If you want to free disk space without losing your cookies and login sessions, Safari has a developer tool for that:

  1. Go to Safari → Settings → Advanced.
  2. Enable Show features for web developers (checkbox at the bottom).
  3. A new Develop menu appears in the menu bar.
  4. Click Develop → Empty Caches.

This clears Safari's cached files — the images, scripts, and stylesheets it downloaded — without touching your history or cookies. You stay logged in everywhere, but pages may load slightly slower on the first visit as Safari re-downloads those assets.

Option 3: Remove data for specific websites

Sometimes you don't want a full wipe — you just want to clean up data from a few sites:

  1. Go to Safari → Settings → Privacy.
  2. Click Manage Website Data.
  3. You'll see a list of every site that has stored data on your Mac, with sizes.
  4. Select the sites you want to clean and click Remove, or use Remove All for everything.

This is the most surgical option. It's especially useful when a specific site is misbehaving — clearing its data is the web equivalent of "turn it off and on again."

The manual approach: clearing cache files directly

If you prefer going straight to the files, Safari's cache lives at:

~/Library/Caches/com.apple.Safari

You can open this folder in Finder (Go → Go to Folder, paste the path) and delete its contents. Safari will recreate the folder on next launch. This is essentially what "Empty Caches" does, but manually.

For a broader look at what's in your ~/Library/Caches folder — including caches from other apps — see our guide to System Data on Mac.

How often should you clear Safari cache?

For most people: only when you need the space, or when a website isn't working right. Safari manages its cache reasonably well — it evicts old entries automatically as the cache grows. Clearing it daily is unnecessary and just makes browsing slower.

A practical rule: if your Mac is running low on disk space, clearing browser caches is one of the quickest wins. If space isn't tight, leave the cache alone and let it do its job.

Prefer the one-question version?

Gigatidy scans your Mac and tells you exactly how much space Safari (and every other app) is using — then clears only what's safe, with your approval.

Meet Gigatidy →

FAQ

Does clearing Safari cache delete passwords?

No. Saved passwords are stored in your Mac's Keychain, not in the browser cache. Clearing cache or even all history won't remove your saved passwords.

Will clearing Safari cache speed up my Mac?

Not directly — but if your disk is nearly full, freeing even a few gigabytes of cache helps macOS work more smoothly. The speed improvement comes from the freed space, not from having less cache.

Why does Safari cache grow so large?

Modern websites are heavy. A single news site can cache 50–100 MB of images and scripts. Multiply that by every site you visit over weeks and months, and a few gigabytes is normal. Safari does prune old cache automatically, but not aggressively.