How to Clear History Cache in Safari: Step-by-Step
In this article
Clearing Safari's history and cache removes your browsing record and stored website data. This frees up space, stops autocomplete suggestions from old sites, and can fix pages that load stale content or behave oddly. You can do it on iPhone, iPad, or Mac. The exact menu labels vary slightly by iOS/iPadOS and macOS version, so if a label looks different, look for the closest match.
What You'll Need
- Your iPhone, iPad, or Mac with Safari installed.
- Access to the device passcode or Apple ID password if you are asked to confirm.
- A few minutes; the process is quick and does not require any downloads.
Step-by-Step
On iPhone or iPad
- Open the Settings app on your device.
- Scroll down and tap Safari.
- Scroll to the bottom and tap Clear History and Website Data.
- Confirm by tapping Clear History and Data in the prompt. If you are asked to confirm with your passcode or Apple ID, enter it.
- To clear only the cache without removing history, go back to Settings > Safari > Advanced > Website Data, then tap Remove All Website Data. This deletes cookies and cached files but leaves your history list intact.
After clearing, Safari may reload open tabs and you may need to sign in to websites again. Your bookmarks, Reading List, and saved passwords are not deleted by this action.
On Mac
- Open Safari.
- From the menu bar at the top of the screen, choose History > Clear History.
- In the dialog that appears, select the time range you want to clear (for example, all history or last hour).
- Click Clear History.
- To clear the cache separately, go to Safari > Settings (or Preferences on older macOS versions), click the Privacy tab, then click Manage Website Data. Click Remove All to delete all cached data and cookies. This does not remove your history list.
On Mac, clearing history also removes it from other devices signed in to the same iCloud account if Safari syncing is enabled. If you want to keep history on other devices, turn off Safari syncing in iCloud settings before clearing.
Common Mistakes
- Confusing history with cache: Clearing history removes the list of visited sites; clearing website data removes cookies and cached files. Use the right option for your goal.
- Expecting bookmarks to be deleted: Clearing history does not remove bookmarks, Reading List items, or saved passwords.
- Forgetting about iCloud sync: On iPhone, clearing history also clears it on other devices using the same Apple ID if Safari is enabled in iCloud. Check before you clear if you want to keep history elsewhere.
- Clearing while a page is loading: Wait for the page to finish loading before clearing, or the action may not complete properly.
- Assuming private browsing data is included: Private windows do not store history after you close them, so clearing history does not affect private browsing data that is already gone.
Tips
- Clear history regularly if you share your device or want to reduce autocomplete suggestions from old sites.
- If you only want to remove a single site's data, go to Settings > Safari > Advanced > Website Data (iPhone/iPad) or Safari > Settings > Privacy > Manage Website Data (Mac) and remove individual entries instead of clearing everything.
- After clearing, restart Safari to ensure all changes take effect.
- Use Private Browsing for sensitive searches; it does not save history or cookies after you close the window.
- If you clear history to fix a loading problem, also try clearing website data, as the cache is often the cause.
Troubleshooting
If the clear button is grayed out or nothing happens, try these steps in order:
- Restart your device: Turn your iPhone or iPad off and on again, or restart your Mac. This clears temporary glitches.
- Update Safari and your OS: Go to Settings > General > Software Update on iPhone/iPad, or System Settings > General > Software Update on Mac. Install any available updates.
- Check Screen Time restrictions: If you use Screen Time, web content restrictions can prevent clearing history. Go to Settings > Screen Time > Content & Privacy Restrictions and ensure Web Content is set to Unrestricted or that clearing history is allowed.
- Sign out of iCloud and back in: This can resolve sync issues that block clearing. Go to , then sign back in. Note that this may remove some local data; back up first if needed.
- Reset network settings (iPhone/iPad only): Go to Settings > General > Transfer or Reset iPhone > Reset > Reset Network Settings. This erases Wi-Fi passwords and Bluetooth connections, so use it as a last resort.
- Contact Apple Support: If the problem persists, reach out to Apple Support for further assistance.
On Mac, if the Clear History option is grayed out, make sure Safari is the active app and that you are not in a private window. If the issue continues, create a new user account to test whether the problem is system-wide.
Frequently Asked Questions
Does clearing history delete my bookmarks?
No. Bookmarks, Reading List, and saved passwords remain intact. Only the history list and, if you choose, website data are removed.
Will clearing history sign me out of websites?
Clearing history alone does not sign you out. Clearing website data (cookies) will sign you out of most sites, as cookies store login sessions.
Can I recover history after clearing it?
No. Once cleared, history cannot be recovered unless you have a backup that includes Safari data, such as an iCloud or iTunes backup made before clearing.
Does clearing history on iPhone affect my Mac?
Yes, if Safari is enabled in iCloud settings on both devices. Clearing history on one device removes it from all synced devices. To avoid this, turn off Safari syncing before clearing.
How often should I clear history?
There is no set rule. Clear it as needed for privacy, to free up space, or to fix browsing issues. Some people clear it weekly; others rarely.
What is the difference between history and cache?
History is the record of pages you visited. Cache is stored copies of website files (images, scripts) that speed up loading. Clearing history removes the list; clearing cache removes stored files.