User Agents

Web browsers and everyday web tech, explained

How to Restore Closed Tabs in Safari on Mac, iPhone & iPad

· 5 min read · Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Accidentally closed a Safari tab and need it back? Safari keeps a history of your recently closed tabs, so you can reopen them quickly on Mac, iPhone, and iPad. This guide shows you exactly how to restore closed tabs using built-in menus and shortcuts—no extra software needed. You just need Safari open and the device you're using.

What You'll Need

  • A Mac, iPhone, or iPad with Safari installed (all devices come with Safari).
  • Your device must be unlocked and Safari must be open (you can be on any tab).
  • For iCloud Tab syncing, make sure you're signed in to the same Apple ID on all devices and have Safari enabled in iCloud settings (optional, but helpful if you want to restore tabs across devices).

Step-by-Step

On Mac

  1. Open Safari on your Mac.
  2. Look at the top menu bar and click History.
  3. Scroll down to Recently Closed—you'll see a list of tabs you've closed in this browsing session.
  4. Click the tab you want to reopen. It will open in a new tab immediately.
  5. If the tab isn't there, try History > Show All History. Search for the site, then double-click the result to open it in a new tab.

Shortcut: Press Command + Z right after closing a tab to undo the close. This works only for the most recent tab closed.

On iPhone and iPad

  1. Open Safari on your iPhone or iPad.
  2. Tap the Tab Switcher button (two overlapping squares) in the bottom-right corner on iPhone, or top-right on iPad.
  3. You'll see all your open tabs. Now, look at the bottom of the screen (or top on iPad) and tap the "+" button to open a new tab.
  4. In the new tab, you'll see a section called Recently Closed—tap the tab you want to restore. It will reopen in a new tab.
  5. If you don't see it, tap the Bookmarks icon (open book) at the bottom, then tap the History tab (clock icon). Find the site in your history and tap it to open it.

Shortcut: On iPhone or iPad, you can also long-press the "+" button in the Tab Switcher to see a list of recently closed tabs.

Restoring Tabs from a Previous Session (All Devices)

  1. If you closed Safari entirely and want to restore the whole set of tabs from your last session, open Safari and go to History > Reopen Last Closed Window (Mac) or tap and hold the Tab Switcher button and select Reopen Last Closed Window (iPhone/iPad).
  2. Alternatively, on Mac, go to History > Reopen All Windows from Last Session to restore everything.

Common Mistakes

  • Looking for the tab in the wrong place: Recently Closed tabs only show tabs closed in the current browsing session. If you closed Safari and reopened it later, that list may be empty.
  • Using the wrong shortcut: Command+Z on Mac only undoes the last closed tab. It won't bring back older ones.
  • Expecting cross-device restoration: Recently Closed lists are per-device. Closing a tab on your iPhone won't make it appear in Recently Closed on your Mac, unless you use iCloud Tabs (which shows open tabs, not recently closed ones).
  • Clearing history: If you clear your browsing history, you lose the ability to restore closed tabs via history. Recently Closed may also be cleared.

Tips

  • Use iCloud Tabs: If you have iCloud Tabs enabled, you can see tabs open on other devices. Go to the Tab Switcher and scroll to the bottom to see tabs from your other devices. This can help if you closed a tab on one device but it's still open on another.
  • Bookmark important pages: If you often need to restore the same page, add it to Bookmarks or Reading List to avoid relying on Recently Closed.
  • Use the shortcut often: Train yourself to press Command+Z (Mac) or shake to undo (iPhone/iPad) immediately after closing a tab—it's the fastest way.
  • Keep Safari open: If you don't close Safari fully, the Recently Closed list persists longer. On iPhone/iPad, just switch apps instead of closing Safari.

Troubleshooting

  • Recently Closed list is empty: This happens after you quit Safari or restart your device. Go to History > Show All History (Mac) or the History tab in Bookmarks (iPhone/iPad) to find the site. If it's not there, you may have Private Browsing enabled—private tabs don't appear in history or Recently Closed.
  • Command+Z doesn't work: Make sure you press it immediately after closing the tab, before doing anything else. If you've switched tabs or clicked elsewhere, it may not work.
  • Tab won't reopen: If the tab was in a Private Browsing window, it won't appear in Recently Closed. You'll need to navigate to the site again manually.
  • Can't find the tab in history: If you've cleared history or it's been more than a few days, the tab may be gone. Try using a search engine to find the page again.

Frequently Asked Questions

How long does Safari keep recently closed tabs?

Safari keeps recently closed tabs for the duration of your browsing session. Once you quit Safari or restart your device, the list is cleared. However, your browsing history remains for as long as your history settings allow (default is one year).

Can I restore a closed tab after restarting my Mac?

Yes, but not from the Recently Closed list. After restarting, go to History > Show All History and find the site. You can also use History > Reopen All Windows from Last Session if you want to restore the entire previous session.

Does restoring a closed tab work in Private Browsing?

No. Private Browsing tabs are not saved in history or Recently Closed. Once you close a private tab, it's gone for good.

Can I restore a closed tab on my iPhone using my Mac?

Not directly. Recently Closed is per-device. However, if you have iCloud Tabs enabled, you can see tabs that are currently open on your Mac from your iPhone, and vice versa. If the tab is still open on your Mac, you can open it on your iPhone from the Tab Switcher.

Is there a limit to how many closed tabs Safari remembers?

Safari doesn't document a specific limit, but it typically shows the last 10-15 closed tabs in the Recently Closed list. Older ones are automatically dropped as new ones are added.

What if I accidentally closed a window with multiple tabs?

On Mac, go to History > Reopen Last Closed Window to restore the entire window with all its tabs. On iPhone/iPad, tap and hold the Tab Switcher button and select Reopen Last Closed Window.