To err is human. Luckily, you can undo on the keyboard and, if needed, redo to correct mistakes on Windows and Mac. Undo and redo are especially helpful for fixing typing errors, correcting emails, reports, and spreadsheets, and making computers easier for beginners. For example, if you accidentally delete an important file in File Explorer or on your desktop, you can quickly restore it using the undo shortcut. If you close a browser tab by mistake, using the undo shortcut reopens it instantly. These shortcuts make it simple to recover from common, everyday mistakes during work or study.

If you want a quick summary of undo and redo on Windows and Mac keyboards before the details: Use Ctrl + Z for undo, a widely supported shortcut in editors and Office apps, and Ctrl + Y for redo. For multi-step undoing in Photoshop, etc., use Ctrl + Alt + Z. For redo, use Ctrl + Y or Ctrl + Shift + Z on Windows. On Mac, use Command + Z for undo and Command + Shift + Z for redo.

This guide explains undoing changes made to your computer programs and redoing them in detail, beginning with understanding the undo and redo functions.

What Is Undo and Redo

Undo is a command on Windows and Mac that allows you to erase the most recent change to a document, reversing the file to an earlier state. This option is built into many computer applications, such as PowerPoint, Excel, Word, etc. If you make any mistake, you can use the undo function to correct it.

Redo is a command that reverses the undo command. If you undo an action accidentally, you can use the redo function to restore it to the most recent state.

You can undo on Windows keyboard/Mac and redo using keyboard shortcuts or your mouse in various programs.

How to Undo on Windows

Undo on keyboard

You can undo on a Windows keyboard using the Ctrl + Z shortcut. This shortcut works with almost all applications, such as Excel, PowerPoint, Microsoft Word, and many design tools.

When you press Ctrl + Z to undo, it takes you one step back at a time. You can press Ctrl + Z multiple times until you reach the history limit. The number of steps you can undo is set by the application itself, not by your computer’s memory. For example, Word and Excel typically let you undo up to 100 actions. However, closing the document or application clears this undo history.

In addition to Ctrl + Z, Alt + Backspace is another variation of the undo shortcut key that works in some legacy text editors and Windows interface menus.

In Microsoft Excel, you can use the undo function for tasks such as entering numbers, editing formulas, or applying styles. However, Excel does not allow undoing actions like deleting a worksheet and saving a file.

In Microsoft Word, you can use the undo feature to roll back layout changes, typing, and formatting edits.

To undo in your web browser, you can use Ctrl + Shift + T to open a tab you closed recently.

Also know: Best Ways To Run PowerShell As An Administrator  

Undo with mouse

In many applications with a File/Edit option in the menu bar, you can undo your action with your mouse by following the steps below.

  • Click Edit in the application menu. For example, the Edit option at the top of the Notepad window.
  • Next, click Undo in the Edit menu.

To undo in Office applications, click the left-pointing curved arrow in the Quick Access Toolbar at the top of the window.

How to Redo on Windows

Redo on keyboard

You can use the Ctrl + Y shortcut to redo on a Windows keyboard in many applications, such as Microsoft Office applications. The Ctrl + Y command redos an action you undid recently. In addition to Ctrl + Y, many programs support the Ctrl + Shift + Z shortcut to redo after an undo.

In addition to Ctrl + Y and Ctrl + Shift + Z shortcuts, the F4 key also works as an alternative shortcut for redo or repeat commands. The F4 key is specific to Office. It repeats the last action, such as typing the same word or reapplying the formatting, and works as redo if used immediately after the undo command. However, it does not work in many non-Microsoft apps, and you may need to toggle F-Lock or press Fn on compact keyboards to make this shortcut work.

Redo with mouse

In addition to redoing on the keyboard, Windows allows you to redo an action with your mouse. Here is how to redo on Windows using your mouse in apps like Excel, Word, and PowerPoint.

  • Click Edit in the application menu.
  • Next, click Redo in the options that appear.

To redo in Office applications, you can also click the hooked arrow pointing to the right, next to the undo arrow.

Note that the redo option appears only after undoing some actions. You cannot redo anything you did not undo; you can apply the redo command only after undoing.

In Microsoft Word, you can click the repeat icon at the top-left corner to repeat a typing operation. The repeat icon appears only after undoing an action.

How to Undo on Mac

To undo on a Mac keyboard, you can use the Command + Z shortcut. The Command + Z shortcut works almost everywhere on macOS, such as Finder, Safari, most Mac applications, and Pages, to reverse your previous action, for example, removing text or deleting a file.

How to Redo on Mac

Command + Shift + Z is the shortcut to redo on a Mac keyboard. If Command + Shift + Z does not redo your action in a Mac app, you can try the Command + Y shortcut. You can check the exact redo shortcut for an application on Mac in its Edit menu.

With so many shortcuts to undo on a Windows keyboard or macOS and redo your actions, finding a shortcut that works for a specific app gets confusing. However, finding the right shortcut is easy.

Also know: How to Put Apps to Sleep Windows 10/11 

How to Find the Right Undo/Redo Shortcut

You can find the right undo or redo shortcut for an application in its Edit menu. On Windows, click the Edit menu to find the undo and redo keyboard shortcuts listed. On Mac, click the application name in the menu bar, click Edit, and then look to the right of the undo and redo options to learn their shortcuts.

If you don’t feel comfortable with the default shortcuts to undo and redo on the keyboard on Windows and Mac, you can customize or remap the shortcuts.

How to Customize or Remap the Undo/Redo Shortcut

The sections below guide you through customizing, remapping, or changing the undo/redo shortcut in Windows or macOS.

On Windows

To change keyboard shortcuts in Windows, get the Keyboard Manager from Microsoft PowerToys to remap the shortcuts. Microsoft PowerToys is a collection of free, open-source tools to help developers and power users make the most of Windows. The Keyboard Manager in PowerToys allows you to remap shortcuts and keys on your keyboard to improve productivity.

On Mac

On macOS, follow the path: System Settings → Keyboard → Keyboard Shortcuts to modify the keyboard shortcuts.

However, undo and redo do not work for actions such as deleting a file permanently or configuration changes. Other than these situations, undo/redo is easily fixable if it is not working.

How to Fix Undo/Redo Shortcut Not Working

To fix common undo/redo problems, such as the undo or redo on a Windows PC/laptop keyboard not working, you can:

  • Check the Edit menu to ensure you are using the correct undo and redo shortcuts for your application.
  • Open the app’s preferences, find Keyboard Shortcuts, and then search for undo/redo.
  • If undoing/redoing in browsers or web applications, disable the capture keys extensions.
  • Update your keyboard driver, as the driver is crucial software that helps your keyboard communicate with the operating system to prevent issues like shortcuts not working.

However, note that the undo option will be unavailable if there is nothing to undo, such as when you have already closed the document, losing the undo history. Also, the redo option will work only if something was undone before it.

Below, we answer some common questions about undo and redo on Windows and Mac keyboards to clear up any remaining confusion.

Also know: Best Ways to Open the Settings App on Windows 11 

Frequently Asked Questions

Q1. Is Ctrl + R Redo?

No, Ctrl + R is not redo. Ctrl + R is the shortcut to refresh or reload web pages.

Q2. Is Ctrl + Z Undo?

Yes, Ctrl + Z is the undo shortcut for most applications on Windows.

Q3. What is the shortcut for undo?

Ctrl + Z is the standard shortcut for undo on Windows.

Q4. What is the shortcut for redo?

Ctrl + Y is the standard shortcut for redo on Windows.

Q5. How many actions can I undo at once?

Many applications support multi-step undo. You can undo 100 consecutive actions on Microsoft Word and Excel, 20 actions on Microsoft PowerPoint, 20 actions on Adobe Photoshop, 32 actions on Adobe Premiere Pro, and hundreds of actions on Adobe InDesign.

Q6. Why is Undo not working in my app?

The undo option may not work due to a stuck key, a software conflict, a changed keyboard layout, or because you closed and reopened the document.

Q7. What is Ctrl + Z?

Ctrl + Z is the undo keyboard shortcut on Windows.

Q8. Can I undo a document that I accidentally closed without saving?

No, it is not possible to undo a document after closing it, as closing the document clears the undo history.

Q9. Can I undo a deleted file from the desktop or File Explorer?

Yes, you can use the Ctrl + Z undo shortcut on Windows to undo a deleted file in File Explorer or on the desktop.

That’s how to undo and redo on the keyboard or mouse on Windows and Mac. Hopefully, this helps you correct your mistakes and work smoothly. However, if you have any persistent doubts, you can leave a comment.

Niharika

Niharika is a passionate soul who finds immense satisfaction in putting all her thoughts in writing. Being a technology enthusiast, she loves learning new things about tech and making everyone technologically literate through her articles. When not composing tech articles, you can find her bringing characters to life in her fictional stories, reading something intriguing, or spending time with her near and dear ones.

Recent Posts

  • Driver Updater

Bluetooth Driver for Windows 10, 11 (Download, Install, and Update)

You can download, install, and update the Bluetooth driver effortlessly through the methods shared in…

3 hours ago
  • How To

Best Ways to Open the Settings App on Windows 11

Windows Settings is a critical tool for personalizing your operating system. It allows you to…

1 day ago
  • How To

Best Ways To Run PowerShell As An Administrator

Almost every Windows user is aware of and possibly has used the Windows Command Prompt…

4 days ago
  • How To

How to Turn Autocorrect Off and On in Windows 11

Autocorrect corrects misspelled words to their closest correct spelling. It saves time, but it can…

4 days ago
  • How To

How to Put Apps to Sleep Windows 10/11

Unnecessarily running applications or programs on the computer is among the top reasons for degraded…

4 days ago
  • How To

How to Show This PC on Desktop in Windows 11/10

The This PC on desktop, previously known as the My Computer icon, is a quick…

5 days ago