Account lockout and throttling: balance guessing and denial-of-service risks
Learn how lockout differs from rate limiting, how attackers can abuse it, and how to design delays, bot checks, monitoring, and recovery.
Account lockout and throttling: balance guessing and denial-of-service risks
Account lockout temporarily restricts an authenticator after repeated failed sign-ins. It slows online guessing, but an attacker may deliberately trigger it against someone else to deny access. Design it with throttling, delays, abuse detection, and a safe recovery path rather than treating a hard lock as the only defense.
Lockout and throttling
Throttling slows or challenges attempts as failures accumulate. A lockout usually disables an authenticator after a threshold. Implementations vary, so document whether the response is a delay, temporary restriction, or disabled authenticator.
NIST SP 800-63B-4 applies when the authenticator type requires throttling. Unless that type specifies otherwise, it sets 100 consecutive failed attempts with a specific authenticator on one account as an upper bound, enforced by disabling the authenticator. Agencies may choose a lower limit. If excessive attempts involve multiple authenticators, both may be disabled; a disabled authenticator must be rebound before use again. This is not a target threshold for every service.
Reduce abuse without blocking legitimate users
Increase waiting time as an account approaches its limit; add bot detection or other risk signals where appropriate. A single-IP block does not stop distributed attempts.
Watch patterns across accounts, devices, addresses, and time. Low-rate or distributed guessing may avoid a per-account threshold.
After successful authentication, NIST says the verifier SHOULD disregard previous failures for the authenticators used. Preserve the distinction between this recommendation and requirements that depend on authenticator type.
Provide strong account recovery if a required authenticator is disabled. Do not bypass the protection with security questions or weak identity checks. Tell users when they can retry and how to reach official support.
Monitor lockout spikes and recovery requests; an attacker can use failures to disrupt normal work.
The NIST limit applies within its digital identity guidance and depends on authenticator-specific rules. Other services should set limits for their own risks. Rate limiting and hard lockout are related but not interchangeable controls.
Sources
[NIST SP 800-63B-4: Authenticator and Verifier Requirements](https://pages.nist.gov/800-63-4/sp800-63b/authenticators/)
[NIST SP 800-63B-4: Strength of Passwords](https://pages.nist.gov/800-63-4/sp800-63b/passwords/)