← Back to search

Accounts & PasswordsPhones & Tablets

What do I do if an iPhone reboots after an update and asks for a forgotten passcode?

Answer

Connect the iPhone to a computer and try Update in Finder or Apple Devices/iTunes to reinstall iOS without erasing when possible. If that fails, recovery mode Restore erases the device and requires the Apple ID.

Before you start: stop right away if…

  • Restore erases apps, photos, and settings not already backed up.

Follow these steps

  1. Connect to a computer

    Plug the iPhone into a Mac (Finder) or Windows PC (Apple Devices/iTunes).

    You should see: The computer detects the iPhone.

  2. Try Update first

    Choose Update to reinstall iOS without erasing when that option is offered.

    You should see: iOS finishes and the phone returns to a usable lock screen.

  3. Confirm USB detection

    On Windows, check System Information > USB for Apple Mobile Device; on Mac confirm Finder lists the phone.

    You should see: The phone is listed as connected.

  4. Recovery mode Restore if needed

    Enter recovery mode for your model, choose Restore, then sign in with the Apple ID after setup.

    You should see: The phone restores to factory iOS.

Not sure this is the right page? Check here

0 of 4 checked

Extra tips

What to look for: Unexpected reboot, Software update complete, unknown passcode at setup.

Before you change anything: Try Update before Restore. Have a computer and cable ready. Know the Apple ID for Activation Lock after any erase.

Have a different problem?