You can regain access through your Apple ID, a trusted device, or recovery mode — the fastest route depends on what you have available right now

If you've forgotten your iPhone password, you have three main paths back in: use your Apple ID on the lock screen, sign in from a trusted device, or put the phone into recovery mode and erase it. Which one works depends on whether you remember your Apple ID password, whether you have another Apple device signed into the same account, and how much data you're willing to lose. None of these routes are when ready, but the first two preserve your data and take minutes to set up.

The critical thing to know upfront: Apple does not have a master password or a way to unlock your phone for you. If you can't remember your Apple ID password either, you'll need to reset that first through Apple's website before you can unlock your phone. If you don't have access to your Apple ID email address anymore, the process takes longer and may require identity verification.

Key Takeaways

  • If you remember your Apple ID password, you can unlock your iPhone directly from the lock screen by tapping "iPhone Unavailable" and entering your Apple ID credentials.
  • A trusted device — any Mac, iPad, or other iPhone signed into your Apple ID — can reset your password without erasing your phone, and this is usually the fastest option if you have one.
  • Recovery mode erases your entire phone but works even if you've forgotten both your iPhone password and your Apple ID password, as long as you can verify your identity afterward.
  • If you've forgotten your Apple ID password too, you must reset it at iforgot.apple.com or through the Find My app before attempting any unlock method.
  • Two-factor authentication on your Apple ID makes the process slower but more find — you'll need access to a trusted phone number or email address to proceed.

Unlocking with your Apple ID from the lock screen

This is the fastest method if you remember your Apple ID password. On your iPhone lock screen, tap the number pad or face recognition area until you see "iPhone Unavailable" appear. Below that, you'll see "Emergency SOS" on the left and "Emergency Call" on the right. Tap "Emergency SOS," then when ready tap "Cancel" — this brings up a second screen. Tap "Emergency SOS" again, then tap "Cancel" once more. On the third attempt, you should see an option to enter your Apple ID.

Enter your full Apple ID email address and the password associated with that account. If your Apple ID has two-factor authentication turned on (which is the default for most accounts created after 2016), you'll receive a verification code on a trusted device or phone number. Enter that code when prompted. Your iPhone will then ask if you want to erase the device or keep your data. Choose "Keep Data" to preserve your photos, messages, and apps. The process takes about five minutes total.

If this method doesn't work, it usually means either your Apple ID password is incorrect or your account has additional security measures in place. Try resetting your Apple ID password at iforgot.apple.com before attempting this again.

Using a trusted device to reset your password remotely

If you have a Mac, iPad, or another iPhone signed into the same Apple ID, you can use that device to reset your iPhone password without erasing anything. On your trusted device, open the Find My app (on Mac or iPad) or Settings > [Your Name] > Find My (on another iPhone). Look for your locked iPhone in the device list. Tap it, then select "Reset Password" or "Erase iPhone" — the exact wording varies by device, but you want the option that resets the password, not erases the phone.

You'll be asked to confirm your Apple ID password on the trusted device. Once you do, your iPhone will receive a reset command and you can set a new password when ready. This method preserves all your data and usually completes within a minute or two, making it the fastest option if you have a second Apple device available.

This method requires that both devices are connected to the internet and signed into the same Apple ID account. If your trusted device is offline or signed into a different Apple ID, this won't work.

Recovery mode: the option when you've forgotten everything

Recovery mode erases your iPhone completely but works even if you've forgotten both your iPhone password and your Apple ID password. To enter recovery mode, connect your iPhone to a computer with a USB cable. On the computer, open Finder (Mac) or iTunes (Windows). Your iPhone should appear in the sidebar or device list. Click it, then look for a button labeled "Restore" or "Restore iPhone." Click that button.

The computer will read the current iOS software and erase your phone, then reinstall a fresh copy of iOS. This takes 15 to 30 minutes depending on your internet speed and computer. When it's done, your iPhone will restart and show the setup screen, as if it's brand new out of the box.

At this point, you'll be asked to sign in with an Apple ID. If you don't remember your Apple ID password, you can reset it at iforgot.apple.com using your email address and a verification code sent to that email. Once you've reset your Apple ID password and signed in, you can restore your data from an iCloud backup if you have one. If you don't have a backup, your photos, messages, and apps are gone permanently.

What to do if you've also forgotten your Apple ID password

Your Apple ID password is separate from your iPhone password, and forgetting one doesn't automatically mean you've forgotten the other. But if you have forgotten both, you need to reset your Apple ID password first. Go to iforgot.apple.com on any computer or phone, enter your Apple ID email address, and follow the prompts.

Apple will send a verification code to your email address or to a trusted phone number associated with your account. Enter that code, then create a new password. This usually takes five to ten minutes. Once your Apple ID password is reset, you can use any of the methods above to regain access to your iPhone.

If you no longer have access to the email address or phone number associated with your Apple ID, the process is slower. Apple will ask you to answer security questions you set up when you created the account, or to provide a recovery key if you saved one. If you can't answer the security questions and don't have a recovery key, Apple may ask you to verify your identity using a government ID or other documentation. This verification can take several business days.

Preventing this from happening again

The best protection is a password manager — a program like 1Password, Bitwarden, or the built-in Keychain on Apple devices that stores your passwords encrypted and fills them in automatically. If you use a password manager, you only need to remember one strong master password, and the manager remembers everything else.

For your Apple ID specifically, turn on two-factor authentication if you haven't already. Go to Settings > [Your Name] > Password & Security > Two-Factor Authentication and toggle it on. This adds a security layer but also means you'll need access to a trusted device or phone number if you ever need to reset your password. It's a trade-off: slightly more inconvenient in a crisis, but much harder for someone else to break into your account.

Write down your Apple ID email address and store it somewhere safe — a physical notebook, a safe deposit box, or a password manager. You don't need to write down the password itself, but knowing your Apple ID email is essential if you ever need to reset anything.

Frequently Asked Questions

Can Apple unlock my iPhone for me if I prove who I am?

No. Apple does not unlock iPhones remotely, even with proof of identity. You must use one of the methods above — Apple ID, a trusted device, or recovery mode. This is intentional: it prevents thieves from calling Apple and claiming to be the owner.

Will I lose my photos and messages if I use recovery mode?

Yes, unless you have an iCloud backup. Before you erase, check Settings > [Your Name] > iCloud > iCloud Backup to see when your last backup was created. If it's recent, your photos, messages, and most apps will restore after you sign back in. If you don't have a backup, that data is permanently lost.

How long does it take to regain access?

Using a trusted device takes one to two minutes. Using your Apple ID from the lock screen takes about five minutes. Recovery mode takes 15 to 30 minutes for the erase and reinstall, plus additional time if you need to reset your Apple ID password first. If you've forgotten your Apple ID password and don't have access to your recovery email, add several business days for identity verification.

What if I don't have a trusted device or a computer to use recovery mode?

You can use any computer — a friend's, a family member's, or a public computer at a library. Connect your iPhone to that computer via USB cable and follow the recovery mode steps above. You don't need to own the computer; you just need temporary access to it.

Can I unlock my iPhone without my Apple ID?

No. Every unlock method requires either your Apple ID password, a trusted device signed into your Apple ID, or recovery mode followed by signing in with your Apple ID. This is a security feature designed to prevent theft. If your iPhone is stolen, the thief cannot access it without your Apple ID credentials.