iPhone (iOS) · Privacy & Security
Set Up Face ID and Passcode on iPhone
Face ID (or Touch ID) and Passcode settings control how you unlock your iPhone, authorize purchases, and protect sensitive data with biometric or code-based security.
How to open Face ID & Passcode
- Open Settings → Face ID & Passcode.
- Enter your current passcode.
- Tap 'Set Up Face ID' and follow the on-screen motion prompts.
- Choose which features should use Face ID.
What you should know
- You can register multiple Face ID appearances or fingerprints for more reliable recognition.
- A passcode is always required as a backup to Face ID or Touch ID.
- You can choose which features require Face ID: unlocking, Apple Pay, App Store purchases, and more.
- Erase Data can be turned on to wipe the device after 10 failed passcode attempts.
If you forget your passcode, you may need to erase your device to regain access — always keep a way to recover your Apple Account.
Why it matters
Face ID and your passcode are the single point of failure protecting everything else on your iPhone — messages, banking apps, saved passwords, and photos are all only as secure as this setting. Because a passcode is always required as a fallback, weak or simple passcodes undermine even a well-configured Face ID setup. This is also the setting that determines what happens after failed unlock attempts, making it central to what happens if your phone is lost or stolen.
Best practices
- Use a 6-digit or custom alphanumeric passcode instead of a 4-digit one, since it's dramatically harder to guess or shoulder-surf.
- Register an Alternate Appearance in Face ID if you regularly wear glasses, a hat, or have facial hair changes, to reduce failed unlock attempts.
- Enable Face ID for App Store purchases and Apple Pay to avoid separately re-entering passwords for those actions.
- Turn on 'Erase Data After 10 Failed Attempts' only if you're confident about your backup situation, since it's irreversible once triggered.
Common problems and fixes
- Face ID stops recognizing your face after wearing a mask or new glasses
- Add an Alternate Appearance in Settings → Face ID & Passcode → 'Set Up an Alternate Appearance' rather than resetting Face ID entirely.
- iPhone keeps asking for the passcode instead of using Face ID
- This happens after a restart, after 48 hours of no unlock, or after several failed Face ID attempts — all are intentional security fallbacks, not a bug.
- Forgot the passcode and can't get back in
- Use 'Erase iPhone' from the passcode entry screen (after enough failed attempts) or connect to a computer in recovery mode, then restore from your most recent iCloud or computer backup.
- Face ID setup fails repeatedly during the initial scan
- Make sure nothing (a screen protector edge, dirt, or a case) is blocking the TrueDepth camera area, and try setup again in better lighting.
Tips and tricks
- Double-clicking the side button at the Lock Screen brings up Apple Pay directly, using Face ID for authentication without unlocking the whole phone first.
- You can disable the 'attention-aware' requirement under Accessibility settings if you find the deliberate-glance requirement for Face ID inconvenient or inaccessible.
- Set up Face ID indoors under normal lighting rather than in very bright sunlight or complete darkness for the most reliable initial scan.
Frequently asked questions
Is Face ID or a strong passcode more secure?
They work together — Face ID is convenient for daily unlocking, but the passcode remains the ultimate fallback and is what protects the device if Face ID fails or is disabled, so both need to be strong.
Can someone unlock my phone by holding it up to my face while I'm asleep?
Face ID includes attention awareness that checks your eyes are open and directed at the device by default, which makes this much harder, though you can require a more deliberate look for extra protection.
What happens if I enter the wrong passcode too many times?
After several failed attempts iOS adds increasing time delays between tries, and if 'Erase Data' is enabled, the device wipes itself entirely after 10 consecutive failures.
Does Face ID work with sunglasses on?
Face ID can work with many sunglasses since it uses infrared, not just visible light, but very dark or infrared-blocking lenses may prevent recognition.
Related settings
- Privacy & PermissionsThe Privacy & Security hub lets you review and control exactly which apps can access your Camera, Microphone, Location Services, Contacts, Photos, and more.
- Reset iPhoneReset options let you fix persistent software issues by resetting specific settings (like network or keyboard dictionary) or fully erase the device back to factory defaults.
- iCloud BackupiCloud Backup automatically saves a copy of your photos, app data, device settings, and more, so you can restore everything on a new or reset device.
More Privacy & Security guides for iPhone (iOS)
- Location ServicesLocation Services is the master switch and per-app control center for GPS-based location sharing on iPhone, letting you decide exactly which apps can see your precise or general location, and when.
- Find MyFind My helps you locate a lost or stolen iPhone on a map, remotely play a sound, mark it as lost, or erase it, and it can also share your location with family members or locate AirTags and other Apple accessories.
- Emergency SOSEmergency SOS lets you quickly call for help by pressing the side button rapidly or holding it with a volume button, automatically alerting emergency services and, if configured, notifying your chosen emergency contacts with your location.
- App Tracking TransparencyApp Tracking Transparency requires apps to ask permission before tracking activity across other companies' apps and websites for advertising or data-sharing purposes.
- Safety CheckSafety Check lets users see and instantly stop sharing location, passwords, and app access with specific people, useful in situations like leaving a relationship where trust has broken down.
- Content & Privacy RestrictionsContent & Privacy Restrictions, part of Screen Time, lets a parent or guardian block specific apps, websites, content ratings, and purchase types, and lock down further changes to privacy settings.