Last verified: 14 August 2026

How to unlock an iPhone without a password

This page is for one situation: you've forgotten your own iPhone passcode and need to get back in. There is no way to do that without erasing the device — the steps below are Apple's own supported routes for resetting it.

If you've forgotten your iPhone passcode, the only supported fix is to erase the device, which removes the passcode along with everything else stored on it. On iOS 17 or later, if the iPhone has internet access and Find My was already turned on, tap Forgot Passcode? on the lock screen and follow the on-screen Erase option. Otherwise, use Erase iPhone through Find My at icloud.com/find from another device, or connect it to a computer, enter recovery mode, and choose Restore in Finder or iTunes. Either way you'll need your Apple Account email and password to set the iPhone up again afterward, because of Activation Lock.

Why can't I unlock an iPhone without erasing it?

Apple's support documentation is direct about this: to access an iPhone after forgetting its passcode, you must reset the device, and resetting erases the data currently on it. There's no supported bypass that keeps your photos, messages, and apps intact if the passcode itself is unknown. This is deliberate — the same protection that makes a lost or stolen iPhone useless to a thief is what makes a forgotten passcode expensive to recover from. If you have a recent iCloud or computer backup, you can restore your content onto the iPhone after it's erased and set up again.

Does my iPhone have the on-device "Forgot Passcode?" option?

On iOS 17 and later, iPhones with Find My already enabled and an active internet connection can reset without a computer. On the lock screen, after several failed passcode attempts, a Forgot Passcode? option appears. Tapping it and following the prompts leads to Start iPhone Reset, where you enter the Apple Account password tied to the device to sign it out, then confirm Erase iPhone to wipe it and remove the passcode.

This only works if Find My was turned on before you got locked out and the device can reach the internet (Wi-Fi or cellular). If either condition isn't met, use one of the two methods below instead.

How do I use Erase iPhone through Find My or iCloud?

  1. On another device (or a browser), go to icloud.com/find and sign in with the Apple Account used on the locked iPhone.
  2. Click All Devices and select the locked iPhone from the list.
  3. Select Erase iPhone and confirm.

This remotely wipes the device, including the passcode. Once the erase finishes, the iPhone restarts as if new, and you'll be asked to sign in with the same Apple Account to get past Activation Lock before you can use it again.

How does the recovery mode and computer restore method work?

If you don't have access to another Apple device to use Find My, Apple's support documentation describes a computer-based route using a Mac with Finder (or a Windows PC / older Mac with iTunes):

  1. Connect the iPhone to the computer with a cable, and open Finder (or iTunes).
  2. Put the iPhone into recovery mode using its model-specific button sequence — this is the same family of button combinations used for a force restart, held until the recovery-mode screen (an image of a computer and a cable) appears instead of the Apple logo.
  3. When Finder or iTunes detects the device in recovery mode, choose Restore, not Update. Restore erases the iPhone and reinstalls the latest version of iOS; Update tries to reinstall software without erasing, which won't remove a forgotten passcode.

After the restore completes, the iPhone again asks for the Apple Account it was previously signed into, because of Activation Lock.

What if I don't remember my Apple Account password either?

Erasing the iPhone only gets you a blank device — Activation Lock still requires the Apple Account credentials the iPhone was last signed into before it can be set up and used again. If you've also lost access to that Apple Account, Apple's support documentation directs you to Apple Account password recovery (at iforgot.apple.com) rather than anything on the iPhone itself. There is no separate iPhone-side bypass for this; it has to be resolved through the Apple Account, not the device.

People also ask

Can a third-party tool unlock an iPhone passcode without erasing it?

Not through any Apple-supported process. Apple's own documentation only describes erase-based resets. Tools claiming otherwise fall outside what this guide can verify and aren't something explainer.ng can confirm as safe or effective.

Will I lose my photos if I forgot my passcode?

Any photos not already backed up to iCloud Photos or a computer will be lost when the device is erased. If iCloud Photos was turned on before you got locked out, they'll still be in your iCloud account and will come back after you sign in.

How long does Erase iPhone through Find My take?

Apple doesn't publish an exact figure since it depends on the device and connection, but it typically completes within a few minutes once the erase command reaches the iPhone over the network.