On Mac, the undo shortcut is Command+Z, not Control+Z. This guide explains how to use redo, when Command+Z is unavailable, and how to recover work across apps including Finder, Pages, and web browsers. Shortcut variations, accessibility settings, and app-specific behavior are covered so you can undo and redo edits confidently on any Mac app.
Keyboard Shortcut Basics for Mac
Mac keyboards use the Command key (⌘) as the primary modifier for most app-level shortcuts. The Control key (Ctrl) is reserved for terminal and specific system shortcuts, such as right-click when used with a mouse or trackpad. The standard undo shortcut across macOS is Command+Z; redo is usually Command+Shift+Z or Control+Z in some contexts. Understanding which key performs each action helps avoid confusion when switching from Windows or using external keyboards.
Key Terminology
- Undo: Reverses the most recent action to restore a previous state.
- Redo: Reapplies an action that was undone.
- Command key (⌘): Modifier key labeled with four loops, used for app shortcuts.
- Control key (Ctrl): Modifier often used with function keys and accessibility shortcuts.
How to Use Command+Z to Undo on Mac
Undo on Mac is designed to reverse almost any editable action, from typing text to moving files. To undo, press Command+Z in an app while an action is selected or active. If you do not see an immediate change, ensure the app is active, the action is undoable, and no dialog or sheet blocks input. Many apps support multiple undo levels, allowing you to step back through several edits rather than only the most recent action.
Undo Shortcuts by App Context
While Command+Z works consistently in most first- and third-party apps, certain contexts and input methods change behavior. In text editors, design tools, and file management views, keyboard focus and modifier handling can affect shortcut recognition. Some apps provide alternate undo methods, and external keyboards may map keys differently depending on system settings or HID configuration.
macOS System and Finder
In Finder, use Command+Z to undo actions such as file moves, renames, and deletions. Some system-level changes require confirmation or present an alert before undoing. When an undo is unavailable, the menu item is dimmed or labeled as unavailable. Accessibility settings and keyboard customizations may affect shortcut recognition, so verify key mappings in System Settings if commands do not respond as expected.
Office and Creative Apps
Apps such as Pages, Keynote, Numbers, Microsoft 365, Logic Pro, and Final Cut Pro support Command+Z for undo and usually Command+Shift+Z for redo. In design and development tools like Sketch, Figma, Xcode, and Photoshop, the same shortcuts apply with multi-level undo stacks. If a modal dialog or inspector is focused, move focus back to the main canvas or editor area before using undo.
Web Browsers and Remote Input
In Safari, Chrome, and Firefox on Mac, Command+Z typically undoes form input and text changes within editable fields, provided the field has focus. Browser extensions or web app interfaces can override default shortcuts, so behavior may vary. When using remote input devices, confirm key mappings and ensure the correct keyboard layout is active to avoid mismatched characters or unresponsive shortcuts.
Redo on Mac: Restoring Undone Actions
Redo reapplies an action you undid. The common macOS shortcut is Command+Shift+Z. Some apps or input contexts remap redo to Control+Z, especially in text fields that emulate legacy Windows behavior. If Command+Shift+Z does not work, check the Edit menu for Redo, confirm the app supports multiple undo levels, and verify that no modal dialog is blocking input.
When Undo and Redo Are Unavailable
Undo may be disabled when no actions are left to reverse, the app is in a read-only or locked state, or system dialogs capture input. Document recovery features, version history, and cloud sync can restore earlier work when undo history is exhausted. In sandboxed or secure apps, some operations cannot be undone for privacy or security reasons. Always save important work frequently and use app-specific versioning when available.
Recovery Options When You Lose Edits
Auto-save, version history, Time Machine backups, and cloud sync can help recover lost edits. If Command+Z does not work, try selecting Undo from the app menu, check for recovery prompts after a crash, and verify that the app is allowed to access files in your storage locations. When switching from Windows, note that Control+Z behaves differently on Mac and is not the default undo shortcut.
Common Issues and Quick Checks
| Issue | Likely Cause | Quick Check |
|---|---|---|
| Command+Z does nothing | Key remapping, active modifier, or app does not support undo | Test in Notes app; check Keyboard preferences |
| Redo shortcut fails | Modal focus or alternate mapping | Use Shift+Command+Z or Edit menu Redo |
| Undo grayed out | No undo history or read-only document | Check Edit menu and document state |
| Control+Z behaves differently | Terminal input or external keyboard HID profile | Confirm layout in Keyboard settings |
Accessibility and Keyboard Settings
macOS includes options to adjust key behavior, repeat rate, and modifier key assignments. Sticky Keys, Slow Keys, and keyboard extensions can change how shortcuts are recognized. If Command+Z or Control+Z do not work as expected, review System Settings > Keyboard and check for conflicting inputs or custom mappings. Hardware-specific layouts and third-party keyboards may require additional configuration to match standard expectations.
Best Practices for Reliable Undo and Redo
- Use Command+Z to undo and Command+Shift+Z to redo in most apps.
- Keep apps updated to benefit from consistent shortcut behavior.
- Verify keyboard layout and HID profiles when using external keyboards.
- Leverage app-level Undo history and versioning for critical work.
- Save frequently and enable auto-save or cloud sync where available.
Alternative Input Methods and Environments
On iPads with Mac-style keyboards, Command+Z works the same. When using remote desktop, VNC, or virtual machines, ensure keyboard mappings are set to match the guest OS. macOS Monterey and later include refined shortcut handling across Universal Control and Sidecar, which can affect input focus and shortcut delivery. Confirm that your macOS version supports the intended behavior by checking the app documentation or Apple support notes.