How to Clear the Safari Cache on a Mac (Without Losing Your Passwords)
Safari's cache holds saved copies of pages, images and scripts to make sites load faster. Clearing it fixes pages that look broken or out of date, and it frees a little space.
Quick answer: To clear only the cache, turn on Show features for web developers in Safari > Settings > Advanced, then choose Develop > Empty Caches (⌥⌘E). To clear history, cookies and website data as well, use Safari > Clear History. If you want to see how much space caches use across the whole Mac, the Space App scans and grades them Safe, Review or Caution.
Option 1: clear only the cache (keeps logins)
Open Safari > Settings > Advanced.
Turn on Show features for web developers. On older macOS versions this is called Show Develop menu in menu bar.
Choose Develop > Empty Caches, or press ⌥⌘E.
This removes cached files only. You stay signed in to sites, and your history is untouched.
Option 2: clear history, cookies and website data
Choose Safari > Clear History, pick a time range, and confirm. This removes history, cookies and other website data for that period. You will be signed out of most sites.
Option 3: remove data for one site
Open Safari > Settings > Privacy.
Click Manage Website Data.
Search for the site, select it, and click Remove.
This is the right choice when a single site misbehaves and you do not want to be signed out everywhere.
Which one to use
| Problem | Best option |
|---|---|
| Page looks broken or out of date | Empty Caches |
| One site will not load properly or keeps logging you out | Manage Website Data |
| You want to remove tracking and browsing records | Clear History |
Signs the cache is the problem
A stale cache is the likely cause when a page looks broken or half-styled, shows an old version of content you know has changed, or a site loads fine in a Private window but not in a normal one. If only one site misbehaves, start with that site rather than clearing everything.
Try a hard reload first
Before emptying anything, reload the page while skipping the cache. In Safari, choose Develop > Reload Page From Origin (⌥⌘R). This fetches a fresh copy of that one page and leaves everything else alone. If the page is fixed, you are done.
If the page is still wrong
Work through these in order, and stop when the problem goes away:
Empty Caches with ⌥⌘E, then quit Safari completely (⌘Q) and reopen it.
Open the page in a Private window (⇧⌘N). A Private window starts without your cookies and cached data. If the page works there, the cause is stored data for that site, so use Option 3 above.
Turn off extensions. Open Safari > Settings > Extensions and untick them, especially content blockers and ad blockers. A misbehaving extension looks exactly like a cache problem.
Check the same page in another browser. If it fails there too, the problem is the site or your network, not Safari.
Caches are rebuilt automatically, so Safari may feel slightly slower for the first few pages after you clear it. That passes quickly.
What about other browsers and system caches
Chrome and Firefox have their own settings, covered in clearing cache and cookies in Safari, Chrome and Firefox. For app and system caches, see how to clear cache on a Mac, and for DNS specifically, how to flush the DNS cache.
FAQ
Will clearing the Safari cache delete my passwords?
No. Empty Caches removes cached page files only. Saved passwords live in your Passwords settings and keychain, and they are not part of the cache. Clearing history, cookies and website data also leaves saved passwords alone, though it signs you out of sites.
What is the difference between the cache and cookies?
The cache stores copies of page files, such as images and scripts, so sites load faster. Cookies store small pieces of information about you, such as whether you are signed in. Clearing the cache does not sign you out, but clearing cookies does.
Does clearing the cache free up much space?
Usually only a little. Safari's cache is typically small compared with things like old backups or large files, so clear it to fix a display problem, not to recover storage. To find what is really using space, see Mac storage full: a complete guide.
Does Clear History affect my other devices?
If Safari is synced with iCloud, clearing history on your Mac also removes it from your other devices signed in with the same Apple Account. Emptying only the cache does not.