Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

Old passcode unknowm and required for upgrade

Hello, I currently have an iPhone 12 and am trying to move my data to a new phone. The new phone is asking for the passcode for my old iPhone8 which I no longer have or know the password for as this is encrypted. Is there anyway around this? I do not want to lose all my photos. The photos are currently showing on iCloud. Any advise welcome

1 reply

Try this


You can safely preserve your photos via iCloud as long as they are already visible on the iCloud website, because this encrypted passcode request only protects specific end-to-end encrypted data (like Keychain or Health data) and will not delete your cloud photo library.

Tap "Forgot Passcode?" or "Cannot Approve?": Look on the screen for options such as Forgot Passcode?, Don't Know Passcode?, or Cannot Approve this iPhone?.

Skip or Reset Encrypted Data: When you select one of these options, iOS will give you the choice to skip restoring those specific encrypted settings or to reset end-to-end encrypted data.

Accessing Your Photos: Choosing to reset or skip this step will not delete your photos if they are already fully synced to iCloud. Once your new iPhone finishes setting up, just ensure iCloud Photos is turned on in your settings, and your photos will download to your new device.

Alternative Verification: Check if any other Apple device you currently own (like an iPad or Mac) is receiving a prompt to approve your new iPhone.