Quick Links

If you've made a mistake while typing on an iPhone---or you accidentally deleted a bunch of text---you might wonder: Can you undo it? The answer is usually yes, and there are at least four different ways to do it. Here's how.

Shake to Undo

The oldest method of undoing text entry is called "Shake to Undo." Apple introduced it in iPhone OS 3.0 way back in 2009, and made it possible to disable in iOS 9. While the feature came enabled for many years, it might be disabled on your iPhone by default in more recent models.

To use Shake to Undo, first make sure it's enabled. Open the Settings app and navigate to Accessibility > Touch, then flip the switch beside "Shake to Undo" to the on position.

Flip "Shake to Undo" to the on position.

After that, the next time you're typing and you need to undo something, physically shake your iPhone. When you see an "Undo Typing" pop-up, tap "Undo."

Tap "Undo."

If you find that you keep accidentally triggering the "Undo Typing" dialog, you can disable "Shake to Undo" by visiting Settings > Accessibility > Touch and turning "Shake to Undo" off.

Related: How to Stop the "Undo Typing" Pop-up on iPhone and iPad

Three-Finger Tap to Undo (Two Methods)

There are two ways to undo text entry mistakes with tapping gestures on your iPhone's screen. While typing, double-tap the screen with three fingers. You'll see an "Undo" notification at the top of the screen, and your last action will be undone.

The Undo notification on iPhone

Also, in many Apple apps (and some others), you can bring up a formatting bar by single-tapping the screen with three fingers. This bar provides a visual interface for undo, cut, copy, paste, and redo. When it appears at the top of the screen, tap the undo button, which looks like a U-shaped arrow curved to the left.

Tap the undo button on the iPhone edit bar.

At any time, you can bring up the formatting bar again and redo what you just undid by tapping the curved arrow that points to the right.

Related: How to Use Text Editing Gestures on Your iPhone and iPad

Three-Finger Swipe to Undo

You can also perform an undo action by swiping your iPhone's screen. To do it, place three fingers on the screen and swipe quickly to the left. You'll see an "Undo" message pop up near the top of your screen, and the last action will be undone.

The Undo notification on iPhone

To redo (bring back what you just undid), swipe three fingers on your screen to the right.

Command+Z on a Physical Keyboard

To Undo on a Mac, press Command+Z on your keyboard.

If you have a physical keyboard paired with your iPhone, you can use the keyboard to undo text entry in many apps. To do so, press Command+Z on the keyboard. To redo, press Shift+Command+Z. These are the same keyboard shortcuts you'll find on the Mac.

Related: How to Undo (and Redo) on Mac

Undo in Other Apps

While the methods above are supported in most Apple apps, some third-party apps might not support them. If that's the case, look for a custom "Undo" button (or an icon with an arrow curved backward) somewhere in the interface. You can also try shaking your iPhone to undo, which some developers support. Good luck!