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 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.