Join our Newsletter — 33% off our NHI Course
Authentication, Authorisation & Trust

Lockout Duration

← Back to Glossary
By NHI Mgmt Group Updated November 26, 2026 Domain: Authentication, Authorisation & Trust

Lockout Duration is the length of time an account stays locked after exceeding the allowed number of failed sign-in attempts, before it unlocks automatically or an administrator intervenes. Too short a duration lets password-guessing attacks resume quickly; too long lets attackers lock out legitimate users. Set it alongside the lockout threshold and reset window, and monitor lockout events.

What lockout duration controls

Lockout duration is the time boundary that determines how long an account remains inaccessible after too many failed sign-in attempts. It is one half of the lockout policy, because the real security outcome comes from how duration interacts with the threshold and the reset window. Too little duration weakens resistance to guessing; too much duration can create avoidable service disruption.

Because the setting governs recovery from failed authentication, it sits close to both security and usability. A well-chosen value slows repeated password attempts without turning normal user mistakes into long outages. In environments with privileged or shared operational accounts, the choice matters even more because a single lockout can interrupt support tasks or automation.

How lockout duration works with threshold and reset window

The lockout duration is not meaningful on its own. The threshold decides how many failures trigger the lock, the reset window decides how quickly failed attempts age out, and the duration decides how long the account stays locked once the threshold is crossed. If those three settings are misaligned, organisations can end up with either weak brute-force resistance or a noisy stream of unnecessary lockouts.

Longer durations raise the cost of online guessing by forcing an attacker to wait before trying again. Shorter durations reduce the impact of mistakes and help users recover faster, but they also let automated guessing resume more quickly. The practical question is not whether lockouts exist, but whether the combination of timing controls matches the account's sensitivity and expected use.

Fine-grained policies are often used when different account classes need different behaviour, for example stronger controls for high-value administrative accounts than for ordinary users. NHIMG’s Fine-Grained Password Policies in Active Directory is a useful reference when you need to think about those policy differences as a design problem rather than a single global setting.

Why lockout duration matters for attack resistance

Lockout duration is an online attack-control setting, not a substitute for strong authentication. It primarily affects how quickly a password-guessing campaign can continue after a lock occurs, and that makes it part of the defensive friction around brute-force and password-spraying activity. It also shapes the operational impact of deliberate lockout abuse, where an attacker repeatedly triggers locks to disrupt users rather than to gain access.

In practice, the setting should be understood as a balancing control. If duration is too short, an attacker can keep testing credentials at a pace that may still be acceptable to them. If it is too long, the control can become a denial-of-service vector against legitimate users, especially where the same account is needed for business-critical access.

Monitoring and recovery after lockout events

Lockout duration should be monitored alongside the events that show why a lock occurred, because repeated locks often reveal either attack activity or an authentication problem such as a stale password cached on a device or service. Organisations should review who is being locked, how often it happens, and whether the pattern matches normal user behaviour or something more suspicious.

Recovery also matters. Manual unlocks, automated expiry, and password resets are different responses, and they should not be treated as interchangeable. NHIMG’s D3-ULA Unlock Account explains the operational difference between unlocking and resetting, which is important when you need to restore access without weakening the account protection you were trying to enforce.

Administrative trade-offs and user impact

The main implementation trade-off is between security pressure and support burden. A duration that is generous enough for help desk workflows may still be too permissive for high-risk accounts, while a stricter duration can increase tickets and frustrate users who mistype passwords or trigger legacy applications. The right answer usually depends on account class, sign-in patterns, and the availability of alternative recovery paths.

Practitioners should treat lockout duration as part of a broader authentication policy, not as a standalone tuning knob. It works best when paired with rate-limiting, strong password policy, sensible reset procedures, and alerting that distinguishes ordinary user error from coordinated guessing.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5, NIST SP 800-63 and CIS Controls v8 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementLockout duration is part of authenticator lifecycle and failed-attempt handling.
Recommendation — Set lockout timing with IA-5 so failed sign-ins are constrained without creating avoidable access outages.
NIST SP 800-63Digital Identity GuidelinesDigital identity guidance covers authentication failure handling and rate-limiting choices.
Recommendation — Align lockout duration with identity assurance and authenticator throttling guidance.
CIS Controls v8CIS-6 — Access Control ManagementAccess control management includes limiting repeated authentication attempts and controlling account access.
Recommendation — Tune account lockout behaviour under CIS-6 to slow guessing while preserving recoverability.
ISO/IEC 27001:2022A.5.17 — Authentication informationAuthentication information controls support safe handling of sign-in and lockout behaviours.
Recommendation — Govern lockout settings with authentication-information controls and documented recovery paths.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org