Jupyter Notebook keyboard shortcuts

Jupyter Notebook lets you run code one cell at a time and keep the output and your notes beside it. The keys here run a cell, switch between edit and command mode, search the page, and interrupt or restart the kernel.

Windows, macOS, Linux · 6 shortcuts

Notebook editing

Run a cell, switch the notebook between editing and command mode, and search the current page.

ActionShortcuts
Run the current cell
Windows / macOS / LinuxShift + Enter
Switch to command mode
Windows / macOS / LinuxEsc
Switch to edit mode
Windows / macOS / LinuxEnter
Find in the notebook
Windows / LinuxCtrl + F
macOSCmd + F

Kernel control

These command-mode sequences interrupt or restart the computational process behind the notebook.

ActionShortcuts
Interrupt the kernel
Windows / macOS / Linuxi then i
Restart the kernel
Windows / macOS / Linux0 then 0

Source

Jupyter Notebook 7.6.0 keyboard shortcuts · Checked

Essential shortcuts from the Jupyter Notebook 7.6.0 documentation, checked September 1, 2026. The full context-sensitive map is available from Help > Keyboard Shortcuts inside the running notebook; this page keeps the defaults explicitly documented in the public guide.

Make a printable Jupyter Notebook sheet