Start with these three steps
Pause repeated guesses
Record the exact message and any timer. If you are uncertain of the passcode, stop trying variations while you check the available options.
Recall a recent passcode change
If you changed the code within the last 72 hours, note whether the previous code is known and whether the phone uses iOS 17 or later.
Inventory accessible copies
List existing backups, signed-in devices and relevant cloud accounts. Keep older backups while deciding whether a reset would put wanted information beyond reach.
Treat the message as a reason to slow down
Apple uses escalating delays to discourage incorrect passcode attempts. Its security documentation also describes an optional erase setting and managed-device policies. Repeated guessing is therefore a poor way to investigate the problem.
Write down what you know: the last successful unlock, whether the code changed, and whether a damaged screen is making entry unreliable. These observations help distinguish a forgotten code from a device that cannot reliably accept the code you know.
Sources: [1] Apple Platform Security
Check the narrow previous-passcode option
On iOS 17 or later, Apple's Passcode Reset can allow the previous known passcode to be used for 72 hours after a change. When the supported option is available, follow Apple's instructions for Forgot Passcode? and Enter Previous Passcode, then set a new code.
Availability depends on the stated conditions, including the device's connection and account settings. This is a specific recovery feature for a recent change, not a general way around an unknown passcode.
Sources: [2] Apple Support
Separate Apple Account access from device access
An Apple Account password is used to access the account; the device passcode protects access to the iPhone. If account sign-in is the problem, Apple provides password-reset routes involving trusted devices and recovery factors.
Recovering account access may help you reach information stored in that account. It should not be treated as proof that the locked phone's local contents can be read. Describe which credential is missing when asking for help, without sharing the credential itself.
Understand the ordinary reset's data consequence
Apple's ordinary computer-based forgotten-passcode reset erases the information currently on the iPhone. If the previous-passcode option is unavailable, review existing copies before accepting an erase or restore prompt.
A reset may make the phone usable again, after which an available backup can be restored. That does not preserve information which existed only on the locked phone. If those unique items matter, pause and ask for an assessment of the actual situation rather than accepting a promise of a universal unlock.
Sources: [4] Apple Support
A realistic view of recovery
- The previous-passcode feature has a limited window and eligibility conditions; it is not available for every locked device.
- This guide does not promise passcode bypass or access to encrypted local data.
- A backup can return only the information it contains, not every item left on the phone.
Your questions, answered
Does iPhone Unavailable prove my data is already erased?
Can I use the old code after changing my passcode?
Will a standard forgotten-passcode reset keep my photos?
Need help with the original iPhone?
Describe the model, what happened and which data matters. Data Recovery Lab NZ is an external specialist; ask it to confirm the assessment route for your exact device.
Sources & further reading
Primary and specialist guidance checked 27 October 2026. Features and instructions depend on the model and operating system.