Search
Clear search
Close search
Google apps
Main menu

Set 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 8.0 and up. Learn how to check your Android version.

Step 1: Open the Smart Lock menu

  1. On your device, open the Settings app Settings app.
  2. Tap Security & Location and then Trust agents. Turn on Smart Lock.
  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.

Step 2: 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 recognises your face

Important: 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

Pick 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 it unlocked when 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 could 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. For example: '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 could 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 aeroplane or boat, your device could not lock automatically. Make sure to lock manually if needed. Learn how.

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

Pick trusted places

You can have your phone stay unlocked whenever it's at a trusted place, like your home.

Note: This feature works only on some devices.

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 .

Set up 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 specialised 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. (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 Bin 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 address. To get better location accuracy, you can add the actual location of your home within the building complex as a customised place. See Add custom places (below).

Add, edit or remove 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 (for example, '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

Pick trusted devices

You can have your phone stay unlocked whenever it's connected to a trusted device. (You could 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 that 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.

Trusted face

Pick trusted face

You can have your device unlock when it recognises 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 recognises 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 recognise 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 Setup 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 recognise 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 recognise 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 devices.

 

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 articles

Amy

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

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.