On my Motorola Droid X2, I have to enter the PIN and then hit the arrow-like return button. On my iPod Touch, if I type the 4 digit passcode, it'll unlock as soon as I hit that fourth digit.

Is there any way to have the lock-screen unlock as soon as I enter the correct code?


8 Answers 8


No, because unlike the iPhone/iPod Touch, the unlock PIN can be longer than 4 digits. Android allows between 4 and 16 digits for the lock screen. Since it is "unknown" what the length of your PIN is, you have to press OK to indicate "you are done".

  • 2
    Ahh. Too bad it just doesn't compare the hashes on each tap.
    – Kevin Mark
    Jun 6, 2011 at 18:52
  • iPhone has the same behavior above but also offers a 4 and 6 key lock. No reason Android couldn't also offer both.
    – William
    Oct 14, 2018 at 21:42

Some of the alternate lock types unlock immediately.

The built-in Android pattern lock, where you do a "join the dots" between the nine dots displayed on the screen unlocks immediately your finger lifts off the screen (presuming that you've got the pattern right).

  • he's talking about the PIN code..
    – Irfan
    Jun 7, 2011 at 4:25
  • 1
    @Power Clearly yes, and I'm talking about alternates to the PIN code that do what he wants.
    – GAThrawn
    Jun 7, 2011 at 8:47

Yes, the question is old but remains valid for current time as well, so I'm answering keeping currently relevant Android versions in mind.

If your Android is rooted, has a compatible Xposed Framework1 installed, then provided that your Android can run GravityBox Xposed module, the latter can solve the problem.


  1. Install GravityBox relevant to your Android version, enable the module under Xposed Installer app and reboot the device.
  2. Launch GravityBox, go to Lockscreen tweaks and enable Quick unlock. Once you enable it, the previously grayed out entry named PIN length would become available for tweak. Set it to the length your current PIN/Password consists of.

Changes would take place immediately.

(Click image to enlarge)


Official GravityBox versions:

1 Xposed Framework: Android 4.x, Android 5.x and 6.x


Handcent SMS has a lockscreen with PIN input that also has similar functionality. Entering the correct code auto unlocks when the last correct digit is entered without the need to press OK.


On Android 10, you didn't have to press the arrow key for PIN code, just lift your finger after the 4th button push, and it auto signs in.

When I bought Alcatel 1B burner phones, they came with Android 10 stock and I noticed that feature right away and the option to not briefly show password letters when entering passwords.

Now on Android 11, you have to push the continue arrow again after the PIN code.


On OnePlus/OxygenOS phones, this setting can be changed when changing the PIN itself. So if you want to switch to auto-enter versus manual enter, do the procedure for changing the PIN and you will have a checkbox while entering the PIN to change this setting.


Yes, there is a way to get unlocked without tapping "OK" soon as you finish your PIN. Go to Security settings and on PIN code, there will be an option saying "Confirm PIN without tapping OK". Check that and you are good to go.

  • Based on searching, looks like this feature with this particular label is only available on Samsung devices.
    – Andrew T.
    Dec 24, 2021 at 10:06

The Cyanogenmod (checked in CM10) lock screen also allows to unlock as soon as you enter the correct code.

  • That's a nice feature of CyanogenMod. But the OP doesn't have CyanogenMod installed, so it won't help him specifically.
    – Stephen S
    Oct 22, 2014 at 13:27
  • This close to what I was looking for. I updated to CM13 and can no longer find this option. Apr 5, 2016 at 20:42
  • CM 11 is missing this feature after Marshmallow update :(
    – user163327
    Apr 29, 2016 at 1:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .