Search
Clear search
Close search
Google apps
Main menu

Set up your device for automatic unlock

You can set your Android phone to automatically unlock in certain circumstances. Then you won't need to manually unlock with your PIN, pattern, or password in those circumstances.

Note: Android isn't the same on all devices. These instructions are for devices running Android 6.0 and up. Learn how to check your Android version.

First, open the Smart Lock menu

  1. On your device, open the Settings app Settings.
  2. Tap Security and then Trust agents. Make sure that Smart Lock is on.
  3. Tap Back Back.
  4. Tap Smart Lock.
  5. Enter your PIN, pattern, or password. If you don't have one, follow the on-screen steps to make one.

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
  • Your device is in a certain place
  • You've connected a specific Bluetooth device
  • Your device recognizes your face

Note: When you don't use your phone for 4 hours, and after your phone restarts, 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.

Note: This feature works only on some devices.

How on-body detection works

The accelerometer in your device keeps your device unlocked when it detects 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 can't always tell whose body is connected.

If you give your device to someone else while it's unlocked, your device can 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. In the Smart Lock menu, tap On-body detection. If you don't see this option, it may not be available for your device.
  2. Turn on On-body detection.
  3. You'll see a message with more information. If your device can learn your walk pattern, it will say: "Accelerometer data about the pattern of your walk is stored on your device."

Turn off on-body detection

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

Tip: 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.

Use on-body detection
  • When your device senses that it's on your body
    Unlock your device once and it stays 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 learns the pattern of your walk. If it detects a walk that's very different, it may lock your phone. If your phone locks after walking, unlock the phone and it will adapt to 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're on an airplane or boat, your device may not lock automatically. Make sure to lock 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

You can choose trusted places, like your home, where your phone will stay unlocked whenever it's there.

Note: This feature works only on some devices.

To use trusted places

  • Have an Internet connection. Trusted places works best with a Wi-Fi connection.
  • Let your phone use your current location. Learn how to turn on location .

To set up trusted places

Important: Your trusted location is an estimate.

Your trusted location can extend beyond the physical 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 your 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. If you don't see this option, it may not be available for your device.
  2. Tap Home.
  3. Tap Turn on this location.

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 multiple buildings at the same address, the trusted place that you want can 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. See Add custom places below.

Add, edit, or remove your 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. If you don't see this option, it may not be available for your device.
  2. Tap Add trusted place.
    • A map will open to your current location.
    • 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

Tip: If you have issues with your trusted places, try adding another custom place with the 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 whenever that device is connected. (You may need to manually unlock your phone first.)

Bluetooth watches, fitness trackers, or car speaker systems can be good choices for trusted devices. We recommend avoiding 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. Learn how.

Add a trusted Bluetooth device

  1. On your phone or tablet, 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 and then Bluetooth.
  4. On the list of connected devices, tap a device. The list shows only paired devices.
  5. With some devices, you must manually unlock your phone before the trusted device will keep it unlocked. This depends on your connection's security and your device's Android version.

Remove a trusted Bluetooth device

  1. In the Smart Lock menu, tap Trusted devices.
  2. On the list of trusted Smart Lock devices, tap the one to remove.
  3. Tap OK.

Make sure you're secure when using trusted Bluetooth devices

Different devices support different Bluetooth standards and security capabilities. It's possible that someone could keep your phone unlocked by imitating your Bluetooth connection. Your device can't always 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. You could need to manually unlock your phone before the trusted device will keep it unlocked.

Bluetooth connectivity range can vary. Range depends on things 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.

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 tap this sticker with your device, your device unlocks.

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.
  4. Add a name for the NFC tag.
  5. Tap OK.

Remove a trusted NFC tag

  1. In the Smart Lock menu, tap Trusted devices.
  2. From the list of trusted Smart Lock options, pick the NFC tag.
  3. Tap OK.

Trusted face

Choose 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 search 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.

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.

Set up, improve, 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 looks 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

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: Trusted voice isn't available for Nexus 6.

 

After you set up Smart Lock, when you turn on your screen, you’ll see a pulsing circle at the bottom 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?
How can we improve it?
Watch video tutorials

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