Your options depend on what you set up before you locked yourself out
If you cannot remember your Android password, you have several paths back in. The fastest one depends on whether you linked your phone to a Google account, set up a backup PIN or pattern, or enabled biometric unlock like fingerprint or face recognition. None of these routes are when ready — some take minutes, others take hours — but each one works without erasing your phone or paying for a service.
The method you use also depends on your phone's manufacturer. Samsung phones have their own recovery path. Google Pixel phones use a different system. Other brands like Motorola, OnePlus, or LG follow Google's standard Android process. We will walk through each one in the order you should try them.
Key Takeaways
- If your phone is linked to a Google account, you can unlock it from the lock screen by tapping "Forgot password" and answering security questions or using a recovery email.
- Samsung phones with a Samsung account let you unlock remotely through Find My Mobile, even if you do not remember your Google password.
- If you set up a backup PIN or pattern before locking yourself out, you can use that instead of your main password on most Android phones.
- Erasing your phone through recovery mode is the last resort and removes all data, so try account recovery first.
- You will need either a computer with a web browser or another phone to complete most unlock methods.
Unlocking with your Google account from the lock screen
This is the fastest method if you remember your Google email address and password. On the lock screen, tap the password field and then tap "Forgot password" (the exact wording varies by phone, but the button is always near the bottom). You will be asked to enter your Google email address.
Android will then ask you to verify your identity. You can do this by answering security questions you set up when you created your Google account, or by entering a recovery email address that Google has on file. If you have access to the recovery email, Google will send you a link to reset your Android password. Click that link, create a new password, and return to your phone to unlock it with the new one.
This method works on most Android phones — Pixel, Motorola, OnePlus, LG, and others. It does not work on Samsung phones, which use their own account system instead. The entire process usually takes 5 to 15 minutes.
Using Samsung Find My Mobile if you have a Samsung phone
Samsung phones do not use Google's unlock system. Instead, they use Find My Mobile, Samsung's own account recovery service. Go to findmymobile.samsung.com on a computer or another phone and sign in with your Samsung account (not your Google account).
Once you are logged in, select your phone from the list of devices. Choose "Unlock my mobile" and follow the prompts. Samsung will send an unlock code to your registered email address or phone number. Enter that code on your locked phone, and it will unlock. You can then set a new password in your phone's settings.
If you do not remember your Samsung account password, you can reset it on the Samsung website before unlocking your phone. This method takes 10 to 20 minutes and does not erase any data.
Trying a backup PIN or pattern if you set one up
Some Android phones let you set a backup PIN or pattern in addition to your main password. If you set this up before you locked yourself out, you can use it to unlock your phone without touching your Google or Samsung account.
On the lock screen, enter an incorrect password several times (usually 5 to 10 times, depending on your phone). Your phone will then offer a "Forgot password" button or ask if you want to use your backup PIN or pattern instead. Tap that option and enter your backup PIN or pattern. If it is correct, your phone will unlock.
This method only works if you actually created a backup PIN or pattern before locking yourself out. If you did not, this option will not appear on your lock screen.
Resetting your phone through recovery mode as a last resort
If you cannot remember your Google password, do not have a Samsung account, did not set a backup PIN, and do not have access to a recovery email, you can erase your phone and start over. This removes all photos, messages, apps, and files, so use this only when other methods are not possible.
The steps to enter recovery mode vary by phone. For most Android phones, turn off the phone, then hold the Power button and Volume Up button at the same time for 10 to 15 seconds. Your phone will show a menu with options like "Wipe data/factory reset." Select that option and confirm. Your phone will erase itself and restart as if it were new.
For Samsung phones, the button combination is usually Power and Volume Up, but some models use Power and Volume Down. Check your phone's manual or search "[your phone model] recovery mode" to find the exact steps. After the reset, you will set up your phone from scratch and can create a new password.
What to do if you have a pattern or fingerprint lock instead of a password
If your phone uses a pattern or fingerprint instead of a typed password, the unlock methods are the same — you just use your Google account or Samsung account to regain access. The "Forgot password" button on the lock screen works for pattern locks and biometric locks too.
If your fingerprint or face recognition stops working and you cannot remember your backup password or pattern, you can still use your Google or Samsung account to unlock the phone. The account recovery process is identical to the password unlock process described above.
Preventing this from happening again
Once you are back in your phone, take a few minutes to set up recovery options so you do not get locked out again. Go to Settings, then Accounts (or Google on some phones), and make sure your Google account is linked and up to date. Write down or save your recovery email address somewhere safe, separate from your phone.
If you have a Samsung phone, link your Samsung account in Settings and verify that your phone number and email are current. Consider setting a backup PIN or pattern in addition to your main password — this gives you another way in if you forget your primary unlock method. Enable fingerprint or face recognition as well, so you have a faster way to unlock your phone every day.
Frequently Asked Questions
Will I lose my photos and files if I unlock my phone?
No, not if you use Google account recovery or Samsung Find My Mobile. Those methods unlock your phone without erasing anything. You only lose data if you choose to erase your phone through recovery mode, which is the last resort when all other methods fail.
What if I do not remember my Google email address?
You will need to recover your Google account first. Go to accounts.google.com/signin/recovery on a computer and follow the steps to regain access to your account. Once you can log into Google again, you can use that account to unlock your phone.
Can I unlock my phone if it is not connected to the internet?
Most unlock methods require internet access at some point. If your phone is completely offline, you will need to connect it to Wi-Fi or use a computer to access your Google or Samsung account recovery page. After that, you can unlock your phone.
How long does it take to unlock my phone?
Google account recovery usually takes 5 to 15 minutes. Samsung Find My Mobile takes 10 to 20 minutes. Erasing your phone through recovery mode takes 15 to 30 minutes. The exact time depends on your internet speed and how quickly you can access your recovery email.
What if I never set up a Google account on my phone?
If your phone has no Google account linked, you cannot use Google account recovery. For Samsung phones, you can use Find My Mobile if you have a Samsung account. Otherwise, your only option is to erase your phone through recovery mode and set it up again from scratch.