To undo autocorrect on Mac, Control-click the corrected word and choose Change Back to your original spelling, as Apple's Mac User Guide describes. Cmd+Z, the standard Undo shortcut, often works too, depending on the app. If you added a word with Learn Spelling by mistake, Control-click it and choose Unlearn Spelling to remove it from the dictionary. If autocorrect keeps changing words it should not, Learn Spelling is the better long-term fix.
Undo Autocorrect with Change Back
When autocorrection is on, macOS replaces a misspelled word as you type and briefly marks the corrected word with a solid underline. That underline is your cue to switch the word back.
- Type a word. If macOS autocorrects it, the corrected word is briefly marked with a solid underline.
- Put the insertion point after the word. This shows your original spelling.
- Choose your original spelling to switch back. Or Control-click the word and choose Change Back to followed by your original spelling.
To stop a correction before it lands, press Esc when the suggestion appears, then keep typing. These steps come from Apple's guide for apps that use the macOS spelling features. If an app's Edit menu has no spelling or grammar commands, it may have its own spell checker, and these steps may not apply.
Undo Autocorrect with Cmd+Z
Cmd+Z is the standard macOS Undo shortcut, and Apple describes it as undoing the previous command. In many apps that includes a correction autocorrect just made, so pressing it right after the correction restores what you typed. Apple's guide does not list Cmd+Z for autocorrect, so if it undoes something else in your app, use Change Back above.
Cmd+Z is useful when the underline has already faded. Press Shift-Cmd+Z to redo.
When Cmd+Z works well
- In native Apple apps: TextEdit, Notes, Mail, Pages, Messages. Undo is consistent and fine-grained.
- In most standard macOS text fields. Any app that uses the built-in NSTextField or NSTextView supports this behaviour.
- Immediately after the correction - before you have made several more edits that stack up on top.
Limitations of Cmd+Z for autocorrect
- Some apps, including some code editors and browser-based editors, implement their own undo systems. In these apps, Cmd+Z may undo something other than the autocorrect, or may not work for text corrections at all.
- Each Cmd+Z press reverses one action. If you have typed several words since the correction, you may need to press Cmd+Z multiple times to reach it, undoing your subsequent typing in the process.
- There is no "Revert All" for autocorrect. You undo corrections one at a time.
For apps where Cmd+Z is unreliable, Change Back is the safer choice - provided you catch the correction quickly.
Undo Learn Spelling
Learn Spelling adds a word to the macOS spelling dictionary. If you added a word by mistake, or added a typo, you can take it out again.
- Control-click the word in your text.
- Choose Unlearn Spelling.
Apple's Mac User Guide describes Unlearn Spelling as the way to remove a word from the spelling dictionary. It is the reverse of Learn Spelling.
How to prevent autocorrect from changing a word in the future
If autocorrect keeps replacing the same word - a name, a technical term, a brand, a word you use intentionally - the fix is to teach macOS to leave it alone.
Control-click and use Learn Spelling
- Type the word and let autocorrect fire. Use Change Back or Cmd+Z to restore your original word.
- Control-click the word while it is in your text. Right-click works too.
- Choose Learn Spelling from the menu.
Learn Spelling adds the word to your macOS spelling dictionary. Apple's guide says the word then will not be flagged as misspelled in any document. If you added the wrong word, see Undo Learn Spelling above.
Using Charm to control what gets corrected
macOS autocorrect is a system-wide setting with limited per-word and per-app control. Charm, a native macOS writing assistant, gives you finer control over what gets corrected and where.
Per-app toggle
With Charm, you can disable corrections entirely for specific apps. If you use VS Code, Terminal, or a writing app where you never want autocorrect interfering, you can turn Charm off for those apps while keeping it active elsewhere. macOS built-in autocorrect has no equivalent per-app control.
Personal dictionary
Charm keeps its own Dictionary, separate from the macOS personal dictionary that Learn Spelling populates. Press Y at the Add To Dictionary prompt after undoing a correction, or add words in Settings, Personal, Dictionary, and Charm leaves them as you typed them. Words you add in Charm are not added to the macOS list.
Undoing a Charm correction
Charm corrects as you type, and each correction appears with a soft glow. To undo one, press Cmd+Backspace or Cmd+Z, then press Y if you want to add the word to Charm's dictionary.
If autocorrect is correcting things so frequently that you are constantly undoing it, that is a signal the dictionary does not match how you write. Adding your commonly used terms via Learn Spelling, or using Charm's per-app toggle, is a more sustainable solution than undoing corrections one by one.
To compare Charm and macOS autocorrect in detail, see Charm vs macOS Autocorrect. To learn more about personal dictionaries, see How to Add Words to Your Personal Dictionary on Mac.
Frequently asked questions
How do I undo autocorrect on Mac?
Control-click the corrected word and choose Change Back to your original spelling, or put the insertion point after the word to show your original spelling and choose it. Apple's Mac User Guide describes both. Cmd+Z, the standard Undo shortcut, often reverses the most recent autocorrection too, though some apps handle undo differently.
Why did autocorrect change my word?
macOS autocorrect scans what you type and replaces any word it does not recognise with the closest match in its dictionary. Proper nouns, technical terms, brand names, and words with uncommon spellings are frequent false positives. Control-clicking the word and choosing Learn Spelling stops it being flagged as misspelled in any document.
How do I stop autocorrect from changing a specific word on Mac?
Control-click the word after typing it and choose Learn Spelling. This adds the word to your macOS spelling dictionary, so it is not flagged as misspelled in any document. Ignore Spelling only skips the word where it appears again in the same document, so Learn Spelling is the one you want.
How do I undo Learn Spelling on Mac?
Control-click the word and choose Unlearn Spelling. Apple's Mac User Guide says this removes the word from the spelling dictionary, so you can fix a word you added by mistake.
Can I undo multiple autocorrect changes at once?
No. There is no Revert All option for autocorrect on Mac. You undo corrections one at a time using Cmd+Z, pressing it as many times as needed to work back through your recent actions. Each press reverses one change, so undoing several corrections means also undoing any typing you did in between.