Clear Safari History for a Specific Time Range on iPhone & iPad
In this article
This guide shows you how to delete only the Safari browsing history from a chosen period—like the last hour, today, or the past week—on your iPhone or iPad. This is useful when you want to remove traces of private browsing without wiping your entire history, bookmarks, or saved passwords. You don't need any special tools; everything is done in the Settings app on your device.
What You'll Need
- An iPhone or iPad running iOS 13 or later (the steps are identical on both).
- Your device's passcode or Face ID/Touch ID, if enabled, to access Safari settings.
Step-by-Step
- Open the Settings app on your iPhone or iPad. It's the gear icon usually on your home screen.
- Scroll down and tap “Safari” in the settings list. It's typically near the top, among apps like “Notes” and “Messages.”
- Scroll down to the “Privacy & Security” section and tap “Clear History and Website Data.” This option is usually the third item from the top in that section.
- A pop-up menu will appear with a list of time ranges. You'll see options like “Last hour,” “Today,” “Today and yesterday,” “Last 7 days,” and “All history.” Tap the one that matches the duration you want to clear.
- Confirm your choice by tapping the red “Clear History” button in the pop-up. If you change your mind, tap “Cancel” instead.
- Wait a few seconds for Safari to finish clearing. The pop-up will close, and you'll return to the Safari settings page. Your history for that specific time period is now deleted.
Note: This action also removes cookies and other website data from the selected time range. This may log you out of some websites, but it won't affect your saved passwords or bookmarks.
Common Mistakes
- Tapping “All history” when you meant a shorter range – This wipes everything, which is irreversible. Double-check the time range you select before confirming.
- Using the “Close Tabs” option instead – Closing all tabs does not clear history; it only removes open web pages. History is stored separately.
- Clearing from the Safari app itself – The “Clear History” option is only in the Settings app, not in Safari's toolbar. If you look for it in Safari, you won't find it.
- Expecting to clear history for a custom date range – Apple only offers preset ranges (last hour, today, etc.). You cannot specify exact dates or times.
Tips
- Use “Last hour” for quick cleanup after a private browsing session that you want to erase immediately.
- If you want to keep some history but remove specific sites, use Safari's “Edit” button in the History list (book icon) to delete individual entries instead of clearing a time range.
- Consider using Private Browsing mode (Safari > Tabs > Private) for sessions you don't want recorded at all. That way, you won't need to clear history later.
- Remember that clearing history also clears cookies for that period, so you might need to log in again to websites you visited during that time.
Troubleshooting
- History still appears after clearing – If you have multiple devices signed into the same iCloud account, history may sync back from another device. Wait a few minutes before turning it back on.
- The “Clear History and Website Data” option is grayed out – This can happen if you have Screen Time restrictions enabled. Go to Settings > Screen Time > Content & Privacy Restrictions > Allowed Apps and ensure Safari is allowed. If it's restricted, you'll need to disable the restriction (or enter your Screen Time passcode) to change Safari settings.
- Clearing history doesn't free up storage – History is tiny; the “Website Data” part can be larger, but it's still usually small. If you need more space, go to Settings > General > iPhone Storage and look for Safari to see its data size, then consider clearing “All History” or removing website data individually.
- After clearing, some websites still show as visited – This is likely because those sites are in your bookmarks or reading list, which are not cleared by this action. Delete them separately if needed.
Frequently Asked Questions
Does clearing history for a specific time also delete my passwords?
No. Passwords are stored separately in iCloud Keychain and are not affected by clearing history.
Can I clear history for just one website?
Yes, you can. Open Safari, tap the book icon, go to the History tab, tap “Edit,” then select the specific entries you want to delete and tap “Delete.”
Will clearing history log me out of websites?
Yes, it will remove cookies for that time period, which may log you out of sites you visited during that time. You'll need to sign in again.
Can I recover cleared history?
No, once cleared, it's gone. There is no built-in way to recover it. If you have iCloud backups, you could restore your device, but that would also revert other data and is not recommended.
Does this clear history on my other Apple devices?
If you have iCloud Safari syncing enabled, clearing history on one device will also clear it on your other devices. If you only want to clear on one device, temporarily turn off Safari sync in iCloud settings first.
Why is there no option to clear history for a custom date range?
Apple only offers preset time ranges to keep the interface simple. For more granular control, you'd need to use third-party apps or a computer with iTunes/Finder, but those aren't necessary for most users.