Shortcut

macOS Close Window Shortcut

The macOS shortcut to close window is Cmd + W on Windows. It's the same on Mac.

Quick Answer

Windows
Cmd+W
Mac
Cmd+W
Web
Not confirmed yet
macOSShortcut

Close Window

Windows
Cmd+W

Closes the front window.

Tip: Close all windows of the app: Option + Cmd + W. Keys: Command (⌘).

Learn More

How to close window in macOS

  1. Open macOS and go to where you want to close window.
  2. Press Cmd + W on Windows or Cmd + W on Mac.

Tip: Close all windows of the app: Option + Cmd + W. Keys: Command (⌘).

macOS Close Window Shortcut for Windows

Press Cmd + W.

macOS Close Window Shortcut for Mac

Press Cmd + W.

macOS Close Window Shortcut for macOS Web

We haven't confirmed a macOS Web shortcut for this yet.

Version note: Mac only

Related Keyboard Shortcuts

Frequently asked questions

What is the macOS close window shortcut?

On Windows, press Cmd + W. On a Mac, press Cmd + W.

Is there a Mac shortcut to close window in macOS?

Yes: Cmd + W.

Does it work in macOS for the web?

We haven't confirmed a web version shortcut for this yet.

Official source · How we verify