The fastest way depends on what you remember and what device you have nearby
If you have forgotten your iPhone password, you have several paths forward. The method that works fastest depends on whether you can answer your security questions, whether you have access to a trusted device or phone number, and whether you have a computer. Apple does not have a master password or a way to bypass this remotely — the company built it this way intentionally. But you do not need to erase the phone to regain access if you have set up recovery options beforehand.
The most common working route is using your Apple ID and a trusted device. If you do not have either, you will need to erase the phone and set it up again. This takes longer but works regardless of what you remember.
Key Takeaways
- If you have a trusted device (another iPhone, iPad, or Mac), you can reset your password through iCloud without erasing anything.
- If you have access to the phone number or email tied to your Apple ID, you can verify your identity and create a new password.
- If you have none of these, you will need to erase the iPhone and set it up as new, which takes 30 minutes to an hour.
- Recovery mode (using a computer) erases the phone but is the most reliable method when you have no other options.
- You cannot unlock an iPhone without either your Apple ID credentials, a trusted device, or a willingness to erase it.
Using a trusted device to reset your password
If you have another iPhone, iPad, or Mac that you use with the same Apple ID, this is your fastest path. On that trusted device, open Settings (or System Settings on Mac) and tap your name at the top. Tap Password & Security, then Change Password. You will be asked to authenticate with Face ID, Touch ID, or your device password — use whichever one you know. Create a new password and confirm it.
Once you have changed your Apple ID password, go back to the locked iPhone. Tap "iPhone Unavailable" or the lock screen, then tap "Emergency SOS" or wait for the option to enter your Apple ID. Enter your Apple ID email and your new password. The phone will unlock and sync with your new password. You keep all your data — nothing is erased.
This method works because Apple trusts devices you have already authenticated on. The trusted device proves you own the account without needing to answer security questions or wait for email verification.
Resetting your password through iCloud.com
If you do not have a trusted device but you can access your email or phone number, you can reset your password through iCloud's website. Go to iCloud.com on any computer or phone and click "Forgot Apple ID or password?" Enter your Apple ID email address. Apple will send a verification code to your email or phone number — whichever one you set up as a recovery method.
Enter the code you received, then create a new password. Once you have done this, go to the locked iPhone and enter your Apple ID email and new password on the lock screen. The phone will unlock without erasing.
This method requires that you still have access to the email address or phone number you used when you created your Apple ID. If you have changed your phone number or no longer access that email, you will need to move to the recovery mode method.
Using recovery mode to erase and set up the iPhone
If you cannot access a trusted device, cannot reach your recovery email or phone number, and cannot answer your security questions, you will need to erase the iPhone. This erases all data on the phone, but it is the most reliable method when nothing else works. You will need a computer with a USB cable that fits your iPhone.
Connect the iPhone to the computer with the cable. On Mac, open Finder and click the iPhone in the sidebar. On Windows, open iTunes. Look for a button that says "Restore" or "Restore iPhone." Click it. Your computer will read the current iPhone software and erase the phone completely. This takes 10 to 20 minutes depending on your internet speed.
When the erase is complete, the iPhone will show the setup screen. You can set it up as a new phone or restore from a backup if you have one saved to iCloud or your computer. If you restore from a backup, you will restore your old password too — so only do this if you remember the password or want to go through this process again.
What to do if you do not have a computer
If you do not have access to a computer and cannot use a trusted device or email recovery, you have two options. First, you can visit an Apple Store or Apple Authorized Service Provider. Bring your ID and proof of purchase if you have it. They can verify your identity and help you erase and set up the phone. This usually takes 30 minutes to an hour and costs nothing if the phone is under warranty or if you own it outright.
Second, you can borrow a computer from a friend or family member, use a library computer, or visit an internet café. The recovery process works on any computer with internet access — it does not have to be your own. You will need to sign in with your Apple ID during setup, so make sure you have reset your password first through iCloud.com or a trusted device.
Preventing this from happening again
Once you have regained access to your iPhone, set up recovery options so you do not face this again. Go to Settings, tap your name, then Password & Security. Make sure you have a recovery email address and a recovery phone number listed. You can add both. If you have another Apple device, make sure it is signed in with the same Apple ID — that device becomes a trusted device automatically.
Consider using a password manager to store your Apple ID password somewhere you can retrieve it. Apps like iCloud Keychain (built into iPhone), 1Password, or Bitwarden store passwords securely and sync across devices. Write your Apple ID email address down and store it somewhere safe — you will need it if you ever lose your phone or forget your password again.
Frequently Asked Questions
Can I unlock my iPhone without erasing it if I do not have my Apple ID password?
Yes, if you have a trusted device or access to your recovery email or phone number. Both let you reset your Apple ID password without erasing the iPhone. If you have none of these, erasing is the only option.
What if I forgot my Apple ID email address too?
Go to iforgot.apple.com and enter your phone number or recovery email. Apple can help you find your Apple ID email. If you do not remember either of those, visit an Apple Store with your ID and proof of purchase — they can verify your identity and help you recover your account.
Will I lose my photos and messages if I erase the iPhone?
Yes, if you erase without a backup. If you have iCloud backup turned on, your photos, messages, and most app data are saved to iCloud. When you set up the phone again and sign in with your Apple ID, you can restore from that backup and get everything back.
How long does recovery mode take?
The erase itself takes 10 to 20 minutes depending on your internet speed. Setting up the phone as new takes another 10 to 15 minutes. Restoring from a backup can take 30 minutes to an hour depending on how much data you have.
Can Apple unlock my iPhone for me over the phone?
No. Apple will not unlock your iPhone remotely or over the phone, even if you prove your identity. They can only help you in person at a store or guide you through the recovery process yourself. This is a security feature to prevent theft.