How to Completely Disable ‘Shake to Undo’ on an iPhone or iPad

If you are typing a long text message or an email on your iPhone and accidentally delete a paragraph, Apple has a built-in recovery feature called “Shake to Undo.” By literally shaking your phone back and forth, a dialogue box pops up asking if you want to undo your last typing action.

While this is theoretically a clever hardware shortcut, it is often wildly oversensitive and incredibly annoying in practice. If you are typing while walking, sitting in a bumpy car, or simply adjusting your grip on a larger iPhone Pro Max, the accelerometer frequently registers the movement as a shake. The “Undo Typing” dialogue box will forcefully interrupt your screen, breaking your concentration and forcing you to manually tap “Cancel” before you can resume typing. If you prefer to use the standard on-screen undo buttons (like swiping three fingers to the left) and want to stop the accelerometer from interrupting your typing, you must completely disable the Shake to Undo feature.

Disabling Shake to Undo via Accessibility Settings

Apple categorizes this physical gesture as an Accessibility feature, meaning it is buried deep within the iOS settings menus rather than the standard keyboard options.

  1. Open the Settings app on your iPhone or iPad.
  2. Scroll down the main settings list and tap on Accessibility.
  3. Under the “Physical and Motor” section, tap on Touch.
  4. Scroll down the Touch menu until you see the toggle switch labelled Shake to Undo.
  5. Tap the toggle switch to turn it Off (the switch will turn from green to grey).

The change takes effect instantly. You can test it by opening the Notes app, typing a few words, and aggressively shaking your phone. The intrusive pop-up will no longer appear. You can now type comfortably in a bumpy vehicle or while walking without the accelerometer constantly interpreting your movements as an undo command.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.