How iPhone swipe typing actually works (and how to get better at it)

Your iPhone doesn't read every letter you swipe over. How QuickPath turns a swipe into a word, how to turn Slide to Type on, and tips to get it right.

Cover illustration: How iPhone swipe typing actually works (and how to get better at it)

Swipe across your iPhone keyboard, from H to E to L to O, and “hello” appears, even though your finger slid over half the keyboard on the way. So how does it know? The short answer: your iPhone barely looks at the letters you pass over. It looks at the shape of your swipe.

Apple calls the feature QuickPath, and the setting is called Slide to Type. Here’s what happens behind it, and how to use it well.

How your iPhone turns a swipe into a word

Every word has an ideal path on the keyboard: the line you’d draw through its letters. When you swipe, your iPhone does roughly three things:

  1. It reads the shape of your swipe, not each key you touch along the way.
  2. It compares that shape with the paths every word would make, and how close you came to the right keys.
  3. It asks a language model which of the close matches is most likely, given the words you’ve already typed.

Apple’s own researchers describe QuickPath as “robust pattern matching enhanced with a statistical language model”. That’s why sloppy swipes still work: your line doesn’t have to be accurate, just closer to the word you meant than to any other word. Apple says the recognition runs with on-device machine learning.

Diagram: a swipe path for the word hello drawn across a QWERTY keyboard from H to E to L to O, with three steps: the shape of the swipe, compared with each word's path, and a language model picking the likeliest word
The keyboard matches the shape of your swipe, not every key it crosses · Illustration: GeekyGoo

It also explains two odd things. Double letters need no loop: pass over L once and the word list knows “hello” has two. And some words draw exactly the same line. Swipe straight from T to P and you’ve passed over both I and O, so it could be “tip” or “top”. The language model picks one from the sentence, and the other appears in the suggestions bar if it guessed wrong.

Diagram: a straight swipe from T to P on a QWERTY keyboard passes over both I and O, so it could mean tip or top
Same line, two words: context decides · Illustration: GeekyGoo

How to turn on Slide to Type

Go to Settings › General › Keyboard and turn on Slide to Type. Then, in any text field, touch the first letter, slide to the next ones without lifting, and lift your finger at the end of the word.

Diagram of the iPhone Keyboard settings screen with the Slide to Type switch turned on, and tips: lift between words, mix tapping and swiping, pick another word in the suggestions bar, double-tap Space to end a sentence
Settings › General › Keyboard › Slide to Type · Illustration: GeekyGoo

Tips to swipe faster

  • Don’t tap Space. Lift your finger between words and the space goes in for you.
  • Mix it up. Swipe common words and tap tricky ones like names, even in the middle of a sentence.
  • Fix it from the bar. If the wrong word appears, the suggestions bar above the keyboard shows the alternatives. Tap the one you meant.
  • Finish fast. Double-tap the Space bar for a full stop and a space.
  • It’s built for one hand. Swiping shines when you’re holding a coffee in the other. If you’re a fast two-thumb typist, tapping can still be quicker.

Apple was late to the party

The idea is more than 20 years old. Researchers Shumin Zhai and Per Ola Kristensson at IBM published the first “shape writing” paper in 2003 and released a working swipe keyboard in 2004. Swype brought it to phones in 2009, Android built in Gesture Typing in 2012, and SwiftKey followed with Flow. Apple only added QuickPath in iOS 13 in 2019. Today it works in about 30 languages (Apple keeps the full list), and on Apple Watch Series 7 and later too.

More hidden features? Try our iPhone tips and tricks, or the iPhone beginner’s guide if you’re new.

FAQ

Do I have to swipe over every letter exactly? No. The keyboard matches the overall shape of your swipe, so cutting corners or crossing the wrong keys usually still gives the right word.

How do I type double letters when swiping? Just pass over the letter once. “Hello” needs only one pass over L.

Where is the swipe keyboard setting on iPhone? Settings › General › Keyboard › Slide to Type.

When did the iPhone get swipe typing? With iOS 13 in September 2019. Before that you needed a third-party keyboard.

Watch: this guide in 2 minutes

How iPhone swipe typing actually works (QuickPath explained, plus tips)

More short videos

Sources & further reading