Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Reset Password iPhone X Locked: Step-by-Step Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If your iPhone X is locked and you've forgotten the passcode, the only official way to reset it is to erase the device, which removes the passcode and all data. You'll need a computer (Mac or Windows PC) with the latest version of Finder or iTunes, or you can use iCloud if Find My iPhone was enabled before the lock. This guide walks you through both methods. Note that this process deletes all data on the iPhone, so if you have a backup, you can restore it afterward.

What You'll Need

  • A computer with the latest version of Finder (macOS Catalina or later) or iTunes (Windows or older macOS).
  • A USB-to-Lightning cable that works with your iPhone X.
  • Your Apple ID and password, if you plan to restore from a backup or use iCloud.
  • Access to iCloud.com if you're using the iCloud method and Find My iPhone is enabled.

Step-by-Step

There are two official methods. Choose the one that matches your situation. Both erase the device and its passcode.

Method 1: Using a Computer (Finder or iTunes)

  1. On your computer, open Finder (macOS Catalina or later) or iTunes (Windows or older macOS). If you're using iTunes on Windows, make sure it's the latest version from Apple's website or the Microsoft Store.
  2. Connect your iPhone X to the computer using the USB cable.
  3. If your iPhone is not in recovery mode yet, you'll need to put it into recovery mode first. To do that, press and quickly release the Volume Up button, then press and quickly release the Volume Down button. Then press and hold the Side button (on the right edge) until the recovery mode screen appears (a computer icon and a Lightning cable). Keep holding the Side button even after the Apple logo appears—release only when you see the recovery mode screen.
  4. On your computer, a dialog should appear saying there's a problem with the iPhone and offering to Update or Restore. Click Restore. If you don't see this dialog, find your iPhone in the Finder sidebar (under Locations) or in iTunes (top-left device icon), then click Restore iPhone.
  5. Confirm that you want to restore. The computer will download the iOS software (this may take a while) and then erase your iPhone, removing the passcode.
  6. Once the restore finishes, your iPhone will restart and show the “Hello” setup screen. You can set it up as new or restore from a backup.

Method 2: Using iCloud (Find My iPhone)

This method only works if you had Find My iPhone enabled on the device before it got locked. It also requires that the iPhone is connected to Wi-Fi or cellular data.

  1. On a computer or another device, go to iCloud.com/find and sign in with your Apple ID.
  2. Click All Devices at the top, then select your iPhone X from the list.
  3. Click Erase iPhone. This will remotely erase the device and its passcode.
  4. After the erase completes, you can either set up the iPhone again or restore from a backup. If you have a backup, you'll be asked for your Apple ID and password during the setup process.

Common Mistakes

  • Not putting the iPhone into recovery mode correctly: The timing of button presses matters. If you hold the Side button too long, the iPhone may restart normally instead of entering recovery mode. Practice the sequence: Volume Up (quick press), Volume Down (quick press), then hold Side button until you see the recovery mode screen.
  • Using an outdated iTunes: Older iTunes versions may not recognize the iPhone X. Update iTunes to the latest version before starting.
  • Forgetting that iCloud erase requires Find My iPhone: If Find My iPhone wasn't enabled, the iCloud method won't work. You'll need to use the computer method.
  • Choosing “Update” instead of “Restore”: In the computer dialog, clicking “Update” will attempt to reinstall iOS without erasing, but it may not remove the passcode. You must click “Restore” to erase the device.

Tips

  • Before attempting any reset, check if you have a recent backup. If you have an iCloud backup or a computer backup, you can restore your data after the erase. Without a backup, all data is lost permanently.
  • Make sure your computer has enough free storage space for the iOS download (about 5–10 GB).
  • If your iPhone is disabled (shows “iPhone is disabled, try again in X minutes”), the recovery mode method still works—the restore will erase the device and remove the disabled state.
  • After the restore, when setting up the iPhone, you'll need your Apple ID and password. If you forgot those, you'll need to recover them via Apple's account recovery before you can use the device.

Troubleshooting

If the reset doesn't go as planned, try these in order:

  1. Restart your computer and iPhone: Sometimes a simple restart clears temporary glitches. Then try the recovery mode steps again.
  2. Try a different USB port or cable: A faulty cable can prevent the computer from detecting the iPhone. Use an Apple-certified cable and a USB port directly on your computer (not a hub).
  3. Check for software updates on your computer: Update macOS or Windows, and update iTunes (if on Windows).
  4. Force restart your iPhone: If recovery mode doesn't appear, press and release Volume Up, then Volume Down, then hold the Side button until you see the Apple logo, then release. After it restarts, try the recovery mode steps again.
  5. If the computer says “iPhone could not be restored” (error 4013 or similar): This often indicates a connection issue or a problem with the USB cable. Try a different cable, port, or computer. If it persists, contact Apple Support.
  6. If iCloud erase doesn't happen: Make sure your iPhone is connected to the internet (Wi-Fi or cellular). If it's not, the erase won't go through until it connects. Also verify that Find My iPhone is actually enabled—check in iCloud settings on another device or on iCloud.com.

Frequently Asked Questions

Will I lose all my photos and messages?

Yes, resetting via recovery mode or iCloud erase deletes all data on the iPhone. If you have a backup (iCloud or computer), you can restore that backup after the reset.

Can I reset the password without a computer?

Only if you have Find My iPhone enabled and the device is online—then you can use iCloud.com/find from any web browser. Otherwise, a computer is required.

What if I don't remember my Apple ID password?

You'll need to recover it through Apple's account recovery (iforgot.apple.com) before you can restore from a backup or use the device after the reset. The reset itself doesn't require the Apple ID password, but the initial setup does.

Does this work if my iPhone is disabled (e.g., “iPhone is unavailable”)?

Yes, the recovery mode method works even if the iPhone is disabled. The restore erases the device and removes the disabled state.

Can I use the same Apple ID after the reset?

Yes, you can use the same Apple ID, but you'll need to enter its password during setup. If you had Activation Lock enabled, you must enter the Apple ID and password that were used on the device to proceed.

How long does the reset take?

The computer method takes about 10–30 minutes, depending on your internet speed and the iOS download size. The iCloud erase can take a few minutes to start, but the actual erase happens on the device and may take 5–15 minutes.