What you can actually retrieve versus what you cannot

Your iPhone password — the one you use to unlock the device itself — cannot be retrieved because Apple does not store it anywhere, not even on their servers. Apple stores only a mathematical fingerprint of your password, called a hash. This design means Apple cannot hand you your password back, and neither can anyone else.

What you can do instead is reset that password to something new. The method depends on whether you remember your Apple ID password, whether you have access to a trusted device or phone number, and whether you set up recovery options when you first created your account.

If you are trying to recover a password you use for something else — like a banking app, email, or social media account stored on your iPhone — that is a different process and depends on each service's own recovery system.

Key Takeaways

  • Apple does not store your iPhone password and cannot retrieve it for you; you must reset it to a new one.
  • If you have access to a trusted device or the phone number linked to your Apple ID, you can reset your password through Apple's account recovery without visiting a store.
  • If you have no recovery options set up and cannot access a trusted device, you will need to visit an Apple Store with proof of purchase or identity.
  • Recovery time ranges from minutes (if you have a trusted device) to several days (if Apple must verify your identity through mail).
  • Passwords for apps and accounts stored on your iPhone are separate from your device password and must be recovered through each service's own system.

Resetting your password if you have a trusted device

A trusted device is any iPhone, iPad, or Mac that you have already signed into with your Apple ID. If you have one, this is the fastest route.

On your trusted device, go to Settings, tap your name at the top, then tap Password & Security. Choose Change Password. You will be asked to enter your current device passcode (not your Apple ID password), then create a new Apple ID password. Once you confirm it, the new password works on all your devices, including the locked iPhone.

Go back to the locked iPhone and try signing in with your new password. If the phone asks for your Apple ID password during setup or after a restart, use the new one you just created.

Resetting your password using your phone number or email

If you do not have a trusted device but you still have access to the phone number or email address linked to your Apple ID, you can reset your password through iforgot.apple.com or by visiting Settings on any device and choosing Forgot Password.

Enter your Apple ID (usually your email address). Apple will ask whether you want to receive a reset code by text message or email. Choose the method you can actually access right now. You will receive a six-digit code within a few minutes.

Enter that code on the same page, then create a new password. Write it down or save it somewhere safe before you close the page. Once the reset is complete, use this new password to sign back into your locked iPhone.

What to do if you have no recovery options

If you cannot access a trusted device, do not remember the phone number or email linked to your account, and cannot receive recovery codes, you will need to prove your identity to Apple directly. This requires a visit to an Apple Store or an authorized service provider.

Bring a government-issued ID (driver's license, passport, or state ID) and proof of purchase for the iPhone if you have it — a receipt, credit card statement, or order confirmation. If you do not have proof of purchase, bring any documentation that shows your name and the device's serial number.

Apple will verify your identity, confirm you own the device, and help you reset your password. This process usually takes 30 minutes to an hour in-store. If Apple cannot verify your identity on the spot, they may need to mail you a verification code, which adds several days.

Recovering passwords for apps and accounts on your iPhone

If you are locked out of an app — email, banking, social media, or anything else — that password is separate from your iPhone password and must be recovered through that service's own system.

On any device with internet access, visit the service's website and look for a "Forgot Password" or "Sign In Help" link. Enter your username or email address. The service will send you a reset code or a link to create a new password. Follow those instructions, then use your new password to sign back into the app on your iPhone.

If the app requires two-factor authentication (a code sent to your phone or email), make sure you can still receive those codes. If you cannot, contact the service's support team before trying to reset your password.

Preventing this from happening again

Set up recovery options now, while you still have access to your account. Go to Settings, tap your name, then Password & Security. Add a trusted phone number and a recovery email address. If you have multiple devices, sign into your Apple ID on at least one of them so it becomes a trusted device.

Write your Apple ID password in a password manager like 1Password, Bitwarden, or the built-in iCloud Keychain. Do not write it on paper and leave it in a drawer — a password manager is encrypted and accessible from anywhere. If you use Face ID or Touch ID to unlock your iPhone, you still need to remember your Apple ID password for account recovery situations like this one.

For apps and accounts, use your password manager to store those passwords too. Most password managers can generate strong, unique passwords for each service, which means you only have to remember one master password.

Frequently Asked Questions

Can I reset my iPhone password without my Apple ID password?

Yes. If you have a trusted device, you can reset your Apple ID password from that device without entering your old password. If you do not have a trusted device, you can reset through your phone number or email recovery option, or by visiting an Apple Store with proof of identity.

How long does it take to reset my password?

If you have a trusted device or access to your recovery phone number or email, reset takes 5 to 15 minutes. If you must visit an Apple Store, plan for 30 minutes to an hour. If Apple needs to verify your identity by mail, add 3 to 5 business days.

What if I do not have proof of purchase?

Bring your government ID and any document showing your name and the iPhone's serial number — a warranty card, insurance paperwork, or the original box. Apple can look up your account history if you signed in during setup. If you still cannot prove ownership, Apple may not be able to help you.

Will resetting my password erase my data?

No. Resetting your Apple ID password does not erase anything on your phone. Your photos, messages, and apps stay exactly where they are. You are only changing the password you use to sign into your Apple account.

What if someone else has my iPhone and I want to lock them out?

Use Find My iPhone from iCloud.com or another device to remotely lock or erase the phone. Sign in with your Apple ID, select the device, and choose Lock or Erase. This works even if the person has changed your Apple ID password, as long as you still have access to your Apple ID account.