Closing a browser tab takes one click.
Realizing it was the one tab you actually needed takes about half a second longer.
Before you start digging through History, trying to remember whether the page was called “Fix the Thing” or “Seven Reasons the Thing Is Broken,” press three keys.
Ctrl + Shift + T
Reopens the tab you just closed in Edge, Chrome and Firefox.
It’s an Undo button for closing tabs. Naturally, your browser gives you a big X to close a tab and no visible button for “I didn’t mean that.”
How to Bring Back a Closed Tab
- Open any ordinary webpage.
- Close its tab with the X, or press Ctrl + W.
- Press Ctrl + Shift + T.
The tab comes back, and the browser switches to it. Microsoft, Google and Mozilla all list this shortcut in their official keyboard shortcut pages for Edge, Chrome and Firefox.
On a Mac, it’s Command + Shift + T.
Press It More Than Once
It isn’t limited to one mistake. Keep pressing it and the browser works backward through the tabs you closed, newest first.
Close a weather page, then a receipt, then a troubleshooting guide, and the first press brings back the guide. The next brings back the receipt. The one after that, the weather.
If you closed a whole window by accident, the same shortcut can often bring the window back with all its tabs. Press it right away, before you open and close other things and shuffle the order.
When It Won’t Work
- Private windows. InPrivate and Incognito are built to forget. Once you close a private window, its tabs are gone for good. That’s the whole point, but it means you should bookmark or save anything you’ll need before you close it.
- Cleared history. If you (or a cleanup tool) wiped your browsing history or session data, there’s nothing left to restore.
- A different browser profile. Each profile keeps its own list.
- Forms and carts. The page comes back, but text you typed into a form, files you were uploading or a half-finished checkout may not.
If the shortcut does nothing, press Ctrl + H to open your history and search for the page there. The tab may be gone, but the address usually isn’t.
Watch Out for the Neighbor
Ctrl + Shift + W closes the entire browser window. Check that last key is a T before you try this with 40 important tabs open. (If you do hit W, Ctrl + Shift + T can often bring the window back. Still, it’s a bad way to find out.)
Lock Down Your Browser While You’re In There
My free Browser & Online Privacy Quick-Start Checklist walks you through the settings that actually matter: tracking, saved passwords, extensions and more.
Speaking of private windows: if you’ve ever wondered who can still see what you do in one, read Incognito Mode Isn’t Private: Who Can Still See What You Do.
Want the Whole Browser Locked Down?
The Browser & Online Privacy Lockdown Guide goes step by step through Edge, Chrome and Firefox: tracking and cookie settings, extensions worth removing, password managers, and how to spot a phishing page.
The Short Version
- Closed the wrong tab? Press Ctrl + Shift + T.
- Press it again to keep going back through closed tabs, newest first.
- It won’t bring back private-window tabs or anything after history is cleared.
- If it fails, press Ctrl + H and search your history.
- Don’t confuse it with Ctrl + Shift + W, which closes the whole window.
Sources: Microsoft Support (Keyboard shortcuts in Microsoft Edge), Google Chrome Help (Chrome keyboard shortcuts), Mozilla Support (Firefox keyboard shortcuts).
Want the Full Fix?
Grab the free Windows Survival Quick-Start Guide, or browse the complete library of free checklists for backups, security, privacy, and more — no credit card needed.
Get the Free Windows Survival Quick-Start Guide Browse All Free Checklists