Chrome Tab Close Keyboard Shortcuts
The keyboard shortcut to close the current tab in Google Chrome is Ctrl+W on Windows, Linux, and ChromeOS, and Command+W on macOS. To close all tabs in the current window, use Ctrl+Shift+W (Windows/Linux/ChromeOS) or Command+Shift+W (macOS).
Why These Shortcuts Matter
Tab management is one of the most common browser tasks. Whether you are tidying up after research, closing accidental pop-ups, or freeing memory, knowing the right key combination saves time and reduces reliance on the mouse. Chrome inherits many of its shortcuts from long-standing browser conventions, so Ctrl+W (or Cmd+W) works consistently across most modern browsers, including Firefox and Edge. This consistency means muscle memory transfers easily between applications.
Closing a tab with a keyboard shortcut is also safer than clicking the small × button, especially on touchpads where a slight slip can close the wrong tab. The shortcut acts on the active tab, so as long as you have the intended tab in focus, you get a predictable result.
How the Shortcuts Work
Chrome uses modifier keys to distinguish between similar actions. The base shortcut Ctrl+W (Cmd+W on Mac) closes the active tab. Adding Shift escalates the action to close the entire window. This pattern is common in software: Shift often amplifies a command. For example, Ctrl+T opens a new tab, while Ctrl+Shift+T reopens the last closed tab—a useful recovery tool if you close something by mistake.
On macOS, the Command key (⌘) replaces Ctrl for most Chrome shortcuts. The letter keys remain the same. So the mapping is:
- Close current tab: Ctrl+W (Windows/Linux/ChromeOS) or Cmd+W (macOS)
- Close current window: Ctrl+Shift+W or Cmd+Shift+W
- Reopen last closed tab: Ctrl+Shift+T or Cmd+Shift+T
- Close all tabs except the active one: No default shortcut; use the tab context menu
Chrome also supports closing a tab by middle-clicking it, but that is a mouse action, not a keyboard one. The keyboard method is faster once learned.
Step-by-Step: Closing Tabs with the Keyboard
- Make sure the tab you want to close is active (click it or use Ctrl+Tab to cycle).
- Press Ctrl+W (Windows/Linux/ChromeOS) or Cmd+W (macOS). The tab closes immediately.
- If you closed the wrong tab, press Ctrl+Shift+T (or Cmd+Shift+T) to reopen it. Chrome remembers recently closed tabs.
- To close an entire window and all its tabs, press Ctrl+Shift+W (or Cmd+Shift+W). Chrome will close the window; if multiple windows are open, the browser stays running.
Note that on some keyboards, particularly compact laptops, the W key may be in a different position, but the letter remains the same. The shortcuts are not customizable within Chrome's settings, though third-party extensions can remap keys.
Common Problems and Misconceptions
One frequent misconception is that Ctrl+W closes the entire browser. It only closes the current tab. If that tab is the last one in the window, the window closes, and if it was the last window, Chrome exits. This behavior can surprise users who expect the browser to stay open with a blank page. To avoid losing all tabs, consider enabling "On startup: Continue where you left off" in Chrome settings, which restores tabs after a restart.
Another issue arises on macOS: some users press Ctrl+W instead of Cmd+W and find nothing happens. On Mac, Ctrl+W is not mapped to close tab by default; it may trigger other system or app functions. Always use Command on Mac.
Keyboard layouts can also affect shortcuts. On non-QWERTY layouts, the physical key labeled W may produce a different character, but Chrome typically uses the character value, not the physical position. If shortcuts stop working, check whether an extension or system-level key remapper is intercepting them.
Alternatives and Related Shortcuts
Beyond closing tabs, Chrome offers a range of tab-related keyboard commands that can improve workflow:
- Ctrl+T / Cmd+T: Open a new tab.
- Ctrl+Tab / Ctrl+Shift+Tab: Move to the next or previous tab.
- Ctrl+1 through Ctrl+8: Jump to a specific tab by position.
- Ctrl+9: Jump to the last tab.
- Ctrl+Shift+T: Reopen the most recently closed tab (repeatable for multiple tabs).
These shortcuts are part of Chrome's default set and work without any configuration. They are documented in Chrome's official keyboard shortcuts page, accessible via the Help menu.
Safety and Data Loss Considerations
Closing a tab does not delete browsing history or saved data, but it can discard unsaved form input. If you have typed a long message or filled out a web form and accidentally close the tab, Chrome may not recover the content. Some sites implement autosave or draft recovery, but this is not guaranteed. For important work, submit or save before closing.
Closing a window with multiple tabs will close all of them. If you have pinned tabs or tabs playing audio, Chrome may warn you before closing a window with multiple tabs, depending on settings. However, the Ctrl+Shift+W shortcut bypasses some warnings. To reduce risk, use Ctrl+W for individual tabs and avoid Ctrl+Shift+W unless you intend to close everything.
Reopening closed tabs via Ctrl+Shift+T works for the current session and, if Chrome is set to remember recent tabs, across restarts. The number of recoverable tabs is limited, so it is not a substitute for bookmarks.
Frequently Asked Questions
What is the keyboard shortcut to close a tab in Chrome?
On Windows, Linux, and ChromeOS, press Ctrl+W. On macOS, press Command+W. This closes the active tab.
How do I close all tabs in Chrome with the keyboard?
Press Ctrl+Shift+W (Windows/Linux/ChromeOS) or Command+Shift+W (macOS) to close the current window and all its tabs. There is no default shortcut to close all tabs across all windows at once.
Can I reopen a tab I accidentally closed?
Yes. Press Ctrl+Shift+T (or Command+Shift+T on Mac) to reopen the most recently closed tab. Press it again to reopen earlier tabs, up to a limited history.
Why doesn't Ctrl+W work on my Mac?
On macOS, Chrome uses Command+W, not Ctrl+W. The Control key is used for different functions, so use the Command key instead.
Is there a way to close a tab without a keyboard shortcut?
Yes. Click the × icon on the tab, middle-click the tab, or right-click the tab and choose Close. Keyboard shortcuts are simply faster.
Does closing a tab stop downloads or background processes?
Closing a tab stops any activity tied to that page, including audio playback and scripts. Downloads initiated from that tab typically continue in Chrome's download manager, but closing the tab may interrupt some in-page processes.