Where Safari Stores Your History and How to Open It
Safari keeps a record of every webpage you visit in a searchable list called your history. To open it on a Mac, press Command + Y, or click the History menu at the top and select Show All History. On an iPhone or iPad, tap the Bookmarks icon at the bottom of the screen (it looks like an open book), then tap the History tab.
Your history appears as a list organized by time — today, yesterday, last week, and earlier. Each entry shows the webpage title and the web address. You can scroll through to find a site you visited recently, or use the search box at the top to type in a word from the page title or address.
Safari stores your history for 365 days by default, though you can change this setting. On a Mac, go to Safari > Settings > General and look for the dropdown that says Remove history items. On iPhone or iPad, open Settings > Safari and scroll to Clear History and Website Data to adjust how long Safari keeps records.
Key Takeaways
- Open Safari history on a Mac with Command + Y, or on iPhone and iPad through the Bookmarks menu.
- History is organized by date and searchable by webpage title or web address.
- Safari stores history for one year by default, but you can change how long it keeps records in Settings.
- Clearing history removes all records at once, while deleting individual entries removes only those sites.
- If you use iCloud, your Safari history syncs across all your Apple devices automatically.
Searching Your History When You Remember Part of the Address
If you visited a site but cannot remember its full address, the search box in your history window is faster than scrolling. Type any word from the webpage title or URL — for example, if you visited a recipe site but only remember it had "chocolate" in the name, type that word and Safari will show only matching entries.
On a Mac, the search box appears at the top of the All History window. On iPhone or iPad, tap the search icon (magnifying glass) at the bottom of the History tab. The results update as you type, so you can narrow down your search by adding more words if the first search returns too many results.
Deleting Individual Sites Versus Clearing All History
Safari gives you two ways to remove history: delete specific sites one at a time, or clear everything at once. To remove a single entry on a Mac, right-click the site in your history list and select Delete. On iPhone or iPad, swipe left on the entry and tap Delete.
To clear all history at once on a Mac, click History > Clear History, choose how far back you want to erase (the last hour, today, today and yesterday, or all history), and click Clear History. On iPhone or iPad, go to Settings > Safari > Clear History and Website Data, choose your time range, and tap Clear History and Data.
When you clear history, Safari also removes the websites you have visited from its autocomplete suggestions. This is useful if you share a device and want to remove traces of your browsing, though it does not affect bookmarks or saved passwords.
Using iCloud to Sync History Across Your Devices
If you sign in to iCloud on your Mac, iPhone, and iPad with the same Apple ID, Safari automatically syncs your history across all devices. This means a site you visit on your Mac appears in your iPhone history within minutes, and vice versa.
To turn on history syncing, make sure you are signed in to iCloud on each device. On a Mac, go to System Settings > [Your Name] > iCloud and check the box next to Safari. On iPhone or iPad, open Settings > [Your Name] > iCloud and toggle Safari on. Once enabled, your history syncs automatically without any action on your part.
If you clear history on one device, it clears on all synced devices. This is helpful if you want to remove browsing records everywhere at once, but it also means you cannot keep different history on different devices — the records stay in sync.
Finding History When Safari Has Been Closed and Reopened
Safari keeps your history even after you close the browser and reopen it. Your full browsing record remains available in the History menu until you manually delete it or until the time period you set in Settings expires.
However, if you use Private Browsing mode, Safari does not record those sites in your history at all. Pages you visit in a Private window leave no trace in your history list, and Safari does not save passwords or autofill information from those visits. To check whether you are in Private Browsing, look at the address bar — it appears darker or shows a "Private" label depending on your Safari version.
Recovering History You Accidentally Deleted
Once you delete a history entry or clear all history, Safari does not provide a built-in way to recover it. The records are removed permanently from your device. However, if you use iCloud syncing and you realize the deletion when ready, you may be able to undo it on another synced device before the deletion spreads — turn off iCloud syncing on that device quickly to prevent the deletion from syncing over.
If you need to find a site you visited but cannot recover it from Safari, try checking your browser bookmarks, your email (if you forwarded the link to yourself), or your device's search function to look for related files or documents you may have saved from that site.
Frequently Asked Questions
Can I see my Safari history if someone else used my device?
Yes. Your Safari history shows all sites visited on that device, regardless of who visited them. If you share a device, anyone with access to Safari can see your history unless you clear it. To keep your browsing private on a shared device, use Private Browsing mode or clear your history after each session.
Why does Safari show websites I do not remember visiting?
Safari records every page you visit, including pages that load automatically when you click a link, pages that open in background tabs, and pages loaded by extensions or websites you visit. Some sites also redirect you to other pages without your direct action, so you may see addresses in your history that you never intentionally clicked.
Does clearing Safari history delete my passwords and saved credit cards?
No. Clearing history removes only the list of websites you visited. Your saved passwords, credit card information, and autofill data remain in Safari unless you specifically delete them through Settings. If you want to remove passwords, go to Safari > Settings > Passwords on a Mac, or Settings > Passwords on iPhone and iPad.
Can I export my Safari history to see it in another browser?
Safari does not have a built-in export feature for history. However, you can manually copy site addresses from your history list, or you can switch to another browser and use its import tool if it supports importing from Safari. Some third-party tools claim to export Safari data, but these are not made by Apple and come with security risks.