JupyterLab and Jupyter Notebook keyboard shortcuts

A Jupyter notebook has two modes: in edit mode your keys type into a cell, and in command mode single letters such as A, B and D then D act on whole cells. Esc takes you to command mode and Enter back to editing; JupyterLab draws the cell border grey in command mode and blue in edit mode. These are the defaults JupyterLab 4.6 and Jupyter Notebook 7.6 ship in their settings files, and the Keyboard Shortcuts page of the Advanced Settings Editor changes any of them.

106 shortcutsWindows and MacChecked 27 September 2026

Checked against JupyterLab documentation — Commands (every command and its default shortcut), JupyterLab documentation — Notebooks (edit mode and command mode), JupyterLab documentation — The JupyterLab Interface, JupyterLab repository — default shortcut settings, v4.6.4 (notebook tracker schema), Jupyter Notebook documentation — The Jupyter Notebook, Jupyter Notebook repository — default shortcut settings, v7.6.3, JupyterLab changelog and Jupyter Notebook changelog. Version: JupyterLab 4.6.4 and Jupyter Notebook 7.6.3, default shortcuts.

106 shortcuts

The top 20 are the Jupyter shortcuts this page marks as the ones to learn first, in the order they appear here. The drill asks the marked ones first too, shuffled. Or tick your own and print those.

Next