sodcalculator

10 Tech How-To

How to Recover iPhone Passcode: Full Reset Guide

Guide 10-36984 · Updated · Step by step

If you’ve forgotten your iPhone passcode, your device is locked and you can’t get in without erasing it. This guide walks you through the only official methods to regain access, whether you have a computer or not. You’ll need your Apple ID and password, and possibly a computer with the latest software.

What You’ll Need

  • Your Apple ID and password (the one you use for iCloud/App Store)
  • A computer (Mac or Windows) with the latest iTunes or Finder, OR access to iCloud.com on another device
  • A USB cable (for computer method)
  • Your iPhone (obviously)
  • If you have an iPhone with Face ID (iPhone X or later), you’ll need a second device to set up recovery later, but not for the reset itself.

Step-by-Step

There are two main routes: using a computer (works for all iPhones) or using iCloud (only if Find My iPhone is enabled and you have another device). Choose the one that fits your situation.

Method 1: Using a Computer (Recovery Mode)

  1. Update your computer: Make sure your Mac is on macOS Catalina or later (then you’ll use Finder) or your PC has the latest iTunes installed. If you’re on an older macOS, you’ll use iTunes.
  2. Turn off your iPhone: Press and hold the side (or top) button and drag the slider to power off. If you can’t, skip to step 3.
  3. Put your iPhone in recovery mode:
    • iPhone 8 or later (including SE 2nd gen): Press and quickly release the Volume Up button, then Volume Down. Then press and hold the Side button until the recovery mode screen appears (a computer icon and a cable).
    • iPhone 7/7 Plus: Press and hold the Side (or Sleep/Wake) button and the Volume Down button together until the recovery mode screen shows.
    • iPhone 6s and earlier, including SE 1st gen: Press and hold the Home button and the Top (or Side) button together until the recovery mode screen shows.
  4. Connect to your computer: While holding the button(s), plug the iPhone into your computer using a USB cable. Keep holding until you see the recovery mode screen.
  5. Find your iPhone in Finder or iTunes: On a Mac with Catalina or later, open Finder. On Windows or older macOS, open iTunes. You’ll see a dialog saying “There is a problem with the iPhone that requires it to be updated or restored.”
  6. Choose “Restore”: Click “Restore” (not “Update”). This will erase your iPhone and install the latest iOS. Confirm if asked.
  7. Wait for it to finish: The computer will download the iOS software and restore your iPhone. This can take 10-20 minutes. Do not unplug during this time.
  8. Set up your iPhone: After the restore finishes, your iPhone will restart and show “Hello”. Follow the setup steps. When you get to the “Apps & Data” screen, choose “Restore from iCloud Backup” or “Restore from Mac or PC” if you have a backup. If you don’t have a backup, set up as new.

Method 2: Using iCloud (Find My iPhone)

This only works if you enabled Find My iPhone before the lockout, and you have another device (like a computer or another phone) to log into iCloud.com.

  1. Go to iCloud.com/find: On any device, open a web browser and go to icloud.com/find.
  2. Log in with your Apple ID: Use the Apple ID that is signed into the locked iPhone.
  3. Select your iPhone: Click “All Devices” at the top, then choose your locked iPhone from the list.
  4. Click “Erase iPhone”: This will remotely erase your iPhone, including the passcode. It also removes it from your Apple ID account.
  5. Wait for the erase to complete: Your iPhone must be connected to the internet (Wi-Fi or cellular) for this to work. If it’s offline, the erase will happen the next time it’s online.
  6. Set up your iPhone: After the erase, you’ll see the “Hello” screen. Set it up, and restore from a backup if you have one.

Common Mistakes

  • Choosing “Update” instead of “Restore”: Update keeps your data but won’t remove the passcode. You must choose Restore to erase the phone.
  • Not putting the phone in recovery mode properly: If you don’t see the recovery mode screen, you’re not holding the buttons correctly. Try again, and make sure you’re using the right button combination for your model.
  • Unplugging during the restore: This can cause errors and leave your phone in a bricked state. Be patient.
  • Using the wrong Apple ID password: If you can’t remember your Apple ID password, you’ll need to reset it first at iforgot.apple.com, but that’s a separate process.
  • Forgetting that Find My iPhone must be off for some third-party tools: But we don’t recommend those anyway.

Tips

  • Always back up regularly: If you have an iCloud backup, you’ll lose at most a few hours of data. If you don’t, you’ll lose everything.
  • Use a passcode you can remember: But not too simple. Consider a longer alphanumeric passcode for better security.
  • Enable Face ID or Touch ID: This way you don’t have to type the passcode every time, reducing the chance of forgetting it.
  • Write down your passcode in a secure place: Like a password manager, not a sticky note on your monitor.
  • After restore, set up a new passcode: When you set up your iPhone, you’ll be asked to create a new passcode. Make it memorable.

Troubleshooting

If the restore fails or your iPhone gets stuck, here’s what to try:

  • iPhone stuck on recovery mode screen: Try a force restart. Press and quickly release Volume Up, then Volume Down, then hold the Side button until the Apple logo appears. If it doesn’t boot, repeat the recovery mode steps and try again.
  • Computer says “iPhone could not be restored. An unknown error occurred (error 9 or 14): This often means a connection issue. Try a different USB cable or port, restart your computer, and try again.
  • iCloud erase didn’t work: If your iPhone is offline, it won’t erase. Check that it’s connected to Wi-Fi or cellular. If it’s been offline for a while, it might take time. You can also use the computer method instead.
  • Forgot your Apple ID password: Go to iforgot.apple.com and follow the steps to reset it. You’ll need access to the email or phone number associated with your account.
  • If you have two-factor authentication and don’t have a trusted device: You might be locked out. You’ll need to go through Apple’s account recovery process, which can take a few days. Contact Apple Support for help.

Frequently Asked Questions

Will I lose all my data?

Yes, restoring or erasing your iPhone will remove all data, including photos, messages, and apps. You can only get them back if you have a backup (iCloud or computer).

Can I recover the passcode without erasing?

No. Apple does not provide any way to bypass the passcode without erasing the device. This is a security feature to protect your data.

What if I never enabled Find My iPhone?

Then the iCloud method won’t work. You must use the computer method (recovery mode) to erase the phone.

How long does the restore take?

It usually takes 10-20 minutes, depending on your internet speed and the iOS version. The computer will show a progress bar.

Can I use a third-party tool to unlock my iPhone?

We don’t recommend it. These tools often don’t work, may contain malware, and could harm your device. Stick to the official methods.

What if my iPhone is disabled and says “Connect to iTunes”?

That’s the same as recovery mode. Follow the computer method above to restore it.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →