How to Delete Safari History on iPhone and Mac
In this article
You can clear Safari history on iPhone in a few taps: open Settings, scroll to Safari, then tap Clear History and Website Data. On a Mac, open Safari and choose History > Clear History from the menu bar, then pick a time range and confirm. Both actions remove the list of pages you visited, and on iPhone the same button also clears cookies and cached site data, so you will be signed out of most websites afterward. On a Mac you can choose to clear history only or history plus cookies and cache. Menu labels can differ slightly by iOS or macOS version and by region, so if a name looks different, look for the closest match.
What You'll Need
- Your iPhone or Mac unlocked and in front of you.
- For the iPhone method: the Settings app, which is built in and needs no download.
- For the Mac method: the Safari app, plus the administrator password if the Mac asks for it (some managed or work machines do).
- Your Apple ID password if you use iCloud Tabs and want to check what is syncing.
- A rough idea of how far back you want to clear, since both devices offer a time range on the Mac and a full clear on the iPhone.
Step-by-Step
iPhone or iPad
- Unlock the device and open the Settings app (the grey gear icon), not Safari itself. The clearing option lives in Settings, which surprises a lot of people.
- Scroll down the main Settings list until you reach Safari and tap it. On iPad the same entry appears in the left column.
- Scroll down the Safari settings page to the section headed with privacy-related options. You will see Clear History and Website Data in blue text.
- Tap Clear History and Website Data.
- A confirmation sheet appears with the options Clear History and Data and Cancel. Read it before tapping, because this cannot be undone.
- Tap Clear History and Data. The sheet closes and the history is gone.
If you only want to remove a single page rather than everything, open Safari, tap the bookmarks icon (the open book), go to the History tab, swipe left on one entry, and tap Delete. That removes just that item.
Mac
- Open Safari from the Dock or Launchpad.
- In the menu bar at the top of the screen, click History.
- Choose Clear History near the bottom of the menu. A dialog box opens.
- Use the drop-down to pick the range: the last hour, today, today and yesterday, or all history. Pick all history if you want a clean slate.
- Decide whether to keep the second drop-down set to clear history and website data or to clear history only. Clearing website data signs you out of sites and removes their local storage; keeping it leaves you logged in.
- Click Clear History to confirm.
To delete a single entry on a Mac, open History > Show All History, right-click the item, and choose Delete. You can also press Command + Y to jump straight to the history view.
Keeping iPhone and Mac in sync
Clearing it on one device does not always remove it from another straight away. Clear it on each device you use, or turn off Safari under iCloud on the devices where you do not want it shared.
Common Mistakes
- Looking for the option inside Safari on iPhone. The full clear is in Settings, not in the Safari app's own menus.
- Assuming history is gone everywhere. Other devices signed in with the same Apple ID may still show entries until they sync or you clear them too.
- Clearing website data by accident. On iPhone the button always clears cookies and cache along with history, so saved logins on sites drop out. On Mac you get a choice, so read the second drop-down.
- Thinking history equals no trace. Your router, your internet provider, and any work or school network can still hold records. Clearing Safari only affects the browser on that device.
- Forgetting private browsing. Pages opened in a Private Browsing tab are not added to history in the first place, so there is nothing to clear for those.
Tips
- Use Private Browsing (the tab icon with two overlapping squares, then Private) when you simply do not want a page saved to history.
- On a Mac, set Safari to clear history automatically: open Safari > Settings (or Preferences on older macOS), go to the General tab, and look for the option to remove history items after a set period. The exact wording varies by version.
- Clearing history does not remove bookmarks, Reading List items, or saved passwords. Those live in separate places and stay put.
- If you want to free up storage as well as clear history, check Settings > General > iPhone Storage afterward to see what else is taking space.
- After clearing on iPhone, expect to retype passwords on sites where you were signed in. A password manager makes that less painful.
Troubleshooting
- The button is greyed out or missing on iPhone. Check Settings > Screen Time > Content & Privacy Restrictions and make sure web content restrictions are not blocking Safari changes. Also confirm you are in Settings > Safari, not in a different browser's settings.
- History reappears after clearing. Another device signed into the same Apple ID is likely syncing. Clear it there too, or sign out of iCloud Safari syncing on the device you do not need it on.
- Safari will not open on Mac. Quit Safari fully with Command + Q, then reopen it. If it still fails, restart the Mac.
- Old entries still show in the address bar suggestions. Those can come from bookmarks, frequently visited tiles, or search engine suggestions rather than history. Clear those separately, or turn off suggestions in Safari settings.
- You cleared the wrong thing and lost logins. There is no undo for cleared website data. Sign back in to the sites you use and let the browser save the passwords again, or restore from a backup if you have one.
Frequently Asked Questions
Does clearing Safari history delete bookmarks?
No. Bookmarks, Reading List items, and saved passwords are stored separately and are not removed by clearing history.
Can I recover Safari history after clearing it?
Not from Safari itself. If you have an iCloud or computer backup made before the clear, restoring that backup may bring it back, but restoring replaces current data, so weigh that carefully.
Does clearing history on iPhone clear it on my Mac?
Not automatically in every case. If Safari is enabled in iCloud, changes can sync, but the reliable approach is to clear it on each device.
Will clearing history log me out of websites?
On iPhone, yes, usually, because cookies are cleared at the same time. On Mac it depends on whether you choose to clear website data along with history.
Does this hide my browsing from my internet provider?
No. Clearing Safari history only removes the local record on that device. Your network and provider may still keep their own records.
Is there a way to clear history automatically?
On Mac, Safari has an option in its settings to remove history items after a chosen period. On iPhone there is no equivalent automatic setting, so you clear it manually.