# Is it safe to clear Safari’s cache and website data on a Mac?

Is it safe to delete? · Browsers · Updated 21 November 2026. By Mohit Nippanikar, who makes SiftMac.

## The short answer

- **Yes.** The cache is copies of pages, images and scripts Safari saved so sites open faster, and Safari fetches them again as you browse. Bookmarks, history and passwords are kept separately and stay.
- **What it costs you:** slower first visits. Removing *website data* as well (cookies and site storage) signs you out of websites, and Apple notes it can change that data in other apps too.
- **Does it come back?** Yes, the cache refills as you browse. Clear it from Safari’s own settings rather than by deleting folders.
- SiftMac’s verdict: Rebuilds

## 1. What it is

Safari keeps two kinds of things for the sites you visit. The **cache** is copies of page parts, such as images, scripts and style sheets, so a site you return to doesn’t download everything again. **Website data** is what sites store on purpose: cookies that keep you signed in, local storage, databases and offline data for web apps.

Both build up again by browsing. The difference is what you lose on the way. An empty cache only means slower first loads. Removing website data means signing in again and losing small site preferences, like a chosen language or a cookie notice you already dismissed.

- Not part of either: your bookmarks, your browsing history (cleared separately with History › Clear History), saved passwords in your keychain, and files you downloaded.

## 2. Where it is

```
~/Library/Caches/com.apple.Safari
~/Library/Containers/com.apple.Safari
~/Library/Safari
```

Safari’s cache and website data are spread across these folders, and `~/Library/Safari` also holds your bookmarks and history. Apple doesn’t document which file is which, and recent macOS versions guard these folders, so Finder and Terminal may need Full Disk Access just to look inside. That’s why the safe route is Safari’s own settings below, not the folders.

## 3. How big it gets

There’s no fixed size. It depends on how much you browse and which sites you use: web apps that work offline and sites full of video and images store the most. **Safari › Settings › Privacy › Manage Website Data** lists every site that has stored something. To measure the main cache folder in Terminal:

```
du -sh ~/Library/Caches/com.apple.Safari
```

## 4. How to clear it safely

### Cache, cookies and site data together

1. In Safari, choose **Safari › Settings**, then click **Privacy**.
2. Click **Manage Website Data**.
3. Select one or more websites and click **Remove**, or click **Remove All** to clear every site.

This is Apple’s own way to clear Safari’s cache and cookies. Removing sites one at a time keeps you signed in everywhere else.

### Only the cache

1. Choose **Safari › Settings**, click **Advanced** and turn on **Show features for web developers**. A Develop menu appears in the menu bar.
2. Choose **Develop › Empty Caches**.

Apple describes Empty Caches as emptying the webpage cache and Safari’s other caches. Cookies are a different kind of data, so this is the gentler choice when you only want stale pages gone.

**History › Clear History** is something else again: it removes the list of pages you visited, recent searches and similar records, and if Safari syncs through iCloud, Apple says it removes them from your other devices as well.

## 5. What happens afterwards

- Each site loads a little slower on your next visit while Safari saves fresh copies.
- After **Remove All**, you’re signed out of websites and some forget settings such as language.
- Apple notes that removing cookies and website data in Safari may change or remove them in other apps.
- Bookmarks, history, open tabs, passwords and downloaded files stay as they were.

## 6. What not to delete instead

Don’t delete `~/Library/Safari` to save space: it holds your bookmarks and history along with site data. Browser caches are rarely what fills a Mac anyway. The bigger wins are usually elsewhere: the [Downloads folder](https://siftmac.com/safe-to-delete/downloads-folder), the caches other apps keep in [~/Library/Caches](https://siftmac.com/safe-to-delete/library-caches), and the steps in [how to clear cache on a Mac](https://siftmac.com/guides/how-to-clear-cache-on-mac).

## Questions

### Does clearing Safari’s cache delete my passwords or bookmarks?

No. Manage Website Data and Empty Caches work on cached files and site data. Bookmarks, history and the passwords in your keychain aren’t part of either.

### Will clearing Safari’s cache sign me out of websites?

Empty Caches works on caches, not cookies, so it’s the gentle option. Remove All in Manage Website Data removes cookies as well, which signs you out; remove single sites if you only want to reset a few.

### Is clearing history the same as clearing the cache?

No. Apple lists what Clear History removes, such as visited pages, recent searches and frequently visited sites, and the cache isn’t on that list. Clear the cache with Manage Website Data or Develop › Empty Caches.

### Can I clear Safari’s cache from Terminal?

It isn’t worth it. Apple doesn’t document the folders, macOS guards them, and one of them also holds your bookmarks. Safari’s two built-in options do the job without guessing.

## How SiftMac handles it

SiftMac leaves Safari to Safari. Apple’s own caches (folders named `com.apple.…`) are on its list of things it never touches, since macOS often guards them, and its space map shows `~/Library/Safari` and `~/Library/Containers` as private instead of reading them. Use Manage Website Data or Empty Caches.

Download: https://siftmac.com/SiftMac.dmg (scanning is free, and so is the first 2 GB of cleaning).

## Sources

- [Apple: Clear your cache and cookies in Safari on Mac](https://support.apple.com/guide/safari/manage-cookies-sfri11471/mac)
- [Apple: Use the developer tools in the Develop menu in Safari on Mac](https://support.apple.com/guide/safari/use-the-developer-tools-in-the-develop-menu-sfri20948/mac)
- [Apple: Use the Safari Develop menu (Safari 9 help, describes Empty Caches)](https://help.apple.com/safari/mac/9.0/en.lproj/sfri20948.html)
- [Apple: Clear your browsing history in Safari on Mac](https://support.apple.com/guide/safari/clear-your-browsing-history-sfri47acf5d6/mac)

## Related

- [Is it safe to delete Google Chrome’s cache on a Mac?](https://siftmac.com/safe-to-delete/chrome-cache)
- [Is it safe to delete the Firefox cache on a Mac?](https://siftmac.com/safe-to-delete/firefox-cache)
- [How to clear cache on a Mac: app, browser and system caches](https://siftmac.com/guides/how-to-clear-cache-on-mac)
- [Is it safe to delete ~/Library/Caches on a Mac?](https://siftmac.com/safe-to-delete/library-caches)

Canonical: https://siftmac.com/safe-to-delete/safari-cache
