Where Safari stores your history and how to open it
Safari keeps a record of every website you visit, and you can see that list in seconds. On Mac, press Command + Y to open the History sidebar, or click the History menu at the top and select "Show History". On iPhone or iPad, tap the Bookmarks icon at the bottom (it looks like an open book), then tap the History tab. Your history appears as a list organized by date — today, yesterday, earlier this week, and so on.
The history you see depends on which device you're using. If you have iCloud turned on in Safari settings, your history syncs across all your Apple devices, so opening history on your Mac shows the same sites you visited on your iPhone. If iCloud is off, each device keeps its own separate history.
Key Takeaways
- On Mac, use Command + Y or the History menu to open your browsing history as a sidebar list organized by date.
- On iPhone and iPad, tap the Bookmarks icon and then the History tab to see your visited websites.
- If iCloud is enabled in Safari settings, your history syncs across all your Apple devices automatically.
- You can search your history by typing a website name or partial URL into the search box that appears when you open history.
- Safari history is stored locally on your device and can be deleted at any time through Settings or Safari preferences.
Searching within your history on Mac
When you open the History sidebar on Mac using Command + Y, a search box appears at the top. Type any part of a website's name or URL — for example, typing "github" will show every GitHub page you visited, or typing "recipe" will show sites with recipe in the name. This is faster than scrolling through weeks of history.
The search looks through page titles and URLs, so if you remember only a few words from a site's name, that's usually enough. If you're looking for a specific visit from a particular day, you can also click the date range in the sidebar — "Earlier This Week" or "Last Week" — to narrow down what you're looking at before you search.
Finding history on iPhone and iPad
On iPhone and iPad, the process is slightly different because the interface is touch-based. Open Safari and tap the Bookmarks icon at the bottom of the screen — it's the icon that looks like an open book. A menu appears with three tabs: Bookmarks, Reading List, and History. Tap History to see your browsing record.
Your history appears as a list with "Today", "Yesterday", and earlier time periods. Tap any entry to revisit that website. If you have many sites to scroll through, swipe down to see older history, or use the search box at the top of the screen to find a specific site by name.
Understanding what Safari history includes and excludes
Safari history records the websites you visit in the normal browsing window, but it does not record pages you visit in Private Browsing mode. If you open a Private window (Command + Shift + N on Mac, or the Private button on iPhone), Safari does not add those sites to your history. This is by design — Private Browsing is meant to leave no trace on your device.
History also does not include sites you visit through links in other apps, like clicking a link in Mail or Messages. Those open in Safari but may not always be recorded, depending on your settings. If you want a complete record of your browsing, make sure you're using the regular Safari window rather than Private mode.
Clearing history and setting how long Safari remembers
To delete your history on Mac, open Safari preferences (Command + comma), click the Privacy tab, and select "Remove all website data". You can also use the History menu and click "Clear History", which lets you choose whether to clear the last hour, today, today and yesterday, or all history. On iPhone and iPad, go to Settings > Safari > Clear History and Website Data, then choose a time range.
You can also control how long Safari keeps history before it automatically deletes old entries. On Mac, open Safari preferences, click General, and look for "Remove history items" — you can set it to after one day, one week, two weeks, one month, or never. On iPhone and iPad, this setting is in Settings > Safari, though the options vary by iOS version.
Syncing history across devices with iCloud
If you turn on iCloud in Safari settings, your history syncs automatically across your Mac, iPhone, iPad, and any other Apple device signed into the same iCloud account. This means opening history on your Mac shows websites you visited on your iPhone that morning, and vice versa. The sync happens in the background whenever your devices are connected to the internet.
To check if iCloud syncing is on, go to Safari preferences on Mac (Command + comma) and look for the iCloud section, or on iPhone go to Settings > [Your Name] > iCloud and make sure Safari is toggled on. If you turn iCloud off, your devices stop syncing history, and each device keeps only its own local history. Turning it off does not delete history you've already synced — it just stops future syncing.
What to do if you can't find a website in your history
If you visited a site but can't find it in your history, the most common reason is that you visited it in Private Browsing mode, which Safari does not record. Check whether you opened a Private window — the address bar appears darker in Private mode. If you're certain you used regular browsing, the site may have been visited on a different device that isn't synced, or your history may have been cleared.
Another possibility is that your history is set to clear automatically after a certain period. If you set Safari to remove history items after one day or one week, older visits disappear on their own. You can check this setting in Safari preferences on Mac or Settings on iPhone to see how long your history is kept. If you need to keep history longer, change the "Remove history items" setting to "manually".
Frequently Asked Questions
Can someone else see my Safari history?
Yes, if they have physical access to your device and it's unlocked. Your history is stored locally on your Mac, iPhone, or iPad. If you share a device with someone, they can open Safari and view your history unless you use a separate user account (on Mac) or a separate iCloud account (on iPhone). Using Private Browsing mode prevents sites from being recorded in history.
Does clearing my history delete everything Safari knows about me?
Clearing history removes the list of sites you visited, but it does not remove saved passwords, autofill data, or cookies. To remove those, use "Remove all website data" in Safari preferences on Mac, or "Clear History and Website Data" on iPhone. Cookies and site data can be used to track you across websites, so clearing them offers more privacy than clearing history alone.
Why does my history look different on my iPhone than my Mac?
If your history doesn't match across devices, iCloud syncing may be off. Check that Safari is enabled in iCloud settings on both devices. If one device has been offline for a while, it may take a few minutes to sync after reconnecting. You can also manually refresh by closing and reopening Safari, or by signing out and back into iCloud.
Can I recover history I accidentally deleted?
Once you clear Safari history, it cannot be recovered from Safari itself. However, if you use iCloud and delete history on one device, it may still exist on other devices that haven't synced yet — turn off iCloud syncing on those devices before they sync to preserve the history. Otherwise, deleted history is gone permanently.
Is there a way to see history from a specific date?
On Mac, the History sidebar organizes sites by date ranges like "Today" and "Earlier This Week", so you can click a date range to see only that period. On iPhone, you can scroll through the list to find the date you want. Using the search box to type a partial website name is usually faster than scrolling through date ranges.