What does Cmd+W do?

In macOS Sonoma, Cmd+W means: Close the current window.

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

Where this shortcut applies

What does Cmd+W do?
AppPlatformWhat it does
macOS SonomamacOSClose the current window
Latest recorded check: 2026-10-04 · Source
macOS SonomamacOSClose the current Terminal tab
Verification pending
macOS SonomamacOSClose the current browser tab
Verification pending
Google ChromemacOSClose the current tab
Latest recorded check: 2026-10-04 · Source
ZoomPlatform not independently verifiedLeave or end meeting on macOS
Verification pending
SafariPlatform not independently verifiedClose the current tab
Verification pending
SafariPlatform not independently verifiedClose the current tab
Verification pending
Arc BrowserPlatform not independently verifiedClose the current tab (Arc archives it rather than destroying it)
Verification pending

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 independently verified, open the linked application reference and check its documented context before relying on it.