What "history" means in Safari and why you might want to clear it

Safari history is the record of every website you visited, stored on your device. When you type a web address into the address bar, Safari suggests sites you've been to before — that comes from your history. Your browsing history also includes the date and time you visited each site.

Clearing your history removes these suggestions and the record itself. This is different from clearing your cache (the temporary files websites store on your device to load faster) or your cookies (small files that remember your login information and preferences). Safari lets you clear all three, or just history alone.

People clear history for privacy — so household members or someone with access to your device cannot see where you've been online. You might also clear it to speed up Safari if the history file has grown very large, though this is rarely necessary on modern devices.

Key Takeaways

  • Safari stores every website you visit in a searchable history that appears when you type in the address bar.
  • You can delete all history at once or choose a specific time period — the last hour, today, today and yesterday, or the last week.
  • Clearing history does not sign you out of websites or delete saved passwords, but it does remove browsing suggestions.
  • On iPhone and iPad, the steps are identical to Mac; on Mac, you can also delete history for a single website by right-clicking it.

How to clear all Safari history on Mac

Open Safari and click the History menu at the top of the screen. Near the top of the dropdown menu, you will see "Clear History..." — click it. A window will appear with a dropdown menu that says "the last hour" by default.

Click the dropdown to choose how much history to delete: "the last hour," "today," "today and yesterday," or "all history." Select "all history" if you want to remove everything. Then click the blue Clear History button. Safari will delete the selected history when ready.

If you want to delete history for just one website, you can also right-click any site in your history and select "Delete" — but this is slower if you have many sites to remove. The bulk delete through the History menu is faster for clearing everything at once.

How to clear all Safari history on iPhone and iPad

Open the Settings app and scroll down to find Safari in the list of apps. Tap Safari to open its settings. Scroll down and tap Clear History and Website Data.

A popup will ask you to confirm. Tap Clear History and Website Data again. Safari will delete your browsing history, cookies, and cached data all at once — you cannot choose to delete only history on iPhone or iPad.

This clears everything from all time periods. If you want to delete history from only the last few hours or days, you will need to use Safari on a Mac instead, as the iPhone and iPad settings do not offer that option.

What gets deleted and what stays

Clearing history removes the list of websites you visited and the dates you visited them. It also removes your browsing suggestions — the next time you type in the address bar, Safari will not suggest sites from your old history. Autocomplete suggestions based on your bookmarks and open tabs will still appear.

Clearing history does not delete your saved passwords, usernames, or autofill information. You will still be logged into websites you were logged into before. It does not delete your bookmarks or reading list. It removes cookies and cached website data only if you choose the "Clear History and Website Data" option on iPhone and iPad, or if you select those options on Mac.

If you want to delete passwords or autofill data separately, you can do that through Safari settings on both Mac and iPhone. On Mac, go to Safari > Preferences > Passwords or Autofill. On iPhone, go to Settings > Safari > Passwords or Autofill.

How to prevent Safari from storing history in the future

If you do not want Safari to keep a history at all, you can use Private Browsing. When you open a private browsing window or tab, Safari does not save your history, cookies, or autofill data for that session. The next time you close the private window, nothing from that browsing session is stored.

On Mac, click File > Open Private Window, or press Command + Shift + N. On iPhone or iPad, tap the Tabs button (the overlapping squares) at the bottom right, then tap Private at the bottom left, and tap + to open a new private tab.

Private browsing does not hide your activity from your internet service provider, your employer, or the websites you visit — it only prevents Safari from storing a record on your device. Websites can still see that you visited them, and your network administrator can still see your traffic if you are on a work or school network.

Clearing history on shared devices

If you share a device with family members or colleagues, clearing your history removes only your own browsing record, not theirs. Each person's Safari history is stored separately if they have their own user account on the Mac, or their own iCloud account on iPhone.

If multiple people use the same account on the same device, clearing history will delete everyone's history. In that case, private browsing is a better option if you want to browse without leaving a record — it protects your privacy without affecting what others see when they use Safari.

On a shared Mac, you can also create a separate user account for each person. Each account has its own Safari history, passwords, and browsing data. This is the most complete way to keep browsing private on a shared computer.

Frequently Asked Questions

Does clearing Safari history delete my passwords?

No. Clearing history does not touch your saved passwords, usernames, or payment information. You will still be logged into websites and your autofill data will still work. If you want to delete passwords, you must do that separately through Safari settings.

Can I undo clearing my history?

No. Once you clear history, it is gone permanently. Safari does not have an undo function for history deletion. If you think you might need to remember a site you visited, write down the address or bookmark it before you clear your history.

Will clearing history speed up Safari?

Rarely. A large history file takes up very little storage space and does not significantly slow down Safari on modern devices. Clearing history may help slightly if your device is very old or storage is extremely full, but it is not a reliable way to improve Safari performance.

Does private browsing hide my activity from my internet provider?

No. Private browsing only prevents Safari from storing a record on your device. Your internet service provider, employer, or school network can still see which websites you visit. To hide your activity from your ISP, you would need to use a VPN, which is a separate tool.

What is the difference between clearing history and clearing cache?

History is the list of websites you visited. Cache is the temporary files (images, scripts, stylesheets) that websites store on your device so they load faster next time. Clearing history removes the list; clearing cache removes the files. On iPhone, both are deleted together when you clear history and website data.