Close Window Shortcut Key (Windows, Mac, Chromebook)

For close window in Windows 11, use Ctrl+W: Close the current window or tab. The tables below list the recorded alternatives by operating system and application; there is no single key combination that works everywhere.

Last verified: 2026-10-04 (latest recorded check on at least one row; rows without their own date remain pending).

Operating system shortcuts

Operating system shortcuts
AppPlatformKeysWhat it does
macOS SonomamacOSCmd+WClose the current window
Latest recorded check: 2026-10-04 · Source
Ubuntu Linux 24.04 LTSLinuxCtrl+WClose the current window or tab
Verification pending
Ubuntu Linux 24.04 LTSLinuxAlt+F4Close the active window
Verification pending
Windows 10WindowsCtrl+WClose the current window or tab
Verification pending
Windows 10WindowsAlt+F4Close the active application
Verification pending
Windows 11WindowsCtrl+WClose the current window or tab
Verification pending
Windows 11WindowsAlt+F4Close the active application
Latest recorded check: 2026-10-04 · Source

Application shortcuts

Application shortcuts
AppPlatformKeysWhat it does
Google ChromeWindows, LinuxCtrl+Shift+WClose the current browser window
Latest recorded check: 2026-10-04 · Source
Microsoft EdgePlatform not independently verifiedCtrl+Shift+WClose the current browser window
Verification pending
Mozilla FirefoxPlatform not independently verifiedCtrl+Shift+WClose the current window
Verification pending
VimPlatform not independently verifiedCtrl+W+QClose the current split window
Verification pending

Full shortcut pages

Frequently asked questions

Close Window Shortcut Key (Windows, Mac, Chromebook)
For close window in Windows 11, use Ctrl+W: Close the current window or tab. The tables below list the recorded alternatives by operating system and application; there is no single key combination that works everywhere.
Does this shortcut work the same way in every app?
No. The listed contexts include macOS Sonoma, Ubuntu Linux 24.04 LTS, Windows 10, Windows 11, Google Chrome, Microsoft Edge, Mozilla Firefox, Vim. Check the table for each application and platform: the active window, keyboard layout and application settings determine which command receives the key press. An application being available on an operating system is not evidence that this exact binding works there.
What should I use on a Mac?
Use a macOS binding shown in the table, if one is recorded for your task and application. This page does not assume that replacing Ctrl with Cmd produces a working Mac shortcut. When an equivalent has not been independently verified, open the linked application reference and check its documented context before relying on it.