MacBook App Cleaner
HomeBlog › How to Clear Safari Cache on Mac (Without Losing Everything)

How to Clear Safari Cache on Mac (Without Losing Everything)

Published July 7, 2026 · 5 min read · By the MacBook App Cleaner team

In short: Safari has two ways to wipe cached data, and they do very different things. One dumps only the temporary cache; the other clears your browsing history and cookies too. Here's how to clear Safari cache on Mac without accidentally logging yourself out of everything.

If Safari feels sluggish, a page looks broken, or you just want to reclaim some disk space, clearing the cache is a reasonable first step. But Safari gives you more than one way to do it, and they are not interchangeable. Picking the wrong option can log you out of every site and erase your browsing history when all you wanted was to dump some temporary files. This guide walks through both methods on macOS Sonoma and Sequoia (14 and 15), and explains exactly what you lose with each.

What the Safari cache actually is

The cache is a folder of temporary files Safari saves so pages load faster on repeat visits: images, stylesheets, scripts, and other assets. Most of the time it works quietly in the background and you never think about it. You only need to clear it when a site refuses to update, a layout looks broken, or you are troubleshooting something specific. Clearing the cache does not log you out or delete saved passwords by itself. That distinction matters, because the two Safari tools below treat your data very differently.

Method 1: Empty Caches from the Develop menu

This is the surgical option. It removes only the cached page assets and leaves your history, cookies, and logins alone. The catch is that the Develop menu is hidden by default.

To turn it on in macOS 14 or 15: open Safari, then from the menu bar choose Safari > Settings (or press Command-Comma). Click the Advanced tab, then check Show features for web developers. A new Develop menu now appears in the menu bar.

With that enabled, click Develop in the menu bar and choose Empty Caches. That is it. Safari clears the cached files and nothing else. You stay signed in to your sites, your history is intact, and your saved logins are untouched. If a single page still looks stale, hold Shift and click Reload to force Safari to fetch fresh assets for that page.

Because Empty Caches is so targeted, it is the method to reach for first. It solves the vast majority of "this page won't refresh" problems without any collateral damage.

Method 2: Clear History (and what it takes with it)

Clear History is the heavier hammer, and it is the more common route because it does not require the Develop menu. Go to Safari > Clear History in the menu bar, choose a time range from the pop-up (last hour, today, today and yesterday, or all history), and click Clear History.

Here is the important part: on a Mac, this does far more than clear your list of visited sites. It also removes cookies and other website data for the selected range, which means you will be signed out of most websites and asked to log in again. If you rely on staying logged in to email, banking, or work tools, expect to re-enter those credentials. It also clears the cache along the way, so it does technically achieve what you came for.

Rule of thumb: if you just want faster page loads or a stubborn page to refresh, use Empty Caches. Only use Clear History when you actually want to erase your browsing trail and are fine logging back in everywhere.

One more note: if you use iCloud and have Safari syncing turned on, clearing history can remove that history from your other Apple devices too, since the data is shared across them.

A quick word on safety and reversibility

Clearing Safari's own cache through these menus is low risk, but it is worth pinning down a broader habit for any cleanup you do on a Mac. Deleting cache files by hand in Finder is where people get into trouble. Cached data lives under ~/Library/Caches, and it is fine to look, but never touch anything inside /System, and be cautious deleting folders you do not recognize. Safari's built-in buttons are safer precisely because they only remove what they are supposed to.

The safe pattern for cleaning anything is the same every time: preview what will be removed before you commit, only clear user-level junk (caches, logs, temporary files) by default, and send removals to the Trash so they stay reversible. If a site breaks after a cleanup, you want to be able to pull a file back out of the Trash rather than discovering it is gone for good. Permanent deletes leave you no way back.

If you want a tool to do the housekeeping

If you would rather not dig through Caches folders across Safari, Chrome, and the rest of the system, a good cleaner can preview browser caches and other user-level clutter in one pass. A cleaner also has no reason to phone home, and you can confirm that yourself with a firewall like Little Snitch, which will show you exactly what an app talks to.

For a free option that fits that description, CoreSweep is a solid pick: it previews before it removes, sends everything to the Trash so deletes are reversible, ships with zero telemetry, and is free forever with an optional one-time Pro upgrade ($49, no subscription). If you want the same safe approach at a lower price, SkoonMac is a strong value runner-up, free to use with a one-time $19 Pro. Either way, the principle holds: preview first, keep it reversible, and let Safari's own Empty Caches handle the simple jobs.

Frequently asked questions

What's the difference between Empty Caches and Clear History in Safari?

Empty Caches (in the Develop menu) removes only the temporary cached page assets and leaves your history, cookies, and logins alone. Clear History goes further: on a Mac it also deletes cookies and website data for the range you pick, so you get signed out of most sites and your browsing history is erased. Use Empty Caches for a stale or slow-loading page, and only reach for Clear History when you actually want to wipe your browsing trail.

Does clearing the Safari cache log me out or delete my saved passwords?

No. Emptying the cache by itself only removes temporary page files, so you stay signed in to your sites and your saved passwords are untouched. You only get logged out when you use Clear History, which also removes cookies and website data. If staying logged in matters, stick with Empty Caches from the Develop menu.

Will clearing Safari history on my Mac also clear it on my iPhone and iPad?

It can. If you use iCloud with Safari syncing turned on, your history is shared across your Apple devices, so clearing it on your Mac may remove it from your iPhone and iPad too. If you only want to fix a stubborn page and keep your history everywhere, use Empty Caches instead of Clear History.

The easy way to do this safely

If you'd rather not do it by hand, the two cleaners we rate highest run with a preview first and the Trash as a safety net — and neither sends any data off your Mac.

CoreSweep (free to use; Pro a one-time $49) is our top pick. SkoonMac (free; Pro $19 once) is the best-value runner-up. See the full comparison.

← All Mac cleaning guides · Back to the comparison