Finding your Safari history on Mac, iPhone, and iPad
Your Safari history is a record of every website you have visited. To see it, open Safari and press Command + Y on Mac, or tap the book icon and then the clock icon on iPhone and iPad. A sidebar or panel opens showing your browsing by date — today, yesterday, earlier this week, and earlier dates. Click or tap any entry to return to that site.
The history list shows the page title and web address for each visit. If you visited the same site multiple times in one day, each visit appears as a separate line. Safari stores this history for a set number of days — by default, the last 365 days, though you can change this in settings.
If you do not see the history panel after pressing Command + Y, check that Safari is your active window. On iPhone and iPad, make sure you are looking at the tab view, not the reading list or bookmarks.
Key Takeaways
- Press Command + Y on Mac or tap the book and clock icons on iPhone and iPad to open your history sidebar.
- History is organized by date and shows the page title and web address for each visit.
- Safari keeps history for 365 days by default, but you can change how long it stores history in settings.
- Searching within history uses the search box at the top of the history panel and finds matches in page titles and web addresses.
- Clearing history removes it permanently and cannot be undone, so make sure you want to delete it before you confirm.
Searching within your history
If you remember part of a website name or title but not the exact date, use the search box at the top of the history panel. Type a word or phrase — for example, "weather" or "bank login" — and Safari filters the list to show only pages that match. The search looks in both the page title and the web address.
The search narrows results as you type, so you do not have to type the full word. If you are looking for a news site you visited last month, typing "news" will show all pages with that word in the title or address. If nothing appears, the site may have been cleared from your history or visited more than 365 days ago.
Changing how long Safari stores history
By default, Safari keeps 365 days of history. You can change this to keep history for a shorter or longer period. On Mac, open Safari, click Safari in the menu bar, select Settings, click the General tab, and look for the option that says "Remove history items." Choose from options like "after one day," "after one week," "after two weeks," "after one month," or "manually."
On iPhone and iPad, go to Settings (the gray gear icon on your home screen), scroll down and tap Safari, scroll to the bottom, and tap Clear History and Website Data. This opens a menu where you can choose what time period to clear. If you want to change the default storage length rather than clear history now, look for "History" or "Browsing History" in the same Safari settings section.
Choosing "manually" means Safari will keep history indefinitely until you delete it yourself. This is useful if you want to search old visits, but it uses more storage on your device.
Clearing history permanently
If you want to delete your history, open Safari and press Command + Delete on Mac. A dialog box appears asking what time period you want to clear — "the last hour," "today," "today and yesterday," "all history," or a custom range. Select the period you want to remove and click Clear History. On iPhone and iPad, go to Settings > Safari > Clear History and Website Data and choose your time period.
When you clear history, Safari also removes cookies and other website data by default. This means websites may not remember your login information or preferences the next time you visit. Clearing history cannot be undone, so make sure you want to delete it before you confirm.
If you only want to remove one or two pages from your history instead of clearing a whole time period, open the history panel, find the page, right-click it (or long-press on iPhone and iPad), and select Delete or Remove.
Understanding private browsing and history
When you use Private Browsing in Safari, the browser does not save your history, cookies, or search terms. To turn on Private Browsing on Mac, click File in the menu bar and select New Private Window. On iPhone and iPad, tap the tabs icon (two overlapping squares) at the bottom right, tap Private at the bottom left, and then tap + to open a new private tab.
Private tabs appear with a dark background in Safari on iPhone and iPad, and the window title says "Private" on Mac. Any site you visit in a private window or tab will not appear in your history, and Safari will not store passwords or autofill information from that session. When you close the private window or tab, all data from that session is deleted.
Recovering deleted history
Once you clear your history in Safari, it is permanently deleted and cannot be recovered through Safari itself. However, if you use iCloud to sync your Safari data across devices, clearing history on one device clears it on all devices connected to that iCloud account.
If you need to find a website you visited but accidentally cleared from history, you may be able to recover it through other means. Check your email for receipts or confirmations from sites you visited, look in your browser bookmarks or reading list if you saved the page, or search your device for files you may have downloaded from that site. Some internet service providers also keep logs of websites visited on your network, though accessing this information depends on your provider and your account settings.
Frequently Asked Questions
Can I see Safari history from a different device?
Yes, if you use iCloud and have Safari syncing turned on. Your history automatically syncs across all devices signed into the same iCloud account. To check this, go to Settings > [Your Name] > iCloud on iPhone and iPad, or System Settings > [Your Name] > iCloud on Mac, and make sure Safari is toggled on.
Why does my history show pages I do not remember visiting?
Safari records every page that loads, including pages that open automatically when you click a link, pages that redirect you to another site, and pages that load in the background. Some websites also open additional pages without your direct action. This is normal behavior and does not mean someone else used your device.
Does clearing cookies also clear my history?
When you clear history in Safari, it removes both history and cookies by default. However, you can clear cookies without clearing history by going to Settings > Safari > Advanced > Website Data on iPhone and iPad, or Safari > Settings > Privacy on Mac, and removing specific sites or all data.
Can I export my Safari history to a file?
Safari does not have a built-in export feature for history. However, you can take screenshots of your history panel or copy and paste entries into a document. Some third-party tools claim to export Safari history, but these are not made by Apple and may not work with the latest Safari version.
What happens to history if I sign out of iCloud?
History stored on your device remains on that device. If you sign out of iCloud, syncing stops, and history from other devices no longer appears on this one. History you already downloaded to this device stays until you manually clear it.