How to Clear Safari Cache on iPhone, iPad & Mac
In this article
Clearing Safari's cache (stored website data, images, and files) can free up storage space, fix pages that load incorrectly, and resolve issues like outdated content or login problems. This guide walks you through clearing the cache on iPhone, iPad, and Mac, including the difference between clearing just the cache and clearing all website data. No special tools are needed—just your device and a few minutes.
What You'll Need
- Your iPhone, iPad, or Mac with Safari.
- Your device passcode (if you have one) to confirm changes.
- An active internet connection (not strictly required, but helpful for re-loading pages after clearing).
Step-by-Step
On iPhone and iPad
- Open the Settings app (the gray gear icon).
- Scroll down and tap Safari.
- Scroll to the bottom of the Safari settings page.
- Tap Clear History and Website Data. A confirmation pop-up will appear.
- Tap Clear History and Data to confirm. This removes browsing history, cookies, and other website data (including cache).
Note: If you want to clear only the cache (not history or cookies), you can do so by going to Settings > General > iPhone Storage (or iPad Storage), finding Safari in the list, and tapping Offload App (which removes the app but keeps documents and data) or Delete App (which removes everything). However, the most common and straightforward method is the one above.
On Mac
- Open Safari.
- In the menu bar at the top of the screen, click History.
- Select Clear History... (or Clear History and Website Data in some versions).
- Choose a time range from the dropdown: the last hour, today, today and yesterday, or all history. To clear everything, select all history.
- Click Clear History. This removes browsing history, cookies, and website data (including cache).
Alternative for cache-only on Mac: If you only want to clear the cache (not history or cookies), you can use the Developer menu. First, enable it: go to Safari > Settings (or Preferences), click the Advanced tab, and check Show features for web developers. Then, in the menu bar, click Develop and select Empty Caches. This clears only the cached files, leaving history and cookies intact.
Common Mistakes
- Confusing “Clear History” with “Clear Cache”: On iPhone/iPad, the “Clear History and Website Data” option clears both, but some users think it only clears history. If you want to keep history, use the Mac’s “Empty Caches” method or the iPhone storage offload method.
- Not closing Safari before clearing: On iPhone/iPad, if Safari is open in the background, the cache may be partially re-written. Close Safari completely (swipe it away from the app switcher) before clearing.
- Forgetting to restart Safari after clearing: After clearing, close Safari and reopen it to ensure the changes take effect.
- Clearing all website data when you only wanted cache: This logs you out of websites and removes offline content. If you want to stay logged in, use the “Empty Caches” method on Mac or the storage offload on iPhone/iPad.
Tips
- Clear cache regularly if you notice Safari becoming sluggish or pages not loading correctly. A monthly clear is a good habit.
- Use private browsing mode (Safari > Private) for sensitive sessions—this doesn’t store cache or history, so you won’t need to clear it later.
- If you’re low on storage, clearing cache can free up significant space, especially if you visit media-heavy sites.
- On Mac, you can also clear cache via the “Develop” menu as described above, which is faster than clearing all history.
- After clearing, you may need to re-enter passwords for websites you were logged into. Use a password manager to make this easy.
Troubleshooting
If clearing the cache doesn’t solve the problem or something goes wrong:
- Cache still not cleared? On iPhone/iPad, make sure you’re running the latest iOS/iPadOS. Some older versions had bugs where cache wasn’t fully cleared. Restart your device after clearing.
- Safari is still slow or pages still load incorrectly: Try clearing all website data again, but also check if the issue is with a specific website. Test in a different browser (e.g., Chrome) to see if it’s a Safari-specific issue.
- You accidentally cleared your history and want it back: Unfortunately, once cleared, history cannot be recovered. Restore from an iCloud or iTunes backup if you have one, but note that this will also restore the cache you tried to clear.
- On Mac, the “Develop” menu is missing: Go to Safari > Settings > Advanced and check “Show features for web developers.” If it’s already checked, try unchecking and rechecking it, then restart Safari.
- Clearing cache didn’t free up storage space: The cache may be small if you haven’t visited many sites. Check your storage usage in Settings > General > iPhone Storage to see what else is taking up space.
Frequently Asked Questions
Will clearing Safari cache log me out of websites?
Yes, clearing the cache (and especially clearing all website data) will remove cookies, which are what keep you logged in. You’ll need to sign in again on most sites.
Does clearing cache delete my saved passwords?
No, clearing Safari cache does not affect saved passwords. Passwords are stored in iCloud Keychain and are separate from cache data.
How often should I clear Safari cache?
There’s no set rule. Clear it when you notice issues like slow loading, outdated content, or when you need to free up storage. For most users, once a month is sufficient.
Can I clear cache for just one website?
On iPhone/iPad, you can’t clear cache for a single site easily. On Mac, you can use the “Website Data” settings: go to Safari > Settings > Privacy > Manage Website Data, then select the site and click Remove.
Will clearing cache affect my reading list or bookmarks?
No, clearing cache does not remove bookmarks or items saved to your Reading List. Those are stored separately.
Is clearing cache the same as clearing history?
No. Cache is temporary files (images, scripts) that speed up loading. History is the list of pages you’ve visited. Clearing history does not necessarily clear cache, and vice versa. The “Clear History and Website Data” option clears both.