Where your iPhone stores browsing history and why you might want to clear it

Your iPhone records every website you visit in Safari, the built-in web browser. This history stays on your phone unless you delete it. The phone keeps this record so Safari can suggest sites you've visited before and so you can search your own browsing if you need to find a page again.

You might want to clear this history for privacy — so someone using your phone cannot see where you've been online. Or you might clear it to free up a small amount of storage space, though the history file itself is tiny. The steps differ slightly depending on which iPhone model you have and which version of iOS (the iPhone operating system) is installed, but the basic process is the same across all recent iPhones.

Key Takeaways

  • Safari history lives in the Safari app settings, not in a separate folder, and you delete it through the Settings app on your home screen.
  • Clearing history removes the list of sites you visited, but does not delete saved passwords or payment information unless you also clear those separately.
  • You can delete all history at once or set your iPhone to delete history automatically every time you close Safari.
  • If you use iCloud to sync your iPhone with other Apple devices, clearing history on one device clears it on all of them.

Delete all your Safari history right now

Open the Settings app — the gray icon with gears on your home screen. Scroll down and tap Safari. You will see a list of Safari options. Scroll to the bottom of this list and tap Clear History and Website Data.

A popup will appear asking how far back you want to clear. Your choices are the last hour, today, today and yesterday, or all time. Tap whichever period you want. The phone will ask you to confirm — tap Clear History and Data again. Your history is now deleted.

If you do not see the "Clear History and Website Data" option, scroll down further in the Safari settings. On some iPhone models it appears lower on the page. If you still cannot find it, make sure you are in the Safari section of Settings, not the main Settings menu.

What gets deleted and what stays behind

When you tap "Clear History and Website Data," the phone deletes two things: the list of websites you visited, and the small data files (called cookies) that websites store on your phone. This means Safari will no longer suggest sites you've been to, and websites will not remember your login information the next time you visit.

What does not get deleted: your saved passwords, your payment information (like credit card numbers stored in Apple Pay), or your autofill information. If you want to delete those as well, you need to do it separately. Go back to Settings > Safari and look for Passwords and Autofill. From there you can delete saved passwords one at a time or clear autofill data.

Private browsing is different from clearing history. If you open Safari and tap the tabs icon (two overlapping squares) at the bottom right, then tap Private, Safari will not record that browsing session at all. But once you close Private browsing and return to normal browsing, Safari starts recording again.

Set your iPhone to delete history automatically

If you want your iPhone to delete history without you having to do it manually, you can set it to clear automatically. Go to Settings > Safari and scroll down to find Clear History and Website Data. Just above it, you will see an option that says Close Tabs with a dropdown menu next to it. Tap that dropdown.

You will see options like Manually, After One Day, After One Week, and After One Month. Pick whichever you prefer. If you choose "After One Day," Safari will automatically delete your history every time you close all your tabs and reopen the app the next day. This happens in the background — you will not see a notification.

This automatic deletion only works if you close all your Safari tabs. If you leave tabs open, the history stays. This is intentional — the phone assumes you might want to go back to a site you had open.

How iCloud affects your history across devices

If you use iCloud (Apple's cloud storage service) and have Safari syncing turned on, your browsing history is shared across all your Apple devices — your iPhone, iPad, and Mac. When you delete history on your iPhone, it deletes from those other devices too.

To check if Safari syncing is on, go to Settings > [Your Name] > iCloud and look for Safari in the list. If the toggle next to it is green, syncing is on. If you turn it off, your devices will no longer share history, and deleting history on one device will not affect the others.

This can be useful if you share an iPad with family members but want your iPhone history to stay private. Turn off Safari syncing on your iPhone, and your history will only delete from that phone.

Clearing history on older iPhone models

If you have an iPhone running iOS 15 or older, the steps are nearly identical, but the menu names might be slightly different. Open Settings, tap Safari, and look for an option that says Clear History and Website Data or just Clear History. Tap it and choose your time range. The process works the same way.

If you cannot find this option at all, your iPhone may be running an unusually old version of iOS. You can check which version you have by going to Settings > General > About and looking at the "Software Version" line. If it says iOS 12 or earlier, the steps may be different — contact Apple Support or check their official support page for your specific version.

Frequently Asked Questions

Does clearing history delete my saved passwords?

No. Clearing history removes only the list of sites you visited and cookies. Your saved passwords stay on your phone. If you want to delete a specific password, go to Settings > Passwords and find it in the list, then swipe left and tap Delete.

Will deleting history free up storage space on my iPhone?

Very little. Browsing history takes up almost no space — usually less than a megabyte. If you need to free up storage, deleting photos, videos, or unused apps will make a much bigger difference.

Can someone recover my history after I delete it?

Not through normal iPhone functions. Once you delete history through Settings, it is gone. However, if your iPhone is backed up to iCloud, Apple's servers may retain a copy until that backup is replaced by a new one.

What is the difference between clearing history and private browsing?

Private browsing prevents Safari from recording a session at all — nothing is saved. Clearing history deletes what was already recorded. Private browsing is useful if you want to browse without a record; clearing history is useful after you have already browsed normally.

If I clear history on my iPhone, does it clear on my Mac too?

Only if you have Safari syncing turned on through iCloud. If syncing is on, clearing history on any device clears it on all of them. If syncing is off, each device keeps its own separate history.