Articles › AI Explained
How Does Face ID Actually Work? (Explained Simply)

You glance at your phone and it unlocks. It doesn't work with a photo of you, and it won't open for a stranger. So how does it know it's really you? Apple's Face ID uses invisible light, a 3D map and a neural network. Here's how it works, in five simple steps.
1. Thousands of invisible dots
Hidden in the top of the screen are three tiny parts. A dot projector shines more than 30,000 invisible infrared dots onto your face. A flood illuminator lights your face with infrared light, which is why Face ID works even in the dark. And an infrared camera reads the pattern the dots make on your face.
Infrared light is invisible to human eyes, so you never notice any of this happening.
2. A 3D map of your face
Because your face isn't flat, the dots land at slightly different distances: closer on your nose, farther on your cheeks and around your eyes. From this, the phone builds a depth map, a 3D picture of the shape of your face.
That's the key reason a normal printed photo can't fool it: a photo is flat, and Face ID is checking shape, not just appearance.
3. Your face as numbers
Next, a neural network, a type of AI, studies the depth map and infrared image and turns them into a mathematical representation of your face: essentially a long list of numbers.
Those numbers are encrypted and protected by a special secure chip in the phone, called the Secure Enclave. Apple says this data stays on your device and isn't uploaded to its servers.
4. The match
Each time you look at your phone, it captures your face again, makes a new list of numbers and compares it with the saved one. If they're close enough, the phone unlocks. If they're too different, as with someone else's face, it stays locked.
How safe is it? Apple estimates the chance that a random stranger could unlock your phone with their face is about 1 in 1,000,000. That chance is higher for identical twins, siblings who look alike and children under 13, whose faces are still developing.
5. It keeps learning
Faces change. You might start wearing glasses, grow a beard or change your hairstyle. Face ID adapts over time, quietly updating its saved data as your look changes.
It's also attention-aware: by default it only unlocks when your eyes are open and you're looking at the phone. That makes it much harder for someone to unlock it while you're asleep.
In short
Face ID projects invisible dots, builds a 3D map, turns it into numbers with AI, keeps those numbers locked on your phone, and compares each new look against them, getting better as your appearance changes.
Sources
Like learning this way?
New animated explainers every week on YouTube and Facebook.


