Account Lockout
Account lockout is a security feature that blocks access to a user account after too many failed login attempts or other trigger conditions. It is intended to make it harder for an attacker to keep guessing passwords, though it may also temporarily lock out legitimate users. The lock may be temporary, lifting after a set time, or may require an administrator to restore access.
Account lockout is a control state that suspends further authentication attempts against an account after repeated failures or other defined trigger conditions, disabling the account either temporarily or until manual intervention. Implementations typically define a failed-attempt threshold, a lockout duration, and an observation or reset window; in directory environments such as Active Directory, lockout events are recorded (for example, Event ID 4740) and can be diagnosed with tools such as Microsoft's LockoutStatus.exe or third-party utilities to identify the source host generating the failed attempts. The control is intended to mitigate password-guessing and brute-force attacks, but carries trade-offs: aggressive thresholds can produce lockouts of legitimate users (a false-positive effect) and can be abused for denial-of-service against accounts. Configuration and enforcement details are governed by the relevant platform or applicable authentication policy; where lockout is applied to meet a compliance obligation, confirm specific parameters against the current published standard rather than assuming fixed values.
Why it matters
Account lockout is one of the oldest and most widely deployed defenses against password-guessing and brute-force attacks. By suspending authentication after a defined number of failed attempts, it raises the cost and slows the pace of an attacker attempting to try many passwords against a single account. Where lockout is applied to satisfy a compliance obligation, the specific threshold, duration, and reset window should be confirmed against the current published standard rather than assumed, since parameters and wording differ between versions.
The control involves genuine trade-offs that security and operations teams must balance. Aggressive thresholds can lock out legitimate users who mistype passwords or use stale cached credentials, producing a false-positive effect that generates help-desk load and user friction. The same mechanism can also be abused: an attacker who knows a valid username can deliberately trigger repeated failures to force a denial-of-service against that account. Because of this, lockout policy should be tuned to the environment and paired with other controls rather than relied on in isolation.
Account lockout does not by itself eliminate the risk of credential compromise. It helps reduce online guessing but does not address offline attacks against stolen password hashes, credentials already exposed in breaches, or authentication bypass through other vectors. It is best understood as one layer that may mitigate specific attack patterns, most effective when combined with strong password practices, monitoring, and additional authentication factors.
Who it's relevant to
Inside Account Lockout
Common questions
Answers to the questions practitioners most commonly ask about Account Lockout.