Where Safari stores your search and browsing history
Safari keeps two separate records: your browsing history (the websites you visited) and your search history (the terms you typed into the search bar). Both are stored on your device — not on Apple's servers — and both are accessible from the same menu.
On Mac, open Safari and click History in the menu bar at the top of the screen. On iPhone or iPad, tap the Bookmarks icon (it looks like an open book) at the bottom of the screen, then tap the History tab. Your entire browsing history appears in reverse chronological order — most recent first.
Search history works the same way. When you tap or click the search bar in Safari, any terms you have typed before appear as suggestions. These come from the same history file that stores your visited websites.
Key Takeaways
- Safari stores browsing history and search history together in one file on your device, accessible through the History menu on Mac or the Bookmarks tab on iPhone and iPad.
- You can delete all history at once or remove individual items by finding them in the history list and swiping or right-clicking to delete.
- Clearing history on one device does not automatically clear it on your other Apple devices unless you have iCloud sync enabled.
- Private Browsing mode prevents Safari from recording any history, but it does not hide your activity from your internet service provider or network administrator.
How to delete individual items from your history
If you want to remove only certain websites or searches, you can delete them one at a time without clearing everything. On Mac, open History, find the item you want to remove, right-click it, and select Delete. On iPhone or iPad, open the History tab, tap Edit in the bottom right corner, then tap the red minus sign next to the item you want to remove.
You can also search within your history to find a specific site faster. On Mac, use Command+F while the History menu is open. On iPhone and iPad, use the search box at the top of the History tab. This is useful if you remember part of a website name but not when you visited it.
How to clear all history at once
To delete your entire browsing and search history on Mac, click History in the menu bar, then select Clear History. A window appears asking how far back you want to go: the last hour, today, today and yesterday, or all history. Choose your timeframe and click Clear History.
On iPhone or iPad, go to Settings > Safari, scroll down, and tap Clear History and Website Data. This removes your history, cookies, and cached files all at once. Unlike the Mac version, you cannot choose a specific time range — it clears everything.
What happens when you use Private Browsing
Safari's Private Browsing mode prevents the browser from saving any history, search terms, or cookies while you use it. On Mac, click File > New Private Window. On iPhone or iPad, tap the Tabs icon (two overlapping squares) at the bottom right, then tap Private and Done.
Private Browsing does not make you anonymous online. Your internet service provider, network administrator, or the websites you visit can still see your activity. It only prevents Safari from storing a record on your device. If someone else uses your device while you are in Private Browsing mode, they will not see what you looked at, but they can see that you were using Private Browsing.
How iCloud sync affects your history across devices
If you have iCloud sync turned on, Safari history syncs between your Mac, iPhone, and iPad. This means clearing history on one device can clear it on the others — but only if they are all signed into the same iCloud account and sync is enabled.
To check if sync is on, go to Settings > [Your Name] > iCloud on iPhone or iPad, or System Settings > [Your Name] > iCloud on Mac. Look for Safari in the list. If the toggle is on, your history syncs. If you turn it off, your devices keep separate history files.
Why someone might not find their history
If you open History and see very little or nothing, the most common reason is that someone cleared it already — either intentionally or through an automatic setting. Some people set Safari to clear history automatically when the browser closes. To check this on Mac, click Safari > Settings > General and look for "Remove history items." On iPhone or iPad, go to Settings > Safari and scroll to "Clear History and Website Data" to see if an automatic option is set.
Another reason is that the person used Private Browsing for those visits. Private Browsing windows do not appear in history at all, even if you look when ready after closing them.
The difference between history and cookies
History is the list of websites you visited and terms you searched. Cookies are small files that websites store on your device to remember your preferences, login information, or shopping cart. When you clear history in Safari, you have the option to also clear cookies and cached files, but they are not the same thing.
If you clear only history but leave cookies, websites you visit will still remember you — you may stay logged in, or ads may follow you across the web. If you want to remove all traces of your browsing, clear history and website data together. On Mac, this happens automatically when you use "Clear History." On iPhone and iPad, the option is labeled "Clear History and Website Data" and does both at once.
Frequently Asked Questions
Can I recover history after I delete it?
No. Once you clear history in Safari, it is permanently deleted from your device. Safari does not have an undo function for history deletion. If you synced to iCloud before deleting, the history may still exist on your other devices, but you cannot recover it from the device where you cleared it.
Does clearing Safari history delete my passwords?
No. Clearing history does not affect passwords stored in Safari's password manager or in iCloud Keychain. Your saved usernames and passwords remain intact. If you want to delete a saved password, you must do that separately through Settings > Passwords on iPhone or iPad, or Safari > Settings > Passwords on Mac.
Will my internet service provider see my search history even if I clear it?
Yes. Your internet service provider can see the websites you visit regardless of whether you clear your local history. Clearing Safari history only removes the record from your device. To hide your browsing from your ISP, you would need to use a VPN, which encrypts your traffic. Private Browsing alone does not hide your activity from your ISP.
If I turn off iCloud sync, will my history disappear from my other devices?
No. Turning off sync stops future history from syncing, but it does not delete history that already synced to your other devices. The history that is already there stays. If you want to remove it, you must clear history on each device separately.
Can someone tell if I cleared my history?
Not from the history file itself — once it is deleted, there is no record. However, if someone has access to your device's backups or if you synced to iCloud before deleting, they might be able to recover it through technical means. For most situations, clearing history is sufficient to remove the record from your device.