Skip to the main content

Android Studio keyboard shortcuts

Code completion, navigation, refactoring, and debugging in Google's Android IDE.

94 shortcuts Mac and Windows checked September 14, 2026

Print all 94 shortcuts One sheet with every shortcut in this app, ready for the printer or a PDF.

94 actions and 94 key variants match.

Search all apps

Matching shortcuts
Action Keys Row actions
Go to the last edit location Editor Windows CtrlShiftBackspace Source
Close the active editor tab Editor Windows CtrlF4 Source
Hide the active tool window Tool window focused Windows ShiftEsc Source
Go to a line Editor Windows CtrlG Source
Open the type hierarchy Editor Windows CtrlH Source
Open the method hierarchy Editor Windows CtrlShiftH Source
Open the call hierarchy Editor Windows CtrlAltH Source
Generate code such as getters or constructors Editor Windows AltInsert Source
Override methods Editor Windows CtrlO Source
Implement methods Editor Windows CtrlI Source
Surround the code with a block Editor Windows CtrlAltT Source
Delete the line at the caret Editor Windows CtrlY Source
Duplicate the line or selection Editor Windows CtrlD Source
Look up quick documentation Editor Windows CtrlQ Source
Show parameters for the method Editor Windows CtrlP Source
Go to the declaration Editor Windows CtrlB Source
Go to the implementations Editor Windows CtrlAltB Source
Go to the super method or class Editor Windows CtrlU Source
Open a quick definition lookup Editor Windows CtrlShiftI Source
Set or clear a bookmark Editor Windows F11 Source
Set a bookmark with a mnemonic Editor Windows CtrlF11 Source
Comment lines with line comments Editor Windows Ctrl/ Source
Comment code with a block comment Editor Windows CtrlShift/ Source
Grow the selection to larger blocks Editor Windows CtrlW Source
Shrink the selection back a step Editor Windows CtrlShiftW Source
Optimize the imports Editor Windows CtrlAltO Source
Show quick fixes and intention actions Editor Windows AltEnter Source
Reformat the code Editor Windows CtrlAltL Source
Auto indent the lines Editor Windows CtrlAltI Source
Join lines smartly Editor Windows CtrlShiftJ Source

About Android Studio and its shortcuts

Android Studio is IntelliJ underneath, with an Android layer on top, so its shortcuts come from two places: the editor and navigation commands of a JetBrains IDE, and the build, emulator and layout tools added for Android work. Anyone arriving from another JetBrains product already knows most of the first group.

Keymaps are switchable, and the Mac keymap is not a translation of the Windows one. Plugins add bindings, and some commands only exist while a device or emulator is connected.

Where the Android Studio keys came from

Read from 1 documentation page published by the makers of Android Studio. Report a key that is wrong

To see how one action is done in other apps as well as Android Studio, browse the shortcuts by task. Shortcuts by task