How to Undo and Redo on a Mac

Fix mistakes and roll back unwanted actions

What to Know

  • In the menu bar, click Edit > Undo to undo the most recent action in the active app. 
  • To use a keyboard shortcut, press Command + Z to undo the most recent action. 
  • To redo, click Edit > Redo, or press Shift+Command+Z.

This article explains how to use the undo and redo functions on a Mac.

How Do You Undo on a Mac?

You can undo, and redo, on a Mac using either the menu bar at the top of the screen or a Mac keyboard shortcut. Most apps that allow you to undo your most recent action use these standardized methods, so you don’t need to learn a different method for each app. For example, if you accidentally deleted a sentence in Pages, you can undo it using the exact same methods that you’d use to undo an accidental brush stroke in Photoshop.

How to Undo on a Mac Using the Menu Bar

Most Mac apps use a standardized placement for the undo command on the menu bar, so it’s usually easy to find. If you take a look at the menu bar, you’ll see words like File and Edit. Clicking any of those words will cause a pull-down menu to appear with more options. The undo option is usually located in the Edit menu, but it can be located elsewhere in some apps.

If you’re unable to find the undo option on the menu bar of your app, skip to the next section for instructions on using the undo keyboard shortcut on a Mac.

Here’s how to undo on a Mac using the menu bar:

  1. Click Edit on the menu bar.

    Edit highlighted on the Mac menu bar.
  2. Click Undo Typing. (In some apps, this may say Undo, Undo Move, or something similar depending on your action.)

    Undo Typing highlighted on Mac.
  3. Your most recent action in the app will be undone.

    Undone text deletion in Pages on Mac.
  4. To undo more, click Edit > Undo again.

    Most apps allow you to undo several actions, but you will eventually reach a point where you can’t undo any more.

How Do You Undo on a Mac Using the Keyboard?

Most Mac apps have an undo option located somewhere on the menu bar, but that isn’t always the case. If you need to undo a mistake, and you can’t find the undo option, you can usually use the undo keyboard shortcut to get the job done.

Here’s how to use the undo keyboard shortcut on a Mac:

  1. Make sure that the app where you made a mistake is the active app by maximizing the window or clicking somewhere in the app.

  2. Press Command + Z on your keyboard.

  3. The last action will be undone.

  4. If you need to undo more, press Command + Z again.

How Do You Redo on a Mac?

Undo is really useful if you accidentally delete something you didn’t want to delete or make any other mistake. Often you can even undo several steps, allowing you to roll back a mistake even if you kept working after you first make the mistake. If you accidentally undo too much, then you can use the redo command to fix that problem as well.

Like the undo command, redo can usually be accessed through the menu bar, and you can also use a keyboard shortcut.

Here’s how to redo on a Mac using the menu bar:

  1. Make sure that app where you just used the undo command is the active window.

  2. Click Edit on the menu bar.

    Edit highlighted on the Mac menu bar.
  3. Click Redo Typing (or whatever specific action you're redoing).

    Redo Typing highlighted in Pages on a Mac.
  4. The last undo action will be rolled back.

  5. To roll back more uses of the undo action, click Edit > Redo again.

If you can’t find Redo on the menu bar, use this keyboard shortcut: Shift+Command+Z.

FAQ
  • How do I undo in Notes on a Mac?

    In the Notes app, go to Edit > select Undo Typing or another action. You can also use the keyboard command Command + Z to undo actions in Notes.

  • How do I undo empty trash on a Mac?

    Use the Command+Z keyboard shortcut or go to Edit > Undo Move. Or, open the trash, right-click the item, and select Put Back. If you've emptied the trash, you'll have to recover the deleted files using Time Machine or another backup.

  • How do I undo a closed tab on a Mac?

    To reopen a closed Safari tab, go to Edit > Undo Close Tab > Command+Z or long-press the plus (+) sign. In Chrome, select Command+Shift+T.

Was this page helpful?