Jupyter Notebook

Jupyter Notebook Shortcuts

Jupyter Notebook keyboard shortcuts for running cells, command vs edit mode, and notebook editing. vNotebook 7 / JupyterLab

Source: Official documentation · Updated 2026-06

Shortcuts
4
Categories

Cheat sheet guide

Jupyter Notebook shortcuts worth learning first

This page collects 24 searchable Jupyter Notebook keyboard shortcuts across 4 categories. Start with the shortcuts for Run cells, Command mode, Edit mode, File & Find, then print the cheat sheet once the important ones are worth keeping nearby.

  • Run cell, select belowShiftEnter
  • Enter command modeEsc
  • Enter edit modeEnter
  • Save notebookCtrlS
  • Run cell, stayCtrlEnter
  • Run cell, insert belowAltEnter

Run cells

5 shortcuts
Run cell, select below
ShiftEnter
Run cell, stay
CtrlEnter
Run cell, insert below
AltEnter
Interrupt kernel
II
Restart kernel
00

Command mode

11 shortcuts
Enter command mode
Esc
Insert cell above
A
Insert cell below
B
Delete cell
DD
Undo cell deletion
Z
Change to Markdown
M
Change to code
Y
Cut cell
X
Copy cell
C
Paste cell below
V
Toggle line numbers
ShiftL

Edit mode

5 shortcuts
Enter edit mode
Enter
Code completion / indent
Tab
Tooltip / docstring
ShiftTab
Comment line
Ctrl/
Split cell at cursor
CtrlShiftMinus

File & Find

3 shortcuts
Save notebook
CtrlS
Find
CtrlF
Open command palette
CtrlShiftC

Frequently asked questions

What is the fastest way to find Jupyter Notebook shortcuts on this page?

Use the search box or press /, then type an action such as run cell, select below.

Can I print this Jupyter Notebook shortcut cheat sheet?

Yes. Use the Print / PDF button or your browser print command to save a compact cheat sheet.

Does this page include Windows and Mac shortcuts for Jupyter Notebook?

Yes. Use the OS tabs to switch between Windows and macOS shortcuts. For example, Run cell, select below is Shift+Enter on Windows and ⇧Enter on macOS where available.

See also

No shortcuts match your search.