Features

You type a perfectly good swear word and your phone helpfully changes it to "ducking." You type a friend’s name and it becomes a fruit. Autocorrect feels like a mind reader with a mischievous streak, but underneath it’s a guessing machine, and its guesses follow rules you can actually learn.

Features — 83

How autocorrect decides what you meant

Filed UnderPhones, How It Works
Read Time~3 minutes
PublishedNovember 13, 2026 at 3:56 PM
Hands typing on a phone keyboard showing word suggestions
Photo: Andrew Neel / Pexels

          Every time you tap out a word, your phone checks it against a dictionary. If the word is in there, spelled right, the phone leaves it alone. If it isn't, the phone starts guessing. It looks for dictionary words that are close to what you typed — one letter different, two letters swapped, one letter missing — and picks the one that seems most likely. Then, usually, it swaps your word for its guess without asking.
          The guessing isn't random. The phone weighs two things at once: how close a candidate word is to the letters you actually typed, and how common that word is in general. A word one letter away that everyone uses will beat a word one letter away that almost nobody uses. That's why your phone turns "teh" into "the" without a second thought, and why it struggles with the unusual.

Your thumb is part of the problem
          Phone keyboards are small, and your thumbs are not. So the phone doesn't just compare letters — it considers where your thumb probably meant to land. Keys next to each other on the keyboard are treated as easy to confuse, so a word that differs by a neighboring key counts as closer than one that differs by a faraway key. "Y" and "u" sit side by side, which is why "yoi" becomes "you" instead of something stranger.
          The phone also watches the word before the one you're typing. Language has habits: after "going to," the next word is more likely to be a verb than a noun. After "happy," a word like "birthday" is a strong bet. This context nudges the guess. It's why the same jumble of letters can be corrected to one word in one sentence and a different word in another.

“ Autocorrect isn’t reading your mind. It’s weighing two questions: what did your thumb probably hit, and what would a person usually say here?”

It learns your habits — slowly
          Most phone keyboards keep a record of the words you actually use. If you type a friend's unusual name often enough, and keep rejecting the correction, the phone eventually learns to leave it alone. If you always type a particular slang word, it joins your personal dictionary. This learning is local — it lives on your phone, built from your own typing.
          But the learning is slow and cautious, and it starts from scratch on a new phone. That first week with a new keyboard is the worst: it hasn't learned your names, your slang, or your habits yet, so it corrects with the confidence of a stranger. Give it a few weeks of you tapping the little bubble that restores your original word, and it starts to get the picture.

Why it changes words that were right
          The most maddening corrections happen when you typed a perfectly good word and the phone changed it anyway. This usually means the word you typed is rare, and a common word sits one letter away. The phone bets on the common word, because across millions of people, that bet wins far more often than it loses. You're just the exception this time.
          Proper names suffer most. Your friend "Kari" becomes "Kara" or "air" because names aren't in the main dictionary and the phone has no way to know yours matter. Technical terms, brand names, and words from other languages get the same treatment. The phone is optimized for the average sentence, and your sentences aren't always average.

You can push back
          Every correction comes with an escape hatch: the little suggestion that appears above the keyboard, or the backspace that undoes just the last change. Tapping your original word doesn't just fix that one message — it teaches the phone, one vote at a time, that you meant what you typed. Turn autocorrect off entirely and you lose the safety net along with the annoyance, so most people settle for the middle ground: leave it on, and correct the corrections.
          The next time your phone changes your words, remember what it's doing. It isn't being clever. It's doing arithmetic on letters and probabilities, fast enough to keep up with your thumbs, and getting it right just often enough that we keep it switched on.

Enjoying the magazine?

A new story goes up every night at midnight. Find your next one by section.

Browse the sections