Every time you glance at your iPhone to unlock it, a miniature 3D scanner hidden in the top of your screen fires 30,000 invisible infrared dots at your face, builds a mathematical depth map, and checks it against an encrypted reference — all in under 400 milliseconds. This is Face ID, and it's one of the most complex subsystems in any consumer device.

Understanding how it works matters because it's also one of the easiest things to break during a repair. Here's what's happening behind that little notch (or Dynamic Island).

The TrueDepth Camera System

The entire Face ID system lives in a compact module at the top of the display — Apple calls it the TrueDepth camera system. It packs six distinct components into a space smaller than a postage stamp:

IR Flood Illuminator ALS Ambient Light Sensor CAM Front Camera DOT Dot Projector PRX Proximity Sensor IR Infrared Camera OLED Display (no role in Face ID processing) Front sensor flex cable
TrueDepth camera system layout — all six components sit in the notch/Dynamic Island area, connected by a single flex cable
Flood Illuminator Bathes your face in invisible infrared light so the system works in complete darkness
Dot Projector (VCSEL) Fires ~30,000 IR dots onto your face to map its 3D contours
Infrared Camera Reads the reflected dot pattern and captures the depth map
Front Camera (RGB) Standard selfie camera — assists with attention detection
Ambient Light Sensor Adjusts IR power output based on surrounding brightness
Proximity Sensor Detects when your face is close enough to trigger Face ID

How the 30,000-Dot Scan Works

When you raise your phone, the proximity sensor wakes the TrueDepth system. What happens next takes less than half a second:

  1. Flood illumination — The flood illuminator fires, lighting up your face with infrared light invisible to the naked eye. This works in pitch darkness, direct sunlight, and everything in between.
  2. Dot projection — The VCSEL-based dot projector fires approximately 30,000 structured infrared dots onto your face. Each dot lands at a precise position, and the distance it travels before reflecting back reveals the depth of that point on your face.
  3. Depth capture — The infrared camera reads the reflected dot pattern. Points on the tip of your nose reflect back sooner than points on your cheeks or ears. This creates a complete 3D depth map of your face.
  4. Neural processing — The A-series chip's Neural Engine converts the depth map into a mathematical representation and compares it against the stored reference in the Secure Enclave.
  5. Match or reject — If the math matches within tolerance, the Secure Enclave releases the decryption key. If not, it falls back to passcode.
iPhone 30,000 IR dots Depth map captured Neural Engine A-series chip Real-time processing Secure Enclave Encrypted reference Face data never leaves the device — stored as maths, not images
Face ID authentication flow — from dot projection to Secure Enclave verification

Face ID doesn't store a photo of your face. It stores a mathematical model — a set of numbers that describe the distances between features. Even Apple can't reconstruct your face from this data.

Why Face ID Adapts Over Time

You might notice Face ID still works when you grow a beard, get a haircut, or start wearing glasses. That's because the system continuously updates its stored model. Each successful unlock slightly adjusts the reference to account for gradual changes in your appearance.

This is also why Face ID gets better the more you use it — it learns the natural variations of your face across different angles, lighting, and accessories.

Hardware Pairing — Why Parts Can't Be Swapped

This is where Face ID gets complicated for repairs. During manufacturing, Apple permanently pairs the TrueDepth module to the logic board using unique cryptographic keys. This creates a chain of trust:

TrueDepth Module Unique serial + key P Paired at factory Logic Board Matching key stored P Validated at boot Secure Enclave Validates chain on boot Break any link in this chain = Face ID disabled
Hardware pairing chain — each component must cryptographically verify against the next

This means you cannot take a working TrueDepth module from one iPhone and put it in another — even if both are the same model with genuine Apple parts. The keys won't match, and Face ID will refuse to activate.

Important: Only Apple and Apple-authorised repair providers have the calibration tools to re-pair a new TrueDepth module to a logic board. Independent repairers (including us) must preserve the original module during screen replacements.

The Ambient Light Sensor's Hidden Role

The ALS does more than adjust your screen brightness. It feeds real-time ambient light data to the Face ID system, which uses it to calibrate infrared power output. In bright sunlight, IR power is increased to compete with ambient infrared. In darkness, it dials back to avoid oversaturation.

When the ALS is damaged or disconnected, Face ID can still work — but it becomes less reliable in challenging lighting. You might notice occasional failures in direct sunlight or unusual lighting conditions.

What Can Go Wrong

Face ID failures fall into a few categories:

Physical Damage

  • Cracked front glass over the sensor area — Even small cracks over the notch/island can scatter the IR dots, making depth maps inaccurate
  • Water damage — Corrosion on the flex cable or TrueDepth module connectors
  • Drop impact — Micro-fractures in the dot projector's VCSEL array

Repair Damage

  • Torn flex cable — The front sensor flex is extremely delicate and tears easily during screen removal
  • TrueDepth module swapped — Even accidentally, pairing keys won't match
  • ALS disconnected — Partial Face ID degradation in some lighting
  • Non-genuine screen without proper calibration — Can interfere with sensor alignment

Software Issues

  • Failed iOS update — Can corrupt Face ID calibration data
  • Settings reset without backup — Requires re-enrolment

Screen Replacement & Face ID

This is the repair we do most often that puts Face ID at risk. Here's what a technician must do to preserve it:

Old Screen (cracked) TrueDepth + Flex Cable Earpiece speaker Transfer carefully Must transfer from old screen: 1. Front sensor flex cable (ALS + proximity) 2. Earpiece speaker 3. Metal shield plates New Screen TrueDepth + Flex Cable Face ID preserved
Screen replacement process — the TrueDepth module and flex cable must transfer from the old screen to the new one

The original TrueDepth module stays with the phone for life. During a screen replacement, a technician detaches it from the broken display assembly and carefully re-attaches it to the new screen. This requires:

  • Heat and precision tools to separate the module without damaging the flex
  • Clean workspace — dust on the IR sensors degrades performance
  • Proper adhesive — the module must sit at the exact original alignment
  • Testing before final assembly — verify Face ID works before sealing

Cheap screen replacements often skip this transfer or damage the flex cable in the process. If a shop says "Face ID doesn't work after screen replacement" — that's a sign of careless work, not an inherent limitation.

iPhone Models & Face ID Generations

Gen 1 — Notch (2017-2022) iPhone X, XS, XR, 11, 12, 13 series. Wide notch houses all sensors. TrueDepth module is a single unit.
Gen 2 — Dynamic Island (2022+) iPhone 14 Pro and later. Sensors relocated into smaller cutout. Same tech, tighter tolerances for repair.
iPad Pro (2018+) Face ID in landscape and portrait. Same TrueDepth system adapted for tablet form factor.
Face ID + Mask (iOS 15.4+) Software update added mask recognition using the eye region only. Less secure but more convenient.

Key Takeaways

  • The OLED display has no role in Face ID — it's purely the TrueDepth module and flex cable
  • Hardware pairing is permanent — the TrueDepth module is married to your logic board at the factory
  • Screen replacements should always preserve Face ID — if yours stopped working after a repair, it was done incorrectly
  • The ALS matters more than people think — it calibrates IR output for reliable unlocking in all lighting
  • Face data stays on-device — encrypted maths in the Secure Enclave, never uploaded anywhere

Need a screen repair that preserves Face ID?

We transfer and test every TrueDepth component during screen replacements. Quality parts, 12-month warranty, Face ID guaranteed.

Book a Repair