The fastest way depends on what phone you have and what you set up before you locked yourself out
If you forgot your password, you have a working path forward on any modern phone — but the steps are different for iPhone and Android, and they work faster if you already set up a backup email or phone number. The goal is to prove you own the device without needing the password itself. Most people can regain access in under an hour if they have their backup email handy, or within a day if they need to verify by phone.
The bad news: there is no way to bypass the lock without some form of verification. The good news: the verification methods exist specifically for this situation, and they are designed to work even when you cannot remember anything else.
Key Takeaways
- iPhone users can reset their password through iCloud.com or by using a trusted device, and both methods require the email address or phone number linked to their Apple ID.
- Android users can reset through their Google account on any web browser, and Google will send a verification code to the email or phone number on file.
- If you do not remember your backup email or phone number, you will need to verify your identity through your carrier or the phone manufacturer, which takes longer.
- Setting up a backup email and recovery phone number now prevents this problem in the future and makes recovery when ready if you forget again.
Resetting an iPhone password through iCloud
Go to iCloud.com on any computer or another phone and sign in with your Apple ID email. If you do not remember your Apple ID password either, click "Forgot Apple ID or password" and follow the prompts to reset it using your backup email or phone number. Once you are in iCloud, look for "Find My" in the menu.
In Find My, select your locked iPhone from the device list. Choose "Erase iPhone" — this removes the password and all data on the phone, but it is the only way forward if you cannot remember the password itself. After the erase completes, you can set up the phone again and restore your data from a backup if you have one saved to iCloud.
This method works only if you remember your Apple ID email address. If you do not, you will need to use a trusted device instead, or contact Apple Support with proof of purchase.
Resetting an iPhone password using a trusted device
If you have another iPhone, iPad, or Mac that is signed into the same Apple ID, you can reset your locked phone's password without a computer. On the trusted device, open Settings, tap your name at the top, then select "Password & Security." Choose "Change Password" and follow the prompts.
Once you change the password on the trusted device, that new password works on your locked phone. You can then unlock it and set up a new password if you want. This method is fastest if you have a second Apple device in the house.
Resetting an Android password through Google
On any computer or another phone, go to accounts.google.com and click "Sign in." Enter the email address associated with your Android phone. When prompted for your password, click "Forgot password?" and Google will send a verification code to your backup email or phone number.
Once you verify your identity, you can set a new password. Return to your locked Android phone, enter your Google email address on the lock screen, and use the new password to unlock it. The phone will then ask you to set a new screen lock password if you want one.
This method requires that you remember your Google email address. If you do not, you will need to contact Google Support or your phone carrier to verify your identity another way.
What to do if you do not remember your backup email or phone number
If you cannot remember the email or phone number linked to your account, contact your phone carrier first. They can verify your identity using your account information and may be able to help you regain access. Have your phone number, account PIN, and a photo ID ready.
If the carrier cannot help, contact Apple Support (for iPhone) or Google Support (for Android) directly. Both companies can verify ownership through your purchase history, serial number, or other account details. This process usually takes one to three business days. Bring proof of purchase if you have it — a receipt, credit card statement, or order confirmation from the Apple Store or Google Play Store.
Preventing this from happening again
The moment you regain access, add a backup email and phone number to your account. On iPhone, go to Settings, tap your name, then "Password & Security," and add a recovery email and phone number. On Android, go to myaccount.google.com, click "Security" on the left, and scroll to "How you sign in to Google" to add a recovery email and phone number.
If you use a password manager like Bitwarden, 1Password, or LastPass, store your phone password there as well. Password managers are encrypted and separate from your phone, so you can retrieve your password from any computer even if your phone is locked.
When to contact the manufacturer or carrier
Contact Apple or Google if you have tried the methods above and none of them work, or if you do not remember your Apple ID or Google email address at all. Contact your carrier (Verizon, AT&T, T-Mobile, etc.) if you bought the phone through them and have an account with them — they have records that can help verify you own the device.
Have ready: your phone number, the phone's serial number (on the original box or receipt), your account PIN with the carrier, and a photo ID. The process takes longer than the self-service methods, but it works when nothing else does.
Frequently Asked Questions
Can I unlock my phone without erasing it?
On iPhone, no — resetting your password requires erasing the device. On Android, you can reset your Google password and unlock the phone without erasing it, as long as you remember your Google email address. If you have an iPhone backup in iCloud, you can restore your data after the erase is complete.
What if I set up a fingerprint or face unlock but forgot the password?
Fingerprint and face unlock are convenience features, not security features. If you forget your password, you still need to reset it through your Apple ID or Google account using the methods above. The fingerprint or face unlock does not bypass the password reset process.
How long does it take to regain access?
If you remember your backup email or phone number, you can reset your password and unlock your phone in under an hour. If you need to verify through your carrier or the manufacturer, expect one to three business days. The fastest path is always the one where you have your backup email or phone number ready.
Will I lose my photos and messages?
On iPhone, yes — erasing the phone removes everything unless you restore from a backup. On Android, no — resetting your Google password unlocks the phone without erasing it. If you have an iPhone backup in iCloud, you can restore your photos and messages after you set up the phone again.
What if my backup email or phone number is no longer active?
Contact Apple Support or Google Support with proof of purchase. They can verify your identity through your account history and help you regain access, but the process takes longer than using an active backup email or phone number. Have your receipt, serial number, or order confirmation ready.