What to do when ready after you're locked out

If you cannot remember your phone's password, your first step depends on what kind of phone you have and whether you set up recovery options when you first activated it. Most phones — whether Android or iPhone — have built-in recovery methods that work without erasing everything, but they require you to prove you own the device. The fastest path forward is usually the one you set up months ago and may have forgotten about.

Do not try to guess your password repeatedly. Most phones lock you out temporarily after five to ten wrong attempts, and some will erase data after many failed tries. Instead, look for an "I forgot my password" or "Can't access your account?" link on the lock screen itself — nearly every phone shows this option after a few wrong entries.

Have your phone in front of you and a computer or tablet nearby. You will need both to complete most recovery methods. If you do not have access to another device, you may need to visit a phone store or carrier location.

Key Takeaways

  • iPhone users can use iCloud.com to reset their password from any computer without erasing their phone, as long as they remember their Apple ID and password.
  • Android users can reset their Google password from a computer, then sign back into their phone to regain access without losing data.
  • If you set up a recovery phone number or email address, you can use that to verify your identity and reset your password.
  • Carrier stores and phone manufacturers can verify ownership through your account information and may be able to help you regain access.
  • Factory reset is a last resort that erases everything on your phone and should only be used if all other methods fail.

Recovering an iPhone with your Apple ID

If you have an iPhone, the fastest recovery method uses your Apple ID — the account you created when you first set up the phone. Go to iCloud.com from any computer or tablet and sign in with your Apple ID email and password. If you do not remember your Apple ID password, you can reset it on that same page by clicking "Forgot Apple ID or password?"

Once you are signed into iCloud.com, look for "Find My iPhone" in the menu. Select your phone from the list of devices, then choose "Find My Mobile" or the option to erase the device. This sounds drastic, but you have a choice: you can erase only the password and security settings while keeping your photos, messages, and apps, or you can do a full erase. Most people choose the first option. After you confirm, your phone will reset its lock screen, and you can set a new password when ready.

This method works only if you remember your Apple ID and its password. If you do not, you will need to reset your Apple ID password first, which requires access to a recovery email or phone number you provided when you created the account.

Recovering an Android phone with your Google account

Android phones are tied to a Google account, and you can use that account to regain access. On the lock screen, tap "Forgot password?" or "Forgot PIN?" — the exact wording varies by phone maker. You will be asked to enter your Google email address and password. If you remember both, enter them and follow the prompts to set a new phone password.

If you do not remember your Google password, go to accounts.google.com from any computer and click "Forgot password?" There, Google will ask you to enter the last password you remember, or to verify your identity using a recovery email or phone number. Once you reset your Google password, return to your phone and use the new password to unlock it.

Some Android phones also offer a pattern or PIN recovery through your Samsung, OnePlus, or other manufacturer account if you set one up. Check your phone's lock screen for a link to your phone maker's account recovery page.

Using a recovery email or phone number

When you first set up your phone, you likely provided a recovery email address or phone number. These are separate from your main password and exist specifically for situations like this. On your lock screen, look for a link that says "Can't access your account?" or "Need help signing in?" Tap it and enter your email address or the phone number associated with your account.

The service will send a code to that email or phone number. Enter the code on your phone, and you will be able to set a new password without needing to remember the old one. This method works for both iPhone and Android, though the exact steps differ slightly.

If you no longer have access to the recovery email or phone number you provided — for example, if you changed phone carriers or closed that email account — you will need to contact your phone's manufacturer or carrier to verify your identity another way.

Contacting your phone carrier or manufacturer

If you cannot remember your Apple ID, Google password, or recovery contact information, your phone's carrier or manufacturer can help verify that you own the device. Call your carrier (Verizon, AT&T, T-Mobile, or your regional provider) or visit a store in person. Bring a photo ID that matches the name on your account.

The carrier or manufacturer will ask you questions about your account — such as the phone number, the date you purchased the phone, or the last four digits of the payment method on file. Once they confirm your identity, they can send you a password reset link or provide other recovery options specific to your situation.

This process usually takes 24 to 48 hours if you call, or a few minutes if you visit a store in person. Some carriers charge a fee for this service if you are not a current customer or if the phone is no longer active on their network.

Factory reset as a last resort

A factory reset erases everything on your phone — all photos, messages, apps, and settings — and returns it to the state it was in when it left the factory. This should be your last option, used only when all other recovery methods have failed.

To perform a factory reset on an iPhone, you must use a computer with iTunes or Finder. Connect your phone to the computer, open iTunes or Finder, select your phone, and choose "Restore." This will erase the phone and let you set it up again from scratch. You will need your Apple ID and password to reactivate the phone afterward.

On Android, the method varies by phone maker. Some phones allow you to factory reset from the lock screen by holding specific buttons (usually Power and Volume Down together) until a menu appears. Others require you to use Android Device Manager from a computer. Look up your specific phone model and "factory reset" to find the exact steps.

After a factory reset, you can sign back into your accounts and restore your data from a backup if you created one before you were locked out. If you did not back up your data, it will be permanently lost.

Preventing lockouts in the future

Once you regain access to your phone, take a few minutes to set up recovery options so you do not face this problem again. Write down your Apple ID or Google password in a find place — a password manager, a locked drawer, or a trusted family member. Add a recovery email address and phone number to your account, and make sure they are current.

Consider using your phone's built-in biometric unlock — fingerprint or face recognition — as your primary way to open your phone, with a password as a backup. This reduces the chance you will forget your password because you use it less often. Most phones also offer a pattern or PIN as an alternative to a long password, which is easier to remember.

If you use a password manager like 1Password, Bitwarden, or LastPass, you can store your phone's password there along with your Apple ID and Google password. This way, you have a single find place to look if you forget any of them.

Frequently Asked Questions

Will I lose my photos and messages if I unlock my phone?

Not if you use Apple ID or Google account recovery. Those methods let you reset your password without erasing your data. Only a factory reset erases everything, and that should be your last resort. If you have a backup from before you were locked out, you can restore your data after a factory reset.

What if I do not remember my Apple ID or Google password?

Both Apple and Google let you reset your password from any computer by clicking "Forgot password?" on their sign-in page. You will need to verify your identity using a recovery email or phone number. If you do not have access to those either, contact Apple Support or Google Support with proof of purchase or account information.

How long does it take to regain access to my phone?

If you remember your Apple ID or Google password, you can regain access in minutes. If you need to reset that password first, it usually takes 15 to 30 minutes. If you need to contact your carrier or manufacturer, expect 24 to 48 hours by phone, or a few minutes if you visit a store in person.

Can a phone store unlock my phone without erasing it?

Yes, if you can prove you own the phone with a photo ID and account information. They can help you reset your password or guide you through recovery options. Some stores charge a fee, and some require you to be a current customer of their carrier.

What should I do if someone else is locked out of my phone?

If the phone belongs to someone else, they need to contact the phone's manufacturer or carrier with proof of ownership. You cannot unlock someone else's phone without their permission, even if you have physical access to it — this is a security feature designed to prevent theft.