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:
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:
- 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.
- 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.
- 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.
- 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.
- Match or reject — If the math matches within tolerance, the Secure Enclave releases the decryption key. If not, it falls back to passcode.
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:
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:
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
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