Key takeaways
- Face ID uses the TrueDepth camera's infrared depth map and a neural network to unlock iPhone and approve payments.
- Face ID stores one main appearance plus one alternate appearance, set up in Settings under Face ID & Passcode.
- Twins, close siblings and children under 13 have a higher chance of a false match, so use a passcode in those cases.
- Face data stays encrypted on the device in the Secure Enclave and is not sent to Apple.
- For developers, ArcFace-style models are strong choices; always add liveness checks and consent.
Face recognition on iPhone is Face ID: the TrueDepth camera projects and reads thousands of invisible infrared dots to build a depth map of your face, and a neural network on the device compares it with your enrolled face to unlock the phone, approve purchases and fill passwords. I built FaceVision, a browser-based face recognition app with liveness checks that stores only embeddings, never images, so this page covers Face ID setup and limits, failures, twins, safety and security, the best models for developers, and Facebook's face recognition.
What is face recognition on iPhone?
On iPhone, face recognition is Face ID, available on iPhone X and later models without a Home button. It uses the TrueDepth camera system, a dot projector, infrared camera and flood illuminator, to capture a detailed depth map and infrared image of your face.
Also asked as: how many face recognition on iphone 13 · when face recognition fails
A neural network converts these into a mathematical representation and compares it with the one stored at enrolment. Face ID checks for attention, that your eyes are open and looking at the phone, by default, and adapts over time to changes such as a beard or glasses. It works in the dark because it uses infrared. Apps can use Face ID for sign-in without ever receiving your face data.
How many faces can Face ID store on iPhone 13?
Face ID on iPhone 13 stores one main appearance and lets you add one alternate appearance, which can be a significantly different look of yourself or, in practice, another person. It cannot hold a list of multiple users like Touch ID's several fingerprints.
iPhone 12 and later models, including iPhone 13, also support Face ID with a mask on recent iOS versions, recognising the area around the eyes. Set it up under Settings, then Face ID & Passcode. If you share a phone with family, consider using the passcode instead of adding someone as an alternate appearance, since they would then access everything protected by Face ID.
Where do I change face recognition settings on iPhone?
Open Settings, then Face ID & Passcode, and enter your passcode. There you can set up or reset Face ID, add an alternate appearance, enable Face ID with a mask, and choose what Face ID can unlock: iPhone, Apple Pay, App Store purchases, password autofill and other apps.
Also asked as: where to change face recognition on iphone
You can also turn "Require Attention for Face ID" on or off; keeping it on is more secure. "Reset Face ID" deletes your enrolled face so you can scan again, which often fixes recognition problems. Individual apps that use Face ID appear in the "Other Apps" list, where you can allow or deny each.
Why does face recognition not work on my iPhone?
Common causes include a blocked or dirty TrueDepth camera, holding the phone too close or at an odd angle, sunglasses that block infrared, a screen protector covering sensors, a major appearance change, or a software glitch. Hardware damage can also disable Face ID.
Fixes to try:
- Clean the top of the screen and remove obstructing cases or protectors.
- Hold the phone 25 to 50 centimetres away, facing it directly.
- Restart the iPhone and update iOS.
- Add an alternate appearance or reset Face ID and enrol again.
- Check that Face ID is enabled for the feature you are using.
If it says Face ID is unavailable after drops or water exposure, contact Apple Support.
How does face recognition work with twins?
Face ID compares fine details of face shape, but identical twins and siblings who look very alike can sometimes be falsely matched. Apple states that the probability of a false match is different for twins, look-alike siblings and children under 13, whose features are still developing.
If you have an identical twin or similar-looking sibling, Apple recommends using a passcode for authentication. In general face recognition systems, twins remain one of the hardest cases, because the differences are subtle. That is why high-security systems combine face recognition with other factors, such as passcodes, devices or liveness checks, rather than relying on faces alone.
Is face recognition safe?
Face ID is designed with privacy in mind: your face data is encrypted and stored in the Secure Enclave on the device, is not backed up to iCloud and is not sent to Apple. Apps using Face ID only receive a yes or no result.
Face recognition more broadly raises privacy concerns, especially when organisations collect face images without consent, store them centrally or use them for surveillance. Safer designs process faces on the device, store templates instead of images, encrypt data, obtain clear consent and allow deletion. FaceVision follows these principles: recognition runs in the browser, and the server stores only embeddings, never photos.
Is face recognition secure?
Face ID is secure for most people. Apple states the chance a random person could unlock your iPhone with Face ID is less than one in a million with a single enrolled appearance, compared with about one in 50,000 for Touch ID. Attention detection and infrared depth make photo or mask attacks hard.
Risks remain: twins and children under 13 have higher false-match rates, and someone could hold your phone to your face while you sleep if attention detection is off. Other face recognition systems vary widely in security; ones using a single ordinary camera without liveness detection can be fooled by photos or videos. Always combine face recognition with liveness checks and fallback authentication.
Which is the best face recognition model?
For developers, models trained with angular margin losses, such as ArcFace and its successors in the InsightFace project, are among the most accurate open choices. NIST's ongoing face recognition evaluations compare commercial and research algorithms on large datasets.
Choose based on your needs: accuracy on your demographic mix, speed on your hardware, licence terms and model size. For browser or mobile apps, smaller models exported to ONNX run on devices, as in FaceVision with ONNX Runtime Web. Always pair recognition with face detection, alignment and liveness detection, test for bias across groups, and obtain consent from everyone whose face you process.
How does face recognition work on Facebook?
Facebook shut down its automatic face recognition system for tagging photos in 2021, and Meta said it deleted the face templates of more than a billion people. Facebook no longer suggests tags by recognising faces in photos.
Also asked as: how to face recognition on facebook
Meta later introduced facial recognition in limited ways, such as detecting scam ads that misuse public figures' faces and helping users recover locked accounts with video selfies, in some regions and with user choice. Availability depends on local laws. Check your Facebook privacy and account settings for any face-related features offered where you live.
When does face recognition fail?
Face recognition fails more often with poor or uneven lighting, extreme angles, partial occlusion by masks or hands, low-resolution or blurry images, large appearance changes, twins and look-alikes, and demographic groups underrepresented in a model's training data.
Spoofing attacks, using photos, videos or masks, defeat systems without liveness detection. Engineering fixes include better cameras or infrared sensors, liveness checks, quality checks that reject poor images, diverse training data, careful threshold tuning and fallback methods. In FaceVision, liveness and image quality checks run before recognition, so the system refuses unclear inputs rather than guessing.
Sources
- Apple Support, About Face ID advanced technologysupport.apple.com
- Apple Platform Security, Face ID and Touch ID securitysupport.apple.com
- Meta, An update on our use of face recognition (2021)about.fb.com
- Deng et al., ArcFace: Additive Angular Margin Loss for Deep Face Recognition (2018)arxiv.org
- NIST, Face Recognition Technology Evaluationpages.nist.gov






