You cannot recover a password you have forgotten, but you can reset it

If you have forgotten the password to your iPhone, Apple does not have a way to retrieve it. Passwords are encrypted on your device, which means Apple's servers do not store them in a readable form. Instead, you will need to reset your iPhone, which erases the device and lets you set a new password. The reset process differs depending on whether you remember your Apple ID password, whether you have a trusted device nearby, or whether you have a computer available.

The fastest path depends on what information you still have access to. If you know your Apple ID password, you can reset your iPhone in minutes using iCloud.com from any computer or another device. If you do not have that password either, you will need either a trusted device (like an iPad or Mac you have used before) or access to the phone number or email address linked to your Apple ID.

Key Takeaways

  • You cannot recover a forgotten iPhone password — you must reset your device, which erases everything on it unless you have a backup.
  • If you know your Apple ID password, go to iCloud.com from any computer, find your iPhone, and select "Erase iPhone" to reset it remotely.
  • If you do not know your Apple ID password, you can reset it using a trusted device or the phone number or email address on your account.
  • After your iPhone resets, you can restore your photos, messages, and apps from a backup if you have one saved to iCloud or a computer.
  • If you do not have access to your Apple ID, a trusted device, or your recovery email or phone number, you will need to contact Apple Support or visit an Apple Store.

Reset your iPhone using iCloud if you know your Apple ID password

Go to iCloud.com on any computer or another device and sign in with your Apple ID and password. Click "Find My" in the app launcher (the grid icon in the top right). Select "Devices" at the top of the page, then click your iPhone in the list.

Click "Erase iPhone" at the bottom of the device details. Confirm that you want to erase it. Your iPhone will reset within a few minutes, and you will see a setup screen when you turn it back on. You can then create a new password and restore your data from an iCloud backup if you have one.

Reset your iPhone using a trusted device if you do not know your Apple ID password

A trusted device is an iPad, Mac, or iPhone that you have already signed into with your Apple ID. If you have one, you can use it to reset your password without needing a computer.

On your trusted device, open Settings and tap your name at the top. Tap "Password & Security," then "Change Password." Follow the prompts to create a new Apple ID password. Once you have set a new password, go to iCloud.com on any computer and follow the steps above to erase your iPhone remotely.

If your trusted device is a Mac, open System Settings, click your name at the top of the sidebar, click "Password & Security," and then click "Change Password." The process is the same from there.

Reset your Apple ID password using your recovery email or phone number

If you do not have a trusted device, you can reset your Apple ID password at iforgot.apple.com. Enter your Apple ID (usually your email address), then choose whether you want to reset it using your recovery email address or your recovery phone number.

If you choose email, Apple will send a link to the email address on file. Click the link and follow the prompts to set a new password. If you choose your phone number, Apple will send a code to that number via text or call. Enter the code on the iforgot.apple.com page and then create a new password.

Once your Apple ID password is reset, sign into iCloud.com and use Find My to erase your iPhone as described above.

What happens to your data when you reset your iPhone

Resetting your iPhone erases everything stored on the device itself — your photos, messages, contacts, and apps all disappear. However, if you have been backing up to iCloud, you can restore most of that data after you set up your iPhone again.

During setup, you will see an option to "Restore from iCloud Backup." Sign in with your Apple ID and choose the most recent backup. Your photos, messages, contacts, and most apps will return to your iPhone. Apps you downloaded from the App Store will reinstall automatically; apps you sideloaded or installed outside the App Store will not restore and must be reinstalled manually.

If you have a backup on a Mac or Windows computer from iTunes or Finder, you can also restore from that backup by connecting your iPhone to the computer after setup and choosing "Restore Backup" in Finder (Mac) or iTunes (Windows).

If you cannot access your Apple ID, a trusted device, or your recovery information

If you do not know your Apple ID password, do not have a trusted device, and cannot access the email address or phone number on your account, you will need to contact Apple Support or visit an Apple Store in person. Bring a photo ID and proof of purchase if you have it.

Apple can verify your identity and help you regain access to your account. This process can take several days, so plan accordingly. You may also be asked to answer security questions you set up when you created your Apple ID.

How to avoid this situation in the future

Write down your Apple ID password and store it somewhere safe — a password manager, a locked drawer, or a trusted person. Your Apple ID password is the key to resetting your iPhone, so losing it makes recovery much harder.

Turn on iCloud backups so your data is saved automatically. Go to Settings, tap your name, tap "iCloud," then "iCloud Backup," and toggle it on. Your iPhone will back up every night when it is plugged in and connected to Wi-Fi. If you ever need to reset your device, you will be able to restore everything.

Consider using Face ID or Touch ID instead of a numeric passcode if you find yourself forgetting it often. You can still set a numeric passcode as a backup, but biometric authentication is harder to forget.

Frequently Asked Questions

Can Apple tell me what my iPhone password is?

No. Apple does not store your iPhone password in a way that anyone, including Apple employees, can read it. Your password is encrypted on your device only. If you forget it, the only option is to reset your iPhone.

Will resetting my iPhone delete my photos and messages?

Yes, resetting erases everything on your device. However, if you have iCloud backup turned on, you can restore your photos, messages, and most other data after you set up your iPhone again. If you do not have a backup, that data is gone.

How long does it take to reset an iPhone?

If you use iCloud.com to erase your iPhone remotely, the reset usually completes within a few minutes. If you reset it in person by holding the power button and volume button, it takes about 15 minutes. Restoring from a backup can take 30 minutes to several hours depending on how much data you have.

What if I reset my iPhone but still cannot remember my Apple ID password?

During setup, you will be asked to sign into your Apple ID. If you cannot remember the password, tap "Forgot password or don't have an Apple ID?" and follow the prompts to reset it using your recovery email or phone number, or use a trusted device.

Can I reset my iPhone without erasing it?

No. If you have forgotten your iPhone password, the only way to regain access is to erase the device. There is no way to bypass or recover the password without erasing.