The opposite of Ctrl+Z—which undoes the last action—is Ctrl+Y (Windows/Linux) or Cmd+Shift+Z (Mac). This redoes the previous action you undid, but only if the app or system supports it. Not all programs have this shortcut enabled by default, and some (like email clients or web browsers) may lack it entirely.

If you’re dealing with an app that doesn’t recognize Ctrl+Y or Cmd+Shift+Z, you’ll need to check its specific undo/redo tools or rely on alternatives like the clipboard history or file recovery tools. Below, we’ll cover every method, platform, and app scenario—from basic shortcuts to recovery tricks for lost files or text.

What You’ll Need

  • Your keyboard and the app or system where Ctrl+Z was used (e.g., Word, Chrome, Notepad).
  • For file recovery: An empty folder on your desktop or hard drive (temporary files are often restored here).
  • For clipboard recovery: A clipboard manager app (optional but helpful for recovering lost text).
  • Admin/root access (only for system-level recovery tools like disk cleanup or file history).

Step-by-Step: How to Redo After Ctrl+Z

  1. Try the basic redo shortcut:
    • On Windows or Linux: Press Ctrl+Y immediately after Ctrl+Z. This works in most Microsoft Office apps (Word, Excel), text editors (Notepad, VS Code), and browsers (Chrome, Firefox, Edge).
    • On Mac: Press Cmd+Shift+Z instead. This applies to Apple apps (Pages, Numbers, Safari) and most third-party software.

    Note: Some apps (like email clients or certain games) may not support this shortcut. Test it before relying on it.

  2. Check the app’s undo/redo menu:
    1. Open the app where you used Ctrl+Z.
    2. Look for an Edit or File menu (labels vary by app).
    3. Navigate to Undo or Redo (sometimes under Edit > Redo or Ctrl+Shift+Z on Windows).
    4. Click the Redo option to reverse the undo.

    Example: In Microsoft Word, go to Edit > Undo > Redo. In Google Docs, use Edit > Redo.

  3. Use the app’s history or versioning tool:
    1. Some apps (like Google Docs, Notion, or Confluence) store version history. Open the file and look for a Versions or Revisions tab.
    2. Select the previous version to restore changes.

    Note: This only works if the app’s auto-save or versioning is enabled.

  4. Restore from the clipboard:
    1. If you copied text before undoing, try re-pasting it (Ctrl+V on Windows/Mac). Some apps (like Chrome or Notepad) may retain the last copied item.
    2. Install a clipboard manager (e.g., Ditto for Mac, ClipClip for Windows) to browse and recover previously copied items.
  5. Recover deleted files from the Recycle Bin/Trash:
    1. If you deleted a file (not just text), check the Recycle Bin (Windows) or Trash (Mac) immediately.
    2. Right-click the file and select Restore.
    3. If the file is empty or corrupted, use File History (Windows) or Time Machine (Mac) to restore from a backup.
  6. System-level recovery (advanced):
    1. On Windows, enable File History in Settings > Update & Security > Backup to recover lost files.
    2. On Mac , use Time Machine
    3. For Linux, check TimeShift (for snapshots) or rsync backups.

Common Mistakes

  • Assuming Ctrl+Y works everywhere: Many apps (e.g., Slack, Discord, or Adobe apps) don’t support it. Always check the app’s documentation.
  • Waiting too long to restore files: Files in the Recycle Bin/Trash are deleted permanently after 30 days (Windows) or 30 days of last backup (Mac).
  • Ignoring app-specific tools: Google Docs and Microsoft Office have built-in version history—don’t rely only on keyboard shortcuts.
  • Not enabling backups: File History (Windows) or Time Machine (Mac) only work if you’ve turned them on beforehand.
  • Using Ctrl+Z repeatedly: Multiple undos may break the redo chain; try to stop after one undo.

Tips to Avoid Losing Work

  • Enable auto-save: In Microsoft Office, Google Docs, or Notepad++, enable auto-save to prevent data loss.
  • Use cloud sync: Apps like Google Drive or Dropbox sync changes automatically.
  • Save copies frequently: Manually save versions (e.g., document_v1.txt, document_v2.txt) before editing.
  • Test shortcuts beforehand: Press Ctrl+Y in a blank document to confirm it works in your app.
  • Install a clipboard manager: Tools like ClipClip (Windows) or Ditto (Mac) recover lost copied text.
  • Use keyboard shortcuts intentionally: Avoid accidental Ctrl+Z by memorizing the shortcut or disabling it temporarily (if possible).

Troubleshooting

If Ctrl+Y or Cmd+Shift+Z doesn’t work, follow this order:

  1. Check the app’s menu: Some apps (like Slack or Zoom) use Edit > Redo or a context menu (right-click > Redo).
  2. Restart the app: Close and reopen the program to reset undo/redo states.
  3. Update the app: Older versions may have bugs. Go to Help > Check for Updates (or your app store).
  4. Test in a different app: If Ctrl+Y works in Notepad but not Word, the issue is app-specific.
  5. Check for conflicting software: Some keyboard shortcuts are hijacked by plugins (e.g., language tools, screen readers). Disable them temporarily.
  6. Use system-level tools:
    • On Windows, enable File History in Settings and restore from a backup.
    • On Mac, use Spotlight (Cmd+Space) to search for recently deleted files.
    • For Linux, use GNome Disks or GParted to recover files from unmounted drives.
  7. Last resort: Data recovery software:
    • Use tools like Recuva (Windows) or TestDisk (cross-platform) to scan for deleted files.
    • Warning: These tools may not recover 100% of data, and they work best on drives that haven’t been overwritten.

Frequently Asked Questions

Why doesn’t Ctrl+Y work in my browser?

The Ctrl+Y shortcut is often reserved for opening a new tab in browsers (Chrome, Firefox, Edge). To redo an action, use the browser’s Edit > Undo or Ctrl+Z again (this toggles undo/redo in some cases). Alternatively, right-click and select Redo.

Can I redo after multiple Ctrl+Z presses?

Most apps only allow one level of redo (Ctrl+Y after one Ctrl+Z). Pressing Ctrl+Z multiple times resets the redo stack. Your best bet is to use version history (e.g., in Google Docs) or a clipboard manager.

How do I recover a deleted file from a USB drive?

Use Recuva (Windows) or PhotoRec (cross-platform) to scan the USB drive for deleted files. Plug it into another computer if possible, as some tools won’t detect drives on the same machine. Warning: Avoid writing new data to the drive until recovery is complete.

Does Cmd+Shift+Z work in all Mac apps?

No. While it works in most Apple apps (Safari, Pages, Numbers), some third-party apps (like Adobe Creative Suite or Discord) use their own redo shortcuts or menus. Check the app’s help documentation for alternatives.

What if I accidentally saved over a file after undoing?

If you saved after undoing, the original changes may be lost unless you have a backup (e.g., File History, Time Machine, or cloud sync). Try opening the file in a different program (like Notepad) to see if the unsaved version can be recovered from the temp files folder (C:\Users\[YourName]\AppData\Local\Temp on Windows).

Can I redo in an app that doesn’t respond to shortcuts?

Yes. Right-click the document or open the Edit menu and look for Redo (or History in apps like WordPress). Some apps also have a context menu (click the file name or document tab) with redo options. If all else fails, check the app’s support site for app-specific recovery tools.