Home·Keyboard shortcuts

Gmail · Undo the last action

Actions

Windows · Linux

z

Mac

z

Both systems use the same combination.

Undoes what you just did, but only while the little confirmation strip at the bottom is still on screen; once it fades this key cannot reach the action — sent mail included.

Group
Actions
Keys held
1

Most Gmail shortcuts do nothing until you turn Keyboard shortcuts on in Settings — while it is off, the single-letter keys simply have no effect.

Reading the key names

  • Keys joined by + are pressed together: Ctrl+Shift+P means hold Ctrl and Shift, then P.
  • On a Mac, Cmd is ⌘, Option is ⌥ (labelled Alt on some keyboards), Control is ⌃ and Shift is ⇧.
  • Windows Ctrl usually becomes Cmd on a Mac, but not always — this reference lists both combinations separately.
  • With a Korean, Japanese or Chinese input method active, shortcuts built on letter keys may not fire. Switch to Latin input and try again.
  • When a combination does nothing, another program has often claimed it as a global shortcut first.

Common questions

Q. What is the shortcut for Undo the last action in Gmail?

Undoes what you just did, but only while the little confirmation strip at the bottom is still on screen; once it fades this key cannot reach the action — sent mail included. It is z on Windows and z on a Mac.

Q. Is it the same on Windows and Mac?

Yes, z on both.

Q. How many keys is that?

1 pressed together. The combination sits under Actions in Gmail.

The same action elsewhere

Shortcuts nearby