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
| App | Platform | Keys | What it does |
|---|---|---|---|
| macOS Sonoma | macOS | Cmd+W | Close the current window Latest recorded check: 2026-10-04 · Source |
| Ubuntu Linux 24.04 LTS | Linux | Ctrl+W | Close the current window or tab Verification pending |
| Ubuntu Linux 24.04 LTS | Linux | Alt+F4 | Close the active window Verification pending |
| Windows 10 | Windows | Ctrl+W | Close the current window or tab Verification pending |
| Windows 10 | Windows | Alt+F4 | Close the active application Verification pending |
| Windows 11 | Windows | Ctrl+W | Close the current window or tab Verification pending |
| Windows 11 | Windows | Alt+F4 | Close the active application Latest recorded check: 2026-10-04 · Source |
Application shortcuts
| App | Platform | Keys | What it does |
|---|---|---|---|
| Google Chrome | Windows, Linux | Ctrl+Shift+W | Close the current browser window Latest recorded check: 2026-10-04 · Source |
| Microsoft Edge | Platform not independently verified | Ctrl+Shift+W | Close the current browser window Verification pending |
| Mozilla Firefox | Platform not independently verified | Ctrl+Shift+W | Close the current window Verification pending |
| Vim | Platform not independently verified | Ctrl+W+Q | Close 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.