If you see a iPhone, iPad, or Apple Vision Pro unavailable message or Security Lockout screen

If you forgot your device passcode, you can use your Apple ID and password to erase and reset your device without a computer.

Before you reset your device

  • You need to have a device that uses visionOS, or iOS 15.2 or iPadOS 15.2 or later.

  • Your device needs to be connected to a cellular or Wi-Fi network.*

  • You'll need your Apple ID and password that you used to set up your device.

On your iPhone or iPad, the Forgot Passcode? option appears when you have a device that uses iOS 17 or iPadOS 17 or later and you are connected to a cellular or Wi-Fi network. An Erase [Device] option appears if you have a device that uses iOS 15.2, iPadOS 15.2, iOS 16, or iPadOS 16 and you are connected to a cellular or Wi-Fi network.

* If you restart your device when you see "Security Lockout" on the Lock Screen, you won't be able to reconnect to a Wi-Fi network until your device is unlocked. Cellular devices will reconnect to a cellular network if you have active service.

How to reset your device in iOS 17

If you're using an eSIM on iOS 16 or earlier, contact your carrier before trying these steps and ask for a QR code to set up your eSIM again.

  1. From your device's Lock Screen, try to enter your passcode until the "[Device] Unavailable" screen appears and your device asks you to try again later.

  2. When you're able to, tap the Forgot Passcode? option in the bottom corner of the screen.

    The iPhone Unavailable screen in iOS 17 or later includes a Forgot Passcode? option.
  3. On the Security Lockout screen, tap Start [Device] Reset to confirm.

  4. Enter your Apple ID password to sign out of your Apple ID on your device.

  5. Tap Erase [Device] to permanently delete all of your data and settings. If you use an eSIM with iOS 17 or later, you can also choose to keep your eSIM and erase your data, or to delete your eSIM and erase your data.

When you go through the process to reset your passcode in iOS 17 and later, you can choose to keep your eSIM or delete your eSIM.

6. When your device restart, follow the onscreen instructions to set up your device again, restore your data and setting from a backup, and set a new passcode.

If you can't follow these steps, you can use a computer to reset your device.

You can only reach the "Security Lockout" screen if you have an active cellular or Wi-Fi connection and previously enabled Find My on your device. After you try to enter your password ten times, your device will either erase itself or show Security Lockout and the Forgot Passcode? option without a timer, depending on how you previously set up your device.

If you recently changed passcodes, use your old passcode to temporarily sign in

When you change your passcode in iOS 17 and later, Passcode Reset gives you 72 hours when your old iPhone passcode can be used to sign in to your phone. When you sign in to your iPhone this way, you must immediately change your passcode again.

To use Passcode Reset:

  1. From your device's Lock Screen, try to enter your passcode until the "[Device] Unavailable" screen appears and your device asks you to try again later.

  2. When you're able to, tap the Forgot Passcode? option in the bottom corner of the screen.

  3. Tap Try Passcode Reset.

  4. Enter your old passcode then follow the onscreen instructions to set a new passcode.

When you change your passcode in iOS 17 or later, you can temporarily use an old passcode to unlock your device.

Passcode Reset is not available on Apple Vision Pro.

If you can't reset your device

Published Date: