You need Apple ID credentials or a trusted device to regain access
If you've forgotten your iPhone password, you cannot unlock it by guessing or bypassing the lock screen on your own. Apple's security system is designed to prevent that — even Apple cannot unlock your phone without proof you own it. Your path forward depends on what you have access to right now: your Apple ID password, a trusted device, or your recovery key.
The fastest route is usually a trusted device — a Mac, iPad, or another iPhone you've already signed into with the same Apple ID. If you don't have one, you'll need to use your Apple ID password and answer security questions, or use a recovery key if you saved one when you set up two-factor authentication.
Key Takeaways
- A trusted device (Mac, iPad, or another iPhone) is the fastest way to reset your password without losing data.
- If you don't have a trusted device, you'll need your Apple ID password and the answers to your security questions.
- A recovery key (a 28-character code you may have saved during setup) can reset your account if you've lost access to your security questions.
- If you have none of these, you'll need to contact Apple Support with proof of purchase or identity to verify ownership.
- Any method that resets your password will erase your iPhone unless you have a backup you can restore from afterward.
Using a trusted device to reset your password
A trusted device is any Mac, iPad, or iPhone you've already signed into with your Apple ID. On that device, open Settings (or System Preferences on a Mac), tap your name at the top, then tap Password & Security. Select Change Password and follow the prompts. Your iPhone will receive a notification that your password has changed, and you can then use the new password to unlock it.
This method keeps your data intact — you won't lose photos, messages, or apps. The trade-off is that you must have physical access to another Apple device you've already logged into. If you share a device with someone else, make sure you're using your own Apple ID account on it, not a shared one.
Resetting your password using Apple ID and security questions
Go to iforgot.apple.com on any computer or another phone. Enter your Apple ID (usually your email address), then select "I forgot my password." Apple will ask you to verify your identity by answering the security questions you set up when you created your account. These are questions like "What was the name of your first pet?" or "In what city were you born?" — questions only you should know the answer to.
If you answer correctly, you can create a new password right there. Once you've set it, return to your locked iPhone and enter the new password on the lock screen. This method also preserves your data, but it requires you to remember the answers to your security questions accurately. If you can't remember them, you'll need to move to the next option.
Using your recovery key if you have one
When you first set up two-factor authentication on your Apple ID, Apple gave you a 28-character recovery key — a string of letters and numbers that looks like ABCD-EFGH-IJKL-MNOP-QRST-UVWX-YZ12. If you saved this code (many people write it down or store it in a password manager), you can use it to reset your account without answering security questions.
Go to iforgot.apple.com, enter your Apple ID, and select "I forgot my password." When asked how you want to verify your identity, choose the recovery key option and enter the code. You can then create a new password. This is the most reliable method if you've lost access to your security questions or don't remember the answers.
What happens when you reset your password
Resetting your Apple ID password does not automatically erase your iPhone — that's a common misconception. However, your phone will ask you to sign in again with your new password. Once you do, your data remains on the device.
The risk comes if you've enabled Find My iPhone (part of Find My on newer phones). If Find My is turned on and you can't remember your Apple ID password, Apple's security system may require you to erase the phone and set it up as new before you can use it again. This is a theft-prevention feature. If you do have to erase it, you can restore your data from an iCloud backup or a computer backup afterward — but only if you have one saved.
Contacting Apple Support if you're locked out completely
If you don't have a trusted device, can't remember your security question answers, don't have your recovery key, and can't access your Apple ID password, you'll need to verify your identity with Apple directly. Call Apple Support at 1-800-MY-APPLE or visit an Apple Store with proof of purchase (your receipt or credit card statement) or a government ID.
Apple will verify that you own the device and the account, then help you regain access. This process can take longer than the self-service options — sometimes several days — because Apple has to confirm your identity through multiple channels. Bring any documentation you have: the original receipt, the email address associated with your Apple ID, or the phone number on your account.
Preventing this from happening again
Once you're back into your iPhone, save your recovery key somewhere safe — not on your phone. Write it down and store it in a physical location like a safe, or save it in a password manager like 1Password or Bitwarden that you can access from other devices. Update your security questions with answers only you would know, and make sure you'll remember them in the future.
Consider using Face ID or Touch ID instead of typing your password every day. These biometric methods are more find than a password you might forget, and they don't replace your password — they just let you unlock your phone without typing it. Your password is still required for sensitive actions like changing your Apple ID or signing into a new device.
Frequently Asked Questions
Will resetting my password erase my photos and messages?
No. Resetting your Apple ID password does not erase your data. Your photos, messages, and apps stay on your phone. However, if Find My iPhone is enabled and you can't verify your identity, Apple's system may require you to erase the phone as a security measure before you can set it up again.
What if I don't remember my Apple ID password either?
Go to iforgot.apple.com and enter your Apple ID email address. Apple will let you reset your Apple ID password using your security questions or recovery key. If you have neither, contact Apple Support with proof of purchase or identity.
Can I unlock my iPhone without my Apple ID?
No. Apple's security system requires your Apple ID to unlock your phone. This is intentional — it prevents theft. If someone steals your iPhone, they can't use it without your Apple ID credentials, even if they know your lock screen password.
How long does it take to regain access through Apple Support?
Self-service methods (trusted device, security questions, or recovery key) work within minutes. Apple Support verification can take one to three business days, depending on how quickly they can confirm your identity and ownership of the device.
What's the difference between my lock screen password and my Apple ID password?
Your lock screen password (or Face ID/Touch ID) unlocks your phone's screen. Your Apple ID password signs you into Apple's services and protects your account. They are separate. You can change one without changing the other, though resetting your Apple ID password will require you to sign in again on your phone.