Technologytech

How To Undo On Keyboard

how-to-undo-on-keyboard

The universal keyboard shortcut to undo on keyboard is Ctrl+Z on Windows and Command+Z on Mac. Pressing this shortcut once reverses your last action, and pressing it repeatedly undoes multiple previous actions in reverse chronological order.

How to undo on keyboard: the universal shortcuts

The fastest way to correct a mistake is to use the undo keyboard shortcut. On Windows, hold the Ctrl key and press Z. On Mac, hold the Command key and press Z. Each press steps back one action, so you can undo a series of changes by pressing the shortcut multiple times. This works across virtually all applications, from word processors to image editors to web browsers.

How to redo on keyboard

If you undo an action and then decide you want it back, use the redo shortcut. On Windows, press Ctrl+Y or F4. On Mac, press Command+Shift+Z. Redo reverses the last undo, restoring the action you removed. You can also press these shortcuts repeatedly to redo multiple undone steps.

Undo limits in Microsoft Office and Google Docs

In Microsoft Word, PowerPoint, and Excel, the default undo limit is typically 100 actions. This means you can step back through up to 100 of your most recent changes. However, some actions cannot be undone at all, such as selecting commands on the File tab or saving a file. In Google Docs, Ctrl+Z (Windows and Chrome OS) or Command+Z (Mac) undoes the last action, and all changes are automatically saved to Google Drive. This means every undo is also saved, so you cannot revert past a save point as you might in a local file.

Customizing the undo limit in Microsoft Office

If the default 100-action limit is not enough, you can customize the undo limit in Microsoft Office applications on Windows by modifying the Windows Registry. Specifically, you add a DWORD (32-bit) Value named "UndoHistory" in the relevant Office application's Options registry path. Before doing this, be aware that increasing the undo limit requires more RAM and can negatively affect application performance. A larger undo history means the application must store more states in memory, which can slow down your work, especially on systems with limited resources.

Sources

The steps on this page were checked against the following documentation. Last verified 17 September 2026.

  1. Microsoft Learn — https://learn.microsoft.com/en-us/answers/questions/5185544/how-do-you-undo-editing-in-word-in-…
  2. Office-watch — https://office-watch.com/2021/beyond-simple-undo-in-microsoft-office/
  3. Microsoft Support — https://support.microsoft.com/en-us/accessibility/word/keyboard-shortcuts-in-word
  4. Microsoft Support — https://support.microsoft.com/en-us/office/foundations-experiences/undo-redo-or-repeat-an-action
  5. Microsoft Support — https://support.microsoft.com/en-us/office/undo-redo-or-repeat-an-action
  6. Theintelligence — https://theintelligence.com

About the author

Elfreda Urquhart is the beacon of enlightenment at Robots.net, shining a light on the convergence of technology and healthcare.

View all 87 articles by Elfreda Urquhart  ·  Our editorial policy

Leave a Reply

Your email address will not be published. Required fields are marked *