CCyberwiki

NIST SP 800-63

NIST SP 800-63
Full titleDigital Identity Guidelines
PublisherNational Institute of Standards and Technology (US)
Current revisionSP 800-63-4, July 2025
SupersedesSP 800-63-3
Volumes800-63 (base), 63A identity proofing, 63B authentication, 63C federation
Written forUS government systems; others may adopt it
Websitepages.nist.gov/800-63-4

NIST SP 800-63, the Digital Identity Guidelines, is a set of US government documents with technical requirements for checking who a person is, signing them in, and passing that sign-in from one service to another. It is written for US government systems; private companies and state, local and tribal governments may use it where it fits.1 The current revision, 800-63-4, came out in July 2025 and replaced 800-63-3.2 The Authentication volume, 800-63B, holds the password rules: a minimum length and a check against leaked passwords, with no required mix of character types and no scheduled expiry.3

Volumes and assurance levels

The base volume sets out the risk model; three companions hold the detailed rules: 800-63A for identity proofing, 800-63B for authentication and 800-63C for federation, where one service signs a user in on behalf of another.1 For each online service, an organisation picks an identity assurance level (IAL), an authentication assurance level (AAL) and, when federation is used, a federation assurance level (FAL). The base volume calls its method risk-based: an organisation may tailor the baseline controls of a level to its users and the service.1

Requirements carry capitalised keywords. SHALL and SHALL NOT permit no deviation for a system that claims to conform; SHOULD names a preferred course that is not required; MAY names a permitted one.1 Two password rules that were SHOULD NOT in the 2017 text became SHALL NOT in 2025 (Table 2).43 The 2017 volume B was withdrawn on 1 August 2025.5

Table 1. Authentication assurance levels in 800-63B-4
LevelFactorsOther requirements
AAL1One factor is enoughOffering multi-factor options is recommended
AAL2Two distinct factorsA phishing-resistant option must be offered; sign-in again after at most 24 hours, or 1 hour idle (recommended)
AAL3Two factors, one a key held in hardware that cannot be exportedPhishing resistance required; synced keys not allowed; sign-in again after at most 12 hours (15 minutes idle recommended)

Password rules

Table 2. Password rules in the 2017 and 2025 texts of volume B
Rule800-63B (2017)800-63B-4 (2025)
Minimum lengthSHALL: 8 characters when chosen by the userSHALL: 15 characters when the password is the only factor; 8 when it is part of multi-factor sign-in
Maximum lengthSHOULD allow at least 64SHOULD allow at least 64
Required mix of character typesSHOULD NOTSHALL NOT
Scheduled password changeSHOULD NOT; force a change on evidence of compromiseSHALL NOT; force a change on evidence of compromise
Pasting the passwordSHOULD permitSHOULD permit; password managers and autofill SHALL be allowed

Version 4 also requires the verifier to check the whole password without truncating it, and to count each Unicode code point as one character. It forbids password hints that can be read before sign-in, and it forbids asking for security questions when a user picks a password.3

When a password is set or changed, the full value is compared with a blocklist, a defence against brute-force guessing: passwords from earlier breaches, dictionary words, and words tied to the context such as the name of the service or the username. A match is refused with the reason stated. The list does not need to be huge, because online guessing is already throttled; it has to cover the guesses an attacker could make before reaching the attempt limit.3

Stored passwords are salted and hashed with a password hashing scheme that takes a cost factor. The salt is at least 32 bits, and each record should name the scheme and cost used, so that old hashes can be moved to stronger settings later.3 Password storage covers the algorithms.

Reasons given in the standard

Appendix A of 800-63B-4 explains the password rules. Users answer composition rules in predictable ways: a person who would have chosen password tends to choose Password1 when a capital letter and a digit are required, and Password1! once a symbol is added. Forms that refuse spaces or quote marks to stop SQL injection gain nothing, since the password is hashed before it reaches the database. A hash has the same size whatever the length of its input, so long passphrases cost no extra storage, though some upper limit is sensible because a password several megabytes long would take a long time to hash.3

Guessing is held back by throttling instead. A verifier disables an authenticator after no more than 100 consecutive failed attempts on one account; NIST chose that ceiling by weighing the odds of guessing a six-digit code within 100 tries against the cost of recovering accounts that hit the limit. The informative section on usability suggests allowing at least 10 attempts.3 Account lockout and Rate limiting describe the mechanics.

Second factors and phishing

Passwords are not phishing-resistant, and neither is any one-time code the user types, from an app or a text message, because a fake site can relay the code to the real one, as in Adversary-in-the-middle phishing.3 In the standard, a phishing-resistant authentication protocol keeps the secret from an impostor without depending on the user spotting the fake. Two methods qualify: binding the sign-in to the encrypted channel, or to the verified name of the site. Channel binding counts as the stronger, because a wrongly issued certificate does not defeat it.3

Among second factors, authenticators that copy their key to other devices through a sync service, as synced Passkeys and WebAuthn do, are allowed up to AAL2 but not at AAL3, which requires a key that cannot leave the device.35 Email is not allowed as an out-of-band channel for codes. Codes sent by SMS or voice call are permitted but restricted, the only restricted authenticator in the 2025 text: the service must offer every user another option and should look for warning signs such as a SIM change or a ported number before sending one. Changing the registered phone number counts as adding a new authenticator, so the rules for registering a second factor apply. Push approvals should be capped between successful sign-ins, the defence against MFA push fatigue.3

Use in web applications

The breach check can use the Pwned Passwords range API from Have I Been Pwned. The application hashes the password with SHA-1 and sends only the first five hex characters; the response lists the rest of every known hash that starts with those five characters, one SUFFIX:COUNT line each, and the comparison happens on the application's own server.6

// Node.js
import { createHash } from "node:crypto";

async function isBreached(password) {
  const hash = createHash("sha1").update(password).digest("hex").toUpperCase();
  const res = await fetch("https://api.pwnedpasswords.com/range/" + hash.slice(0, 5));
  const body = await res.text();
  const suffix = hash.slice(5);
  return body.split("\n").some((line) => line.split(":")[0].trim() === suffix);
}

Supabase Auth runs the same check as leaked password protection, through Pwned Passwords, on the Pro plan and above; the minimum length is set in the same project Auth settings.7 The Supabase guide also advises requiring digits, lower and upper case letters and symbols, which is the composition rule 800-63B-4 forbids.73 A project that follows NIST sets a long minimum length and turns on the leaked password check instead.

In SecFlash

SecFlash reports a Supabase project that accepts passwords already seen in breaches as SF-CLD-523, and one that offers too few second factors as SF-CLD-524, both on the Cloud page. A form that blocks pasting, which stops password managers from filling it, shows as SF-SPD-304 on the Speed page.

See also

References

  1. a b c d NIST (2025). "SP 800-63-4: Digital Identity Guidelines". National Institute of Standards and Technology.
  2. back NIST (July 2025). "SP 800-63-4, Digital Identity Guidelines". NIST Computer Security Resource Center.
  3. a b c d e f g h i j k l NIST (2025). "SP 800-63B-4: Authentication and Authenticator Management". National Institute of Standards and Technology.
  4. back NIST (June 2017, updated 2 March 2020). "SP 800-63B: Digital Identity Guidelines, Authentication and Lifecycle Management". National Institute of Standards and Technology.
  5. a b NIST (withdrawn 1 August 2025). "SP 800-63B, Digital Identity Guidelines: Authentication and Lifecycle Management". NIST Computer Security Resource Center.
  6. back Have I Been Pwned. "API v3: Pwned Passwords". haveibeenpwned.com.
  7. a b Supabase (updated 1 October 2026). "Password security". Supabase Docs.