Help prevent others from using your device without permission

You can set your Android phone or tablet to help prevent others from using it if it gets reset to factory settings without your permission. For example, if your protected device got stolen and erased, only someone with your Google Account or screen lock could use it.

Note: Some of these steps work only on Android 8.1 and up. Learn how to check your Android version.

Set up device protection

To help prevent other people from using or erasing your device, set a screen lock. To help prevent other people from using your device if it gets erased, add your Google Account to your device.

Set a screen lock

If your device is lost or stolen:

  • With a screen lock set:
    Your device can't be erased using the Settings app (unless your screen is unlocked). Learn how to set a screen lock.
  • Without a screen lock set:
    If your device is turned on, connected to the internet, and signed in to your Google Account, you can lock it remotely with Find My Device. Learn how to use Find My Device.
Add your Google Account to your device

If your device gets erased, but has your Google Account on it, the device can't finish setup until your Google Account information is entered again.

Learn how to add your Google Account to your device.

Turn off device protection

To turn off device protection, remove your Google Account from your device. Learn how to remove an account.

If you have Developer options turned on, you can also turn off device protection from your device's Settings app Settings app. Tap System and then Advanced and then Developer options and then OEM Unlocking.

Expect to verify your ownership after factory reset

To factory reset a protected device, you'll need to either unlock your screen or enter your Google Account password. This ensures that you or someone you trust is doing the reset.

Expect to unlock your screen or enter Google Account information if you:

  • Erase your device's data using the Settings app Settings app.
    You'll be asked to enter your screen lock before you reset.
  • Reset your device using its buttons.
    If you reset your device using its buttons ("Recovery mode"), you'll need to enter your PIN, password, or pattern. You'll also see an option to use the Google Account that was on your device before you reset it.
  • Remotely reset your device with Find My Device.
    If you remotely reset your device using Find My Device, you'll need to enter a Google username and password associated with the device.

Important: You can sign in with any Google Account previously added and synced to the device as an account or user, but not as a guest. If you can't give this information during setup, you won't be able to use the device at all after factory reset. If you can't sign in to your Google Account, get sign-in help.

Related articles

Was this helpful?
How can we improve it?