Open Safari History in Three Steps
Your Safari browsing history is stored in one place and takes seconds to reach. Press Command + Y on your keyboard (or Control + Y on older Macs), and Safari opens a sidebar showing every site you've visited, organized by day. On iPad or iPhone, tap the book icon at the bottom of the screen, then tap the clock icon labeled "History" at the top of the panel that appears.
The history sidebar stays open while you browse, so you can search through old sites without closing it. To close it again, press Command + Y a second time, or tap the X button on the sidebar.
If you're looking for a site you visited recently but can't remember the name, the history sidebar is faster than scrolling through bookmarks. Safari shows your last few hours, then groups older visits by day and week.
Key Takeaways
- Press Command + Y on Mac or Control + Y on older Macs to open the history sidebar instantly.
- On iPhone and iPad, tap the book icon, then the clock icon to see your browsing history.
- History is organized by time — today, yesterday, and earlier — so you can narrow down when you visited a site.
- You can search the history sidebar by typing a site name or topic into the search box at the top.
- Safari keeps your history for a set number of days, which you can change in Settings.
Search Your History by Site Name or Topic
Once the history sidebar is open, type into the search box at the top. Safari filters the list to show only sites matching what you type. If you remember part of a site's name — like "weather" or "recipe" — typing that word narrows the results down immediately.
The search looks through both the site names and the page titles Safari saved, so searching for a topic often works even if you don't remember the exact web address. For example, searching "flights" will show you any airline or travel booking sites you visited, even if you don't recall which one.
Change How Long Safari Keeps Your History
By default, Safari saves your browsing history for the last 30 days. You can change this setting to keep history for a week, a year, or indefinitely. On Mac, open Safari, click "Safari" in the menu bar, select "Settings," then click the "General" tab. Look for "Remove history items" and choose your preferred timeframe from the dropdown menu.
On iPhone or iPad, go to Settings, scroll down and tap "Safari," then tap "Clear History and Website Data." Below that option, you'll see "History" — tap it to choose how long Safari retains your browsing record. Keep in mind that changing this setting only affects new history going forward; it doesn't restore history you've already deleted.
Clear Your History Completely or Partially
If you want to remove specific sites from your history, open the history sidebar and hover over (or long-press on mobile) any entry. A small X button appears — click or tap it to delete just that one site. This removes only that single visit, not all visits to that domain.
To clear all history at once, open Safari Settings on Mac and click "General," then click "Remove all website data." On iPhone or iPad, go to Settings > Safari > Clear History and Website Data, then choose a timeframe. Safari will ask you to confirm before deleting anything. Clearing history also clears cookies and cached website data by default, though you can change what gets removed in the same settings menu.
Find History Across Multiple Devices
If you use iCloud to sync Safari across your Mac, iPhone, and iPad, your history syncs automatically between devices. This means you can open Safari on your iPhone and see sites you visited on your Mac earlier that day. To turn on history syncing, open Settings on your device, tap your name at the top, select "iCloud," scroll down to "Safari," and toggle it on.
History syncing works in the background once enabled — you don't need to do anything else. If you clear history on one device, it clears on all synced devices within a few minutes. This is useful if you want a clean slate across all your Apple devices, but it also means you can't keep private browsing history on one device while syncing others.
Use Private Browsing to Keep Sites Out of History
Safari's Private Browsing mode doesn't save any history, cookies, or autofill data while you're using it. To turn it on, open a new tab and look for "Private" in the lower left corner of the screen on Mac, or tap "Private" at the bottom right on iPhone and iPad. All tabs opened in private mode stay separate from your regular browsing and leave no trace in your history.
Private Browsing is useful when you're shopping for gifts, researching sensitive topics, or using a shared device. Sites you visit in private mode won't appear in your history sidebar, and Safari won't save passwords or autofill information from those sessions. When you close all private tabs, Safari forgets everything from that session.
Frequently Asked Questions
Can I recover history I've already deleted?
No — once you clear history from Safari, it's gone. Safari doesn't keep a backup of deleted history. If you need to remember a site you visited, try searching your email for confirmation emails, checking your credit card statements, or asking someone you were with at the time.
Why doesn't a site I visited show up in my history?
The most common reason is that you visited it in Private Browsing mode, which doesn't save history. Another possibility is that your history retention period has passed — if you set Safari to keep history for only one week and you visited the site two weeks ago, it won't appear. Check your history settings to see how long Safari is keeping records.
Does clearing history also delete my saved passwords?
It depends on what you select when clearing. On Mac, the "Remove all website data" option clears history, cookies, and cached data, but not passwords. On iPhone and iPad, "Clear History and Website Data" also leaves passwords intact by default. If you want to delete passwords too, you'll need to manage them separately in Settings > Passwords.
Can someone else see my Safari history?
If you're the only user on your device, no. If your device is shared or you're logged into a family iCloud account with history syncing on, other family members may see your history on their synced devices. To keep browsing private on a shared device, use Private Browsing mode or create a separate user account on your Mac.
How far back does Safari history go?
Safari keeps history based on the timeframe you set in Settings — the default is 30 days. Once that period passes, old history entries disappear automatically. You can change this to one week, one year, or "forever" (which keeps history indefinitely until you manually clear it).