Ctrl+F4

Updated: 12/31/2020 by Computer Hope
Ctrl+F4 keyboard shortcut

Alternatively referred to as Control+F4 and C-f4, Ctrl+F4 is a keyboard shortcut most often used to close a tab or window within a program.

Tip

If you want to close a program and all of its tabs and windows, use the Alt+F4 keyboard shortcut.

How to use the Ctrl+F4 keyboard shortcut

To use this keyboard shortcut, press and hold either Ctrl key, and while continuing to hold, press the F4 key.

Ctrl+F4 in an Internet browser

In all major Internet browsers (e.g., Chrome, Edge, Firefox, Opera), pressing Ctrl+F4 closes the active tab, or the entire browser if only one tab is open.

Ctrl+F4 in Excel and other spreadsheet programs

In Microsoft Excel and some other spreadsheet programs, pressing Ctrl+F4 closes the active workbook.

Ctrl+F4 in Microsoft Windows

In Microsoft Windows, pressing Ctrl+F4 will close the active tab or window in a program that supports multiple tabs or windows.

Below are links to related keyboard shortcuts and individual key pages.

Ctrl, F, Find, Keyboard shortcut, Keyboard terms, Search