Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know Safari 5 (on OSX) allows undoing of a recently closed tab with Cmd-Z. However, that works only for the very last closed tab. That is, I cannot press CmdZ twice to reopen the last two closed tabs.

Except for searching my history for the last few tabs, does anyone know of a trick (or extension) in Safari that allows me to reopen last several closed tabs?

Chrome and Firefox offer this simple feature by default: I can press CmdShiftT twice to reopen the last two closed tabs.

share|improve this question

3 Answers 3

I wrote one. retab, and you can customize the key-bindings to match Chrome's ++T too. I left it unchecked by default, but you can enable it via settings +,.

enter image description here

share|improve this answer
How is the stability and battery efficiency of this? Why on earth don't Apple just add this? – niico Aug 5 at 7:19
Working well for me on a 2014 MBP. – Jorge Bucaran Aug 5 at 14:04
Having used this for longer now - it has several bugs. For example - tabs A, B, C, D are open. You are on tab B. You close tab C. It works. But if you close the active tab - B - then it just doesn't work. – niico Aug 13 at 11:54
Please update to the latest version and check out this demonstration video that shows the behavior is consistent. If that still fails, please open an issue in the issue tracker and let's take it from there. – Jorge Bucaran Aug 13 at 13:56
I'm on 2.0 - I installed the extension for the first time less than a week ago - auto update extensions is also on (unclear how I update it). I just opened two new tabs, closed, then pressed cmd shift t - nothing - also closing background tabs also no longer works. Bad bugs here... – niico Aug 14 at 14:45

Perhaps you're looking to undo unintentional closing of tabs, but you could always use the 'Add Bookmark for these tabs' option under the bookmark menu to save them...

share|improve this answer
Yes, I indeed was looking for ways to undo unintentional tab-close. Which is why bookmark for all tabs all the time before closing a tab because I don't which tab (if ever) I might need to reopen. – Ashutosh Mehra Mar 9 '11 at 7:09
  1. Sessions is one of my favorite extensions for Safari, you can basically configure it to auto-bookmark all open tabs/windows every so often in its own manager (database) separate from safari. You can import/export this to other users and for backup too. However, you might overwrite your current 'session' if the auto-backup has run after you closed the relevant tabs...

  2. Also, offers an 'add-on' (not strictly speaking an approved 'extension') that allows multiple-undo. After install it will show up in Safari>Preferences>Glims>Tabs Misc.> "Undo ''Close Tab'' (cmd-z)"

share|improve this answer
I use both of these concurrently btw, I didn't just '***gle it'. – NOTjust -- user4304 Apr 2 '13 at 19:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.