sodcalculator

08 Everyday Math

Erase iPhone 7 & 7 Plus While Locked Out

Guide 08-63424 · Updated · Step by step

Being locked out of your iPhone 7 or 7 Plus can feel like a dead end, especially if you’ve forgotten the passcode or bought a used device that’s still tied to someone else’s Apple ID. Fortunately, you can erase the phone and start fresh—even without unlocking it—using recovery mode and a computer. This guide walks you through the exact steps to wipe your device, remove the activation lock (if you know the Apple ID password), and get it ready for a new passcode or a new owner.

What You’ll Need

  • A computer (Mac or Windows PC) with the latest version of iTunes installed, or a Mac running macOS Catalina or later (which uses Finder instead of iTunes).
  • The original USB cable that came with your iPhone, or a certified third-party cable that supports data transfer.
  • If the iPhone is linked to an Apple ID, you’ll need the Apple ID password to fully remove the Activation Lock after erasing. If you don’t have it, you’ll need to provide proof of purchase to Apple Support.
  • Enough battery charge on the iPhone (at least 20% is recommended, but if it’s completely dead, plug it in for a few minutes first).
  • Access to a stable internet connection on the computer (to download iOS software if needed).

Step-by-Step

  1. Update your computer software. Make sure iTunes is updated to the latest version on Windows, or that your Mac is running the latest macOS. This ensures compatibility with your iPhone 7/7 Plus.
  2. Turn off the iPhone. Press and hold the side (power) button until the slider appears, then drag it to power off. If the screen is unresponsive, skip to step 4—you can force restart later.
  3. Connect the iPhone to your computer. Use the USB cable to plug the iPhone into the computer. If you haven’t trusted this computer before, you may see a prompt on the iPhone—but since you’re locked out, you’ll likely need to proceed with recovery mode anyway.
  4. Put the iPhone into Recovery Mode. This is the key step. On an iPhone 7 or 7 Plus, press and hold the Side button and the Volume Down button simultaneously. Keep holding them even after the Apple logo appears—do not release until you see the Recovery Mode screen, which shows a computer icon and a Lightning cable. This usually takes about 10-15 seconds.
  5. Open Finder or iTunes. On macOS Catalina or later, open Finder. On Windows or older macOS, open iTunes. Your computer should detect that the iPhone is in Recovery Mode and show a pop-up: “There is a problem with the iPhone that requires it to be updated or restored.”
  6. Choose “Restore.” Click the Restore button in the pop-up. This will download the latest iOS software for your iPhone and erase all content and settings. If the download takes a while, keep the iPhone connected and don’t unplug it.
  7. Wait for the restore to finish. The computer will erase the iPhone and install a fresh copy of iOS. The progress bar on the computer will show the status. When it’s done, the iPhone will restart and show the “Hello” setup screen.
  8. Set up as new or restore from a backup. If you were locked out, you’ll likely want to set up as new. If you have a backup, you can restore it, but note that the backup might contain the same passcode that locked you out. If you’re selling the device, leave it at the “Hello” screen and let the new owner set it up.
  9. Remove Activation Lock (if applicable). If the iPhone was linked to an Apple ID, you’ll be prompted to enter the Apple ID password during setup. If you know it, enter it. If you don’t, you’ll need to contact Apple Support with proof of purchase to have the lock removed.

Common Mistakes

  • Holding the wrong buttons: On iPhone 7/7 Plus, the Home button is not used for recovery mode (unlike older models). Using the Side + Volume Down is correct. Holding only the Side button will just turn it off or trigger SOS.
  • Releasing the buttons too early: If you let go when the Apple logo appears, the phone will boot normally and you’ll have to start over. Keep holding until you see the recovery mode screen.
  • Not updating iTunes/Finder: An outdated version may not recognize the device or may fail to download the correct iOS version.
  • Unplugging during restore: Interrupting the process can leave the iPhone in a partially restored state, possibly making it worse. Always keep it connected until the process completes.
  • Assuming the erase removes the Apple ID lock: Erasing does not remove Activation Lock. You still need the Apple ID password or proof of purchase.

Tips

  • Use a different cable if possible: A faulty cable can cause connection issues. Try another certified cable if the restore fails repeatedly.
  • If the iPhone is disabled for a long time: Recovery mode works regardless of the “iPhone is disabled” message, so you don’t need to wait for the timer.
  • Back up before you erase (if you can): If you have access to the iPhone (even partially), try to back up to iCloud or iTunes before erasing. However, if you’re locked out, this is usually not possible.
  • Check Find My iPhone status: If you plan to sell the device, make sure Activation Lock is off. You can check by going to iCloud.com/find and signing in with the Apple ID. If it’s still on, you must remove it before the new owner can use the phone.
  • Keep the phone charged: A dead battery during restore can cause issues. Plug it into a power source if the battery is low, but keep the USB connected to the computer.

Troubleshooting

  • iPhone not showing in Finder/iTunes: Make sure you’re actually in Recovery Mode (computer icon on screen). If not, repeat the button hold. Also, try a different USB port, and if on Windows, ensure Apple Mobile Device USB driver is installed (reinstall iTunes if needed).
  • Error 4013 or 4014: These errors often indicate a connection issue. Try a different cable, a different USB port, or restart the computer. If the problem persists, the iPhone may have a hardware issue.
  • Error 9 or 2005: These can occur if the iPhone disconnects during the restore. Check the cable and port, and try again. If the error repeats, try a different computer.
  • Restore gets stuck at “Waiting for iPhone”: Unplug the iPhone, restart the computer, and put the iPhone back into recovery mode, then try again.
  • iPhone boots to a black screen after restore: If the restore completes but the screen stays black, force restart: press and release Volume Up, then Volume Down, then hold the Side button until the Apple logo appears.
  • Activation Lock screen appears after restore: This means the iPhone is still linked to an Apple ID. If you know the credentials, enter them. If not, you must contact Apple Support with proof of purchase—there is no other way to bypass it legally.

Frequently Asked Questions

Will this erase all my data?

Yes, restoring via recovery mode completely wipes the iPhone’s storage, including photos, messages, apps, and settings. It installs a clean version of iOS.

Can I erase an iPhone 7 without a computer?

No, you need a computer with Finder or iTunes to restore a locked iPhone. There is no way to do it directly on the device if you’re locked out.

What if I don’t know the Apple ID password?

After the restore, you’ll be asked for the Apple ID password to activate the phone. If you don’t know it, you’ll need to provide proof of purchase to Apple Support to have the Activation Lock removed.

Will this remove the passcode?

Yes, erasing the iPhone removes the passcode. After the restore, you can set a new passcode during setup.

Can I use iCloud to erase a locked iPhone?

If Find My iPhone is enabled and you know your Apple ID credentials, you can use iCloud.com to erase the device remotely. This also removes the passcode, but you’ll still need the Apple ID password to activate it.

What if the iPhone is disabled for 15 minutes or longer?

Recovery mode works regardless of the disabled state. You can proceed with the steps above without waiting.

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 Everyday Math bed →