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

If you’ve forgotten your device passcode, you can use your Apple Account and password to erase and reset your device without a computer.

What you need

  • visionOS, or iOS 15.2 or iPadOS 15.2 or later

  • Find My previously enabled on your device*

  • An active mobile or Wi-Fi connection

  • Your Apple Account and password

You can only reach the Security Lockout screen during the reset process if you have an active mobile or Wi-Fi connection and have previously enabled Find My on your device. Find out how to enable Find My on your device.

Reset your iPhone in iOS 17 or later

If you’re using an eSIM on iOS 16 or earlier, contact your network provider 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.

  2. When you’re able to, tap Forgotten Passcode?

    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. You can only reach the Security Lockout screen if you have an active mobile or Wi-Fi connection and have previously enabled Find My on your device.

  4. Enter your Apple Account password to sign out of your Apple Account 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 restarts, follow the onscreen instructions to set up your device again, restore your data and setting from a backup if you have one, and set a new passcode.

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

On your iPhone or iPad, the Forgotten Passcode? option appears when you have a device that uses iOS 17 or iPadOS 17 or later, and you are connected to a mobile 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 mobile or Wi-Fi network.

Reset your iPad in iPadOS 17 or later

  1. From your device’s Lock Screen, try to enter your passcode until the “[Device] Unavailable” screen appears.

  2. When you’re able to, tap Forgotten Passcode?

  3. On the Security Lockout screen, tap Start [Device] Reset to confirm.

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

  5. Tap Erase [Device] to permanently delete all of your data and settings.

  6. When your device restarts, follow the onscreen instructions to set up your device again, restore your data and setting from a backup if you have one, and set a new passcode.

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

On your iPhone or iPad, the Forgotten Passcode? option appears when you have a device that uses iOS 17 or iPadOS 17 or later, and you are connected to a mobile 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 mobile or Wi-Fi network.

Need more help?

Tell us more about what’s happening and we’ll suggest what you can do next.

Get suggestions

Published Date: