Face ID vs passcode for locked photos on iPhone: which is doing the work?

Face ID and your passcode both open the locked Hidden album and locked apps. Here is what each one protects against, where each is weaker, and the settings that matter.

Short verdict: use Face ID, and treat your passcode as the real lock. On iPhone, the locked Hidden and Recently Deleted collections and any app you lock all open with Face ID, Touch ID or your passcode. Face ID is fast and can't be watched over your shoulder; Apple puts the chance of a random person's face unlocking your iPhone at less than 1 in 1,000,000. But Face ID never replaces the passcode: Apple's security documentation says biometrics make access faster, not that they remove the passcode. Anyone who knows your passcode can open your locked photos. So the questions that decide your privacy are how strong the passcode is and who knows it. The settings below are from Apple's current support pages (iOS 27, November 2026); names may differ slightly on other versions.

This explainer belongs to our section on how to hide photos on iPhone and to security explained. If you use Android, the same question is answered for fingerprints in fingerprint vs PIN for app lock.

Face ID vs passcode at a glance

Face IDPasscode
SpeedA glanceA few seconds to type
Can be watched over your shoulderNoYes
Random stranger getting inLess than 1 in 1,000,000, says AppleDepends on length; a 6-character letters-and-numbers passcode would take over 5.5 years to try every combination, says Apple
People who look like youHigher chance for twins, siblings who look like you, and children under 13No difference
Can be used while you're not paying attentionNot when attention is required: Face ID checks your eyes are open and lookingOnly if someone already knows it
Can you change it if it leaksNoYes, any time
Works after a restartNo, the passcode comes firstYes
Opens the Hidden album and locked appsYesYes

What Face ID and the passcode each unlock

Apple's Photos page says the Recently Deleted and Hidden collections are locked by default and unlock with Face ID, Touch ID or your passcode. Apps you lock from the Home Screen work the same way: Apple says a locked app needs Face ID, Touch ID or your passcode to open, locks again when you quit it, and keeps its information out of notification previews, search and Siri suggestions. Our page on locking the Hidden album gives the setting, and lock and hide apps on iPhone covers app locking.

The point for private photos: these locks are the iPhone's own lock, used a second time. There is no separate code for the Hidden album. Face ID is a faster way through that lock; the passcode is the lock itself.

When your iPhone asks for the passcode instead

Apple lists the times Face ID isn't accepted and the passcode is needed:

  • After the iPhone is turned on or restarted.
  • When it hasn't been unlocked for more than 48 hours.
  • When the passcode hasn't been used in 6.5 days and Face ID hasn't unlocked it in the last 4 hours.
  • After a remote lock command.
  • After five failed Face ID attempts.
  • After starting power off or Emergency SOS by holding the side button and a volume button for 2 seconds.

That last one is useful to know: if you are worried someone will hold your iPhone up to your face, those two buttons switch it to passcode-only in seconds.

Where Face ID is the better choice

  • Opening photos in public. Nobody nearby can learn a face the way they can learn a typed code.
  • Keeping a long passcode practical. Apple's security documentation says biometrics let you use a much stronger passcode than you would type all day.
  • Many unlocks a day. Short waits mean you're less tempted to turn the Hidden album's lock off.
  • Your face data stays put. Apple says Face ID data doesn't leave your device and isn't available to iOS, apps or Apple.

Where the passcode matters more

  • Twins, lookalike siblings and children under 13. Apple says the chance of a mismatch is higher for them and recommends a passcode in these cases.
  • Someone who knows your passcode. They can open the Hidden album and your locked apps without your face. This is the gap Face ID can't close.
  • Someone who added their face. An alternate appearance is treated as you. Apple's personal safety pages suggest resetting Face ID if you think someone added one without your permission.
  • After a leak. You can change a passcode in a minute. You can't change your face.

Settings worth checking

  1. Use a strong passcode. In Settings > Face ID & Passcode, tap Change Passcode and open Passcode Options. Apple says Custom Alphanumeric Code and Custom Numeric Code are the most secure options.
  2. Keep Require Attention on. Settings > Accessibility > Face ID & Attention > Require Attention for Face ID makes Face ID unlock only when you're looking at the iPhone with your eyes open. Apple notes it is turned off automatically if you turned on VoiceOver during setup.
  3. Check for an alternate appearance. If you didn't set one up and aren't sure, Settings > Face ID & Passcode > Reset Face ID, then set it up again.
  4. Turn on Stolen Device Protection. In Settings > Face ID & Passcode, available with iOS 17.3 or later. Away from familiar places like home or work, Apple says opening a locked app needs Face ID or Touch ID with no passcode fallback. Apple's page doesn't mention the Photos Hidden album, so don't count on it covering that.
  5. Consider Erase Data. At the bottom of Face ID & Passcode, it erases the iPhone after 10 failed passcode attempts. Only turn it on if you have a backup and nobody (a child, say) might trigger it.

How the passcode slows guessing

Apple's security documentation says each passcode attempt takes about 80 milliseconds, and that guesses have to be made on the iPhone itself because the passcode is tied to that device's hardware. On the Lock Screen, the waits grow after wrong tries:

Wrong attemptsWait before the next try
1 to 3None
41 minute
55 minutes
615 minutes
71 hour
83 hours
98 hours
10 or moreLocked until it connects to a Mac or PC

These waits protect against strangers. They don't help against someone who already knows the code.

Where HideBerry fits

If people around you know your iPhone passcode, a vault with its own lock is the answer, because your passcode doesn't open it. HideBerry for iPhone is coming soon to the App Store. It follows the same design as our Android app: your vault opens with your own PIN or pattern, 12 recovery words get you back in if you forget it, and there is no account, no cloud and no ads. It can't protect what is on screen while the vault is open, or copies you take out. Our security page lists the limits, and our comparison of the Hidden album vs a photo vault app helps you choose.

Mistakes to avoid

  • Telling people your passcode. It opens your Hidden album and every locked app.
  • Keeping a short passcode because "Face ID does the work". The passcode comes back after every restart and every five failed Face ID attempts.
  • Turning off Require Attention for speed. It is what stops Face ID working while your eyes are closed.
  • Forgetting the side-button shortcut. Holding the side button and a volume button sends the iPhone back to passcode-only.

Is Touch ID different from Face ID for locked photos?

It opens the same locks. On iPhones with Touch ID, the Hidden album and locked apps accept Touch ID or the passcode. Apple's security documentation says Touch ID doesn't replace the passcode either.

Can someone open my locked photos while I sleep?

Not with Face ID if Require Attention for Face ID is on, because Face ID checks that your eyes are open and looking at the iPhone. With it off, the protection is weaker.

Does Face ID make my photos encrypted?

No. Apple's security documentation says setting a passcode turns on Data Protection, and the passcode adds to the encryption keys that protect some of your data. Face ID is a quicker way to unlock.

Can an app see my Face ID data?

Apple says apps can't access Face ID data and only learn whether unlocking succeeded.

FAQs

Is Face ID safer than a passcode for hidden photos?

Against strangers and people watching you type, yes: Apple puts a random match at less than 1 in 1,000,000. Against someone who knows your passcode or can make you look at the phone, no: the passcode always opens the Hidden album, and a face can't be changed. Use both, with a strong passcode.

Can someone open my Hidden album with my passcode?

Yes. Apple says the Hidden and Recently Deleted collections unlock with Face ID, Touch ID or your passcode. There is no separate code for them.

Why does my iPhone ask for the passcode even with Face ID on?

Apple requires the passcode after a restart, after 48 hours without unlocking, after five failed Face ID attempts, after a remote lock, and in a few other cases. It is how the passcode stays the real lock.

Does Stolen Device Protection protect my hidden photos?

Apple says it requires Face ID or Touch ID, with no passcode fallback, to open a locked app when you're away from familiar places. Apple's page doesn't mention the Photos Hidden album, so don't rely on it for that.

Should I use a numeric or an alphanumeric passcode?

Apple names Custom Alphanumeric Code and Custom Numeric Code as the most secure options. A longer code with letters is harder to guess; Face ID means you rarely have to type it.

Lock your photos with a code only you know

Face ID is the quick way in; the passcode is the lock, so keep it long and to yourself. If that isn't possible, a separate vault helps. HideBerry for iPhone is coming soon to the App Store. See what it will offer on HideBerry for iPhone.

Sources

Keep private photos private

HideBerry encrypts photos, videos, notes and files on your phone. No account, no cloud, no ads. Free for up to 50 items, with every feature. Android now, iPhone coming soon.

Coming soon toApp StoreComing soon toGoogle Play