Clearing Safari cache requires Apple’s built-in settings paths — on iPhone or iPad, it’s Settings > Apps > Safari > Clear History and Website Data, and on Mac it’s Safari > Settings > Privacy > Manage Website Data.
A slow-loading or glitching website usually points to stored cache and cookies that have gone stale. Safari tucks the cache-clearing option inside the Settings app on iPhone and iPad, and inside Safari’s own Privacy panel on Mac. The exact steps differ between devices, and one common approach — clearing everything — might remove more data than you intended. Here’s the clean route for each platform, plus what each option actually deletes.
Clearing Safari Cache on iPhone and iPad
The main cache-clearing action lives in the Settings app, not inside Safari itself. Apple’s official route removes history, cookies, and cache in one move, but leaves your AutoFill information untouched.
- Open the Settings app.
- Scroll down and tap Apps (or find Safari directly in the list, depending on your iOS version).
- Tap Safari.
- Tap Clear History and Website Data.
- Choose a timeframe — Last Hour, Today, Today and Yesterday, or All History.
- Tap Clear History to confirm.
After this, Safari restarts fresh. Bookmarks stay put, saved passwords remain in iCloud Keychain, and AutoFill data like contact info keeps working. The only visible change: your open tabs close and Safari behaves as though it’s just been installed.
Removing Only Cache and Cookies (Keeping Your History)
If you want to clear stored site data without losing your browsing history, there’s a separate route that targets cache and cookies exclusively. This is useful when a single site is misbehaving but you don’t want to lose your open-tab context.
- Go to Settings > Apps > Safari.
- Scroll down and tap Advanced.
- Tap Website Data.
- Tap Remove All Website Data.
- Tap Remove Now to confirm.
This leaves your history and open tabs intact. Safari reloads the next page you visit from the server, downloading fresh assets without the old cache. It’s the least disruptive option for a quick clean.
Clearing Cache on Mac
On macOS, the cache removal path runs through Safari’s Privacy settings. This method removes stored cookies and website data for selected sites or for all sites at once.
- Open Safari.
- Click Safari in the menu bar and select Settings (or Preferences on older macOS versions).
- Click the Privacy tab.
- Click Manage Website Data.
- Review the list of stored sites. You can select specific sites and click Remove, or click Remove All to clear everything.
- Click Done to close the window.
Safari removes the stored cache and cookies for the sites you selected. Sign-in state for those sites resets, and pages load from scratch on your next visit. The change takes effect immediately; you don’t need to restart Safari.
| Action | iPhone / iPad Method | Mac Method |
|---|---|---|
| Clear cache, cookies, and history | Settings > Safari > Clear History and Website Data | Safari > Settings > Privacy > Manage Website Data > Remove All |
| Clear cache and cookies only (keep history) | Settings > Safari > Advanced > Website Data > Remove All Website Data | Safari > Settings > Privacy > Manage Website Data > Remove All (same path, but history stays) |
| Clear a single site’s data | Settings > Safari > Advanced > Website Data, swipe left on a site | Safari > Settings > Privacy > Manage Website Data, select site, click Remove |
| Data NOT removed | AutoFill, bookmarks, saved passwords | Bookmarks, saved passwords, reading list items |
| What happens to open tabs | All tabs close | Tabs stay open (loaded data will be fresh on reload) |
Grayed-Out Clear Button? What It Means
If the Clear History and Website Data option on iPhone or iPad appears gray and unresponsive, one of two things is happening. Either Safari has no stored data to clear (a fresh install or recently cleared device), or a Screen Time web content restriction is active. Go to Settings > Screen Time > Content & Privacy Restrictions and check whether web content limits are turned on. Disabling them (or setting them to “Unrestricted Access”) restores the clear button.
The Mac Developer Menu Cache Option
Some guides point to the Safari Developer menu — Develop > Empty Caches — as a cache-only method for Mac. This menu is hidden by default. To enable it, go to Safari > Settings > Advanced and check Show features for web developers. The Empty Caches command clears only the disk cache, leaving cookies and site data intact. Apple’s official support pages don’t promote this as the primary method, but it works for a targeted cache flush if you prefer the Developer workflow.
Does Clearing Cache Remove Saved Passwords or Bookmarks?
No. Apple isolates cache, cookies, and history from saved credentials and bookmarks. On iPhone and iPad, AutoFill data stays. On Mac, iCloud Keychain passwords survive the clear. Bookmarks remain on all devices because they’re stored separately from site data.
What To Do After Clearing the Cache
Once the cache is cleared, quit Safari and reopen it. Visit the site that was causing trouble — if the problem was a corrupted cache file, it should load correctly now. If it still hangs, try removing website data for just that site from the Manage Website Data list, then reload. Still stuck? Restart the device before retrying the site; a full reboot flushes any residual system-level cache that Safari’s internal cleaning might miss.
| Symptom | Likely Cause | Clearing Method That Helps |
|---|---|---|
| Website shows old content | Stale cache | Clear History and Website Data (iPhone) or Remove All (Mac) |
| Login keeps failing | Corrupt cookie | Remove Website Data for that site only |
| Safari feels unusually slow | Cache bloat | Clear History and Website Data (iPhone) or Remove All (Mac) |
| Blank page after loading | Corrupt cache file | Remove All Website Data (iPhone) or Manage Website Data > Remove All (Mac) |
| Clear button is gray | Screen Time restriction | Disable web content restrictions in Screen Time settings |
Clearing cache is a straightforward maintenance task that solves most Safari performance issues without losing your bookmarks, passwords, or AutoFill data. Pick the method that matches your device and how much of your browsing history you’re okay leaving behind.
References & Sources
- Apple Support. “Delete your Safari history, cache, and cookies on iPhone” Official steps for clearing Safari data on iPhone and iPad.
- Apple Support. “Clear your cache and cookies in Safari on Mac” Official Mac steps for managing website data.
- MacRumors. “How to Clear Safari Browsing History and Cache” Practical guide covering both iPhone and Mac methods.
