Shortcut

Jupyter Notebook Undo Cell Operation Shortcut

The Jupyter Notebook shortcut to undo cell operation is Z on Windows. We haven't confirmed a Mac shortcut for this yet.

Quick Answer

Windows
Z
Mac
Not confirmed yet
Web
Z
Jupyter NotebookShortcut

Undo Cell Operation

Windows
Z

In command mode, undoes a cell operation listed under cell editing.

Learn More

How to undo cell operation in Jupyter Notebook

  1. Open Jupyter Notebook and go to where you want to undo cell operation.
  2. Press Z on Windows.

Jupyter Notebook Undo Cell Operation Shortcut for Windows

Press Z.

Jupyter Notebook Undo Cell Operation Shortcut for Mac

We haven't confirmed a Mac shortcut for this yet.

Jupyter Notebook Undo Cell Operation Shortcut for Jupyter Notebook Web

Press Z.

Version note: Classic Notebook documentation consulted 2026-10-17; not hands-on tested. Check bindings in your installed version.

Related Keyboard Shortcuts

Frequently asked questions

What is the Jupyter Notebook undo cell operation shortcut?

On Windows, press Z.

Is there a Mac shortcut to undo cell operation in Jupyter Notebook?

We haven't confirmed a Mac shortcut for this yet.

Does it work in Jupyter Notebook for the web?

Yes: Z.

Official source · How we verify