Cybersecurity Education

Strong Password Rules: NIST 15 Characters, Breach Checks

By AntiPhishers Published · Updated

A strong password is long, not on any list of known passwords, and used on one account only. Character-mix rules are not the test. As of December 2026, the US federal guideline on passwords, NIST SP 800-63B-4 (July 2025), says a service must require at least 15 characters for a password used alone, must check new passwords against a blocklist of common and breached passwords, and must not impose composition rules or forced periodic changes. Strength meters can only estimate how guessable a password is, and a password can be checked against breach lists without revealing it.

What NIST SP 800-63B-4 requires of password verifiers

SP 800-63B-4, “Digital Identity Guidelines: Authentication and Authenticator Management”, was published in July 2025 and supersedes SP 800-63B (June 2017, updated March 2, 2020); NIST’s publication record lists no newer revision as of December 2026. It is written for US government systems, and NIST says other organizations may use it “on a voluntary basis”. The password rules are in Sec. 3.1.1. The quotations below are from the PDF edition, with its printed page numbers:

TopicWhat SP 800-63B-4 saysSection, page
Minimum length, single factor”Verifiers and CSPs SHALL require passwords that are used as a single-factor authentication mechanism to be a minimum of 15 characters in length.”3.1.1.2, p.14
Minimum length, as part of MFAVerifiers “MAY allow passwords that are only used as part of multi-factor authentication processes to be shorter but SHALL require them to be a minimum of eight characters in length.”3.1.1.2, p.14
Maximum lengthVerifiers “SHOULD permit a maximum password length of at least 64 characters” and “SHALL verify the entire submitted password (e.g., not truncate it).“3.1.1.2, pp.14-15
Characters”SHOULD accept all printing ASCII [RFC20] characters and the space character” and “SHOULD accept Unicode” characters; “Each Unicode code point SHALL be counted as a single character when evaluating password length.” Where Unicode is accepted, the verifier SHOULD normalize it (NFC) before hashing, and users SHOULD be told that “some endpoints may represent some characters differently”.3.1.1.2, pp.14-15
Composition rules”SHALL NOT impose other composition rules (e.g., requiring mixtures of different character types) for passwords.”3.1.1.1 and 3.1.1.2, p.14
Periodic changes”SHALL NOT require subscribers to change passwords periodically. However, verifiers SHALL force a change if there is evidence that the authenticator has been compromised.”3.1.1.2, p.14
Blocklist”verifiers SHALL compare the prospective secret against a blocklist that contains known commonly used, expected, or compromised passwords.” The entire password is compared, “not substrings or words that might be contained therein.”3.1.1.2, p.15
Security questions and hints”SHALL NOT prompt subscribers to use knowledge-based authentication (KBA)… or security questions when choosing passwords”; “SHALL NOT permit the subscriber to store a hint” that is “accessible to an unauthenticated claimant”.3.1.1.2, p.14
Password managers”Verifiers SHALL allow the use of password managers and autofill functionality,” and SHOULD permit pasting.3.1.1.2, p.15
Guessing limitsConsecutive failed attempts with one authenticator are limited “to no more than 100 by disabling that authenticator”; NIST calls 100 “an upper bound”, and agencies may set lower limits.3.2.2, p.30

Three cautions follow from the table. First, the 8-character figure is a floor for passwords that are only one part of multi-factor login, not a general recommendation; the single-factor floor is 15. Second, these are requirements on the service (the “verifier”), not instructions to you. Third, the rules cover passwords that the service checks. A PIN that unlocks a multi-factor authenticator you hold, such as a security key, is an “activation secret” with its own rules in Sec. 3.2.10 (p.38): at least four characters, six recommended, with no more than 10 failed tries before the authenticator is disabled.

On composition rules, NIST’s rationale (Appendix A, “Strength of Passwords”, pp.87-88) is that “analyses of breached password databases reveal that the benefit of such rules is less significant than initially thought”, and that a user who might have chosen “password” is “relatively likely to choose ‘Password1’” when required to add an uppercase letter and a number.

What the blocklist is for

NIST says the blocklist can include “passwords obtained from previous breach corpuses”, dictionary words, and “context-specific words, such as the name of the service, the username, and derivatives thereof”. It adds that the list defends against online guessing, which is already throttled, so “excessively large blocklists are of little incremental security benefit.” If your password is rejected, the service “SHALL provide the reason for rejection”, and verifiers must offer guidance on choosing a strong password, which NIST notes “discourages trivial modifications of listed weak passwords” (all on p.15).

What the guideline does not cover

The Appendix A text is explicit that keystroke logging, phishing and social engineering “are equally effective on lengthy and complex passwords as they are on simple ones” (p.87), and Sec. 3.1.1 states plainly that “Passwords are not phishing-resistant” (p.14). Length protects against guessing and cracking, not against a convincing fake login page. For the phishing-resistant alternative see passkeys vs passwords; for second factors see our MFA ranking.

Online guessing versus offline cracking

The same password faces two different attackers, and NIST’s Appendix A separates them.

  • Online guessing: the attacker submits guesses to the login form. Rate limiting (at most 100 consecutive failures under Sec. 3.2.2) keeps the number of guesses small, so the danger is a password common enough to be among the first ones tried. NIST says the blocklist’s “primary purpose is to prevent the use of very common passwords that might be guessed in an online attack before throttling restrictions take effect” (p.89).
  • Offline cracking: the attacker has stolen a database of hashed passwords and tries guesses at their own speed. NIST notes that attackers can compute “many billions of hashes per second in an offline environment that is not subject to rate limiting”, which “requires passwords to be orders of magnitude more complex than those expected to resist only online attacks” (p.88). How well the site stores passwords (salted, slow hashing) changes the arithmetic, and you cannot see that from outside.

The UK NCSC’s blog post “Three random words or #thinkrandom” (27 October 2016) comes at the problem from the user’s side: rules push people toward guessable choices such as ‘Pa55word!’, and “typically if a cyber-criminal has the hashes to attack they will break them whatever rules are put in place”. For home users it recommends three random words, for example “coffeetrainfish”, avoiding “those which might be easy to guess, such as ‘onetwothree’ or are closely related to you personally”. It also advises separate passwords for important accounts such as email, so that one poorly protected site does not open the others.

Worked example: how length and randomness compare

This table is our own illustration, not a published measurement. It shows how the number of possibilities grows for passwords chosen truly at random. Assumptions: characters drawn at random from the 94 printable ASCII characters other than the space (about 6.55 bits each); words drawn at random from a list of 7,776 words, the size of the original Diceware list and of EFF’s long wordlist (about 12.92 bits each); an offline attacker testing 10 billion guesses per second, a round number we chose, against a fast hash; and success on average after trying half the possibilities, the same average EFF uses for its lists. NIST requires services to store passwords salted and hashed with a password hashing scheme, whose purpose is “to make each password guess more expensive” (p.16); that would multiply these times, and a faster attacker would divide them. Real attackers do not guess randomly, which is why these numbers apply only to random choices.

Password (chosen at random)EntropyPossibilitiesAverage time at 10^10 guesses per second (our illustration)
8 characters from 9452.4 bits6.1 x 10^15about 3.5 days
12 characters from 9478.7 bits4.8 x 10^23about 750,000 years
16 characters from 94104.9 bits3.7 x 10^31about 5.9 x 10^13 years
4 words from 7,77651.7 bits3.7 x 10^15about 2 days
5 words from 7,77664.6 bits2.8 x 10^19about 45 years
6 words from 7,77677.5 bits2.2 x 10^23about 350,000 years
7 words from 7,77690.5 bits1.7 x 10^27about 2.7 x 10^9 years

What the table shows: under these assumptions an 8-character password falls in days even if perfectly random, and words are a legitimate way to reach length, but only if the words are chosen by a random process (dice or a generator), not by you. EFF, which publishes the 7,776-word list, recommends six words from it for most uses, “for a strength of 77 bits of entropy”. A phrase from a song, a quote or your own life has far fewer real possibilities than the table implies. The table also says nothing about a password that has leaked: NIST notes that attackers “are likely to guess passwords that have previously proven successful”, including passwords from previous breaches (p.88), so a leaked 16-character string is weak however random it looks. NIST’s 15-character floor for passwords used alone sits well above the 8-character row.

How strength estimators work, and where they mislead

A strength meter turns a password into a score or a “time to crack”. The quality of that number depends on the method.

Character-class counting. The long-standing approach counts lowercase and uppercase letters, digits and symbols. Daniel Lowe Wheeler of Dropbox, in “zxcvbn: Low-Budget Password Strength Estimation” (25th USENIX Security Symposium, August 2016), names this “LUDS”, traces it “at least as far back as 1985”, and calls it “a conclusively burdensome and ineffective security practice”. Counting character types cannot capture “words, dates, and keyboard patterns”, so a rule of at least 8 characters from 3 classes “permits obvious choices such as Password1!”. The paper also reports that NIST’s older entropy formula (from SP 800-63-2, August 2013) and the KeePass estimator “substantially overestimate within the range of an online guessing attack”.

Pattern matching against attacker data. zxcvbn, as the paper describes it, instead asks how many guesses an attacker would need. It looks the password up in ranked lists (common passwords from three leaked sets, census names and surnames, and common words from Wikipedia): “if a password is the 55th most common entry in one of these ranked lists, zxcvbn estimates it as requiring 55 attempts to be guessed.” It also matches other patterns: dates, sequences, repeats, keyboard patterns, reversed words and common letter-for-symbol substitutions. A password such as “C0mpaq999” is broken into a common password plus a repeat, rather than treated as nine random characters. The author tested it on leaked passwords against a simulated professional guessing attack and found it “accurate and conservative at low magnitudes, suitable for mitigating online attacks.”

Where estimators mislead. The paper itself lists limits:

  • zxcvbn “doesn’t model interdependencies between patterns, such as common phrases and other collocations”, so a common phrase that is not in its lists as a single entry is scored as if its words were unrelated (its lists do “include many phrases as single tokens, such as opensesame”).
  • It does not match misspellings or words with deleted letters, and the parts it cannot match are judged by length alone: the made-up word “novanoid” “gets the same estimate as a length-8 random string”.
  • Its accuracy was measured against the best guessing attacks of 2016 and “will need to be reevaluated as the state of the art advances”. The paper focuses on online attacks, taking 10^6 guesses as its “approximate online attack cutoff”, and reports high accuracy up to 10^5 guesses with its full 1.5 MB data set.

Any “years to crack” figure also rests on an assumed attacker speed and hash function; without those assumptions, the number cannot be checked.

The practical reading: use a meter as a rough warning that a choice is too obvious, never as a certificate. Don’t type a real password into a website’s strength checker. A generator or password manager removes the need to judge strength by eye at all (see best password managers).

Checking a password against known breaches without revealing it

Have I Been Pwned (HIBP) runs Pwned Passwords, which its API documentation (as of December 2026) describes as “hundreds of millions of passwords which have previously been exposed in data breaches.” It is freely accessible “without the need for a subscription and API key.” Each password is stored as a SHA-1 and an NTLM hash of the UTF-8 password. The service’s FAQ says “a Pwned Password should no longer be used as its exposure puts it at higher risk of being used to login to accounts using the now-exposed secret.”

The k-anonymity range search, step by step

The documentation describes a model that lets the full hash stay with you:

  1. Compute the SHA-1 hash of the password on your own device.
  2. Send only the first 5 characters of that hash: GET https://api.pwnedpasswords.com/range/{first 5 SHA-1 chars}. The prefix is not case-sensitive.
  3. The API answers HTTP 200 with the suffix of every hash that begins with that prefix, each followed by a colon and a count of how often it appears. Per the documentation there are 1,048,576 possible prefixes (00000 to FFFFF), every one returns HTTP 200, and “there is no circumstance in which the API should return HTTP 404.”
  4. Your software looks for your own suffix in the response. If it is absent, the password “does not exist in the data set.”

Worked example with a well-known weak password, “password”, chosen because it is not a secret. Its SHA-1 hash is 5BAA61E4C9B93F3F0682250B6CF8331B7EE68FD8. The prefix sent is 5BAA6; the remaining 35 characters are 1E4C9B93F3F0682250B6CF8331B7EE68FD8. On 2 December 2026 the range response for 5BAA6 listed that suffix with a count of 52,373,976 (a count that changes as the service is updated). The range response held 1,978 hash suffixes on that date, above the “approximately 800” the documentation gives as typical, which it says “will increase as more passwords are added.”

Details the documentation adds

  • Padding. Sending the header Add-Padding: true “pads out responses to ensure all results contain a random number of records between 800 and 1,000”, so someone watching encrypted traffic cannot infer the prefix from the response size. “Padded entries always have a password count of 0 and can be discarded once received.” The 800 to 1,000 range is the documentation’s own figure; the unpadded 5BAA6 response above already held 1,978 suffixes.
  • Check once, at the end. Do not query as each character is typed. The documentation warns that incremental searching may let a third party who can see inbound requests “discern the original password being searched for”, and recommends waiting until the whole password has been entered.
  • NTLM mode. Adding ?mode=ntlm returns NTLM suffixes of 27 characters instead of SHA-1 suffixes of 35 characters.
  • Offline option. The whole data set can be downloaded and searched locally, with no API dependency.
  • Emails are different. The API’s email-address searches need an API key from a paid subscription, and their k-anonymity version sends the first 6 characters of the address’s SHA-1 hash rather than 5. The password range search is the free one.

A short script on your own machine does steps 1 to 4 and never sends the password itself. If you are not comfortable writing one, a password manager that offers a breach check is the practical route; check its documentation for how it checks passwords. Do not type a real password into any web form to “see if it has been pwned”. The k-anonymity method exists so that no site ever needs the full password.

If a password you actually use does appear, assume it is known to attackers: change it everywhere it was used, with a new, unique one. Our credential compromise checklist covers what to do next.

A decision guide for choosing passwords

SituationWhat to doBasis
Any account that allows a password managerLet the manager generate a long random password, unique per accountNIST 3.1.1.2: verifiers SHALL allow password managers; password managers “increase the likelihood that subscribers will choose stronger passwords”
A password you must type from memory, such as a password manager’s master passwordUse a phrase of words chosen by dice or a generator, at least 15 characters longNIST’s 15-character floor for passwords used alone; NCSC three random words; EFF’s six-word advice; our table shows why the words must be random
The service lets you pickChoose well above the minimum; avoid your name, the service name and variations of a known passwordNIST blocklist examples: service name, username and derivatives
The service rejects your passwordChoose a different one, not a tweak of the rejected oneNIST 3.1.1.2 guidance on trivial modifications
You suspect a leakCheck the password with the k-anonymity method; if it is found, retire it everywhereHIBP FAQ on pwned passwords
The service offers passkeysPrefer them; keep a strong, unique password as fallback if the service insistsNIST: passwords are not phishing-resistant
The service forces a change every 90 daysNothing you can change, but be aware current NIST guidance says it SHALL NOTNIST 3.1.1.2

Common myths, checked against the sources

  • “Eight characters with a symbol and a number is enough.” NIST’s floor is 15 for a password used alone; 8 applies only where the password is one factor among several.
  • “Change it every 90 days.” NIST says verifiers “SHALL NOT require subscribers to change passwords periodically”, but must force a change on evidence of compromise.
  • “Replacing letters with symbols makes a word strong.” The zxcvbn paper describes matching common letter substitutions, and NIST’s Appendix A uses “Password1!” as the example of what composition rules produce.
  • “The strength meter said strong, so it is safe.” A meter such as zxcvbn estimates guessability from the patterns and lists it carries. That is not a check of breach data, and it does nothing against phishing.

Sources

  1. NIST SP 800-63B-4, Digital Identity Guidelines: Authentication and Authenticator Management (July 2025), PDF: Sec. 3.1.1 (printed pp.13-17), 3.2.2 (p.30), 3.2.10 (p.38) and Appendix A (pp.87-90); also as an HTML edition; publication record at csrc.nist.gov
  2. Wheeler, D. L., “zxcvbn: Low-Budget Password Strength Estimation”, Proceedings of the 25th USENIX Security Symposium, August 10-12, 2016, pp.157-173
  3. Have I Been Pwned, API v3: Pwned Passwords and range search, read December 2026; HIBP FAQs
  4. UK NCSC, “Three random words or #thinkrandom”, Ian McCormack, 27 October 2016
  5. EFF, “Deep Dive: EFF’s New Wordlists for Random Passphrases”, Joseph Bonneau, 19 July 2016