The fastest way to get a closed tab back
You can reopen a tab you just closed by pressing Ctrl+Shift+T on Windows or Cmd+Shift+T on Mac. This works in Chrome, Firefox, Edge, and Safari. The tab reopens with the same page you were viewing, and you can press the same keys again to reopen earlier closed tabs in reverse order — the most recent one first.
If you closed the entire browser window by accident, the same keyboard shortcut will reopen that window with all the tabs that were open in it. This is the single most useful thing to know about closed tabs, because it works when ready and requires nothing to be set up beforehand.
The keyboard shortcut is faster than using the menu, but if you prefer clicking, you can right-click on the tab bar (the empty space next to your open tabs) and select "Reopen closed tab" from the menu that appears. In Safari, go to History in the menu bar and choose "Reopen Last Closed Tab".
Key Takeaways
- Press Ctrl+Shift+T (Windows) or Cmd+Shift+T (Mac) to when ready reopen your most recently closed tab.
- Pressing the same keys multiple times reopens earlier closed tabs in reverse order, so you can recover several at once.
- This shortcut also reopens an entire closed browser window with all its tabs intact.
- If you closed a tab hours ago, your browser's history menu will show it, but the keyboard shortcut only works for recently closed tabs.
Recovering tabs closed a long time ago
The keyboard shortcut only works for tabs you closed in the current session. Once you close your browser completely or restart your computer, that shortcut no longer remembers them. To find a page you visited hours or days ago, you need to use your browser's history instead.
In Chrome, Firefox, and Edge, press Ctrl+H (Windows) or Cmd+Y (Mac) to open the history page. You will see a list of sites you visited, organized by date. Search for the site name or scroll through "Today" or "Yesterday" to find the page. Click on it to reopen it.
In Safari, click History in the menu bar at the top of the screen, then scroll down to see "Earlier Today", "Yesterday", or earlier dates. Click the site you want to revisit.
Why browsers remember closed tabs at all
Every browser keeps a short-term memory of tabs you have closed — usually the last 10 to 25 tabs, depending on the browser. This buffer clears when you close the entire browser window or shut down your computer. The feature exists because closing a tab by accident is one of the most common mistakes people make while browsing.
Some browsers let you change how many closed tabs they remember. In Chrome, this is not adjustable in settings, but Firefox allows you to increase it. Go to Firefox Settings, scroll to History, and change "Remember closed tabs" from the default of 5 to a higher number if you want more recovery options.
Preventing accidental tab closure
If you find yourself closing tabs by accident often, you have a few options. The simplest is to use the keyboard shortcut to close tabs instead of clicking the X button. Press Ctrl+W (Windows) or Cmd+W (Mac) to close a tab. This feels more intentional because you have to use both hands, and the keyboard shortcut is faster than reaching for the mouse.
Another approach is to pin important tabs. Right-click on a tab and select "Pin tab" (or "Pin" in Safari). A pinned tab becomes a small icon at the left side of your tab bar and cannot be closed by accident — you have to unpin it first before you can close it. This is useful for tabs you keep open all day, like email or a project management tool.
If you work with many tabs at once, consider using tab groups. In Chrome and Edge, right-click a tab and select "Add tab to group", then name the group. All tabs in that group stay together, and you can collapse the entire group to reduce clutter. This makes it less likely you will close the wrong tab because you can see at a glance which tabs belong together.
Recovering tabs after a browser crash
If your browser crashes or closes unexpectedly, most modern browsers will offer to restore your previous session when you reopen them. Chrome, Firefox, and Edge all show a message asking if you want to restore your tabs. Click "Restore" and all your open tabs will reappear.
If you dismiss that message by accident, you can still recover those tabs. Press Ctrl+Shift+T (Windows) or Cmd+Shift+T (Mac) — the same shortcut as before — and your browser will reopen the entire previous session. This works even if you closed the browser normally after a crash.
Safari does not offer this automatic restore, but you can manually reopen your last session by going to History in the menu bar and looking for an option like "Reopen All Windows from Last Session" if your browser closed unexpectedly.
Using tab recovery when switching browsers
If you switch from one browser to another, the closed-tab recovery shortcuts do not transfer. Chrome's closed tabs stay in Chrome, and Firefox's stay in Firefox. However, most browsers can import your history from another browser when you first set them up.
When you open a new browser for the first time, look for an import option in the settings or during the initial setup. You can import your browsing history, bookmarks, and saved passwords from your old browser. Once imported, you can search that history to find pages you visited, even if they were closed in the old browser.
If you did not import history when you set up the new browser, you can still do it later. In Chrome, go to Settings, then Import Bookmarks and Settings. In Firefox, go to Settings, then Home, and scroll down to Import Data. In Edge, go to Settings, then Import Browser Data.
Frequently Asked Questions
Can I reopen a tab I closed yesterday?
The keyboard shortcut only works for tabs closed in your current session. For older tabs, use your browser history (Ctrl+H on Windows, Cmd+Y on Mac). Search for the site name or browse by date to find the page you want.
What if I close multiple tabs at once — can I get them all back?
Yes. Press Ctrl+Shift+T (Windows) or Cmd+Shift+T (Mac) repeatedly, and each press will reopen one closed tab in reverse order. The most recently closed tab reopens first, then the one before it, and so on.
Does pinning a tab prevent me from closing it by accident?
Yes. Pinned tabs show as small icons and cannot be closed by clicking the X button. You must right-click the pinned tab and select "Unpin" before you can close it, which prevents accidental closure.
Will my closed tabs come back if my browser crashes?
Most browsers offer to restore your session when they reopen after a crash. If you dismiss that message, press Ctrl+Shift+T (Windows) or Cmd+Shift+T (Mac) to restore your previous session manually.
Can I recover tabs from a different browser?
Not directly — closed tabs in Chrome stay in Chrome. However, you can import your browsing history from another browser through settings, then search that history to find pages you visited before switching.