If **“Forgot Passcode?”** or **“Erase iPhone”** is missing, first check which iOS version the iPhone is using and whether it has reached the **iPhone Unavailable** or **Security Lockout** screen. On **iOS 17 or later**, tap **Forgot Passcode?** to start the reset flow; **Erase iPhone** appears later. On **iOS 15.2 or iOS 16**, look for **Erase iPhone** or **Erase [Device]**. If the iPhone is running an earlier version, or it does not meet the on-device reset requirements, restore it with a computer instead.
Which option should appear on your iPhone?
| iOS version | What to look for | What happens next |
|---|---|---|
| iOS 17 or later | Forgot Passcode? | Tap it, then choose Start iPhone Reset. The Erase iPhone command appears later in the flow. |
| iOS 15.2 or iOS 16 | Erase iPhone or Erase [Device] | Follow the on-screen prompts to erase the iPhone. |
| Earlier than iOS 15.2 | No supported on-device reset option | Use a Mac or Windows PC to restore the iPhone. |
The on-device reset is available only when the iPhone is locked out, connected to Wi-Fi or cellular, signed in to an Apple Account, and had Find My enabled before the lockout. You’ll also need the Apple Account password to complete the reset.
Why the reset option may be missing
- You’re looking for the wrong label. On iOS 17 or later, the first option is Forgot Passcode?, not Erase iPhone. On iOS 15.2 or iOS 16, look for Erase iPhone or Erase [Device].
- The iPhone hasn’t reached the lockout screen. These reset options are associated with the iPhone Unavailable or Security Lockout screen, not the ordinary Lock Screen.
- Find My wasn’t enabled before the lockout. It must have been turned on beforehand for the on-device reset option to be available.
- The iPhone has no active network connection. The on-device flow requires Wi-Fi or cellular. If you can’t connect, use the computer-based restore method.
- The iPhone isn’t signed in to an Apple Account, or you can’t enter its password. Being signed in is a requirement, and the reset flow asks for the account password.
- The iPhone is running an older iOS version. The on-device reset flow is supported from iOS 15.2 onward. Earlier versions require a computer restore.
Reset an iPhone from the lockout screen
On iOS 17 or later
- On the Lock Screen, enter the passcode until the iPhone Unavailable screen appears.
- Tap Forgot Passcode?
- On the Security Lockout screen, tap Start iPhone Reset.
- Enter the Apple Account password when prompted.
- Tap Erase iPhone and follow the on-screen prompts.
- After the iPhone restarts, set it up again. Choose to restore from a backup if you have one.
On iOS 17 or later, the erase command comes after Forgot Passcode? and Start iPhone Reset, so it may not appear on the first lockout screen. If the iPhone uses an eSIM, the reset flow offers a choice to keep or erase it.
On iOS 15.2 or iOS 16
When the iPhone is locked out and meets the Find My, network, and Apple Account requirements, tap Erase iPhone or Erase [Device] and follow the prompts. Enter the Apple Account password if asked.
If you changed your passcode in the last 72 hours
On iOS 17 or later, you may be able to use your previous passcode instead of erasing the iPhone if you changed the passcode within the past 72 hours. On the unavailable screen:
- Tap Forgot Passcode?
- Tap Enter Previous Passcode.
- Enter the old passcode and follow the prompts to set a new one.
This time-limited Passcode Reset option can let you regain access without erasing the iPhone. If it succeeds, you’ll be prompted to change the passcode again.
If the on-device option isn’t available, use a Mac or Windows PC to restore the iPhone. Apple’s current instructions use Finder on a Mac or the Apple Devices app on Windows.
- Connect the iPhone to the computer.
- Put the iPhone into recovery mode using the button sequence for its model.
- When the iPhone appears on the computer, choose Restore and follow the prompts.
A computer restore erases the data currently stored on the iPhone. If you don’t have access to a computer, contact an Apple Store or an Apple Authorized Service Provider.
What to know before erasing
- Erasing deletes the data and settings stored on the iPhone. You can restore your information only if a suitable backup is available.
- Activation Lock may remain after erasure. Because Find My enables Activation Lock, you may need the Apple Account linked to the iPhone to activate it again.
- Check eSIM instructions before resetting an iOS 16 or earlier iPhone. Apple advises contacting your carrier to find out how to set up the eSIM again.