← Back to search

Accounts & PasswordsPhones & Tablets

How do I unlock an iPhone after too many incorrect passcode attempts?

Answer

If you forgot the passcode and tried too many times, Apple requires erasing the iPhone and restoring from a backup; there is no official way to bypass the passcode while keeping the current data unlocked.

Before you start: stop right away if…

  • Erasing the iPhone deletes data that was not backed up.
  • Passcode bypass tools and paid unlock services are often scams or unsafe.

Follow these steps

  1. Decide whether Erase iPhone is available on-screen

    If the lock screen offers Erase iPhone and you know the Apple ID password, you can erase directly on the device after the wait timer allows it.

    You should see: The phone erases, or you proceed with a computer restore instead.

  2. Connect to a computer for Recovery Mode

    Connect the iPhone to a Mac or PC, put it into Recovery Mode using Apple's button sequence for your model, then choose Restore in Finder or iTunes.

    You should see: The computer downloads iOS and erases the locked iPhone.

  3. Sign in past Activation Lock

    After erase, sign in with the Apple ID that was previously on the phone when Activation Lock asks for it.

    You should see: The iPhone activates and reaches the setup screens.

  4. Restore from a backup

    During setup, restore from iCloud or a computer backup if you have one; otherwise set up as new.

    You should see: Apps and data return from backup, or you start fresh.

Not sure this is the right page? Check here

0 of 5 checked

Extra tips

What to look for: Messages such as 'iPhone Unavailable', 'Security Lockout', or 'Erase iPhone', and whether you have an iCloud or computer backup

Before you change anything: Confirm you know the Apple ID email and password for Activation Lock after erase. Check whether you have a recent iCloud or computer backup. Use only Apple's official erase/restore steps. Never give your Apple ID password to someone offering a bypass tool.

Have a different problem?