Undo and Redo Keyboard Shortcuts for Windows and Mac

Undo is Ctrl + Z on Windows and Command + Z on Mac. Redo is Ctrl + Y on Windows, or Ctrl + Shift + Z in many apps, and Command + Shift + Z on Mac. Most apps keep a list of your recent actions, so pressing undo repeatedly steps further back.
The table below shows where apps differ.
Undo and redo on Windows
Press Ctrl + Z to reverse your last action, such as typing, deleting, formatting or moving a file. Press Ctrl + Y to redo an action you undid. Programs from Adobe, design tools and most browsers also accept Ctrl + Shift + Z for redo.

Undo and redo on Mac
On a Mac, press Command + Z to undo and Command + Shift + Z to redo. Microsoft Office for Mac also accepts Command + Y for redo. Every app also lists Undo and Redo in its Edit menu, with the action it will reverse.

Undo and redo shortcuts by app
| App | Undo | Redo |
|---|---|---|
| Microsoft Word, Excel, PowerPoint (Windows) | Ctrl + Z | Ctrl + Y |
| Microsoft Office (Mac) | Command + Z | Command + Y or Command + Shift + Z |
| Google Docs and Sheets | Ctrl + Z / Command + Z | Ctrl + Y or Ctrl + Shift + Z / Command + Shift + Z |
| Photoshop | Ctrl + Z / Command + Z | Ctrl + Shift + Z / Command + Shift + Z |
| File Explorer | Ctrl + Z | Ctrl + Y |
| Mac Finder | Command + Z | Command + Shift + Z |
| Browsers (text fields) | Ctrl + Z / Command + Z | Ctrl + Shift + Z / Command + Shift + Z |
Undo a closed tab, a deleted file or a sent email
Some common mistakes have their own undo:
- Closed browser tab: Ctrl + Shift + T on Windows, Command + Shift + T on Mac reopens it, and repeating it reopens earlier tabs.
- Deleted file: press Ctrl + Z in File Explorer right away, or restore it from the Recycle Bin (Trash on Mac).
- Sent email: Gmail and Outlook show an Undo button for a few seconds after sending, if undo send is enabled.
- iPhone typing: swipe left with three fingers to undo, or shake the phone.
FAQ
How many times can I undo?
It depends on the app. Word and Excel keep up to 100 steps by default, and Photoshop keeps 50 history states by default, which you can raise in the settings.
Can I undo after saving a file?
Yes, as long as the file is still open. Undo history is lost when you close the file; use version history in Word, Google Docs or File History to go back further.
Why does Ctrl + Y not redo in my app?
Some apps use Ctrl + Y for another command. Try Ctrl + Shift + Z, or use Redo in the Edit menu.
Related: how to jump to the last row with data in Excel and how to type special characters on any keyboard.
I do not consider myself a newbie, but I did not know redo shortcut.
Anyone I hope, even a newbie, knows how to use a search engine. Type ‘windows shortcuts’ et voila. First results I got was ’25 Essential Windows Keyboard Shortcuts You Need to Know Now’ [https://www.lifehack.org/804145/windows-keyboard-shortcuts], with 25 and not 2 …
Of course there are always things we ignore but putting the spoon in the mouth is for kids, not for others, newbies or not, especially when the topic is about tips ‘n’ tricks and not essentials. You now have SO many articles that the homepage has become unhandy given it displays only the latest few articles which are now quickly incremented obliging anyone who wishes to have a consistent list to call [https://www.ghacks.net/page/1/?s=], that’s what I do anyway … so: many articles OK, but let them at least deserve the honor of flooding the list if i may say …
Really???
Geez!!! Is Ghacks now being transformed into a technology blog for ultra newbies???
To publish such a worthless article simply cannot be true to Ghacks’ original mission and if this where Ghacks is headed, it will totally kill its reputation and push its great crowd of really knowledgeable original followers to leave this place permanently only to be replaced by a void of value. That is if it has not already largely happened.
For starters, this is Ghacks’ original mission:
https://www.ghacks.net/about-us/
Sad to say but this is certainly something to think about Martin…
I must say I agree. Between highly-technical articles only pros can understand and articles explaining topics possibly hard to understand by newbies there is a margin, a wide one! It’s like explaining what a steering wheel is to someone passing his driver’s license : he needs to learn how to drive but if he ignores what a steering wheel is he’d better go back to elementary school. I mean, this article concerns the basics of the fundamentals : really, wide audience OK but there are limits :=)