Where your iPhone stores browsing history
Your iPhone keeps a record of websites you visit in Safari, the built-in browser. This history is stored locally on your device and syncs across your other Apple devices if you use iCloud. Deleting it removes the record from your iPhone, but if you use iCloud, you may need to clear it from your other devices separately depending on how you delete it.
The history Safari keeps includes the websites you visited, the dates and times you visited them, and your bookmarks. Your search history — what you typed into search bars — is stored separately and can be deleted on its own.
Key Takeaways
- Open Settings, tap Safari, scroll to Clear History and Website Data, and choose a time range to delete history from the last hour, day, week, month, or all time.
- Clearing history from Settings removes it from your current iPhone but may not remove it from other devices connected to your iCloud account.
- You can delete search history separately by opening Safari, tapping the search bar, and swiping left on individual searches or tapping Edit and Delete All.
- Closing Safari tabs does not delete history — you must use the Clear History option in Settings or Safari itself.
- If you want history deleted across all your Apple devices, turn off Safari in iCloud settings, then clear history on each device individually.
Clearing history through Settings
The most direct way to delete your browsing history is through your iPhone's Settings app. Open Settings, scroll down and tap Safari, then scroll to the bottom of that screen. You will see "Clear History and Website Data" — tap it.
A menu will appear asking you to choose a time range. You can select "the last hour," "today," "today and yesterday," "the last week," "the last month," or "all time." Pick the range that covers the history you want to remove, then tap "Clear History and Website Data" again to confirm. Your history from that period will be deleted immediately.
This method clears history, cookies, and cached website data all at once. If you only want to remove history and keep cookies (which some websites use to remember your preferences), this approach removes both.
Clearing history directly in Safari
You can also delete history without opening Settings by using Safari itself. Open Safari, tap the book icon at the bottom of the screen (on iPhone 12 and newer) or the icon that looks like an open book (on older models). Tap "History" at the bottom of the menu that appears.
You will see a list of websites organized by time — "Earlier Today," "Yesterday," "Last Week," and so on. Swipe left on any website to delete just that one, or tap "Clear" at the bottom right to delete all history shown on the current screen. To delete all history at once, go back to Settings as described above.
Removing search history separately
Safari also keeps a separate record of what you typed into the search bar. To delete this without removing your full browsing history, open Safari and tap the search bar at the top. You will see a list of recent searches below the keyboard.
Swipe left on any search term to delete just that one. To delete all searches at once, tap "Edit" in the top right corner, then tap the red minus sign next to "Clear All," and confirm by tapping "Clear All" again. This removes only your search history, not the websites you visited.
What happens when you clear history on iCloud
If you use iCloud to sync Safari across multiple Apple devices, clearing history on your iPhone may not immediately remove it from your Mac, iPad, or other devices. The behavior depends on how you delete the history. When you clear history through Settings, it syncs across devices, but the process can take a few minutes.
If you want to ensure history is deleted from all your devices, the safest approach is to turn off Safari syncing in iCloud, clear history on each device individually, then turn Safari syncing back on. To do this, go to Settings, tap your name at the top, tap iCloud, tap Safari, and toggle it off. Wait a few minutes, then toggle it back on.
Clearing cookies and cached data separately
When you clear history through Settings, you also remove cookies and cached website data. If you want to keep your history but remove only cookies and cache, you cannot do this through the standard Settings menu — the two are cleared together.
Some websites store information in cookies to remember your login or preferences. Clearing them means you may have to log back into websites or reset your preferences. If you need to keep history but remove cookies, your only option is to use a different browser like Chrome or Firefox, which offer more granular controls, or to accept that clearing history will also clear cookies.
Preventing history from being saved
If you want Safari to stop recording your history altogether, you can use Private Browsing mode. Open Safari, tap the tabs icon at the bottom right (two overlapping squares), then tap "Private" in the bottom left corner. Any browsing you do in Private mode will not be added to your history.
When you close a Private tab, that session is deleted automatically. However, Private mode does not hide your activity from your internet service provider or the websites you visit — it only prevents Safari from storing the history locally on your device. If you open a new Private tab and visit a website, that visit will not appear in your history list.
Frequently Asked Questions
Does clearing history on iPhone delete it from my Mac or iPad?
If you use iCloud, clearing history on your iPhone syncs to your other devices within a few minutes. However, the timing is not instant. If you want to be certain history is deleted everywhere, turn off Safari syncing in iCloud settings, clear history on each device, then turn syncing back on.
Can I delete history from a specific website only?
Yes. Open Safari, tap the book icon, tap History, find the website you want to remove, and swipe left on it. This deletes only that entry without affecting the rest of your history.
What is the difference between clearing history and using Private Browsing?
Clearing history removes past browsing records from your device. Private Browsing prevents Safari from recording new browsing as you go. Private mode does not delete existing history — it just stops new visits from being added to it.
If I clear history, will websites still remember my login information?
Clearing history through Settings also removes cookies, which websites use to keep you logged in. You will likely have to log back into websites after clearing history. If you want to stay logged in, you cannot use the standard clear history option.
Does clearing Safari history delete my passwords?
No. Clearing history does not affect passwords stored in iCloud Keychain. Your saved passwords will remain available even after you delete your browsing history.