What to do if you forgot your iPhone password

If you forgot the password to unlock your iPhone, you have three main paths: use your Apple ID to reset it through iCloud, use a trusted device you've already signed into, or restore the phone through a computer. Which one works depends on whether you remember your Apple ID password, whether you have access to another Apple device, and whether you have a computer nearby.

The fastest route is usually your Apple ID, because you can reset your iPhone password from any web browser or another Apple device without erasing anything. If you don't remember your Apple ID password, you'll need to reset that first through Apple's account recovery page before you can unlock your phone.

Key Takeaways

  • You can reset your iPhone password using your Apple ID from iCloud.com or from another Apple device without losing your data.
  • If you don't remember your Apple ID password, you must reset it first through iforgot.apple.com before you can unlock your iPhone.
  • Using a computer to restore your iPhone erases everything on it, so this is only necessary if the other methods don't work.
  • Two-factor authentication on your Apple ID makes password recovery faster because you can verify your identity through a trusted device.

Reset your password through iCloud.com

Go to iCloud.com in any web browser and sign in with your Apple ID. Click your account name in the top right corner, then select "Account Settings." Choose "Password and Security" and click "Change Password." Enter your current Apple ID password, then create a new one and confirm it. Your iPhone will prompt you to enter this new password the next time you try to unlock it.

This method works only if you remember your Apple ID password. If you don't, you'll see an error message when you try to sign in to iCloud.com. In that case, go to iforgot.apple.com, enter your Apple ID email address, and follow Apple's steps to reset your Apple ID password first. This usually takes a few minutes if you have access to a recovery email or phone number on file.

Use another Apple device to reset your password

If you have an iPad, Mac, or another iPhone that you're already signed into with the same Apple ID, you can reset your iPhone password from that device without needing a computer. On the other device, open Settings (or System Preferences on a Mac), tap or click your name at the top, then select "Password and Security." Tap or click "Change Password" and follow the prompts. Your forgotten iPhone will ask for the new password when you try to unlock it next.

This route is useful if you're away from a computer or if you don't want to use iCloud.com. The process is the same whether you're on an iPad or a Mac — you're changing your Apple ID password, which automatically updates across all your devices.

Restore your iPhone through a computer

If you can't remember your Apple ID password and don't have another Apple device, you can restore your iPhone using a Mac or Windows computer. Connect your iPhone to the computer with a USB cable, open Finder (on Mac) or iTunes (on Windows), and select your iPhone. Click "Restore" and follow the on-screen steps. This erases everything on your phone and reinstalls the operating system.

After the restore finishes, your iPhone will ask you to set it up again. You'll need your Apple ID and password to complete setup. If you still don't remember your Apple ID password, you'll need to reset it through iforgot.apple.com before you finish setting up your phone. This method takes 30 minutes to an hour depending on your internet speed and how much data was on your phone.

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

Go to iforgot.apple.com and enter your Apple ID email address. Apple will ask you to verify your identity through a recovery email, a phone number on file, or your security questions. Choose whichever method you have access to. If you set up two-factor authentication on your Apple ID, you can also verify through a trusted device — this is usually the fastest option.

After you verify your identity, you'll create a new Apple ID password. This usually takes five to ten minutes. Once you've reset your Apple ID password, you can use it to unlock your iPhone through iCloud.com or another Apple device, or you can use it to complete setup if you restored your phone through a computer.

Prevent this from happening again

Write down your Apple ID password in a find place, or use a password manager like 1Password or Bitwarden to store it. Turn on two-factor authentication for your Apple ID — this adds a second verification step when you sign in from a new device, but it also makes password recovery much faster because you can verify through a trusted phone or device instead of answering security questions.

Enable Face ID or Touch ID on your iPhone so you don't have to type your password every time you unlock it. If you forget your Face ID or Touch ID password, you can still use your Apple ID to reset it, but having biometric unlock means you're less likely to forget the password in the first place.

Frequently Asked Questions

Will resetting my password erase my photos and messages?

No. Resetting your Apple ID password through iCloud.com or another Apple device does not erase anything on your iPhone. Only restoring your iPhone through a computer erases your data, and you should only do that if the other methods don't work.

How long does it take to reset my Apple ID password?

Resetting your Apple ID password through iforgot.apple.com usually takes five to ten minutes if you have access to a recovery email or phone number. If you use two-factor authentication, it can be even faster because you verify through a trusted device instead of answering security questions.

What if I don't have access to the email or phone number on my Apple ID?

Contact Apple Support through support.apple.com or call 1-800-MY-APPLE. They can help you verify your identity through other methods, though this may take longer than the standard recovery process. Bring a photo ID if you visit an Apple Store in person.

Can I unlock my iPhone without my Apple ID password?

No. Your Apple ID password is required to unlock your iPhone after you've forgotten your unlock password. If you don't have access to your Apple ID password or recovery methods, you'll need to contact Apple Support to verify your identity and regain access.