How to Reset Android Lock Screen Password and PIN

Locked out of your Android? Here are ways to reset it

It can be easy to forget your Android password or PIN, but there are multiple ways to reset or unlock an Android. This guide will tell you how to reset a lock screen password and PIN on most Android devices manufactured by Samsung, Google, Huawei, Xiaomi, and others.

How to Remote Unlock Your Android

Illustration showing how to reset your android lock screen password.
Lifewire

There are several ways to remote unlock Android when you can't get past the lock screen. To gain access to your Android, either reset your PIN or password remotely, root your phone to change its settings, or reset the phone.

If you misplaced your Android phone or had it stolen, try applications that help you locate it.

Use Google Find My Device

For years, the Google Find My Device web app made it possible for users to change the lock screen PIN. It's no longer an option. Now, it's only possible to use Find My Device to locate a phone or tablet using the web or another device and send a message to the screen if someone found your lost device.

This change doesn't mean you won't be able to unlock your Android remotely. It just means that it won't be as easy. You still have options.

Use Samsung Find My Mobile

If you own a Samsung Android phone or tablet, and if you registered your device with your Samsung account, you're in luck. Use Samsung Find My Mobile to reset the lock screen.

To enable remote unlock on your Android with Samsung Find My Mobile:

  1. Open Settings on your device.

  2. Select Lock Screen and Security. On some Samsung devices, you may need to select Security or Biometrics and Security instead.

    Lock screen and security, Find My Mobile, and Remote controls toggle to ON
  3. Select Find My Mobile.

  4. Select Add Account and sign into your Samsung account.

  5. Turn on the Remote controls toggle.

  6. To unlock your device, go to the Samsung Find My Mobile web page and sign in.

  7. Select Unlock.

    Unlock Phone option
  8. The screen lock information on your device is deleted. This could be the pattern, PIN, password, or biometrics that you originally set up.

Use Forgot My Password

If you're using an older version of Android, specifically Android 4.4 KitKat or older, the ability to reset the lock screen is built into the lock screen itself.

Enter the incorrect pattern or PIN five times, and you'll see a Forgot pattern or Forgot PIN message. Select it and log in to your Google account to reset the lock screen.

Use Minimal ADB and Fastboot (Rooted Phones Only)

One of the easiest ways to reset your lock screen is to use special commands available with Minimal ADB and Fastboot. The catch here is that this method only works on rooted Android phones.

This advanced feature edits the database on your phone that stores the lock screen PIN. If you're unfamiliar with rooting your Android or are uncomfortable working with the Minimal ADB and Fastboot tool, skip this option.

If you've never used this tool before, take some time to learn about setting up Minimal ADB and Fastboot and connecting it to your phone using a USB connection.

Once you've followed the instructions to enable USB debugging on your phone and you have the Minimal ADB command window open, enter ADB devices to confirm you're connected to your phone.

  1. Enter adb shell and select Enter.

  2. Enter the following commands one line at a time. Select Enter at the end of each line.

    cd /data/data/com.android.providers.settings/databases
    
    sqlite3 settings.db
    
    update system set value=0 where name='lock_pattern_autolock';
    
    update system set value=0 where name='lockscreen.lockedoutpermanently';
    
    .quit
    
  3. Reboot your phone and the lock screen will be reset.

Reset Your Android Device

If nothing else works, you have a last resort to recover your device. You'll need to erase your device and start over. The downside to this is that you'll lose all the data and files stored on it. The upside is that you won't have to buy a new phone or tablet.

It is possible to do a factory reset in recovery mode if you can't get past the lock screen. However, a faster and simpler method is to use Google Find My Device to erase the device.

  1. Turn on your device.

  2. In a web browser, go to the Google Find My Device web page.

  3. Choose the Android device that you're currently locked out of.

  4. Select Erase Device in the left panel.

    Erase Device option on Google's Find My Device site
  5. In the Erase Device pane, read the warnings, then select Erase Device.

  6. You may be asked to sign into your Google Account before the erase procedure will begin.

Once you've erased your phone or tablet, it reboots automatically. The next time you start the device, log into your Google Account and set it up just as you did when you first bought it.

Was this page helpful?