KeyShortcuts

Close Tab Keyboard Shortcut

Closing the active tab may close the window when it is the last tab.

Recorded actions and binding evidence

Windows

macOS

Linux

ChromeOS

Also works in: Android, ChromeOS, Ubuntu Linux, Windows Terminal, Cursor, Microsoft Edge, Mozilla Firefox, Windows, iPhone / iOS, macOS, Safari.

Context

Closing the active tab may close the window when it is the last tab. An editor may prompt for unsaved changes, but a browser form may not. Closing a tab is different from quitting an application; check the action label and save important work first.

Use the binding for your application and platform. Custom keymaps, keyboard layouts and intercepted system keys can change the behavior you observe.

Practical checks

Continue your task

Build a shortcut list for the apps you actually use.

Get printable shortcut packs — from $4. The answer and the free personal Stack do not require a purchase.

Ask about shortcut onboarding for your team.