Forgot Android Lock Screen Pattern? Reset It
In this article
If you’ve forgotten your Android lock screen pattern, you can usually reset it by using your Google account (on older devices), or by using the “Forgot pattern” option after several failed attempts, or by performing a factory reset as a last resort. The exact steps depend on your Android version and manufacturer, but this guide covers the main methods and how to avoid losing your data.
How the Lock Screen Pattern Works
Android’s pattern lock is a security feature that lets you unlock your phone by drawing a pattern on a 3×3 grid of dots. You connect at least four dots (up to nine) without lifting your finger, creating a unique sequence. The system stores a cryptographic hash of your pattern, not the pattern itself, which is why it can’t be retrieved directly if you forget it.
When you enter a wrong pattern, Android adds a delay before allowing another attempt, increasing after each failure. After a certain number of tries (typically 5 to 10, depending on the device), you’ll see a “Forgot pattern” button. This is your first opportunity to reset without losing data.
Method 1: Use “Forgot Pattern” Option
- Enter any wrong pattern five times.
- Wait for the “Forgot pattern?” or “Forgot PIN?” link to appear on the lock screen.
- Tap it and enter the Google account credentials (email and password) associated with the device.
- Follow the on-screen instructions to set a new pattern, PIN, or password.
This method works on Android 4.4 and earlier. On newer versions (Android 5.0+), Google removed this option for security reasons, so you’ll need to use a different approach.
Method 2: Use Your Google Account (Older Devices)
On older Android versions (pre-Lollipop), you could reset the pattern by entering your Google account credentials directly on the lock screen after multiple failed attempts. This would allow you to set a new pattern without a factory reset. If you’re using an old device and still have access to the Google account, this is the easiest method.
However, for most modern devices, this option is no longer available. Instead, you’ll need to rely on the “Find My Device” service or a factory reset.
Method 3: Use “Find My Device” (Android 5.0+)
Google’s “Find My Device” service (formerly Android Device Manager) can remotely lock or erase your phone. If you had it enabled before you forgot your pattern, you can use it to reset the lock screen.
- Go to google.com/android/find on a computer or another phone.
- Sign in with the same Google account that’s on the locked device.
- Select your device from the list.
- Choose “Lock” and set a temporary password (this will replace the pattern).
- Enter that password on your phone to unlock it.
- Go to Settings > Security and clear the temporary password or set a new pattern.
This method requires that the device is connected to the internet and has location services enabled. If it’s offline, it won’t work.
Method 4: Factory Reset (Last Resort)
If none of the above work, you’ll need to perform a factory reset. This erases all data on your phone, returning it to its original out-of-the-box state. You’ll lose photos, contacts, apps, and settings unless you have a backup.
To factory reset a locked Android device, you typically need to boot into recovery mode. The key combination varies by manufacturer:
- Samsung: Power off, then hold Volume Up + Power (or Bixby on some models) until the Samsung logo appears.
- Google Pixel: Power off, then hold Volume Down + Power, then select “Recovery mode” using volume keys.
- OnePlus: Power off, then hold Volume Down + Power.
- Xiaomi: Power off, then hold Volume Up + Power.
Once in recovery mode, use the volume keys to navigate to “Wipe data/factory reset” and press the power button to select it. Confirm when prompted, then select “Reboot system now.” After the reset, you’ll need to sign in with your Google account to set up the phone again.
Important: On newer Android versions (7.0+), Factory Reset Protection (FRP) requires you to enter the Google account credentials after a reset. If you don’t remember them, the phone will be unusable until you do.
How to Avoid This in the Future
- Use a PIN or password instead of a pattern – they’re often easier to remember and more secure.
- Enable “Smart Lock” to keep your phone unlocked when it’s on your body or at a trusted location (like home).
- Regularly back up your phone to Google Drive or your manufacturer’s cloud service.
- Write down your pattern in a secure place (e.g., a password manager) – but never on a sticky note on your phone.
Frequently Asked Questions
Can I bypass the lock screen without losing data?
Yes, but only if you have “Find My Device” enabled and the phone is online. Otherwise, a factory reset is the only way, and it will erase your data.
Why doesn’t the “Forgot pattern” option appear on my phone?
On Android 5.0 and later, Google removed the “Forgot pattern” option for security reasons. Instead, you must use “Find My Device” or a factory reset.
What if I don’t remember my Google account password?
If you can’t log in to your Google account, you can try recovering it via Google’s account recovery page. If that fails, a factory reset won’t help because FRP will still require the account credentials.
Will a factory reset remove the lock screen?
Yes, a factory reset removes the lock screen, but it also erases all data. After the reset, you’ll need to set up the phone as new, and you may be prompted for the previous Google account due to FRP.
Can I use ADB to remove the pattern?
If you had USB debugging enabled before the lockout, you might be able to use ADB to delete the locksettings.db file. However, this is complex, requires a computer, and is not guaranteed to work on all devices. It’s generally easier to use the methods above.
Does the pattern lock store my pattern in plain text?
No, Android stores a SHA-1 hash of your pattern, not the pattern itself. This is why it can’t be recovered directly, even with root access.