Clear search
Close search
Google apps
Main menu

Set your device to automatically unlock

You can keep your Android phone or tablet unlocked in some situations, like when your phone is in your pocket or you're near home. When you use Smart Lock, you won't need to unlock with your PIN, pattern, or password. The features you can use depend on your device.

If you want to change your screen lock, learn more about screen lock settings.

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

Turn on automatic unlock

  1. Make sure you have a screen lock. Learn how to set a screen lock.
  2. Open your device's Settings app Settings app.
  3. Tap Security & Location and then Smart Lock.
  4. Enter your PIN, pattern, or password.
  5. Pick an option and follow the on-screen steps.

After setup, when you turn on your screen, you’ll see a pulsing circle at the bottom around the Lock Lock.

Important: When you don't use your device for 4 hours, and after it restarts, you'll need to unlock it.

Turn off automatic unlock

  1. Open your device's Settings app Settings app.
  2. Tap Security & Location and then Smart Lock.
  3. Enter your PIN, pattern, or password.
  4. Turn off On-body detection and remove all trusted devices, trusted places, trusted faces, and Voice Match voices.
  5. Optional: If you want to turn off your screen lock, learn how to change your screen lock.

Learn about locking options

Keep your device unlocked when it's on you

You can keep your device unlocked when you're carrying it in your hand, pocket, or bag.

Turn on-body detection on or off

  1. In the Smart Lock menu, tap On-body detection.
  2. Turn Smart Lock On-body detection on or off.

Use on-body detection

  • After you unlock your device, it stays unlocked as long as it senses that it’s on your body. After you put down your device, like if you set it on a table, your device can take up to 1 minute to automatically lock.
  • On some devices, on-body detection learns the pattern of your walk. If it detects a walk that's very different, it could lock your phone. If your phone locks after walking, unlock the phone and it will learn the changes in your walk.
  • After you get into a car, bus, train, or other vehicle, your device can take 5-10 minutes to lock.
    Important: When you're on an airplane or boat, your device could not lock automatically. Make sure to lock manually if needed. Learn how.

Note: Your device stores accelerometer data about the pattern of your walk to help determine when you're carrying your device. When you turn off on-body detection, your device deletes this data.

Keep your device unlocked when it's at a trusted place

Use trusted places

Important: Your trusted location is an estimate.

Your trusted location can go out beyond the walls of your home or custom place. It can keep your device unlocked within a radius of up to 80 meters.

Location signals can be copied or manipulated. Someone with access to specialized equipment could unlock your device.

Add, remove, or edit home location

This updates your home across Google. Learn more about your home address in Google Maps.

Add your home location

  1. In the Smart Lock menu, tap Trusted places.
  2. Tap Home.
  3. Follow the on-screen steps.

Remove your home location

  1. In the Smart Lock menu, tap Trusted places.
  2. Tap Home.
  3. Pick the kind of removal:
    • To turn off your home as a trusted location, tap Turn off this location.
    • To clear your home address across Google, tap Edit and then Trash Trash and then Clear.

Edit your home location

  1. In the Smart Lock menu, tap Trusted places.
  2. Tap your home location.
  3. Tap Edit and then your home address or map.
  4. Enter the address that you want to use as your home.

Tip: If your home has more than one building at the same address, the trusted place that you want can be different from the address. To get better location accuracy, you can add the actual location of your home within the building complex. See how to add custom places (below).

Add, remove, or edit custom places

You can add a location to your custom trusted places.

Add a custom place

  1. In the Smart Lock menu, tap Trusted places.
  2. Tap Add trusted place. A map will open to your current location.
    • To use your current location, tap Select this location and then Select.
    • To pick a different location, tap Search Search.
  3. Name the trusted location (like "Work"). Tap OK.

Edit or remove a custom place

  1. In the Smart Lock menu, tap Trusted places.
  2. From the list of trusted Smart Lock options, pick the place.
  3. Pick the kind of edit:
    • Delete
    • Rename
    • Edit Address
Add or remove a trusted device

You can keep your phone unlocked whenever it's connected to a trusted device, like a Bluetooth watch or car speaker system.

We recommend avoiding devices that are always with your phone, like Bluetooth keyboards or cases.

Add a Bluetooth device

  1. On your device, make sure that Bluetooth is on. Learn how to turn on Bluetooth.
  2. In the Smart Lock menu, tap Trusted devices.
  3. Tap Add trusted device.
  4. On the list of devices, tap a device.
  5. Optional: To remove a Bluetooth device, tap the device you want to remove. Then, tap OK.

Note: With some devices, you must unlock your phone before it stays unlocked.

Important: Make sure you're secure when using trusted Bluetooth devices

It's possible that someone could keep your phone unlocked by imitating your Bluetooth connection.

If you get a notification on your phone: When your device can't determine that you're using a secure connection, you'll get a notification. You could need to unlock your phone.

Bluetooth connectivity range can vary. Range depends on factors like your device model, Bluetooth device, and current environment. Bluetooth connectivity can be up to 100 meters. If someone takes your phone while it's near your trusted device, and if your trusted device has unlocked it, that person could access your phone.

Set up, improve, or remove a trusted face

You can have your device unlock when it recognizes your face. After you set a trusted face, every time you turn on your device, it'll look for your face and unlock if it recognizes you.

Important: This facial recognition is less secure than a PIN, pattern, or password. Someone who looks similar to you could unlock your phone.

Set up and use a trusted face

  1. In the Smart Lock menu, tap Trusted face.
  2. Tap Set up and follow the on-screen steps.

When your device looks for your face, you'll see the Trusted face Trusted face. If your device doesn’t recognize your face, you can unlock your device with your PIN, pattern, or password.

Improve your device's facial recognition

  1. In the Smart Lock menu, tap Trusted face.
  2. Tap Improve face matching.
  3. Tap Next and follow the on-screen steps.

Remove a trusted face

  1. In the Smart Lock menu, tap Trusted face.
  2. Tap Remove trusted face.
  3. When asked if you want to remove the trusted face, tap Remove.

Note: Smart Lock doesn't store photos of you. Data used to recognize your face is kept only on your device. Apps can't see or use the data, and it isn't backed up on Google servers.

Use Voice Match ("OK Google")

When you say "Ok Google" from a secure lock screen and we're able to recognize your voice, you can ask Google to do things for you, or visit sites, without manually unlocking your device.

Learn how to turn on "Ok Google."

Note: Voice Match isn't available for Nexus 6 devices.

Related articles


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.