Admin Login

Account Lockout Policy Best Practices: Threshold, Duration and NIST Guidance

Recommended Active Directory lockout threshold, duration and counter reset values from Microsoft, CIS and NIST, plus password spraying, unnecessary lockouts and per-group values with FGPP.

The account lockout policy decides when and for how long an account is locked after repeated wrong passwords. Its purpose is to slow down password guessing. Chosen badly, it stops users more than attackers: the help desk starts every morning with unlock requests.

The three settings

The settings live in Group Policy under Computer Configuration > Policies > Windows Settings > Security Settings > Account Policies > Account Lockout Policy and are defined at domain level (usually in the Default Domain Policy):

  • Account lockout threshold: how many wrong attempts lock the account. 0 means the account never locks.
  • Account lockout duration: how long the account stays locked. 0 means it stays locked until an administrator unlocks it.
  • Reset account lockout counter after: how long until the wrong-attempt counter resets. It cannot be longer than the lockout duration.

Sources differ. At the time of writing, the main recommendations are:

Source Threshold Lockout duration Counter reset
Microsoft security baseline (Windows 10/11 and earlier server versions) 10 15 minutes 15 minutes
Microsoft security baseline (Windows Server 2025) 3 15 minutes Not specified
CIS Benchmarks 5 or fewer (not 0) 15 minutes or more 15 minutes or more
NIST SP 800-63B No more than 100 consecutive failed attempts Not specified Not specified

NIST focuses on rate limiting rather than lockout: it requires that consecutive failed attempts on one account stay at or below 100, and recommends methods that do not lock users out unnecessarily.

Microsoft tightened the line in the Windows Server 2025 baseline, lowering the threshold from 10 to 3. For most organizations, a threshold between 3 and 10, with 15 minutes for duration and counter, is a reasonable range. A smaller threshold slows guessing but causes more lockouts. An organization that moves to 3 should expect more unlock requests, especially from users whose phones still hold an old password.

Why a lower threshold is not more secure

  • Password spraying ignores the threshold. The attacker tries one or two common passwords per account across thousands of accounts, so no single account reaches the threshold. The real defences are a strong password policy and monitoring events 4771 and 4625 on domain controllers.
  • A low threshold invites denial of service. Anyone who knows usernames can lock accounts on purpose by trying wrong passwords.
  • Devices that remember an old password (mail on a phone, mapped drives) lock the account far more often when the threshold is low.

Different values for different accounts: FGPP

The Default Domain Policy applies the same values to everyone in the domain. When administrator or service accounts need different values, use a Fine-Grained Password Policy (FGPP). Besides password settings, an FGPP can set the lockout threshold and duration per group.

Local accounts on Windows 11

Newer Windows 11 builds ship a default lockout policy for local accounts as well: 10 failed attempts lock the account for 10 minutes. This applies to the computer's own local accounts, not to domain accounts.

Lowering the cost of a locked account

However well the policy is tuned, lockouts happen. Two things reduce their cost:

  • Finding the source: if the same account keeps locking, the cause is usually a device holding the old password. The steps are in finding the source with event 4740.
  • Letting users unlock themselves: a self-service portal verifies the user with a code sent to the registered phone and lifts the lock without changing the password, so nobody waits for the lockout to expire or for the help desk.

In PRESS, account unlock is a self-service flow separate from password reset. The Frequent Lockouts report in the admin panel shows repeat lockouts, and the user details page shows the device that caused them.

Try the unlock flow in the live demo

Evaluate PRESS in your own environment.

Through the live demo you can explore the user portal and the admin panel directly.