The fastest way back in depends on what phone you have
If you've forgotten your phone password, the path forward depends on whether you have an iPhone or Android device, and whether you remember your account password. On an iPhone, you'll need your Apple ID password or a trusted device. On Android, you'll need your Google account password. Both companies built these recovery options so you can regain access without losing your data — but the steps are different, and some routes are faster than others.
The key is that you don't need to remember your phone password itself. You need access to the account tied to your phone. If you don't remember that password either, you'll need to reset it through the company's website before you can unlock your device.
Key Takeaways
- iPhone users can unlock their device using their Apple ID password, a trusted device, or by erasing and setting up the phone fresh if they have neither.
- Android users can unlock their device using their Google account password, or by signing into Google on the lock screen if their phone allows it.
- If you don't remember your Apple ID or Google password, you'll need to reset it on a computer or another device before you can unlock your phone.
- Some phones let you use a backup PIN or biometric unlock (fingerprint or face recognition) if you've set one up previously.
- Factory resetting your phone erases all data, so it should be your last option only if you have no other way in.
Unlocking an iPhone with your Apple ID
If you have an iPhone and you remember your Apple ID email and password, you can unlock it directly from the lock screen. After several failed password attempts, your iPhone will show a message saying "iPhone Unavailable" and offer you the option to use your Apple ID to reset it. Tap that option, enter your Apple ID email and password, then create a new phone password. Your phone will unlock and you can start using it again.
This process keeps your data intact — your photos, messages, and apps stay on the phone. You'll be back in within a few minutes. If you don't remember your Apple ID password, you'll need to reset it first by going to iforgot.apple.com on a computer or another device, then come back to your iPhone and try again.
Unlocking an iPhone with a trusted device
If you have another Apple device (iPad, Mac, or another iPhone) that you're signed into with the same Apple ID, you can use it to unlock your locked iPhone. On your trusted device, open Settings and look for the option to reset your iPhone password. You'll enter your Apple ID password on the trusted device, and your iPhone will unlock.
This method also preserves your data. It's often faster than the direct Apple ID route because you're already signed in on the other device and don't need to type your full email address. If you don't have another Apple device available, this option won't work for you.
Unlocking an Android phone with your Google account
Android phones are tied to a Google account, and you can use that account to unlock your device. After several failed password attempts, your Android phone will show a "Forgot pattern," "Forgot PIN," or "Forgot password" option on the lock screen. Tap it and enter your Google account email and password. Your phone will unlock and you can set a new password.
Like the iPhone process, this keeps your data on the phone. The whole process takes a few minutes. If you don't remember your Google password, go to accounts.google.com on a computer, click "Find your account," and reset it there. Then return to your Android phone and try the unlock process again.
What to do if you don't remember your account password
If you've forgotten both your phone password and your Apple ID or Google password, you'll need to reset your account password first. On a computer or another device, go to iforgot.apple.com (for Apple ID) or accounts.google.com (for Google). Follow the steps to verify your identity — usually by answering security questions, entering a recovery email, or confirming a code sent to your phone number.
Once you've reset your account password, return to your locked phone and use the new password to unlock it. This adds extra time to the process, but it's still the path that saves your data. Don't skip this step and jump straight to erasing your phone unless you've tried account recovery and it didn't work.
Using a backup PIN or biometric unlock
Some phones let you set up a backup way to unlock them. If you set up a backup PIN (a shorter code) or enabled biometric unlock (fingerprint or face recognition), you may be able to use those instead of your main password. Try your fingerprint or face first — if that works, you're in when ready and can change your password from Settings.
If you have a backup PIN, you'll usually see a "Use backup PIN" or similar option on the lock screen after failed password attempts. This is much faster than account recovery, but only works if you set it up before you forgot your main password. If you don't see either option, your phone doesn't have a backup method enabled.
Erasing your phone as a last resort
If you can't remember your phone password, your account password, and you don't have a trusted device or backup unlock method, you can erase your phone and set it up fresh. On an iPhone, you can do this through recovery mode on a computer. On Android, you can do this through the factory reset option on the lock screen (usually found after multiple failed attempts).
Erasing your phone deletes everything on it — all photos, messages, apps, and files. You'll get back only what you had backed up to iCloud (iPhone) or Google Drive (Android). This should be your last option, used only when every other method has failed. If you had a backup, you can restore your data after the phone is set up again, but anything created after your last backup will be gone.
Frequently Asked Questions
Can I unlock my phone without knowing any passwords?
Not without erasing it. Your phone password, Apple ID, or Google account password is the security that protects your data. If you don't remember any of them and have no backup unlock method, erasing the phone is the only way forward. After erasing, you can set it up with a new password and restore your backed-up data.
How long does it take to unlock my phone?
If you remember your account password, unlocking takes 5 to 10 minutes. If you need to reset your account password first, add 10 to 20 minutes for the account recovery process. If you need to erase your phone, the erase itself takes 10 to 30 minutes, plus setup time afterward.
Will I lose my photos and messages?
Not if you use your account password to unlock it — your data stays on the phone. You'll only lose data if you erase the phone. If you had a backup to iCloud or Google Drive before you forgot your password, you can restore that backup after erasing and setting up your phone again.
What if I don't have access to the email address for my Apple ID or Google account?
You'll need to recover your account using a phone number or security questions instead. Go to iforgot.apple.com or accounts.google.com and choose the recovery method that doesn't require email. If you can't recover your account that way either, erasing your phone and setting it up with a new account is your remaining option.
Can someone else unlock my phone for me?
Not without your account password or access to a trusted device. Apple and Google designed it this way to protect your privacy — even the phone manufacturer can't unlock your device for you. A repair shop can erase your phone, but you'll still need your account password to set it up again afterward.