Tabs on a Mac: how to open, show, detach and restore them

To get back a tab you just closed on a Mac, press Shift Command T. In Safari, Apple lists that shortcut for reopening the last tab you closed and also the last window you closed, and in Chrome, Google lists the same keys for bringing back a closed tab or window. Press it again to step further back. If the tab was closed longer ago, open Safari's History menu and choose Recently Closed, or search Chrome's history, which keeps the last 90 days.

That covers the single closed tab. The harder cases are the ones that bring people to forum threads: every tab vanished after a restart, a window with dozens of tabs closed by accident, or Safari opening empty after an update. Those depend on a setting most people never look at, and the fix differs between Safari and Chrome. This guide goes through both browsers with the menu names Apple and Google publish, checked on their help pages on October 18, 2026, and then covers the everyday tab moves (open, show, detach) that make loss less likely in the first place.

Bringing back a closed tab in Safari

Safari offers three routes, from fastest to most thorough.

The shortcut. Apple's keyboard shortcuts page for Safari lists Shift Command T for "Reopen the last tab you closed" and also for "Reopen the last window you closed". The shortcut works in order, so pressing it three times brings back the last three closures.

Recently Closed. Apple's guide Use tabs for webpages in Safari on Mac gives the menu route: choose History, then Recently Closed, then pick the page to reopen. This is the better choice when the tab you want is not the most recent one, because the list shows page titles instead of making you cycle through them.

History. If the page is not in Recently Closed, it is usually still in Safari's history, which is listed under the History menu. How long Safari keeps it is a setting: in Safari Settings, General, the Remove history items option controls when entries are deleted. If iCloud is set up for Safari, Apple notes that clearing history removes it from your other Apple devices as well, so avoid clearing history while trying to recover a page.

One limit is worth knowing. Apple's page on browsing privately says that webpages visited in a private window are not saved, so a private window closed by mistake cannot be recovered from history.

Getting a whole session back in Safari

The worst case is quitting Safari, restarting the Mac or installing an update and finding the windows gone. Whether Safari brings them back is controlled by a single setting.

Apple's page on Safari's General settings describes Safari opens with. It chooses how each session starts: with a new window, a new private window, all the windows from your last session, or all the non-private windows from your last session. If this is set to a new window, Safari starts clean every time and the previous tabs are not reopened automatically.

There is a catch that explains many reports of tabs disappearing after a restart. Apple notes that some of these options appear only if Close windows when quitting an app is selected in Desktop and Dock settings. That macOS setting decides whether apps reopen their windows by default.

To make Safari reliably restore tabs:

  1. Open Safari, choose Safari, then Settings, then General.
  2. Set Safari opens with to All windows from last session, or to All non-private windows from last session.
  3. If those options are missing, open System Settings, then Desktop and Dock, and look at Close windows when quitting an app. Turning it on makes the session options appear in Safari.

Once the setting is right, quitting Safari with forty tabs open brings back forty tabs the next morning.

Bringing back tabs in Chrome

Chrome's options are similar, with different names.

The shortcut. Google's Manage tabs in Chrome help page says that if you accidentally close a tab or window, Command Shift T on a Mac opens it again.

History. Google's page Check or delete your Chrome browsing history says Chrome's History lists pages visited in the last 90 days. Open it from the three-dot menu, then History, then History. There is also a faster search: type @history in the address bar, press Tab or Space, then type a word from the page. Pages visited in Incognito mode are not stored.

Other devices. The same page says that if you are signed in and sync your history, History also shows pages visited on your other devices. A tab still open on a phone or another Mac can be picked up from there.

Startup. Chrome's equivalent of Safari's session setting lives in Settings, On startup. Google's startup page help describes Continue where you left off, which reopens the pages that were open when Chrome was quit. Google adds that cookies are kept, so sites you were signed in to open signed in again.

Situation Safari Chrome
Last tab just closed Shift Command T Command Shift T
Last window just closed Shift Command T Command Shift T
A tab closed earlier today History, Recently Closed History page or @history
All tabs after quitting Safari opens with: All windows from last session On startup: Continue where you left off
A tab open on another device Open tabs from other Apple devices, with iCloud set up for Safari History, if synced

Opening, showing and detaching tabs

Losing tabs is often a side effect of how tabs are opened and moved. A few moves from Apple's and Google's guides make the strip easier to control.

Opening

In both browsers Command T opens a new tab and Command-click opens a link in a new tab. Safari's guide adds that Command-Return in the Smart Search field opens the result in a new tab. In Safari Settings, Tabs, the option "Open pages in tabs instead of windows" decides whether links meant for new windows open as tabs: Never, Automatically or Always. Choosing Always keeps everything in one window, which means fewer stray windows to close by mistake.

Showing

When there are too many tabs to read, Safari's tab overview shows them all as thumbnails. Apple lists Shift Command backslash for it. Chrome's answer is Tab Search, the button in the tab strip, or typing @tabs in the address bar followed by Tab or Space and a keyword. Both are faster than squinting at favicons, and both show that a tab is still open before you go looking in history.

Detaching

To move a tab into its own window, drag it out of the tab bar onto the desktop. In Safari, Window, then Move Tab to New Window does the same, and a tab can be dragged into another window's tab bar. Apple notes one rule: tabs in private windows can only move to other private windows, and tabs in normal windows only to normal windows. In Chrome, right-click a tab and choose Move tab to another window.

Detaching is useful, but it also creates the riskiest situation: a small window with a few important tabs that gets closed with Command Shift W along with everything else. Shift Command T recovers it, as long as it is used before too many other closures pile up.

Saving a set of tabs before it is lost

Recovery works best when there is less to recover. Both browsers can save a set of tabs under a name, so a window full of research is not one accidental Command Shift W away from disappearing.

In Safari this is a Tab Group. Apple's guide Group tabs in Safari on Mac gives two ways to make one. To save everything in the current window, click the arrow next to the sidebar button in the toolbar and choose New Tab Group with the number of tabs shown, then type a name and press Return. To build a group gradually, choose New Empty Tab Group instead, then Control-click a tab and choose Move to Tab Group, or drag tabs into the group in the sidebar. Opening the group later restores its tabs. Control-clicking a group in the sidebar and choosing Show Tab Overview previews its pages as thumbnails before opening it.

On recent macOS versions with Apple Intelligence, Apple also describes suggested topics that collect related tabs automatically. Apple notes the feature is not available in all languages or regions, so the manual Tab Group is the method that works everywhere.

In Chrome the equivalent is a tab group that is closed rather than deleted. Google's help says a closed group is saved in the bookmarks bar or in the menu and can be opened again, while Delete group removes it on every device signed in to the same Google Account. Choosing Close group at the end of a task keeps the tabs retrievable without leaving them open.

A simple rule covers both browsers: anything that would take more than five minutes to rebuild goes into a named group before the window is closed.

Why tabs keep getting lost

Recovery tools solve the symptom. The pattern behind most lost tabs is that the tab strip is doing two jobs at once.

Some tabs are temporary: an article, a search result, a page needed for ten minutes. Others are permanent: mail, chat, a calendar, a project board, an AI assistant. When both kinds share one strip, a quick cleanup with Close Other Tabs or Close Tabs to the Right, both available on Safari's Control-click menu according to Apple's Close tabs page, takes the permanent ones with it. Then the work apps have to be found again, reopened and often signed in again.

Two habits separate the two kinds:

  1. Pin or group the permanent tabs. Safari Tab Groups and Chrome tab groups give long-running pages a named place.
  2. Move the permanent apps out of the tab strip. Safari can save a page as a separate web app with File, then Add to Dock, on macOS Sonoma 14 or later. An app aggregation browser goes further, putting each web app in a fixed sidebar slot that tab cleanup never touches.

The second habit is where a browser built around apps rather than pages fits. The features page of one such browser for macOS describes a Command K palette that searches apps, open tabs, workspaces and the full text of pages you have visited, so a lost page can be found by content, not only by title. Its workspaces page explains how each app keeps its own session, so switching spaces never logs you out. The free plan covers one workspace with up to three apps, per its pricing page.

What to change first

Check Safari opens with in Safari's General settings, or On startup in Chrome, today, before the next restart rather than after it. If the tabs that keep disappearing are the work apps you use all day, give them a permanent home outside the tab strip, for example in SpaceDeck, and keep tabs for pages you expect to close.

Frequently asked questions

What is the shortcut to reopen a closed tab on a Mac?

Shift Command T works in both Safari and Chrome. It reopens the last tab or window you closed, and pressing it again goes further back through earlier closures.

Safari tabs disappeared after restarting the Mac. Can they be brought back?

Open the History menu and check Recently Closed, or search Show All History for the pages. To prevent it next time, set Safari opens with to All windows from last session in Safari Settings, General. If that option is missing, check Close windows when quitting an app in Desktop and Dock settings.

How far back does Chrome keep browsing history?

Google's help page says Chrome's History lists pages visited in the last 90 days. Pages viewed in Incognito mode are not stored, and pages you have deleted from history are gone.

Can I recover tabs from a private window?

Not from history. Apple says pages visited in a Safari private window are not saved, and Google says Chrome's History does not store pages visited in Incognito mode, so a closed private window cannot be listed again from history.

How can every open tab be seen at once in Safari?

Use the tab overview with Shift Command backslash. It shows every tab in the window as a thumbnail, which makes it easy to confirm a page is still open before searching history.

Back to all posts