Safari stores your browsing history by default, and you can delete it in seconds from the History menu

Open Safari and click History in the menu bar at the top of your screen. Select Clear History from the dropdown. A window will appear asking how far back you want to delete — choose all history, the last hour, today, or today and yesterday. Click Clear History again to confirm. Your browsing record is now gone from Safari's records.

This removes the list of websites you have visited from Safari's own history feature. It does not affect your internet service provider's records, your router's logs, or any website's own records of your visit. It only clears what Safari itself stores locally on your device.

Key Takeaways

  • Clearing history takes two clicks: History menu, then Clear History, then confirm your time range.
  • You can delete history from just the last hour, today, or today and yesterday — you do not have to delete everything at once.
  • Clearing Safari history does not erase your browsing from your internet provider, your router, or the websites you visited.
  • Safari also stores cookies, cached files, and autofill data separately from history, and you may want to clear those too depending on your privacy goals.

What gets deleted when you clear history

When you clear history in Safari, you remove the list of URLs and page titles that appear when you click the History menu or use the search bar. This is the record Safari maintains of where you have been. Websites you visited will no longer appear in your history dropdown or in Safari's search suggestions.

Clearing history does not delete cookies, which are small files websites use to remember you. It does not delete cached images and files that Safari stores to load pages faster next time. It does not sign you out of websites. If you want to remove those things too, you need to take separate steps.

Clearing cookies and cached data at the same time

If you want a more thorough cleanup, Safari lets you delete cookies and cached files alongside your history. Open Safari, then click Safari in the menu bar and select Settings (or Preferences on older macOS versions). Click the Privacy tab.

You will see a button labeled Manage Website Data. Click it to see a list of websites that have stored cookies or cached files on your device. You can select individual sites and click Remove, or click Remove All to delete everything at once. This step is separate from clearing history — you have to do both if you want both done.

Deleting cached data may slow down your next visit to those websites slightly, since Safari will have to read images and files fresh instead of using stored copies. The tradeoff is that you free up storage space and remove data those websites have stored about you.

Using Private Browsing to avoid creating history in the first place

If you want Safari to stop recording your history before you start browsing, use Private Browsing mode. Click File in the menu bar and select New Private Window, or press Command-Shift-N. A private window has a dark address bar and does not add websites to your history as you visit them.

Private Browsing also prevents Safari from storing cookies for that session, though websites can still see you while you are visiting them. When you close the private window, Safari forgets everything from that session — no history, no cookies, no cached files. This is useful if you are using a shared device or a public computer and do not want your browsing recorded at all.

Private Browsing does not hide your activity from your internet service provider, your network administrator, or the websites themselves. It only hides it from other people who might use the same device later.

Autofill data and saved passwords

Safari also stores autofill information — names, addresses, phone numbers, and credit card details you have entered before. Clearing history does not remove autofill data. If you want to delete that too, go to Safari > Settings > Autofill and uncheck the boxes next to the types of information you do not want saved.

Passwords are stored separately in iCloud Keychain, Safari's password manager. Clearing history does not touch your saved passwords. If you want to remove a specific password, go to Safari > Settings > Passwords, find the site, and click the minus sign next to it. If you want to stop Safari from offering to save passwords at all, uncheck AutoFill passwords in the Autofill settings.

Clearing history on iPhone and iPad

On iPhone or iPad, open the Safari app and tap the Bookmarks icon at the bottom (it looks like an open book). Tap History at the top. Tap Clear in the bottom right corner, then select how far back you want to delete — the last hour, today, today and yesterday, or all time. Tap Clear History to confirm.

On iOS and iPadOS, you can also clear history through Settings. Go to Settings > Safari and scroll down to Clear History and Website Data. Tap it, and Safari will delete your history, cookies, and cached data all at once. You cannot choose a time range this way — it clears everything.

Why you might want to clear history regularly

Clearing history is useful if you share a device with other people and do not want them to see where you have been browsing. It is also useful if you are concerned about someone with physical access to your device — a history list is one of the easiest ways for another person to see your browsing without any technical skill.

Clearing history does not improve your privacy against websites, advertisers, or your internet service provider. Those entities have their own records of your activity that exist independently of Safari. If privacy from those sources is your goal, you would need to use a VPN, a privacy-focused browser, or other tools — clearing Safari history alone will not help.

Some people clear history regularly out of habit, while others only clear it when they are done with a sensitive search or before handing their device to someone else. How often you clear history depends on your own situation and who has access to your device.

Frequently Asked Questions

Does clearing Safari history delete my iCloud backup?

No. Clearing history on your device only affects that device. If you have iCloud backup turned on, your device will back up the new state (without history) to iCloud, but clearing history does not retroactively erase old backups. If you restore from an old backup, the history from that backup will return.

Can someone recover my history after I delete it?

Once you clear history in Safari, it is not recoverable through Safari itself. However, if your device is backed up to iCloud or your computer, a forensic tool could potentially recover deleted data from the backup. For most everyday purposes, clearing history is sufficient to remove it from view.

Will clearing history sign me out of websites?

No. Clearing history only removes the list of sites you visited. It does not delete cookies, so you will stay logged into most websites. If you want to sign out of a website, you have to do that manually on the website itself, or clear cookies separately.

What is the difference between clearing history and Private Browsing?

Clearing history removes past browsing records after the fact. Private Browsing prevents Safari from recording history in the first place. Private Browsing is better if you know in advance you do not want something recorded; clearing history is better if you want to remove something you already browsed.

Does clearing history on my Mac also clear it on my iPhone?

Only if you are signed into the same iCloud account and have iCloud Tabs or Safari syncing turned on. If you are synced, clearing history on one device will clear it on the others. You can turn off Safari syncing in Settings if you want each device to keep its own separate history.