Why and how to delete your Safari history

Safari stores a record of every website you visit — the URLs, the dates, and sometimes passwords and payment information. Clearing this history removes that record from your device. You might do this to free up storage space, prevent others from seeing where you've been, or straightforward start fresh.

Safari gives you three options: clear everything from all time, clear just the last hour or day, or delete individual sites. The fastest method takes about 10 seconds. Which one you choose depends on how much you want to remove.

Key Takeaways

  • Open Safari, tap or click History in the menu bar, then select Clear History to remove your browsing record in one step.
  • You can choose to clear history from the last hour, today, today and yesterday, or all time — pick the timeframe that matches what you want deleted.
  • Clearing history does not delete saved passwords or payment methods unless you specifically choose to clear those too.
  • If you want to hide your browsing without clearing history afterward, use Safari's Private Browsing mode instead, which keeps no record at all.
  • On iPhone and iPad, the steps are identical to Mac, but the menu locations look slightly different.

Clear all your history at once on Mac

Open Safari and look at the menu bar at the top of your screen. Click History — it sits between Bookmarks and Develop. A dropdown menu appears with recent sites listed at the top.

At the bottom of that menu, click Clear History. A small window pops up asking you to choose a timeframe. The dropdown menu shows four options: the last hour, today, today and yesterday, or all time. Select whichever matches what you want to remove, then click Clear History again. That's it — your browsing record for that period is gone.

Clear history on iPhone or iPad

On iPhone and iPad, the process is nearly identical, but you access it through Settings instead of a menu bar. Open the Settings app and scroll down until you find Safari. Tap it.

Scroll to the bottom of the Safari settings page. You'll see a button labeled Clear History and Website Data. Tap it. A popup asks you to confirm — tap Clear History and Data to proceed. This clears everything from all time by default. Unlike the Mac version, the iPhone and iPad method does not offer a timeframe choice in this menu, so if you want to clear only the last hour, you'll need to use the History menu within Safari itself instead.

Delete individual sites from your history

If you only want to remove one or two sites instead of your entire history, you can delete them one at a time. On Mac, open Safari and click History in the menu bar. The dropdown shows your most recent sites. Find the one you want to remove, hover over it, and a small X appears on the right side. Click the X and that site disappears from your history.

On iPhone or iPad, open Safari and tap the Bookmarks icon at the bottom (it looks like an open book). Tap the History tab. Swipe left on any site you want to delete, and a red Delete button appears. Tap it. The site is removed from your history but nothing else changes.

What gets cleared and what stays

When you clear history in Safari, you remove the list of websites you visited and the dates you visited them. This does not automatically delete saved passwords, credit card numbers, or autofill information — those are stored separately.

If you want to remove those too, you have to do it in a different place. On Mac, go to Safari menu > Preferences > Autofill and uncheck the boxes next to the data you want to stop saving. On iPhone or iPad, go to Settings > Safari > Autofill and toggle off the categories you don't want saved. If you want to delete passwords you've already saved, that's done through your device's password manager, not through Safari itself.

Use Private Browsing to avoid creating history in the first place

If you know you don't want your browsing recorded, Safari's Private Browsing mode keeps no history at all. On Mac, click File in the menu bar and select New Private Window. A new Safari window opens with a dark background and a note saying "Private Browsing is On." Anything you do in this window — every site you visit, every search you make — is not recorded anywhere.

On iPhone or iPad, tap the Tabs icon at the bottom right (it shows a number in a square). Tap Private at the bottom left. The interface turns dark, and any new tabs you open are private. When you're done, switch back to your regular tabs the same way. Private Browsing is useful if you're shopping for a gift, checking medical information, or straightforward don't want a record kept — and it means you never have to clear history afterward.

Frequently Asked Questions

Does clearing history delete my saved passwords?

No. Clearing history removes only the list of websites you visited. Passwords, credit card numbers, and autofill data are stored separately and are not affected. If you want to delete a saved password, you must do that through Safari's password settings or your device's password manager.

Can I undo clearing my history?

No. Once you clear your history, it cannot be recovered. If you're unsure whether you want to delete everything, consider using Private Browsing for future sessions instead, or delete only individual sites you're concerned about.

Will clearing Safari history clear my iCloud history too?

If you have Safari set to sync across your Apple devices through iCloud, clearing history on one device will clear it on all of them. You can turn off syncing in Settings > [Your Name] > iCloud > Safari if you want to keep history separate between devices.

What's the difference between clearing history and clearing cache?

History is the list of websites you visited. Cache is temporary files Safari stores to load websites faster next time. Clearing history does not clear cache. To clear cache on Mac, go to Safari > Preferences > Privacy and click Manage Website Data, then Remove All. On iPhone, go to Settings > Safari > Clear History and Website Data.