Delete all Safari history at once
Open the Settings app on your iPhone, scroll down and tap Safari, then tap Clear History and Website Data. A menu appears asking what time range to clear — choose all time to remove everything, or pick a specific range like the last hour, day, or week. Tap the option you want, and Safari will delete your browsing history, cookies, and cached data immediately.
This method clears history across all your devices if you use iCloud to sync Safari. If you don't want that to happen, turn off iCloud syncing for Safari before you clear — go to Settings, tap your name at the top, select iCloud, scroll to Safari, and toggle it off.
Key Takeaways
- The fastest way to clear Safari history is through Settings > Safari > Clear History and Website Data, where you choose the time range you want to remove.
- Clearing history also removes cookies and cached website data, which may log you out of some sites on your iPhone.
- If you sync Safari across devices with iCloud, clearing history on one device clears it on all of them unless you turn off syncing first.
- You can delete individual sites from history by opening Safari, tapping the book icon, selecting History, swiping left on a site, and tapping Delete.
Delete individual sites from your history
Open Safari and tap the book icon at the bottom of the screen (or the top on older iPhones). Tap the History tab — it looks like a clock. Scroll through your history to find the site you want to remove, swipe left on it, and tap the red Delete button that appears.
This method removes only that one site from your history and does not affect cookies or cached data. It's useful if you want to keep most of your history but remove a few specific pages.
Clear history automatically when you close Safari
You can set Safari to delete history every time you close the app. Go to Settings, tap Safari, scroll down to Clear History and Website Data, and toggle it on. Now whenever you close Safari completely (not just minimize it), your history, cookies, and cache will be deleted automatically.
This setting does not delete history from other devices if you use iCloud syncing — it only clears the local history on that iPhone. If you want automatic clearing across all your devices, you'll need to turn off iCloud syncing for Safari first.
Understand what gets deleted and what doesn't
When you clear Safari history, you remove three things: your browsing history (the list of sites you visited), cookies (small files that remember your login information and preferences), and cached data (images and files Safari stored to load pages faster). You do not delete your bookmarks, reading list, or saved passwords — those stay on your phone.
Clearing history will log you out of most websites because cookies are deleted. You'll need to sign back in the next time you visit those sites. If you want to keep cookies for specific sites while clearing history, you'll need to use a different browser or manually manage cookies through Settings > Safari > Advanced > Website Data.
Delete Safari data on a shared iPhone
If multiple people use the same iPhone, each person's Safari history is stored together — there's no way to clear one person's history without clearing everyone's. The only way to keep browsing private on a shared device is to use Private Browsing mode, which doesn't save history at all.
To turn on Private Browsing, open Safari, tap the tabs icon at the bottom right, then tap Private in the lower left corner. The address bar will turn dark, showing you're in private mode. Sites you visit in this mode won't appear in your history, and cookies are deleted when you close the tab.
Recover deleted Safari history
Once you clear Safari history, you cannot get it back from your iPhone alone. However, if you backed up your iPhone to iCloud or a computer before you deleted the history, you could restore from that backup — but this would restore everything on your phone to that earlier date, not just Safari history.
If you use iCloud syncing and cleared history on one device, the deletion syncs to all your other devices within a few minutes. There's no undo button for this action. If you need to keep your history, consider turning off automatic clearing and manually deleting only the sites you want removed.
Frequently Asked Questions
Does clearing Safari history delete my passwords?
No. Clearing history removes your browsing history, cookies, and cached data, but not your saved passwords. Your passwords stay in the iPhone's keychain and remain available the next time you visit a site. If you want to delete a saved password, go to Settings > Passwords and find the site you want to remove.
Will clearing history log me out of websites?
Yes, in most cases. Cookies store your login information, and clearing history deletes cookies. You'll need to sign back in to most sites after clearing history. Some sites may remember you if they use other tracking methods, but most will log you out.
Can I clear history from just today without clearing older history?
Yes. Go to Settings > Safari > Clear History and Website Data, and choose Last Hour or Today instead of All Time. This removes only the history from that time period and leaves older history intact.
What's the difference between clearing history and Private Browsing?
Clearing history removes sites you've already visited. Private Browsing prevents Safari from saving any history in the first place — sites you visit in private mode won't appear in your history at all. Private Browsing is better if you want to browse without leaving a record; clearing history is better if you want to remove history you've already created.
If I clear history on my iPhone, does it clear on my Mac too?
Yes, if you have iCloud syncing turned on for Safari. Clearing history on one device syncs the deletion to all devices signed into the same iCloud account within a few minutes. If you don't want this to happen, turn off Safari syncing in iCloud Settings before you clear history.