What clearing your history does and doesn't do
Clearing your Safari history removes the list of websites you have visited from your browser — the sites that appear when you start typing in the address bar or click the history menu. It does not delete files you have downloaded, passwords you have saved, or cookies that websites use to recognize you. It also does not hide your activity from your internet service provider or from the websites themselves, which keep their own records of your visits.
Most people clear history for privacy from people who share their device — a family member, roommate, or colleague who might pick up your phone or computer. If you are concerned about your internet service provider or the websites you visit tracking you, clearing history alone will not solve that problem. You would need to use a VPN or a private browsing mode instead.
Key Takeaways
- Clearing history removes the list of sites you visited but does not delete saved passwords, downloaded files, or cookies that websites use to track you.
- On iPhone and iPad, go to Settings > Safari > Clear History and Website Data and choose a time range — "all time" removes everything, "the last hour" removes only recent visits.
- On Mac, open Safari, click History in the menu bar, select Clear History, and choose your time range in the dropdown that appears.
- You can set Safari to clear history automatically when you close the browser by turning on "Remove all website data" in Safari settings.
- Private browsing mode (called Private in Safari) prevents history from being saved in the first place, though it still does not hide your activity from your internet service provider.
Clearing history on iPhone and iPad
On an iPhone or iPad, you clear Safari history through the Settings app, not through Safari itself. Open Settings, scroll down and tap Safari, then scroll to the bottom of that screen and tap Clear History and Website Data.
A popup will appear asking you to choose a time range. Tap "the last hour," "today," "today and yesterday," or "all time" depending on how far back you want to clear. Tap Clear History and Website Data to confirm. The entire process takes about 30 seconds.
If you want Safari to clear history automatically every time you close the app, go back to Settings > Safari and turn on the toggle next to "Remove all website data." This will delete history, cookies, and other browsing data when you fully close Safari, though you will still need to manually clear anything from before you turned this setting on.
Clearing history on Mac
On a Mac, open Safari and click History in the menu bar at the top of the screen. Near the bottom of the dropdown menu, you will see "Clear History." Click it.
A dialog box will appear with a dropdown menu that says "the last hour" by default. Click the dropdown to choose "the last hour," "today," "today and yesterday," or "all time." Then click Clear History. On a Mac, this is faster than on iPhone because the option is directly in the menu rather than buried in Settings.
Like on iPhone, you can automate this on Mac by opening Safari > Settings (or Preferences on older versions), clicking the Privacy tab, and checking the box next to "Remove all website data when quitting Safari." This will clear history and cookies each time you fully quit the app.
The difference between clearing history and using private browsing
Private browsing mode (called Private in Safari) prevents history from being saved in the first place. When you open a Private window in Safari, the browser does not record which sites you visit, does not save passwords or autofill information, and does not store cookies from those sites.
The trade-off is that you lose convenience: you will have to type your password every time you log into a site, and websites will not remember your preferences. Private browsing is useful if you are about to use a shared device and want to make sure nothing gets saved. Clearing history afterward is a backup if you forget to use Private mode.
Neither private browsing nor clearing history hides your activity from your internet service provider, your employer's network, or the websites themselves. Those entities see your traffic regardless of what you do in Safari. If you need that level of privacy, you would need a VPN (virtual private network), which is a different tool entirely.
What gets deleted and what stays
When you clear history in Safari, you remove the list of websites you visited. You also remove cookies associated with those sites, which means websites will not remember you the next time you visit — you may have to log in again or re-enter preferences.
What does not get deleted: saved passwords (unless you specifically delete them through Settings > Passwords on iPhone or Safari > Preferences > Passwords on Mac), files you downloaded (they stay in your Downloads folder), autofill information like your address or credit card number, and bookmarks. If you want to delete a saved password, you have to do that separately through the Passwords section of Settings or Preferences.
Clearing history on a shared device
If you share a device with family members or roommates and want privacy from them, clearing history is a reasonable first step. It prevents someone from seeing where you have been browsing by looking at your history list or autocomplete suggestions.
For more privacy on a shared device, use Private browsing mode before you visit sensitive sites. You can also turn off autofill and autocomplete suggestions in Safari settings so that your browsing patterns do not appear as you type. If you are concerned about someone accessing your accounts, use a strong, unique password for each site and consider turning on two-factor authentication, which is a separate security step that prevents someone from logging in even if they know your password.
Why websites still know you visited them
Clearing your Safari history does not erase your visit from the websites' own records. When you visit a website, that site's server logs your visit with a timestamp and your IP address (a number that identifies your device on the internet). The website keeps that record regardless of whether you clear your browser history.
This is why clearing history does not hide your browsing from your internet service provider either. Your ISP sees all the traffic leaving your device because it passes through their network. They can see which websites you visited and when, even if Safari no longer shows that history to you.
Frequently Asked Questions
Does clearing history delete my saved passwords?
No. Clearing history removes only the list of sites you visited and their cookies. Saved passwords stay in Safari unless you delete them separately through Settings > Passwords on iPhone or Safari > Preferences > Passwords on Mac. If you want to remove a specific password, find it in that list and swipe left (iPhone) or click the minus sign (Mac).
Can I clear history for just one website instead of all of them?
Not directly through the clear history menu. On iPhone, you can open Settings > Safari > Advanced > Website Data, find the site you want to remove, and swipe left to delete it. On Mac, go to Safari > Preferences > Privacy > Manage Website Data, find the site, and click Remove. This removes that site's cookies and data without touching your full history.
What is the difference between clearing history and clearing website data?
In Safari, "Clear History and Website Data" does both at once — it removes your browsing history and also deletes cookies and other data that websites store on your device. You cannot clear one without the other in Safari's main menu, though you can remove individual sites through the Website Data settings as described above.
If I clear history, will my family see that I cleared it?
No. Clearing history leaves no trace that you cleared it. However, if someone checks your history right after you clear it and notices it is empty or only shows recent activity, they may suspect you cleared it. If you want to avoid that, use Private browsing mode before you visit sensitive sites so nothing gets saved in the first place.
Does clearing history on my iPhone also clear it on my Mac?
No. Each device has its own separate Safari history. If you use iCloud to sync Safari across devices, clearing history on one device will eventually sync to the others, but it takes a few minutes. You can turn off Safari syncing in Settings > [Your Name] > iCloud on iPhone or System Settings > [Your Name] > iCloud on Mac if you want to keep history separate between devices.