The fastest way back in: use a trusted device or phone number
If you have another Apple device signed into the same iCloud account — an iPad, Mac, or Apple Watch — that device can reset your iPhone password without erasing anything. Open Settings on the trusted device, tap your name at the top, then tap Password & Security. Select Change Password and follow the prompts. Your iPhone will ask you to enter the new password the next time you try to unlock it.
If you don't have a second device, you can use a phone number or email address you registered with your Apple ID. On your locked iPhone, tap "iPhone Unavailable" at the bottom of the screen, then tap "Try After [time]" when it appears. Keep tapping until you see "Emergency SOS" or "Reset iPhone" — the exact wording depends on your iOS version. Tap that option, then choose to reset using your phone number or recovery email. Apple will send a code to verify your identity, and you can set a new password without losing your data.
Key Takeaways
- A second Apple device on your account can reset your password in Settings without erasing your iPhone.
- If you don't have another device, use your recovery phone number or email to verify your identity and create a new password.
- Using Find My iPhone on iCloud.com will erase your phone but lets you set a new password if you have no other option.
- Recovery mode through a computer erases your iPhone but works if you have no recovery contact information on file.
- After regaining access, turn on two-factor authentication to prevent this from happening again.
Using your recovery email or phone number on the locked screen
When you tap repeatedly on "Try After" during a failed unlock attempt, your iPhone eventually shows an option to reset using your recovery information. This is the method that works for most people who have no second device. Tap the option for "Reset Using [Your Email]" or "Reset Using [Your Phone Number]" — whichever one you see.
Apple will send a six-digit code to that email or phone number. Enter the code on your iPhone, then create a new password. You do not need to know your old password. Your data stays on the phone, and you regain access within minutes. This method only works if you set up a recovery email or phone number when you created your Apple ID — if you skipped that step, you will need to use one of the other methods below.
Resetting through iCloud.com if you have computer access
Go to iCloud.com from any computer or phone, sign in with your Apple ID, and open Find My. Select your iPhone from the list of devices. Tap "Find My iPhone" at the top, then choose your phone and select "Erase iPhone." This wipes your phone completely but lets you set a new password during the setup process that follows.
After the erase completes, your iPhone will restart and show the setup screen. You can sign back in with your Apple ID and the new password you create. If you have a backup in iCloud, you can restore your photos, messages, and apps after setup finishes. This method erases everything on the phone itself, but your data in iCloud remains safe and can be restored.
Using recovery mode on a Mac or Windows computer
Connect your iPhone to a computer with a USB cable. On a Mac, open Finder and click your iPhone in the sidebar. On Windows, open iTunes. Both will detect that your iPhone is locked and offer to restore it. Click Restore, and the computer will read the current iOS version and reinstall it on your phone.
This process erases your iPhone completely. When it restarts, you will see the setup screen and can sign in with your Apple ID and create a new password. If you have an iCloud backup, you can restore your data after setup. Recovery mode is slower than Find My iPhone but works the same way — it erases the phone to let you regain access. Use this method only if you cannot reach iCloud.com or do not have a recovery email or phone number on file.
What happens if you have no recovery information and no computer
If your iPhone has no recovery email, no recovery phone number, and you have no access to a computer or second device, you will need to contact Apple Support. They can verify your identity using your original purchase information, proof of ownership, or other account details. This process takes longer than the methods above — sometimes several days — but it is the only path forward in this situation.
To avoid this in the future, add a recovery email and phone number to your Apple ID now, even if you regain access through another method. Go to Settings, tap your name, then Password & Security. Tap Recovery Email or Recovery Phone Number and add the information. This takes two minutes and prevents you from being locked out completely.
Turning on two-factor authentication after you regain access
Once you are back in your iPhone, set up two-factor authentication so a forgotten password is less likely to lock you out again. Go to Settings, tap your name, then Password & Security. Tap Two-Factor Authentication and turn it on. This adds a security layer that requires a code from a trusted device when you sign in to your account from a new location.
Two-factor authentication also makes it harder for someone else to reset your password if they know your Apple ID but not your password. You will receive a notification on your trusted devices asking you to approve the password change, and you can deny it if it was not you. This is the strongest protection available for your account.
Frequently Asked Questions
Will I lose my photos and messages if I reset my password?
Not if you use a trusted device or your recovery email or phone number. Both methods reset your password without erasing anything. Only the Find My iPhone and recovery mode methods erase your phone, and both let you restore from an iCloud backup afterward.
How long does it take to regain access?
Using a trusted device or recovery contact takes minutes. Find My iPhone and recovery mode take 30 minutes to an hour because the phone has to erase and reinstall iOS. Contacting Apple Support can take several days depending on how busy they are and how quickly you can provide proof of ownership.
What if I never set up a recovery email or phone number?
You can still use Find My iPhone if you have access to iCloud.com, or recovery mode if you have a computer. If you have neither, contact Apple Support with your original purchase receipt or proof of ownership. They can verify your identity and help you regain access, though it takes longer.
Can I reset my password without erasing my iPhone?
Yes, if you have a second Apple device on your account, a recovery email, or a recovery phone number. All three methods let you create a new password without losing data. Only Find My iPhone and recovery mode require an erase.
Do I need to know my old password to create a new one?
No. Any of these methods let you set a new password without knowing the old one. You only need to prove your identity using a trusted device, recovery contact, or purchase information.