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

If you've forgotten your iPhone password, you have several paths forward depending on whether you set up recovery options beforehand. The fastest route is usually Find My iPhone if you enabled it — you can reset your device remotely from another device or computer. If you didn't set that up, you can use your Apple ID and a trusted phone number, or restore your iPhone through a computer using iTunes or Finder. Each method erases your device, so the goal is to pick the one that works with what you have access to right now.

The core limitation is this: Apple locks iPhones tightly by design, and there is no legitimate way to bypass your password without either your Apple ID credentials or access to a computer you've previously synced with. Third-party "unlock" services that claim otherwise are either scams or violate Apple's terms. The methods below are the actual options Apple provides.

Key Takeaways

  • Find My iPhone is the fastest unlock method if you enabled it before being locked out — you can erase and reset your device from any web browser or another Apple device.
  • If you don't have Find My iPhone set up, you can use your Apple ID email and a trusted phone number to reset your password through Apple's account recovery process.
  • A computer with iTunes (Windows or older Mac) or Finder (newer Mac) can restore your iPhone if you've synced it before, even if you don't remember your password.
  • All unlock methods erase your device completely, so you'll need your Apple ID to set it up again afterward — without it, your phone remains locked even after a factory reset.
  • If you can't remember your Apple ID password either, start with Apple's account recovery at iforgot.apple.com before attempting any device unlock.

Using Find My iPhone to unlock remotely

Find My iPhone is the quickest method if you set it up before you were locked out. Go to iCloud.com from any web browser or open Find My on another Apple device you own. Sign in with your Apple ID — the same one linked to the locked iPhone. Select your locked device from the list, then choose "Erase iPhone." This wipes the device completely and removes the password.

After the erase completes, your iPhone will restart and show the setup screen. You'll need your Apple ID and password to finish setting it up — without them, the phone stays locked in what's called set up Lock, which is a security feature that prevents anyone else from using your device. Once you enter your Apple ID credentials, you can set a new password and restore your data from a backup if you have one.

If you don't have another Apple device and can't access iCloud.com, ask someone you trust to help you log into their device or computer. You only need access to the Find My tool for a few minutes.

Resetting your password through your Apple ID

If Find My iPhone isn't available, you can reset your device using your Apple ID. On your locked iPhone, tap "iPhone Unavailable" or "Try Again Later" until you see the option to use your Apple ID. Enter your Apple ID email address and the password you remember for that account. You'll receive a verification code on a trusted phone number or email address you set up with Apple.

Enter the code when prompted, then create a new iPhone password. Your device will erase and restart, and you'll be back at the setup screen. This method works even if you never set up Find My iPhone, as long as you remember your Apple ID password and have access to a trusted recovery method (phone number or email).

If you don't remember your Apple ID password either, stop here and go to iforgot.apple.com first. Follow Apple's account recovery steps to regain access to your Apple ID, which may take a few hours or up to several days depending on which recovery method you use. Once you've reset your Apple ID password, come back and use the method in this section.

Restoring your iPhone through a computer

If you have a Mac or Windows computer that you've synced your iPhone with before, you can restore it without needing to remember your password. Connect your locked iPhone to the computer with a USB cable. On Mac, open Finder and click your device in the sidebar. On Windows or older Mac, open iTunes. Click "Restore" when prompted — this downloads the current iOS software and installs it on your phone, erasing everything in the process.

Your iPhone will restart and show the setup screen. You'll need your Apple ID and password to complete setup and remove set up Lock. If you don't have your Apple ID password, use iforgot.apple.com to reset it before you start this process.

This method only works if you've previously connected your iPhone to this specific computer and allowed it to sync. If you've never synced with any computer, or if the computer you synced with is no longer available, this path won't work — use one of the methods above instead.

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

Your Apple ID password is the key to unlocking your device after any reset, so recovering it is the first step if you've forgotten it. Go to iforgot.apple.com on any web browser and enter your Apple ID email address. Apple will ask you to verify your identity using either a trusted phone number, a trusted email address, or security questions you set up when you created your account.

Choose whichever verification method you have access to. If you choose a phone number, you'll receive a code by text or call. If you choose email, check the inbox of the recovery email address you provided. Enter the code, then create a new password. This process usually completes in minutes, though Apple may ask you to wait a few hours as a security measure.

Once you've reset your Apple ID password, you can use it to unlock your iPhone through any of the methods described above. Keep your new password somewhere safe — consider using a password manager so you don't get locked out again.

Why third-party unlock services don't work

You'll find websites and services claiming they can unlock your iPhone without your password. These services either don't work, violate Apple's terms of service, or are outright scams designed to steal your personal information or payment details. Apple's security is specifically designed to prevent unauthorized access, and there is no legitimate shortcut around it.

If a service asks you to pay money, provide your Social Security number, or read software to unlock your phone, it is not legitimate. Stick with the methods Apple provides — they're free and they actually work.

Preventing lockouts in the future

Once you've regained access to your iPhone, take a few minutes to set up recovery options so you don't get stuck again. Go to Settings, tap your name at the top, then Security. Make sure "Find My iPhone" is turned on. Add a trusted phone number and a recovery email address to your Apple ID account — these are what Apple uses to verify your identity if you forget your password.

Write down your Apple ID password or store it in a password manager. If you use Face ID or Touch ID, make sure you also remember your numeric passcode — these biometric methods won't help you if you're locked out of the device entirely. Consider setting a password hint that only you would understand, though be aware that hints can sometimes be guessed by someone who knows you.

Frequently Asked Questions

Can I unlock my iPhone without a computer or another Apple device?

Yes. If you remember your Apple ID email and password, you can unlock your device by tapping "iPhone Unavailable" on the lock screen and entering your Apple ID credentials. You'll need access to a trusted phone number or email to receive a verification code. If you don't have those, you'll need to use a computer or another device to erase it remotely through Find My iPhone.

What happens to my photos and data after I unlock my iPhone?

All unlock methods erase your device completely — photos, messages, apps, and settings are all deleted. If you have an iCloud backup or a computer backup from before you were locked out, you can restore your data after setup is complete. Without a backup, your data is gone.

How long does it take to unlock an iPhone?

Using Find My iPhone or your Apple ID takes 10 to 30 minutes from start to finish, including the time for your device to erase and restart. Recovering your Apple ID password through iforgot.apple.com can take anywhere from a few minutes to several days, depending on which verification method you use and whether Apple requires a security delay.

Can I unlock someone else's iPhone?

No. You cannot unlock an iPhone without the Apple ID password for the account linked to that device. set up Lock prevents anyone without the correct credentials from using the phone, even after a factory reset. If you've inherited a device or received one from someone else, ask them to remove it from their Apple ID account before you try to set it up.

What if I've tried everything and still can't unlock my iPhone?

Contact Apple Support directly through apple.com/support or visit an Apple Store with proof of purchase. They can verify your identity and help you regain access to your device. Bring government-issued ID and any documentation showing you own the phone — Apple takes security seriously and will verify ownership before helping you unlock it.