If you forgot your iPhone password or passcode, there is no legitimate universal method that simply unlocks the device while preserving unrestricted access to its locked data. Apple provides several recovery options for an iPhone you own, and the best option depends on whether you recently changed the passcode and whether the lock screen offers an on-device reset.
Try your previous passcode first if you recently changed it
On supported iOS versions, Passcode Reset gives you a limited period after changing the passcode during which you can use the previous passcode to regain access. Apple currently provides a 72-hour window. After enough incorrect attempts, tap Forgot Passcode? on the unavailable screen and choose the option to enter the previous passcode when it is offered.
After authenticating with the previous passcode, create a new passcode immediately. This is a legitimate owner-recovery feature, not a general bypass, and it does not help if the previous passcode is also unknown or the eligibility period has expired.
Use the lock-screen reset option when it is available
If Passcode Reset is not available, a supported iPhone can offer an option to reset or erase the device from the lock screen. The exact wording depends on the iOS version and device state. Follow the on-screen instructions and authenticate with the required Apple Account information.
This process erases the iPhone’s current local content and settings. You can restore eligible information from an iCloud or computer backup during setup, but data that was never backed up or synchronized may be lost.
Use recovery mode if you cannot reset the iPhone on the device
If the lock screen does not provide a usable recovery option, place the iPhone in recovery mode and connect it to a computer. The button sequence depends on the iPhone model, so use the recovery-mode procedure appropriate for your device.
On a current Mac, select the connected iPhone in Finder. On a current Windows PC, use the Apple Devices app. Choose Restore when prompted and allow the computer to erase and reinstall the iPhone software. Older computers may use legacy tools, but iTunes should not be presented as the default workflow for a current Mac or Windows PC.
Understand what happens to your data
Except for an eligible Passcode Reset using the previous passcode, forgotten-passcode recovery generally involves erasing the locked device. A backup can reduce the impact, but it cannot restore information that was never included in the backup or synchronized to another service.
After the erase, choose an eligible iCloud or computer backup during setup if one is available. If you have no backup, you may need to set up the iPhone as new and resynchronize whatever information is still stored in services such as iCloud.
Activation Lock does not disappear when the iPhone is erased
The device passcode and Activation Lock are different protections. If Find My was enabled, erasing or restoring the iPhone does not automatically remove Activation Lock. During setup, the iPhone can still require the Apple Account associated with the device.
This is expected theft protection. A passcode reset is not a way to take ownership of a found, stolen, or improperly transferred iPhone. If a secondhand device remains associated with a previous owner, that owner needs to complete the proper account-removal process.
Face ID or Touch ID cannot permanently replace the passcode
Biometric authentication makes everyday unlocking easier, but iOS still requires the device passcode in certain situations, including after some restarts and security events. If you no longer know the passcode, Face ID or Touch ID is not a permanent workaround.
Do not repeatedly guess the passcode. Incorrect attempts can produce increasingly long lockout periods, and some users intentionally enable the option that erases the device after repeated failed passcode attempts.
Avoid third-party “unlock without password” promises
Be skeptical of software, websites, or repair services claiming they can unlock every modern iPhone without the passcode, erase, Apple Account, or data loss. Those claims do not describe Apple’s supported recovery process and can expose you to scams, credential theft, unwanted software, or unnecessary charges.
Never provide an Apple Account password or two-factor authentication code to an unknown unlocking service. If you legitimately own the device and cannot complete recovery, use Apple support or an authorized service channel.
What if you do not have a computer?
Try Passcode Reset first when you recently changed the passcode, then use the on-device reset option if the iPhone offers it. Those methods can work without a computer in eligible situations.
If neither option is available, computer-assisted recovery may be necessary. If you do not own a suitable computer, obtaining help through an Apple Store or Apple Authorized Service Provider is safer than trusting a site that promises a secret password bypass.
How to avoid losing data next time
Keep a current iCloud or encrypted computer backup so a future required erase is less disruptive. Make sure you can access your Apple Account recovery information, and choose a device passcode you can remember without making it easy for another person to guess.
If you change the passcode, remember that the previous-passcode recovery period is temporary. Apple’s current Passcode Reset window is 72 hours, so it should be treated as short-term protection against forgetting a newly changed code rather than a permanent backup password.
The safest way to regain access
For an iPhone you own, use Apple’s recovery sequence: try the previous passcode when Passcode Reset is available, use an eligible on-device reset next, and use recovery mode with Finder or Apple Devices when necessary. These methods preserve Apple’s ownership protections instead of pretending that the lock can simply be bypassed.

Matthew Roberts created this site to help his friends and family with questions that they might have about how to change the settings on their iPhones. It now serves as an archive of iPhone how-to guides to help anyone that stumbles upon this website.