Ways to Quickly Close Your Browser

Avoid getting caught slacking off on the job

coworkers looking at something shocking on computer

Dimitri Otis / Getty Images

When things are slow, you might be tempted to play a game of online Scrabble or watch a rendition of the national anthem on YouTube to pass the time. When you need to get back to work, use keyboard shortcuts to quickly hide or shut down the browser.

How to Quickly Close Web Browsers on a Windows Computer

Each browser uses a different keyboard shortcut:

  • In Chrome and Edge, press Alt+F4 to close the active window.
  • In Internet Explorer, Firefox, Safari, and Opera, press Win+M to minimize all open windows to the taskbar, or press Alt+F4 to quit the active instance of the browser.

In Windows 10, the Win+D hotkey toggles the desktop. Press it to minimize all currently open apps (foreground and background) to the taskbar, and reveal the desktop. Press it again to bring those same apps back to the original positions.

How to Quickly Close Web Browsers on Mac OS X and macOS

For all browsers, press Cmd+H to hide all active browser windows or press Cmd+Q to quit the application.

On older Mac keyboards the Command key is the Apple key. On Mac OS X, using Hide is noticeably faster than using Quit.