In Chrome we can close all the tabs in a window while keeping a selected one open.

Is there a keyboard shortcut to "close other tabs"?

enter image description here


No keyboard shortcut i know about and checking google forums neither does anyone else.

There is an extension Close Inactive Tabs this is a button which closes all other tabs except the active one

No more confusing menus

  • 1
    There's an entry in the suggestions box. – JdeBP Jun 18 '11 at 12:15
  • This extension doesn't work on Mac Chrome 66. – 2540625 May 18 '18 at 16:37
  • 1
    Link is broken :-( – foobarbecue Sep 20 '19 at 13:03
  • 3
    Well, they removed the whole option now. – Everyone Nov 5 '19 at 9:12
  • and added the option again :) – discy Nov 23 '19 at 22:07

I wrote this extension so that we can assign shortcuts for closing tabs to the right / left /other tabs /pin /unpin tab. Let me know if you can use it

custom shortcuts

Update 2019/06/10: Still works with Chrome 75 custom shortcuts

  • Your screenshot above shows command-key–based shortcuts, but in the app store it shows option-key–based. Can this be configured? Option key is primarily for typing alternate characters (é, ü, ∞, etc); it shouldn't be used without the command key for commands. – 2540625 May 18 '18 at 16:26
  • This extension doesn't work on Mac Chrome 66. – 2540625 May 18 '18 at 16:38
  • @jtheletter Chrome 66 move the link to the hamburger icon, and you still can configure the shortcut for it: chrome://extensions/shortcuts . I'll update the extension. Thanks for letting me know. – Dio Phung May 24 '18 at 23:10
  • @jtheletter chrome.google.com/webstore/detail/keyboard-shortcuts-to-clo/… : I updated the extension and you can customize the hotkeys using any recognizable key combos. – Dio Phung Jul 5 '18 at 23:24
  • 1
    It works flawlessly, many thanks for this little add-on! – JKHA Jan 26 at 21:26

The shortcut key to close all other tabs is CtrlShiftAltW if you install Amazing Tab Shortcuts, freely available in the Chrome Web Store.

I use it frequently for scripts, which I suspect is your use.


  • 3
    Alas, doesn't appear to work on Linux. – Joseph Garvin Oct 8 '14 at 1:00
  • 2
    Wohou is such a combination still called "short"cut? – user785529 Sep 9 '16 at 9:56

None of them work. The easiest way is to right-click on the tab that you want to keep open and then click 'close other tabs'. The shortcut to close ALL tabs is Ctrl+Shift+W, to open a new tab is Ctrl+T, and to close the tab you are on is Ctrl+W. Also, if you close a tab by mistake and want to reopen it to the same page it was on, use Ctrl+Shift+T. Experiment with the rest like, Ctrl+Shift+E, etc.

  • 3
    In the question it we can see already that the way how to do this with mouse is known. I think it is not needed to show keyboard shortcuts for other functions here. – pabouk Oct 17 '13 at 9:44

Here is an extension that assigns a keyboard shortcut to close other tabs. .

Works great on my Mac with Chrome stable channel.

  • This extension doesn't work on Mac Chrome 66. – 2540625 May 18 '18 at 16:38

In OS X you can create ~/Library/Scripts/Applications/Google Chrome/ and save this script there with Script Editor:

tell window 1 of app "google chrome" to close tabs whose id is not (get id of active tab)

Then use FastScripts to give the script a shortcut.

  • Hey, this was excellent. Thank you! – Jonatan Littke May 10 '19 at 23:50

Using Vimium, you can use Ctrl+X to close other tabs (add map <c-x> closeOtherTabs to Vimium -> Options -> Custom key mappings) and Shift+X to restore the last closed tab.

  • Thanks Vimium is great! I'm now using <c-x> but I had to configured that. There was no default shortcut for closeOtherTabs even though the function was there. – Frayser Dec 24 '19 at 13:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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