← Back to search

Accounts & PasswordsPhones & Tablets

What should I do if an iPhone 11 asks for a passcode I never set?

Answer

If the iPhone is disabled or demanding an unknown passcode, erase it with Find My on another device or iCloud.com, or restore it from a computer. You will need the Apple ID password if Activation Lock is on.

Before you start: stop right away if…

  • Erasing an iPhone deletes local data that was not backed up.
  • Activation Lock requires the previous Apple ID; unofficial bypasses are unsafe and often fraudulent.

Follow these steps

  1. Try Find My erase

    On another phone or computer, open Find My or iCloud.com, select the iPhone 11, and choose Erase This Device if it appears online.

    You should see: The erase starts, or the device is offline and waiting to erase.

  2. Power off if directed

    If Find My asks you to turn the iPhone off or wait until it is online, follow those prompts and keep it charged.

    You should see: The erase completes when connectivity allows.

  3. Use computer recovery if needed

    If Find My cannot erase it, connect to a Mac or PC and restore the iPhone in recovery mode.

    You should see: The phone restores to the setup screen.

  4. Complete Activation Lock

    Sign in with the Apple ID previously tied to the phone. If this is a used phone and you lack that ID, contact the seller or Apple with proof of purchase.

    You should see: Setup continues under your account, or ownership proof is required.

Not sure this is the right page? Check here

0 of 5 checked

Extra tips

What to look for: iPhone is disabled messaging, passcode entry screen, and whether Find My iPhone is enabled for that Apple ID.

Before you change anything: Confirm whether this phone was bought used or previously set up by someone else. Have the Apple ID email ready. Erasing removes local data without a backup. Do not pay for passcode unlock tools from pop-up sites.

Have a different problem?