Undo and redo on a Mac: the Ctrl+Z and Ctrl+Y equivalents

Short answer: undo is ⌘ Command+Z. Redo is ⇧ Shift+⌘ Command+Z, or ⌘+Y in Microsoft Office.

Undo and redo, side by side

ActionWindowsMac
UndoCtrl+Z⌘Z
Redo (most apps)Ctrl+Y⇧⌘Z
Redo (Word, Excel, PowerPoint)Ctrl+Y⌘Y (⇧⌘Z also works)
Undo a file move or delete in FinderCtrl+Z in File Explorer⌘Z in Finder

Why redo is different

Most Mac apps follow Apple's rule that redo is the undo shortcut plus Shift. Microsoft kept Ctrl+Y as Cmd+Y in Office for Mac. That means a Windows user's Ctrl+Y habit fails twice on a Mac: once because of Ctrl versus Command, and again because the letter changes outside Office.

Undo things outside of documents

Make Ctrl+Z and Ctrl+Y work on a Mac

Muscle Memory turns Ctrl+Z into undo and Ctrl+Y into redo in every app. It knows that Office wants ⌘Y while other apps want ⇧⌘Z and sends the right one, so your Windows habit just works. ⌘Z keeps working too. See the Windows to Mac shortcut cheat sheet for the rest.