What you can do if you're locked out of your iPhone

If you've forgotten your passcode or Face ID won't work, you have a few paths forward. Apple built recovery options into every iPhone so you're not permanently locked out, but the route you take depends on whether you have access to another Apple device, your Apple ID email, or a phone number linked to your account. None of these methods require a computer anymore — Apple added web-based recovery tools specifically so you can work from your iPhone itself or any other device with a browser.

The catch is that resetting your iPhone erases everything on it. Your photos, messages, apps, and settings all get wiped. If you have a backup stored in iCloud, you can restore from it after the reset is complete. If you don't have a backup, the data is gone.

Key Takeaways

  • You can reset a locked iPhone using iCloud's Find My iPhone feature from any web browser, without needing your password or a computer.
  • If you have another Apple device (iPad, Mac, another iPhone), you can use the Find My app to erase your locked iPhone remotely.
  • Apple's web recovery tool at iCloud.com works from any browser and lets you reset your iPhone if you remember your Apple ID and password.
  • After a reset, you'll need your Apple ID and password to set up the iPhone again — Apple's security system prevents anyone else from using a reset device without the original account credentials.
  • If you don't remember your Apple ID password, you can reset it through the Apple ID website before attempting to reset your iPhone.

Using iCloud.com to erase your iPhone from any browser

Go to iCloud.com in any web browser on any device — your iPad, a friend's computer, even another phone. Sign in with your Apple ID and password. If you don't remember your Apple ID password, you'll need to reset it first at iforgot.apple.com, which takes a few minutes.

Once you're logged into iCloud.com, click "Find My" (it may appear as "Find My iPhone" depending on your iOS version). Select "Find My iPhone" from the menu. You'll see a list of all devices linked to your Apple ID. Tap the iPhone you want to reset. A panel will open on the right side showing options. Select "Erase This Device" and confirm. The iPhone will begin erasing when ready if it's powered on and connected to the internet. If it's offline, the erase command will execute the next time it connects.

After the erase completes, your iPhone will show the setup screen. You'll be asked to sign in with your Apple ID — this is Apple's security measure to prevent someone else from using a reset device. Once you enter your Apple ID and password, you can set up the iPhone as new or restore from an iCloud backup if you have one.

Using Find My app on another Apple device

If you have an iPad, Mac, or another iPhone, the Find My app is faster than using a web browser. Open Find My on the other device and sign in with the same Apple ID. Tap "Devices" at the bottom of the screen. Select the locked iPhone from the list. Tap "Erase This Device" and confirm.

The process works the same way as the web method — the erase command sends to your iPhone and executes when the device is online. You don't need to be physically near the iPhone. After it erases, you'll set it up again using your Apple ID credentials.

What to do if you don't remember your Apple ID password

Before you can use iCloud.com or Find My to reset your iPhone, you need to know your Apple ID password. If you've forgotten it, go to iforgot.apple.com on any device with a browser. Enter your Apple ID (usually your email address) and follow the prompts. Apple will ask you to verify your identity — you can do this by answering security questions you set up when you created your account, or by receiving a verification code on a trusted phone number or email address you registered with Apple.

Once you've verified your identity, you can create a new password. Write it down or save it somewhere safe before you proceed with resetting your iPhone. You'll need it to sign back in after the reset.

If your iPhone is powered off or offline

An iPhone that's turned off or has no internet connection won't erase when ready. When you send an erase command through iCloud.com or Find My, Apple queues the command. The next time your iPhone powers on and connects to Wi-Fi or cellular data, it will erase itself automatically. You don't need to do anything else — just wait for the device to come online.

This can take hours or days depending on when the iPhone is next powered on. If you need the reset to happen faster, try turning the device on yourself if you have physical access to it. If the iPhone is lost or you don't have access to it, the erase will happen whenever someone powers it on.

Restoring from a backup after the reset

Once your iPhone finishes erasing and you sign in with your Apple ID, you'll reach the setup screen. One of the first options is "Restore from iCloud Backup." If you have a backup stored in iCloud, select this option and choose which backup to restore from. The iPhone will read your photos, messages, apps, and settings from that backup.

Backups are created automatically if you have iCloud Backup turned on in your iPhone's settings. You can check whether you have a backup by going to iCloud.com, signing in, and looking at your account storage. If you don't see a recent backup listed, you may not have one — in that case, you'll need to set up the iPhone as new and reinstall apps manually.

When to contact Apple Support

If you don't remember your Apple ID, don't have access to a recovery email or phone number, or can't verify your identity through Apple's security questions, you'll need to contact Apple Support. They can help you regain access to your account, though the process takes longer than self-service recovery. Call Apple at 1-800-MY-APPLE or start a chat at support.apple.com.

If your iPhone is stolen and you've already erased it through Find My, there's nothing more you need to do from a security standpoint — the device is locked to your Apple ID and cannot be set up without your credentials. If you want to help recover the device itself, you can report it to local police and provide them with the serial number, which you can find on your original receipt or in your Apple ID account settings under "Devices."

Frequently Asked Questions

Do I need a computer to reset my iPhone?

No. You can reset your iPhone using iCloud.com from any device with a web browser, including another phone or tablet. If you have another Apple device, the Find My app is even faster. Both methods work without a computer.

Will I lose all my photos and messages?

Yes, a reset erases everything on the iPhone. However, if you have iCloud Backup turned on, your photos, messages, and most app data are stored in iCloud and can be restored after the reset. If you don't have a backup, the data cannot be recovered.

What happens after I reset my iPhone?

Your iPhone will show the setup screen and ask you to sign in with your Apple ID. You cannot skip this step — it's Apple's security feature. Once you sign in, you can set up the iPhone as new or restore from an iCloud backup if you have one.

Can someone else reset my iPhone if they know my Apple ID?

They can send an erase command, but they cannot set up the iPhone afterward without your Apple ID password. After the reset, the device is locked to your account and requires your credentials to proceed. This is why keeping your Apple ID password find is important.

How long does it take to reset an iPhone?

The erase process itself takes a few minutes if the iPhone is powered on and online. If the iPhone is offline, the command executes the next time it connects to the internet. Restoring from a backup afterward can take anywhere from a few minutes to an hour, depending on how much data you have and your internet speed.