Clear your Safari history in three steps
Open Safari and click Safari in the menu bar at the top of your screen. Select Clear History from the dropdown. Choose how far back you want to erase — the last hour, today, today and yesterday, or all history — then click Clear History again to confirm.
That removes the list of websites you have visited. If you want to also delete the data those sites stored on your device — passwords, autofill information, cookies, cached images — use the same menu but select Clear History and Website Data instead. This takes longer because Safari has to search through more files, but it is more thorough.
On iPhone or iPad, the process is similar but lives in Settings instead of a menu bar. Go to Settings > Safari > Clear History and Website Data, then confirm. You cannot choose a time range on mobile — it always clears everything.
Key Takeaways
- Safari's Clear History option removes only the list of sites you visited, while Clear History and Website Data also deletes passwords, cookies, and cached files.
- On Mac, use the Safari menu bar; on iPhone or iPad, go to Settings > Safari to find the clear option.
- You can choose to clear just the last hour, today, or all history on Mac, but iPhone and iPad always clear everything at once.
- Clearing history does not sign you out of websites or delete files you downloaded and saved to your computer.
The difference between clearing history and clearing website data
History is the list Safari keeps of every page you visited — the sites that appear when you start typing in the address bar or click the History menu. Clearing it means those sites no longer show up in your search suggestions or history list.
Website data includes everything a website stored on your device to remember you: login cookies that keep you signed in, autofill information like your address and credit card number, cached images and files that load faster on repeat visits, and local storage that some sites use to save your preferences. Clearing website data signs you out of most sites and forces you to re-enter passwords the next time you visit.
If you only care about hiding where you have been, clear history alone. If you want to remove the traces websites left behind — useful before selling a device or if you share a computer — clear both. Neither option deletes files you downloaded and saved to your Downloads folder or desktop.
Clearing history on a specific website only
Safari does not have a built-in way to erase history for just one site. If you want to remove traces of a single website without clearing everything, you have two options.
The first is to clear all history and website data, then manually revisit the sites you want to keep in your history. This is tedious but works on any device.
The second is to use Private Browsing from the start. When you open a Private Browsing window (click File > New Private Window on Mac, or tap the tabs icon and select Private on iPhone), Safari does not save your history, cookies, or autofill data for that session. Close the window and nothing is recorded. This is useful if you know in advance that you do not want a visit tracked.
Automatic clearing when you quit Safari
You can set Safari to clear history and website data automatically every time you close the app. On Mac, go to Safari > Settings > Privacy, then check the box next to Remove all website data when quitting Safari.
On iPhone or iPad, go to Settings > Safari and toggle on Clear History and Website Data. This setting applies to all your iCloud-synced devices, so if you turn it on, Safari will clear data on your iPhone, iPad, and Mac whenever you quit the app.
This is convenient if you share a device or want minimal tracking, but it means you lose the ability to revisit sites quickly using your history. You will have to type full web addresses or search for sites again.
What clearing history does not do
Clearing Safari history does not erase your activity from your internet service provider's records or from the websites themselves. Your ISP can still see which sites you visited, and sites like Google, Facebook, and Amazon keep their own records of your visits tied to your account.
It also does not delete files you downloaded. If you saved a PDF or image to your Downloads folder, clearing history leaves it there. To remove downloaded files, open Finder on Mac or the Files app on iPhone, navigate to Downloads, and delete them manually.
If you want to hide your browsing from your ISP and the sites you visit, you need a VPN (virtual private network), which is a separate tool that encrypts your traffic. Clearing history only hides your activity from other people who use the same device.
Synced history across your Apple devices
If you use iCloud to sync Safari across your Mac, iPhone, and iPad, clearing history on one device clears it on all of them. This happens automatically within a few minutes of clearing on the first device.
You can turn off syncing if you want different devices to keep separate histories. On Mac, go to Safari > Settings > General and uncheck Show Favorites or Show History under the iCloud section. On iPhone or iPad, go to Settings > [Your Name] > iCloud and toggle off Safari.
Keep in mind that turning off Safari syncing also stops your bookmarks, reading list, and tab groups from syncing across devices. You have to sync all of Safari or none of it — you cannot pick and choose which parts.
Frequently Asked Questions
Does clearing history delete my saved passwords?
No. Clearing history and website data removes cookies that keep you logged in, but your saved passwords stay in Safari's password manager. You can delete individual passwords by going to Safari > Settings > Passwords on Mac, or Settings > Passwords on iPhone, then swiping left on the password you want to remove.
Can I recover history after I clear it?
No. Once you clear history in Safari, it is gone permanently. Safari does not have an undo option or a trash bin for deleted history. If you think you might need to revisit a site later, bookmark it first or write down the address.
Why does my history still show up after I cleared it?
If you have iCloud syncing turned on, clearing history on one device may not when ready clear it on others — it can take a few minutes. If history reappears after waiting, check that you are not syncing Safari across multiple devices, or turn off syncing temporarily while you clear.
Does clearing history speed up Safari?
Slightly. A large history file takes up storage space and can slow down Safari's search suggestions, but the difference is usually not noticeable unless you have years of history stored. Clearing website data (cached files and cookies) has a bigger impact on performance than clearing history alone.