Learn how to reset the security lock on an Android device. You'll see an error if you try to unlock the phone, but use the wrong code or pattern.
Before you reset the security lock, make sure you have a Gmail account and you're able to log in from a computer. If you can't log in to your Google account, see Google account help. If there is a different Gmail account already signed into your device, you will need to log into that one in order to reset the security lock. We cannot delete any previous accounts that are set up on the device currently.
If you need help performing any step, check the how-to guides for your device on the Phones page.
To reset the security lock:
- When you see the prompt on the lockout screen, tap Forgot Pattern.
- Enter your Gmail username and password.
- Record your new pattern. If you can't log in to your Gmail account, reset your device.