Close tabs, windows and Google Chrome

Close tabs and windows

  • Tabs: Click the x icon on the tab, or use the keyboard shortcuts Ctrl+W (Windows and Linux) and ⌘-W (Mac) to close a tab.
  • Windows: Click the x icon in the corner of the window, or use the keyboard shortcuts Alt+F4 (Windows and Linux) and ⌘-Shift-W (Mac) to close a window. Closing the last tab in a window also automatically closes the window.

If you accidentally close a tab or window, you can easily recover it using the keyboard shortcut Crtl+Shift+T (Mac: ⌘-Shift-T) or follow the steps below:

  1. Click the Chrome menu Chrome menu on the browser toolbar.
  2. Select Recent Tabs.
  3. Select the desired tab from the list under "Recently closed".

Repeat the steps to retrieve more recently closed tabs.

Close Google Chrome

Click the Chrome menu Chrome menu on the browser toolbar and select Exit to close all open tabs and windows.

If you're using Google Chrome on a Mac, you can also set the browser to show you a warning before you close the browser. This warning is disabled by default. Follow these steps to turn it on:

  1. Click Chrome on the top menu bar.
  2. Select Warn Before Quitting (⌘Q).

Force a web page or application to close

  1. Click the Chrome menu Chrome menu on the browser toolbar.
  2. Select Tools.
  3. Select Task manager.
  4. Select the web page you'd like to close.
  5. Click End process.

If you end a process in Windows, Linux, or Chrome OS, you'll see the "He's Dead, Jim!" message in the affected tabs. On a Mac, you'll get an "Aw, Snap!" message.