Face ID

On this page 7

Face ID is Apple’s biometric facial recognition system that unlocks iPhone and iPad Pro devices and authorizes payments by building a three-dimensional depth map of the user’s face with the infrared TrueDepth camera. In mobile hardware, Face ID is notable because it combines dedicated sensors, a neural processing unit and the Secure Enclave into one authentication pipeline, rather than relying on an ordinary two-dimensional camera image.

Face ID replaced the Touch ID fingerprint sensor on flagship iPhones starting with the iPhone X in 2017. It works in darkness, adapts to gradual changes in appearance and is designed to resist photographs, videos and masks, which simple camera-based face unlock systems cannot reliably do.

How Face ID captures and matches a face

Face ID relies on the TrueDepth camera system housed in the notch or the Dynamic Island. Its key components are a flood illuminator, which bathes the face in invisible infrared light, a dot projector, which casts tens of thousands of infrared dots onto the face, and an infrared camera, which reads how the dot pattern is distorted by the face’s shape.

From the distorted pattern, the system calculates a depth map, and from the flood-lit infrared image it obtains a two-dimensional infrared image. Neural networks running on the device’s NPU convert both into a mathematical representation and compare it with the enrolled template. The comparison and the template itself are protected by the Secure Enclave, an isolated security processor, and never leave the device.

ComponentFunctionWhy it matters
Flood illuminatorEmits diffuse infrared lightEnables recognition in darkness
Dot projectorProjects a structured infrared dot patternProvides depth information
Infrared cameraCaptures the illuminated face and dot patternFeeds image and depth data to the matcher
Proximity and ambient light sensorsDetect face distance and lightingHelp trigger and tune capture
Neural engineRuns matching networksFast, on-device comparison
Secure EnclaveStores the template and decides the matchIsolates biometric data from the main system
Components of the TrueDepth camera used by Face ID

Attention awareness and anti-spoofing

By default, Face ID requires attention: the user’s eyes must be open and looking at the device. This prevents unlocking a phone held up to a sleeping or unaware person. The depth map also defeats flat photographs and screen replays, because they lack the three-dimensional structure the matcher expects.

Apple trained the system against realistic masks, and the matcher adapts to slow changes such as beard growth, makeup or glasses by updating the template after a successful match combined with the passcode. Apple states a false match probability of about one in a million for a single enrolled appearance, with higher probability for identical twins, siblings who look alike and children under 13, whose facial features are still developing.

  • Passcode required after a restart, after 48 hours without unlocking and after five failed attempts.
  • Require attention can be disabled for accessibility, at the cost of weaker protection.
  • Alternate appearance lets a user enroll a second look, such as with work safety equipment.
  • Face ID with a mask option on newer models matches the eye region with more detail.

Face ID compared with other mobile biometrics

Face ID competes with fingerprint sensors and with camera-only face unlock offered on many Android phones. The decisive difference is whether the system measures depth and how its result is protected.

MethodSensor typeSpoofing resistanceTypical use for payments
Face IDInfrared structured light depthHighApproved for payments and app sign-in
Capacitive fingerprint sensorElectrical contact with the ridge patternHighApproved on most devices
Ultrasonic in-display fingerprintSound waves through the screenHighApproved on supporting devices
Optical in-display fingerprintCamera under the displayMedium to highApproved on many devices
Camera-only face unlockFront RGB cameraLowerOften limited to screen unlock
Face ID and other mobile biometric methods

Android classifies biometrics into Class 3 (strong), Class 2 (weak) and Class 1 (convenience), and only strong biometrics may release keys from the keystore for payments. Simple camera face unlock often falls into a weaker class, while depth-based systems such as Face ID meet the requirements for strong authentication.

Where Face ID is used on Apple devices

Beyond unlocking the device, Face ID serves as a general authentication API for apps. Developers call the LocalAuthentication framework, receive only a yes or no result and never access face data. This allows banking apps, password managers and enterprise apps to protect sensitive actions with the same biometric step.

Use caseWhat Face ID confirmsFallback
Device unlockOwner is present and attentiveDevice passcode
Apple PayPayment authorization with a double-click of the side buttonPasscode
App sign-inAccess to a banking or password appApp password or device passcode
Password autofillRelease of a saved credentialPasscode
Locked or hidden appsAccess to selected appsPasscode
Typical Face ID use cases

Limitations and practical considerations

Face ID needs a clear view of the face at a typical distance of about arm’s length or closer. Direct sunlight with strong infrared content, unusual angles, some sunglasses that block infrared and face coverings can reduce recognition. The front-facing hardware also takes screen space, which is the reason for the notch and later the Dynamic Island.

  • Repairs: the TrueDepth module is paired to the device, so third-party replacement of related parts can disable Face ID.
  • Coercion risk: a face can be presented under pressure; pressing the side and volume buttons briefly disables biometrics until the passcode is entered.
  • Look-alike relatives: twins and siblings should rely on a passcode for sensitive data.
  • Not a privacy risk to the server: templates stay on the device and are not uploaded to a cloud service.

In everyday language

Face ID is how many iPhones recognize their owner. Instead of taking an ordinary photo, the phone shines invisible light dots onto your face and measures its shape in three dimensions, which is why a picture of you will not fool it.

Your face information is turned into numbers and kept in a locked compartment inside the phone. Apps never see your face; they only learn whether the check succeeded.

Seen in the real world

A mid-sized bank wanted to remove the six-digit PIN that customers typed every time they opened its mobile banking app, because many users reused weak codes and abandoned sessions. The app team integrated Face ID through the LocalAuthentication framework, binding a signing key in the Secure Enclave to a successful biometric check.

Customers now open the app with a glance, and transfers above a configured limit require a second Face ID confirmation. If Face ID fails or is disabled, the app falls back to the account password. The bank never receives facial data, only a cryptographic signature proving that the enrolled user approved the action, which supported its strong customer authentication requirements while making daily logins faster.