An iPhone owner
You want to know whether closed eyes prevent an unlock while you sleep.
Check Require Attention for Face ID first, then consider who might know your passcode.
Does AI do face recognition?Usually, not if Require Attention for Face ID is enabled: your eyes must be open and directed toward the screen. That is a safeguard, not a guarantee against coercion or someone who knows your passcode.
Older face-unlock systems varied widely. Some checked a camera image without the depth sensing and attention check used by Apple's Face ID, so their behavior is not a reliable guide to an iPhone.
This page cannot tell whether Require Attention for Face ID is enabled on your particular device.
WorkaroundOpen Settings, then Face ID & Passcode, and check the setting yourself.
An attention check does not protect against someone who has learned your passcode. Face ID also does not remove situations in which iOS requires the passcode.
WorkaroundUse a passcode others cannot guess or observe, and keep it private.
A person may wake, open their eyes, or be pressured to look at a phone. Accessibility settings can also change how the attention check works.
WorkaroundIf you are concerned about immediate access, disable biometric unlocking temporarily and follow the device's safety guidance.
On a supported iPhone, Face ID compares a depth-based facial scan with the enrolled face. For most users, its attention setting adds a separate check before unlocking.
In Settings, open Face ID & Passcode and look for Require Attention for Face ID. Apple enables it by default, but it can be turned off, including for some accessibility needs.
With attention required, Face ID checks that your eyes are open and directed toward the device. A sleeping person's closed eyes ordinarily do not satisfy that check.
A passcode can still unlock the phone. If someone else knows it, the attention setting will not help; if your safety is at risk, seek appropriate personal safety support.
The important distinction is not simply whether a phone has a face-unlock feature. It is what the device measures and whether it requires the owner's attention.
Basic camera-based face unlock
iPhone Face ID with attention required
Basic camera-based face unlock
Depends on the phone; some older systems relied mainly on a camera image.
iPhone Face ID with attention required
Uses Apple's TrueDepth camera system to measure facial depth.
Basic camera-based face unlock
Behavior depends on the specific device and its settings.
iPhone Face ID with attention required
Does not ordinarily pass the attention check.
Basic camera-based face unlock
Not a universal requirement.
iPhone Face ID with attention required
Required when Require Attention for Face ID is on.
Basic camera-based face unlock
Controls vary by manufacturer.
iPhone Face ID with attention required
Require Attention for Face ID can be switched off.
Basic camera-based face unlock
May provide another way to unlock.
iPhone Face ID with attention required
Can unlock without passing Face ID.
Basic camera-based face unlock
Check the exact model rather than relying on a general rule.
iPhone Face ID with attention required
Check the attention setting and protect the passcode.
The answer changes with the device, the person using it, and the settings they need. These situations call for different checks rather than one blanket claim.
You want to know whether closed eyes prevent an unlock while you sleep.
Check Require Attention for Face ID first, then consider who might know your passcode.
Does AI do face recognition?You turned off the attention requirement because looking directly at the screen is difficult.
Reassess your device's unlock behavior without assuming the default sleep safeguard applies.
Is face recognition good or bad?Your phone advertises face unlock, but it does not use Apple's Face ID.
Read your manufacturer's security documentation; iPhone-specific attention advice may not transfer.
face ai online appFaceai covers questions about face-based technology and creative video ideas, but it cannot test or change your phone's unlock settings. For device security, start with your phone's settings; for creative work, explore the destination below.
Explore video creationWith Require Attention for Face ID enabled, closed eyes ordinarily prevent Face ID from unlocking an iPhone. Check that the setting is on rather than assuming it is, and remember that a person who knows your passcode has another way in.
When Require Attention for Face ID is on, Apple requires your eyes to be open and directed toward the device. If that setting is off, do not rely on the attention check to protect the phone while you sleep.
On an iPhone that supports Face ID, open Settings and then Face ID & Passcode. Look for Require Attention for Face ID, and review any accessibility choices that affect how you unlock your device.
No. Face-unlock methods and their settings differ across manufacturers and models, so an answer about Apple's Face ID should not be applied to every phone. Check your own device's documentation before relying on it for protection during sleep.