Android 17 will enhance smartphone security by limiting unlock attempts
Google continues to improve security on Android devices. Following the confirmation that Android 17 will implement stricter limits on PIN or password entry attempts, new details have emerged on how this protection will function.
As reported by Android expert Mishaal Rahman, these changes aim to significantly complicate attacks that attempt to guess a smartphone’s lock code.
Fewer Allowed Attempts
Previously, Android permitted a relatively high number of attempts before permanently locking a device. According to the information shared by Mishaal Rahman, Android 16 allowed approximately:
- 10 attempts within the first minute
- 20 attempts after six minutes
- 50 attempts over 25 minutes
- 110 attempts within a 24-hour period
- Up to 1,800 attempts spread over five years
With Android 17, these limits will be significantly reduced. The new thresholds are expected to be:
- 6 attempts within the first minute
- 7 attempts after six minutes
- 8 attempts over 25 minutes
- 12 attempts within 24 hours
- 19 attempts over five years
After 20 incorrect attempts, the system will prevent any further unlock attempts.
🛑 Android 17 uses stronger default lock screen rate-limiting than previous versions.
Android 16 would allow up to 10 guesses in the first minute, 20 in 6 minutes, 50 in 25 minutes, 110 in 24 hours, and 1800 guesses in 5 years.
While this is pretty secure for PINs and passwords…
— Mishaal Rahman (@MishaalRahman) June 30, 2026
A Protection Against Brute Force Attacks
This evolution primarily aims to limit so-called brute force attacks, which involve testing numerous combinations until the correct code is found. Although these types of attacks remain challenging on modern smartphones, they can become more effective when a user chooses a simple PIN, such as a birthdate or common number combination.
By drastically reducing the number of allowed attempts, Google aims to make such attacks far less feasible.
Repeated Errors May Not Always Be Counted
However, Google appears to have devised a mechanism to avoid penalizing legitimate users. According to available information, Android 17 will be capable of detecting when the same incorrect combination is entered multiple times in succession. In such cases, identical attempts may not always be counted as new tries.
The system will also display clearer messages to inform users when a temporary limitation is applied, thus avoiding confusing lock screen notifications.
Security Has Become Essential
Today, smartphones store a significant amount of sensitive information. Banking apps, saved passwords, authentication keys (passkeys), photos, private messages, location histories, and verification codes received via SMS: once the lock is bypassed, a device can grant access to a large portion of its owner’s digital life.
In this context, strengthening protection against unlock attempts is a logical evolution.
A Subtle Yet Important Change
Android 17 has sometimes been criticized for offering fewer visible updates than Android 16. However, these security enhancements could have a much more significant impact on daily use than some more eye-catching features.
Although Google has not yet officially detailed all the mechanisms that will accompany this protection, information gleaned from development versions indicates that security remains a top priority for this new version of Android.
As always, these features may still evolve before the official rollout of Android 17 on compatible smartphones.



