Search
Clear search
Close search
Google apps
Main menu

Set up your device for automatic unlock

You can make unlocking your phone easier with Smart Lock for Android. First, change your settings to turn on Smart Lock for your device. Then set how you want your device to automatically unlock.

Note: Some of this information may not apply to all devices because Android isn't exactly the same on every device. These instructions are for devices with Android 6.0 and up. See what version of Android you have.

First, open the Smart Lock menu

  1. On your device, open the Settings app Settings.
  2. Under "Personal," tap Security
  3. Under "Advanced," tap Trust agents. Make sure that "Smart Lock" is switched on.
  4. Tap Back Back.
  5. Under "Device security," tap Smart Lock.
  6. Enter your PIN, pattern, or password. If you don't already have one set up, follow the on-screen prompts to set one up. You need to enter this screen lock any time you want to change your Smart Lock settings.

Next, set how your device will automatically unlock

You can set Smart Lock to keep your device unlocked when:

  • You're carrying your device with you
  • You're in a trusted place
  • You have a trusted Bluetooth device connected
  • Your device recognizes your face

Note: When you don't use your phone for 4 hours, and after you reboot your phone, you'll need to manually unlock it with your PIN, pattern, or password.

On-body detection

Choose on-body detection

You can have your device stay unlocked when you have it on you — like if you're carrying it in your hand, pocket, or bag — using on-body detection.

This feature is available only on select devices.

How on-body detection works

The accelerometer built into your device keeps your device unlocked when it senses that it's being carried.

On some devices, on-body detection learns the pattern of your walk. If the accelerometer detects a walk that looks very different, it may lock your phone.

Important: On-body detection may not always be able to tell whose body is connected to on-body detection.

If you give your device to someone else while it's unlocked, your device may stay unlocked using on-body detection. As a security feature, on-body detection is less secure than a PIN, pattern, or password. Someone who takes your phone while it's unlocked with on-body detection could access your phone.

Turn on-body detection on or off

Turn on on-body detection

  1. Open your device's Settings app Settings.
  2. Scroll down to "Security" and tap Smart Lock. If you don't see "Smart Lock," first tap Trust agents and make sure "Smart Lock" is turned on.
  3. Enter your PIN, pattern, or password, or create a new one.
  4. Tap On-body detection. If you don't see this option, it may not be available for your device.
  5. At the top, tap the On/Off switch.
  6. You'll see a message with more information. If your device supports learning the pattern of your walk, it will say, "Accelerometer data about the pattern of your walk is stored on your device."

Turn off on-body detection

  1. Open your device's Settings app Settings and then Smart Lock and then On-body detection.
  2. At the top, tap the On/Off switch.

Tip: Accelerometer data about the pattern of your walk is stored on your device to help determine when you're carrying it. This data is deleted when on-body detection is turned off.

Use on-body detection
  • When your device senses that it's on your body
    Unlock your device once and it will stay unlocked as long as your device senses that it's on your body.
  • When your walk pattern is detected (not all devices)
    On some devices, on-body detection will learn the pattern of your walk. If it detects a walk that looks very different, it may lock your phone. If your phone is locked after walking, just unlock the phone and it will adapt to any new changes in your walk.
  • When your device is not on your body
    Your device will automatically lock if your device senses that it's no longer on your body. After you put down your device, like if you set it on a table, your device can take up to one minute to lock.
  • When getting into a vehicle
    After you get into a car, bus, train, or other vehicle, your device can take between 5 and 10 minutes to lock.
    IMPORTANT: When you are on an airplane or boat, your device may not lock automatically. Make sure to lock it manually if needed.

Tip: Accelerometer data about the pattern of your walk is stored on your device to help determine when you're carrying it. This data is deleted when on-body detection is turned off.

Trusted places

Choose trusted places
This feature is available only on select devices.

You can choose trusted places, like your home, to keep your phone unlocked whenever you're there.

For your trusted places to work, you need to have an Internet connection and let your phone use your current location. Trusted places works best when you have a Wi-Fi connection.

IMPORTANT: Your trusted location is an estimate and may extend beyond the physical walls of your home or custom place. It could keep your device unlocked within a radius of up to 80 meters. Also, location signals can be replicated or manipulated — someone with access to specialized equipment could unlock your device.

To set up trusted places:

  1. Be sure that high accuracy or battery-saving location mode is turned on for your device.
  2. Add home or custom locations where you want your device to stay unlocked. See steps below.
Add, edit, or remove your home location

Add or remove your home location

  1. In the Smart Lock menu, tap Trusted places.
  2. Tap Home.
  3. Tap Turn on this location.

To turn off trusted location for your home, tap Turn off this location.

Edit your home location

  1. In the Smart Lock menu, tap Trusted places.
  2. Tap your home location.
  3. Tap Edit.
  4. In the search bar, enter the location you want to use as your home.

Your home location will be changed in Smart Lock. Learn more about saving your home and work addresses in Google Maps for mobile.

Tip: If your home has multiple buildings at the same address, the trusted place that you want might be different from the actual address. To get better location accuracy, you can add the actual location of your home within the building complex as a custom place.

Add, edit, or remove your custom places

You can add any 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 and you can choose to use your current location or enter the location you want to use as a trusted place, like your workplace.
  3. Name the trusted location and 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.
    • To edit the location, tap Rename, then edit the location's title or address, and tap OK.
    • To remove the location, tap Remove.

Tip: If you have issues with your trusted places working correctly, try adding another custom place with the dropped pin in a slightly different location on the map.

Trusted devices

Choose trusted devices

You can choose a trusted device to keep your phone unlocked when that device is connected. (You may need to manually unlock your phone first.)

Bluetooth watches, fitness trackers, or car speaker systems are good choices for trusted devices. Avoid devices that are always with your phone or tablet, like Bluetooth keyboards or cases.

Add or remove a trusted Bluetooth device

If you're using Android Wear, make sure that your watch is paired and connected to your phone or tablet before you set up Smart Lock.

Add a trusted Bluetooth device

  1. On your phone or tablet, make sure that Bluetooth is turned on.
  2. In the Smart Lock menu, tap Trusted devices.
  3. Tap Add trusted device, then tap Bluetooth.
  4. To pick a device from the list of connected devices, tap it. Only paired devices show in this list.
  5. You may need to manually unlock your phone before the trusted device will keep it unlocked. This depends on the security of your connection and your device's version of Android.

Remove a trusted Bluetooth device

  1. From the list of trusted Smart Lock options in the "Trusted devices" menu, pick the device.
  2. When asked if you want to remove the device from your list, tap OK.

Make sure you're secure when using trusted Bluetooth devices

Different devices support different Bluetooth standards and security capabilities. There's a possibility that someone could keep your phone unlocked by imitating your Bluetooth connection, even if your trusted device is no longer near. Your device isn't always able to determine whether your connection is secure from someone trying to imitate it.

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 on your phone and may need to manually unlock your phone before the trusted device will keep it unlocked.

Bluetooth connectivity range can vary depending on factors like the model of your device, companion Bluetooth device, and your environment. Depending on these factors, Bluetooth connectivity could 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 may be able to access your phone.

Add or remove a trusted NFC tag

You can choose to keep your device unlocked when you tap a trusted NFC tag. For example, you can set up an NFC sticker in your car as a trusted NFC tag. When you touch this sticker with your device, your device will unlock.

Add a trusted NFC tag

  1. In the Smart Lock menu, tap Trusted devices.
  2. Tap Add trusted device and then NFC.
  3. Tap your device to the NFC tag or device. The screen will say, "NFC found."
  4. Add a name for the NFC tag.
  5. Tap OK.

Remove a trusted NFC tag

  1. From the list of trusted Smart Lock options in the "Trusted devices" menu, pick the device.
  2. When asked if you want to remove the device, tap OK.

Trusted face

Choose trusted face

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

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

Smart Lock doesn't store any photos of you. Data used to recognize your face is stored only on your device and is not accessible by apps or backed up on Google servers.

Set up or remove a trusted face

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 instructions.
  3. When your device is looking for your face, you'll see the 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 instructions.

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.

Trusted voice ("OK Google")

Trusted voice

This feature isn't available for Nexus 6.

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

Learn how to turn on "Ok Google".

 

When you turn your device's screen on after you set up Smart Lock, you’ll see a pulsing circle at the bottom of the screen around the Lock .

Related links

Amy

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

Was this article helpful?
Watch video tutorials

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