Command+Z

Updated: 05/01/2023 by Computer Hope
Apple Command key, plus sign, and the letter Z

Alternatively called Cmd+Z and C-z, Command+Z is a keyboard shortcut most commonly used to undo the previous action. Below are other programs that use this keyboard shortcut and related information.

Tip

Most programs that support the Command+Z keyboard shortcut allow you to use it multiple times. For example, you could press and hold Command, and press Z three times to undo the last three changes (if they exist).

Tip

The keyboard shortcut that is the opposite of Command+Z is Command+Y (redo).

Tip

On Windows computers, the shortcut to undo is Ctrl+Z.

How to use the Command+Z keyboard shortcut

To use this keyboard shortcut, press and hold either Command key, and while continuing to hold, press Z.

Command+Z in an Internet browser

In all major Internet browsers (e.g., Chrome, Edge, Firefox, Opera, Safari), pressing Command+Z will undo any change made in a browser form or text field.

Command+Z in Microsoft Excel and other spreadsheet programs

In Microsoft Excel and other spreadsheet programs, pressing Command+Z will undo any change made in a spreadsheet.

Command+Z in Microsoft PowerPoint

In Microsoft PowerPoint, the Command+Z keyboard shortcut will undo any edit made to a presentation.

Command+Z in Microsoft Word and other word processors

In Microsoft Word and other word processors, pressing Command+Z will undo any change made in a document.

Below are links to related keyboard shortcuts and individual key pages.

Cmd, Keyboard shortcut, Keyboard terms, Undo, Z