What does Cmd+W do?
In macOS Sonoma, Cmd+W means: Close the current window.
Where this shortcut applies
| App | Platform | What it does |
|---|---|---|
| macOS Sonoma | macOS | Close the current window |
| macOS Sonoma | macOS | Close the current Terminal tab |
| macOS Sonoma | macOS | Close the current browser tab |
| Google Chrome | macOS | Close the current tab |
| Zoom | App context | Leave or end meeting on macOS |
| Safari | App context | Close the current tab |
| Safari | App context | Close the current tab |
| Arc Browser | App context | Close the current tab (Arc archives it rather than destroying it) |
Full shortcut pages
Frequently asked questions
- What does Cmd+W do?
- In macOS Sonoma, Cmd+W means: Close the current window.
- Does this shortcut work the same way in every app?
- No. The listed contexts include macOS Sonoma, Google Chrome, Zoom, Safari, Arc Browser. 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 documented, open the linked application reference and check its documented context before relying on it.