← All posts

Can Apple Unlock a Locked iPhone?

Published November 16, 2026

Apple cannot unlock a modern iPhone with a master passcode. If you forget yours, Apple's path is to erase the phone and set it up again. Photos that lived only on that phone come back only from a backup you already made.

The passcode wraps the keys

Since the iPhone 8, files on the phone, including photos, are encrypted with keys that the Secure Enclave wraps. One ingredient is your passcode. Another is a hardware identifier written into the chip at the factory. That identifier cannot be read out, by a person holding the phone or by Apple. The longer version of how those keys fit together is in how the iPhone encrypts photos on the device.

Lock the phone and those keys are unavailable to the rest of the system. Face ID, Touch ID, or the passcode is what makes them available again. Apple Support's own instructions for a forgotten passcode do not include a code that opens the phone. They tell you to erase it.

What happens when you forget it

If you changed the passcode in the last 72 hours, the previous one can still get you in once, so you can set a new passcode. That is the old passcode working, not Apple reading the phone.

After that window, or if you never had a recent passcode to fall back on, the lock screen can offer Forgot Passcode once the phone is disabled. On iOS 15.2 or later that button shows up when the phone has a network connection, Find My is on, and you can enter the Apple Account password. Confirming it erases the iPhone. A Mac or Windows PC can do the same thing through recovery mode: Restore erases the phone. An Apple Store or an Apple Authorized Service Provider can run that reset if you have no computer. They are erasing the device, not copying the photos off it.

When the phone starts again, you can restore an iCloud backup or a computer backup if you made one before the lockout. With no backup, you set the phone up as new. The photos that existed only on that device are gone. Erasing the phone destroys the key material that opened those files, so the old copy on the flash storage cannot be decrypted.

Three copies that are not a cracked passcode

A locked phone is one copy. These three are different copies. None of them means an engineer typed their way past the lock screen.

The phone was already unlocked. Someone holding an open iPhone can open Photos. Face ID already ran, or the passcode was entered. That is the lock working as designed.

A computer has an unencrypted backup. Finder on a Mac, or the Apple Devices app on Windows, can save a backup of the phone. If you did not turn on backup encryption, that copy sits on the computer and does not need the phone's passcode. An encrypted backup needs the password you chose for it. The backup is a second library, made while the phone was unlocked and plugged in.

iCloud is still on standard data protection. By default, Apple holds the key to iCloud Photos and to an iCloud backup. A locked phone does not lock that cloud copy. Apple can read it, and can provide it when legally required. Advanced Data Protection moves Photos and iCloud Backup to keys that stay on your devices. Mail, Contacts, and Calendars stay with Apple's keys either way. The two settings are spelled out in can Apple see your iCloud photos.

What a locked phone does mean

Apple cannot pull the photos off a locked modern iPhone. The photos are still recoverable when an earlier copy exists: an unlocked phone, an unencrypted backup on a computer, or an iCloud copy Apple can still decrypt. Those are other roads to a copy you already made. They are not a bypass of the passcode.

The Hidden album uses that same passcode. It is not a second lock Apple would have to break. A separate album password is a different choice, and it is what Privately keeps on the iPhone, outside the Photos library.

Privately app icon

A photo vault app to hide photos on iPhone.

Download on the App Store
4.82,000+ happy users