If you can't unlock your Android phone or tablet, you can erase your device, set it up again, and set a new screen lock.

If you can't sign in to your Google Account, follow these troubleshooting steps.

Erase your device

Important: This option will erase all data — like your apps, photos, and music — from your device. While any data stored in your Google Account will be restored, all apps and their data will be uninstalled. Before you reset, look over the options for restoring your data on a Pixel phone or Nexus device.

Option 1: Remotely reset your device

If your locked device has Android Device Manager turned on, is powered on, and is connected to the Internet, you can remotely erase your locked device’s data.

Learn how to remotely erase an Android device.

Option 2: Reset your device to factory settings

You can erase your locked device's data by performing a factory data reset.

Reset your pattern (Android 4.4 or lower only)

If your locked device is running Android 4.4 or lower and has a pattern screen lock set up, you can try to use your Google Account to reset your pattern. Learn how to check your Android version.

  1. After you've tried to unlock your device multiple times, you'll see "Forgot pattern." Tap Forgot pattern.
  2. Enter the Google Account username and password you previously added to your device.
  3. Reset your screen lock. Learn how to set a screen lock.