Search results for

All search results
Best daily deals

Affiliate links on Android Authority may earn us a commission. Learn more.

How to unlock an iPhone if you forgot the passcode

Set aside an hour or two. You'll need it.
By

Published onFebruary 23, 2025

Locking your iPhone is essential if you want to keep your data secure from thieves, hackers, and general snooping. But if you forgot your passcode, your day can suddenly become much, much more stressful. After many unsuccessful passcode attempts, an iPhone locks for a certain period of time with an “iPhone is disabled” error message. Unfortunately, the only way to reliably unlock an iPhone without a passcode is one you were probably hoping we wouldn’t suggest.

QUICK ANSWER

If you forgot your iPhone passcode, the easiest way to gain access to your device is to reset it on the "iPhone Unavailable" screen. If your device has iOS 17 or later, this screen will have a Forgot Passcode? option. Select Start iPhone Reset, Enter your iCloud password, then confirm by selecting Erase iPhone.

Otherwise, the only way to unlock it is to erase the phone's contents, removing the passcode at the same time. Of course, you won't be able to do this through the iPhone settings, as you won't be able to access them. You will have to rely on other factory reset methods.

You can then restore a backup from iCloud or your computer or start fresh if you don't mind losing locally stored content and settings. The SIM card lock and Find My iPhone will still be on, preventing a thief from bypassing your passcode to use or sell the phone.


JUMP TO KEY SECTIONS

Reset the iPhone from the “iPhone Unavailable” screen

The iPhone Unavailable screen will appear after you enter the wrong passcode many times. If you have iOS 17 or later, you can just reset the device from this screen if you forgot your iPhone passcode.

  1. Enter the wrong passcode many times in a row.
  2. An iPhone Unavailable screen will show up. Tap on Forgot Passcode?.
  3. Tap on Start iPhone Reset.
  4. Enter your iCloud account password.
  5. Confirm the action by selecting Erase iPhone.

Other solutions for unlocking your iPhone without the passcode

If you’re seeing the dreaded “iPhone is disabled, try again in [blank]” message, the only Apple-approved method of regaining access to a passcode-locked iPhone is to wipe it.

Wiping removes an iPhone’s passcode, allowing you to set a new one. It may feel like using a nuclear bomb to dig a hole in a field, but it’s meant to safeguard valuable data from prying eyes.

If you have a recent backup, all should be well and good. Restore the backup, add a new passcode, and continue with your day. But if you don’t have a backup at all, you’ll have to start the phone from scratch. Remember to start making regular iPhone backups in the future.

Think very carefully before paying for third-party apps

third party app unlock iphone forgot passcode

Many third-party apps, easily found with a Google search, claim to be able to break through iPhone security without a wipe if you forgot your iPhone passcode. These methods can’t be verified or endorsed by Android Authority. They may potentially invalidate your iPhone’s warranty, and success is never guaranteed since you’re inherently working around Apple’s latest security updates.

Law enforcement and spy agencies may sometimes be able to unlock an iPhone with advanced equipment, but it’s likely illegal or unaffordable for ordinary civilians. If the methods we’ve outlined don’t work, you’re better off going to an Apple Store or licensed Apple dealer and asking them for assistance.

There are three ways to erase your phone. Choose the one that you feel most comfortable with.

Connect your iPhone to the Apple Devices app or a Mac

restore from itunes

If you have a Windows computer, the Apple Devices app (available from the Microsoft Store) is probably the easiest way to wipe an iPhone, assuming circumstances align. More on that in a moment. For now, try these steps:

  1. Turn your iPhone off. Press and hold the side button, and either the volume down or volume up button, simultaneously.
  2. Use the slide to power off option. Wait for the device to turn off.
  3. Plug your iPhone into your PC using the appropriate cable.
  4. Press and hold the side button. Keep holding. The Apple logo will appear, and then a computer logo. You can now let go of the side button.
  5. Open the Apple Devices app. Your iPhone should be detected automatically if you’ve used the app before.
  6. Make sure the General tab is selected in the sidebar.
  7. In the main view, click the Restore iPhone button and follow prompts. If you have a backup, select Restore Backup.
  8. Follow the on-screen instructions to finish the process.

If you own a Mac with macOS Catalina or later, there are equivalent options in Finder. It’s much simpler.

  • Open Finder, then plug your iPhone into your Mac.
  • Wait for your iPhone to appear in the Finder sidebar, then select it.
  • Click Restore iPhone and follow prompts.

The big catch here is that you may be prompted to enter your passcode to sync with Apple Devices or macOS, and/or disable Find My tracking. In those cases, you’ll have to resort to another method, since you obviously forgot your iPhone passcode.

Log into iCloud Find My to reset your iPhone

The second option is to go to Find My on iCloud and erase the phone from there, if you forgot your iPhone passcode. You’d usually do this if your iPhone was stolen and you needed to wipe it remotely, but nothing says you can’t do this to wipe an iPhone still in your possession. Obviously, you’ll need your Apple ID details to use this method, but you may actually know your iCloud login credentials, or they may be saved on your computer.

  1. Open your browser.
  2. Go to the iCloud Find Devices page.
  3. Log in if needed.
  4. Select your iPhone on the left-side panel.
  5. Select Erase This Device.
  6. Follow the prompts to finish the process.
Factory reset iPhone from iCloud

What to do after your iPhone has been erased and reset

Once your iPhone has been erased and reset, you’ll have to set it up again, regardless of whether you plan to restore from a backup. You should be prompted to create a new six-digit passcode and set up Face ID or Touch ID.

You can always change your passcode later by going to Settings > Face ID and Passcode > Change Passcode. If you select Passcode Options, you can switch to a four-digit passcode, a custom one, or none at all.


FAQs

Go to Settings > Face ID and Passcode > Change Passcode. Enter your current passcode first, then enter the new passcode twice.

When you go to change your passcode in Settings > Face ID and Passcode > Change Passcode, you’ll see a button called Passcode Options. Tap that and you’ll get the option to choose four digits or a custom passcode.

When you go to Settings > Face ID and Passcode, there’s an option for this. You’ll have to enter the current passcode to switch it off.

We always recommend keeping a passcode in place. While it’s an inconvenience, it’s a barrier to thieves and hackers, and you’ll deeply regret disabling your passcode if someone gains full access to your apps and stored passwords.

Yes. If you’re unable to use any of the methods outlined in this article, an Apple Store or licensed Apple dealer can help. But to discourage thieves, they’ll want to see proof you own the phone. Try to bring its original receipt, a photo ID with your address on it, the phone’s IMEI number (if you know it), and/or anything else that might help.

Don’t count on it. Some third-party recovery apps claim to do this, but you should take their claims with a large pinch of salt, and using them may possibly invalidate your warranty.

Yes, unfortunately, you’ll still have to wipe and restore. Third-party apps claim to help you circumvent this, but Android Authority can’t verify or endorse these claims.

It means you’ve made too many unsuccessful login attempts on your iPhone, and iOS has disabled it for security purposes. The only way back in is to connect the iPhone to a Mac or the Apple Devices app (for Windows) and wipe it. You can then either restore from a backup or start the phone from factory settings.

You might like
    Follow