Windows Close Window Shortcut for Windows, Mac & Web

Closes the current app or window. Here's the keyboard shortcut for every version of Windows, plus other ways to do it.

Quick Answer

Windows
Alt+F4
Mac
Cmd+W
Web
Not confirmed yet
Windows

Close Window

Windows
Alt+F4

Closes the current app or window.

Learn More

How to close window in Windows with the keyboard

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

Windows Close Window Shortcut for Windows

Press Alt + F4.

Windows Close Window Shortcut for Mac

Press Cmd + W.

Windows Close Window Shortcut for Windows Web

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

Related Shortcuts

Frequently asked questions

What is the Windows close window shortcut?

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

Is there a Mac shortcut to close window in Windows?

Yes: Cmd + W.

Does it work in Windows for the web?

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

Not yet verified · Last reviewed: not yet reviewed · Microsoft's official shortcut list