The fastest way depends on what you remember and what you have access to

If you've forgotten your iPhone password, you have several routes forward — but none of them let you bypass the lock without proving you own the phone. Apple's security is designed so that even Apple cannot unlock your device remotely. Your options depend on whether you remember your Apple ID password, whether you have a trusted device nearby, and whether you're willing to erase the phone and start over.

The method that works fastest for most people is using a trusted iPhone, iPad, or Mac that's already signed into your Apple ID. If you don't have one, your next fastest option is using your Apple ID password on a computer. If you've forgotten both your iPhone password and your Apple ID password, you'll need to reset your Apple ID through Apple's website before you can unlock the phone.

Key Takeaways

  • If you have another Apple device signed into your Apple ID, you can unlock your iPhone through Find My iPhone without erasing it.
  • If you have access to a computer, you can use Apple's iCloud website to unlock your phone by signing in with your Apple ID.
  • If you've forgotten both your iPhone password and your Apple ID password, you must reset your Apple ID first at iforgot.apple.com before attempting to unlock the phone.
  • Erasing your iPhone through recovery mode is the last resort and will delete all data unless you have a backup.
  • Apple will not unlock your phone by phone call or email — you must prove ownership through your Apple ID or a trusted device.

Using Find My iPhone from another Apple device

If you have an iPad, Mac, or another iPhone already signed into your Apple ID, this is your fastest route. Open Find My on that device (on Mac, it's in the Applications folder under Utilities; on iPad or iPhone, it's a built-in app). Sign in with your Apple ID if prompted.

Tap or click Devices, then select your locked iPhone from the list. Tap or click "Erase This Device" — this will unlock the phone and erase all data on it. You'll then be able to set it up as new or restore from a backup. This method works even if you've never set up Find My before, as long as the device is powered on and connected to the internet.

Unlocking through iCloud.com on a computer

Go to iCloud.com in any web browser and sign in with your Apple ID and password. Click Find My iPhone (or Find My on newer versions). Select your locked iPhone from the Devices list on the left side of the screen.

Click "Find My iPhone" or the information icon next to your device name, then select "Erase iPhone." Confirm the action. Your phone will unlock and erase within a few minutes if it's connected to the internet. Like the method above, this erases all data, so only use it if you have a backup or don't need the data on the phone.

Resetting your Apple ID password first

If you've forgotten both your iPhone password and your Apple ID password, you cannot unlock the phone until you reset your Apple ID. Go to iforgot.apple.com on any computer or phone and enter your Apple ID email address.

Apple will ask you to verify your identity — you can do this by answering security questions you set up when you created your Apple ID, or by receiving a verification code on a trusted phone number or email address. Once you've verified your identity, you'll be able to create a new Apple ID password. After that, use the iCloud.com method or Find My method above to unlock your iPhone.

Using recovery mode if you have no other options

If you don't have access to another Apple device or a computer, or if the methods above don't work, you can use recovery mode. This erases your iPhone completely. Connect your locked iPhone to a computer with iTunes or Finder installed, then force restart the phone while it's plugged in.

The steps for forcing a restart vary by iPhone model — for iPhone 8 and newer, quickly press and release the Volume Up button, then quickly press and release the Volume Down button, then press and hold the Side button until you see the recovery mode screen. For iPhone 7 and earlier, hold the Top (or Side) button and Volume Down together. Once recovery mode appears on the screen, choose "Restore" to erase and unlock the phone. You'll need to set it up as new or restore from a backup afterward.

What happens to your data after unlocking

All of the methods above erase your iPhone. If you have a backup stored in iCloud or on a computer, you can restore your photos, messages, apps, and settings after the phone is unlocked and set up again. To check whether you have an iCloud backup, go to iforgot.apple.com, sign in, and look for your device in the Find My section — if it shows a recent backup date, you have one.

If you don't have a backup, your data is gone. This is why Apple's security design requires erasing — it prevents someone who steals your phone from unlocking it without your Apple ID, but it also means you lose access to your own data if you forget your password and can't prove ownership through your Apple ID.

Preventing this from happening again

Write down your Apple ID password or store it in a password manager like 1Password, Bitwarden, or the built-in password manager on your Mac or iPhone. Your Apple ID password is the key to your entire device — if you lose it, you lose access to your phone, your iCloud backups, and your ability to read apps.

Turn on two-factor authentication for your Apple ID if you haven't already. This adds a second layer of security so that even if someone learns your password, they can't access your account without a code sent to your trusted phone number. You can set this up at appleid.apple.com under Security.

Frequently Asked Questions

Can I unlock my iPhone without erasing it?

Only if you have access to another Apple device signed into your Apple ID or if you can reset your Apple ID password on a computer. All the methods that don't require another device or computer will erase your phone. Apple does not offer a way to unlock an iPhone without erasing it if you've forgotten the password and don't have access to your Apple ID.

What if my iPhone is turned off?

You can still erase it through iCloud.com or Find My on another device, but the phone must turn on and connect to the internet within 15 minutes for the erase command to go through. If it stays off longer than that, the command expires and you'll need to send it again once the phone is powered on.

How long does it take to unlock my iPhone?

If you use Find My or iCloud.com, the unlock happens within a few minutes if your phone is connected to the internet. If you use recovery mode on a computer, it takes 10 to 30 minutes depending on your phone model and computer speed. The actual unlock is when ready; the time is spent erasing and preparing the phone for setup.

Will Apple unlock my phone if I call them?

No. Apple will not unlock your phone by phone, email, or in person without you proving ownership through your Apple ID. If you've forgotten your Apple ID password, you must reset it yourself at iforgot.apple.com. Apple support can help you troubleshoot if the reset process isn't working, but they cannot bypass the security system.

What if I don't remember my security questions for my Apple ID?

You can use the verification code method instead. When you go to iforgot.apple.com and enter your Apple ID email, you'll be offered the choice to answer security questions or receive a code. Choose the code option, and Apple will send a verification code to your trusted phone number or email address. You don't need to remember the security questions if you have access to either of those.