The fastest way to delete your Safari search history

Open Safari and press Command + Y on Mac or tap the clock icon at the bottom of the screen on iPhone and iPad. This opens your history panel. At the top, select the time range you want to clear — "the last hour," "today," "today and yesterday," or "all time." Then tap or click Clear History and confirm.

That single action removes the websites you visited and the searches you performed in Safari's address bar. It does not touch your browsing data like cookies or cached files — those require a separate step if you want them gone too.

If you want to delete individual items instead of clearing everything at once, you can right-click any entry in the history panel and select Delete. This is slower but useful if you only want to hide a few searches.

Key Takeaways

  • Command + Y on Mac or the clock icon on iPhone opens Safari history, where you can clear by time period in seconds.
  • Clearing history removes visited websites and searches but leaves cookies and cached data behind unless you clear those separately.
  • Private Browsing mode prevents Safari from storing history at all, so nothing gets recorded while it is active.
  • Clearing history on one device does not affect Safari on your other Apple devices unless you use iCloud sync.
  • If you use iCloud to sync Safari across devices, clearing history on one device will clear it on all of them.

What gets deleted when you clear Safari history

Clearing history removes two things: the list of websites you visited and the searches you typed into Safari's address bar. When you delete history, Safari stops showing those sites in autocomplete suggestions and removes them from the history panel.

What does not get deleted is cookies (small files websites use to remember you), cached images and files (data Safari stored to load pages faster), or autofill information (saved passwords and credit card numbers). If you want those gone too, you need to clear your browsing data separately through Settings.

On Mac, go to Safari > Settings > Privacy and click Manage Website Data to see and delete cookies. On iPhone and iPad, go to Settings > Safari > Clear History and Website Data and choose what to remove from the dropdown menu at the bottom.

Using Private Browsing to avoid creating history in the first place

If you do not want Safari to record your searches and visits at all, use Private Browsing mode. On Mac, click File > New Private Window or press Command + Shift + N. On iPhone and iPad, tap the tabs icon at the bottom right, then tap Private at the bottom left, and tap + to open a new private tab.

While Private Browsing is active, Safari does not save your history, searches, autofill data, or cookies from websites. When you close the private window or tab, nothing remains. This is useful if you are searching for something you do not want stored, but it does not hide your activity from your internet service provider or network administrator — it only hides it from Safari itself.

Private Browsing windows look different (the address bar is darker on Mac, and the tab bar shows "Private" on iPhone and iPad) so you can see at a glance whether you are in private mode or not.

How iCloud sync affects history on multiple devices

If you have turned on iCloud sync for Safari, your history is shared across all your Apple devices — Mac, iPhone, and iPad. When you clear history on one device, it clears on all of them. This happens automatically within a few minutes.

To check whether you have iCloud sync turned on, go to Settings > [Your Name] > iCloud on iPhone and iPad, or System Settings > [Your Name] > iCloud on Mac. Look for Safari in the list. If the toggle is on, your history syncs across devices.

If you want to clear history on only one device without affecting the others, turn off iCloud sync for Safari first, clear the history, then turn sync back on. Be aware that turning sync back on may restore some history from your other devices.

Clearing search history does not delete autocomplete suggestions

Safari stores autocomplete suggestions separately from your history. When you clear history, the address bar may still suggest websites you visited before, because Safari learns from your behavior over time. These suggestions are not the same as your searchable history — they are predictions based on what you type.

To remove autocomplete suggestions, you have to clear your browsing data. On Mac, go to Safari > Settings > Privacy > Manage Website Data and remove individual sites. On iPhone and iPad, go to Settings > Safari > Clear History and Website Data, choose All Time from the dropdown, and select what to clear.

If you want to prevent Safari from suggesting a specific website, start typing it in the address bar, then swipe left on the suggestion (on iPhone and iPad) or right-click it (on Mac) and select Delete.

Clearing history on a shared device or before selling it

If you share a device with someone else or plan to sell or give away your Mac, iPhone, or iPad, clearing history alone is not enough. You should also clear your browsing data, saved passwords, and autofill information.

On Mac, go to Safari > Settings > Privacy > Manage Website Data and click Remove All. Then go to Safari > Settings > Autofill and uncheck the boxes for information you do not want to keep. On iPhone and iPad, go to Settings > Safari > Clear History and Website Data, select All Time, and choose All Browsing Data from the dropdown.

If you are selling the device, also reset it completely. On Mac, use System Settings > General > Transfer or Reset. On iPhone and iPad, go to Settings > General > Transfer or Reset > Erase All Content and Settings. This removes everything, including Safari data, from the device.

Why you might want to clear history regularly

Clearing history regularly keeps your searches private from anyone who uses your device. It also frees up a small amount of storage space, though the amount is usually negligible unless you have years of history stored.

Some people clear history to prevent Safari from suggesting websites they do not want to see again. Others do it for privacy — if someone borrows your device, they cannot see what you searched for or visited. If you share a device with family members, regular clearing prevents your searches from appearing in their autocomplete suggestions.

If you want this to happen automatically, Safari does not have a built-in option to clear history on a schedule. You have to do it manually or use a shortcut. On iPhone and iPad, you can create an automation in the Shortcuts app that clears history at a specific time each day, though this requires setting up the shortcut first.

Frequently Asked Questions

Does clearing Safari history delete my passwords?

No. Clearing history only removes the websites you visited and searches you performed. Your saved passwords stay in Safari's password manager. If you want to delete a saved password, go to Settings > Passwords on iPhone and iPad, or Safari > Settings > Passwords on Mac, find the password, and delete it individually.

Can someone recover my search history after I delete it?

Once you clear history in Safari, it is gone from the app. However, your internet service provider and the websites you visited may still have records of your activity. Clearing Safari history only removes it from your device, not from the broader internet.

What is the difference between clearing history and clearing browsing data?

Clearing history removes websites you visited and searches you performed. Clearing browsing data removes that plus cookies, cached files, and autofill data. History is faster to clear if you only want to hide what you searched for, but browsing data removal is more thorough if you want to erase all traces of your activity.

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

Only if you have iCloud sync turned on for Safari. If sync is active, clearing history on one device clears it on all your Apple devices within a few minutes. If sync is off, clearing history on your iPhone does not affect your Mac.

Can I undo clearing my history?

No. Once you confirm the deletion, Safari does not keep a backup of your history. If you realize you need a URL you deleted, you may be able to find it in your browser bookmarks, iCloud Keychain, or by searching your email if someone sent you the link.