What Is the Shortcut to Close a Pop-Up Window on Windows and macOS?

Learn the quick keyboard shortcuts to close pop-up windows on Windows and macOS using Alt + F4, Command + W, or Ctrl + W efficiently.

Published

Video transcript

To close a pop-up window, you can usually press Alt + F4 on Windows or Command + W on macOS. This shortcut closes the active window, including pop-ups and dialog boxes, efficiently. On some browsers, pressing Ctrl + W can also close the current tab or pop-up. These shortcuts are handy for quickly dismissing interruptions without the need for mouse navigation.

Questions and answers

  1. How do I close a pop-up window on Windows?

    Press Alt + F4 to quickly close the active pop-up window on Windows.

  2. What is the shortcut to close a tab or pop-up on macOS?

    Use Command + W to close the current tab or pop-up window on macOS.

  3. Can Ctrl + W close a pop-up window?

    On some browsers, pressing Ctrl + W closes the current tab or pop-up window.

  4. Are these shortcuts effective for all pop-ups?

    Most standard pop-up windows and dialog boxes can be closed using these shortcuts, but some custom or system-level pop-ups may require different actions.