Clear Safari Documents and Data: Step-by-Step Guide
In this article
Clearing Safari documents and data removes browsing history, cached files, website data, cookies, and other temporary information stored by the browser. This helps improve performance, free up storage space, and enhance privacy—especially useful if you're experiencing slow loading times, login issues, or want to protect your personal data. Before proceeding, ensure any critical information like passwords saved in websites (not in iCloud Keychain) or unsaved forms are recorded elsewhere, as clearing data may log you out of websites and erase autofill information.
What You'll Need
- iOS device (iPhone or iPad) or Mac running a recent version of iOS/iPadOS or macOS
- Access to device settings (passcode, Face ID, or Touch ID may be required)
- Stable internet connection (recommended, but not required)
- Apple ID and password (in case you need to re-authenticate after clearing data)
Step-by-Step
- Open the Settings app on your iPhone or iPad. On a Mac, open the Safari app directly.
- Scroll down and tap on Safari in the Settings menu (iOS/iPadOS). On Mac, click Safari in the menu bar, then select Settings or Preferences.
- On iOS/iPadOS, scroll down and tap Clear History and Website Data. On Mac, go to the Privacy tab and click Manage Website Data to review or remove specific sites, or click Remove All Website Data.
- Confirm the action when prompted. On iOS, a pop-up will ask, "Clear History and Data?" Tap Clear History and Data to proceed. This removes all history, cookies, cache, and stored website data.
- On Mac, to clear history separately, go to the History menu and select Clear History. Choose a time range (e.g., all history) and click Clear History.
- After clearing, restart Safari to ensure all changes take effect. This helps flush any residual temporary files.
- (Optional) To prevent future buildup, enable automatic clearing. On iOS, go to Safari settings and toggle on Close Tabs After One Day or use Prevent Cross-Site Tracking and Block All Cookies for enhanced privacy (note: may break some site functionality).
- Verify the process by visiting a previously viewed site. You should be logged out and see no autofill suggestions, confirming data was cleared.
Common Mistakes
- Confusing Safari settings with general storage cleanup: Some users go to iPhone Storage settings and delete Safari as an app, which doesn’t fully clear data. Always use Safari’s dedicated clearing option.
- Skipping confirmation prompts: On iOS, the alert says "Clear History and Data?" — accidentally tapping outside the dialog or ignoring it stops the process.
- Not logging back into iCloud: After clearing, Safari may stop syncing bookmarks or passwords until you re-enable iCloud Safari sync in Settings > Apple ID > iCloud > Safari.
- Expecting immediate performance boost: Clearing data helps, but if your device is low on storage, additional cleanup (like photos or apps) may be needed.
- Forgetting saved logins: If you don’t use iCloud Keychain, clearing data erases form fills and logins stored by websites.
Tips
- Use iCloud Keychain: Enable it in Settings > Passwords > AutoFill Passwords to securely save logins even after clearing Safari data.
- Clear regularly: Do this monthly to maintain speed and privacy, especially on shared devices.
- Review website data before deleting: On Mac, use Manage Website Data to see which sites store the most data and selectively remove them.
- Check for updates: After clearing, ensure Safari and iOS/macOS are updated—bugs affecting data storage are often fixed in updates.
- Use Private Browsing for sensitive sessions to avoid storing data in the first place.
Troubleshooting
If Safari doesn’t clear properly or issues persist after the process:
- Clearing option is grayed out: This can happen if Screen Time restrictions are enabled. Go to Settings > Screen Time > Content & Privacy Restrictions > Allowed Apps and ensure Safari is enabled. Also check if website data limits are set under Screen Time > Content & Privacy Restrictions > Allowed Apps > Safari.
- Data reappears after clearing: If history or cookies return, iCloud Sync may be restoring them. Turn off Safari sync in iCloud settings, clear data, then re-enable sync.
- Safari crashes after clearing: Restart the device. If the issue continues, reset all settings (Settings > General > Transfer or Reset iPhone > Reset > Reset All Settings) — this won’t delete data but will reset network and privacy settings.
- Can’t log into websites: Use iCloud Keychain to recover passwords or reset passwords via email. Ensure your device date and time are set automatically (Settings > General > Date & Time).
- Storage not freed up: Clearing Safari data may not show immediate storage gain. Wait a few minutes or restart the device. If storage remains full, check large attachments in Mail or Messages, which also use website data.
Frequently Asked Questions
Does clearing Safari data delete my bookmarks?
No, bookmarks are preserved unless you manually delete them. Bookmarks synced via iCloud remain safe.
Will I lose my saved passwords?
If you use iCloud Keychain, passwords are saved securely and will return after sign-in. Otherwise, website-saved logins are erased.
How is 'Clear History and Website Data' different from 'Off the Record'?
'Off the Record' (Private Browsing) prevents saving data during a session. Clearing data removes previously stored information permanently.
Can I recover cleared Safari data?
No, once cleared, history, cookies, and cached data cannot be recovered unless restored from an iCloud or computer backup made before clearing.
Does this clear data on all my devices?
No, you must clear Safari data separately on each device unless iCloud sync is turned off and on to force a refresh.
Why doesn’t Safari show the 'Clear History and Data' option?
This may be due to Screen Time restrictions, outdated software, or parental controls. Check Screen Time settings and ensure your device runs iOS 11 or later.