Clear search
Close search
Google apps
Main menu

Prevent others from using your device without permission

You can set up your Android phone or tablet to prevent other people from using it if it gets reset to factory settings without your permission. For example, if your device is lost, stolen, or erased after you've set it up to prevent others from using it, then only someone with your Google Account or screen lock information could use your device.

Note: This information applies only to devices running Android 5.1 and up that came preinstalled with Android 5.0 and up, like Pixel, Pixel XL, Nexus 6P, Nexus 5X, Nexus 6, and Nexus 9. See what version of Android you have.

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 you added your Google Account to your device before it was lost or stolen, and your device is turned on and connected to the Internet, you can lock your device remotely with Android Device Manager. Learn how to use Android Device Manager.
Add your Google Account to your device

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

Learn how to add your Google Account to your device.

If you need to factory reset your device

If you reset your Google Account password and need to do a factory reset, wait 24 hours after changing your password to reset your device. For security purposes, you can't use an account to set up a device after reset if that password changed within 24 hours.

Learn how to factory reset 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. Tap 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.
    You'll be asked to enter your screen lock before using "Backup & reset."
  • Reset your device in Recovery mode.
    If you reset your device using the Recovery menu, you'll need to enter a Google username and password associated with the device.
  • Remotely reset your device with Android Device Manager.
    If you remotely reset your device using Android Device Manager, you'll need to enter a Google username and password associated with the device.

Important: You can enter information for any Google Account that has been added and synced to the device as an account or user profile, but not the guest profile. If you can't give this information during the setup process, 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 links


Amy is an Android expert and author of this help page. Leave her feedback below about the page.

Was this article helpful?
How can we improve it?
Watch video tutorials

To get the latest tips, tricks, and how-to's, subscribe to our YouTube Channel.