Skip to content
Technology

How does autocorrect work?

Autocorrect works by comparing what you type against a dictionary and a model of likely words, then fixing or suggesting corrections. It uses the keys you hit, common typos, and the surrounding words to guess what you most likely meant.

See it in motion.
Watch a 2-minute animated lesson that shows exactly how autocorrect works.
▶ Watch the visual lesson

Step by step

  • 1It checks your typed word against a built-in dictionary of known words.
  • 2If it's not found, it finds the closest valid words by spelling and by nearby keys.
  • 3It weighs which correction is most likely given the surrounding words.
  • 4Modern versions learn from your habits and use language models for context.
  • 5The same technology powers predictive text, suggesting the next word before you type it.

Frequently asked questions

Why does autocorrect make mistakes?
It guesses the most likely intended word from limited clues. When your wording is unusual, a name, or slang, its best guess can be wrong — sometimes amusingly so.
How does autocorrect know what I meant?
It combines the keys you pressed, common misspellings, and the surrounding words, picking the correction the language model rates as most probable.
Can I make autocorrect smarter?
Yes — it adapts as you use it, learning words you type often. Adding names and terms to your dictionary stops it 'correcting' them.

Related topics

Related comparisons