Password creation
Password rules make passwords harder to create without making them much harder to guess.
The answer
Require length, not character mixes, allow password managers, and offer a way to show the password. As strong as the weakest rule behind it: moderate.
-
Allow pasting and password managers.
WCAG 2.2 level AA (3.3.8); NIST's 2025 standard and the UK NCSC agree. Reopened and checked.
- Applies when
- Always.
- Based on
- Standard or law
- Principle
- Work for everyone
- Common mistake
- Blocking paste into the field (rule 1).
- StandardsStandard: Understanding SC 3.3.8: Accessible Authentication (Minimum)W3C WAI, 2023
- Standard: NIST SP 800-63B-4 Digital Identity Guidelines, Authentication and Authenticator Management (Sec. 4.2 Account Recovery; Sec. 3.1.1.2)NIST, 2025
- GuidanceGuidance: Password administration for system owners (Password policy: updating your approach)UK National Cyber Security Centre, 2018
-
Require a minimum length, not a mix of character types, and reject common or leaked passwords.
Two large experiments (about 5,000 and 8,143 people) found length-only policies more usable than composition rules and at least as strong against determined guessing; under the strictest composition policy only 17.7% succeeded first time and 25% dropped out. NIST's 2025 standard forbids composition rules, and NCSC and OWASP agree. GOV.UK asks for a minimum length and a ban on common passwords without ruling on composition. Skeptical pass: both studies used crowd workers making passwords for no real account, and against an attacker limited to a million guesses the long simple passwords were weaker. Held at 4.
- Applies when
- Always.
- Based on
- Research
- Principle
- Prevent errors
- Common mistake
- Rules demanding upper case, digits and symbols (rule 2).
- ExperimentsExperiment: Of Passwords and People: Measuring the Effect of Password-Composition PoliciesKomanduri, 2011
- Experiment: Can Long Passwords Be Secure and Usable?Richard Shay, 2014
- StandardStandard: NIST SP 800-63B-4 Digital Identity Guidelines, Authentication and Authenticator Management (Sec. 4.2 Account Recovery; Sec. 3.1.1.2)NIST, 2025
- GuidanceGuidance: Password administration for system owners (Password policy: updating your approach)UK National Cyber Security Centre, 2018
- Guidance: Authentication Cheat SheetOWASP Cheat Sheet Series
-
Offer a way to show the password.
NIST says verifiers should offer it; Baymard and NN/g agree. Covered in Show password.
- Applies when
- Always.
- Based on
- Convention
- Principle
- Keep people in control
- User researchUser research: Avoid Unnecessarily Complex Password-Creation Requirements (82% Don't)Baymard Institute, 2022
- StandardStandard: NIST SP 800-63B-4 Digital Identity Guidelines, Authentication and Authenticator Management (Sec. 4.2 Account Recovery; Sec. 3.1.1.2)NIST, 2025
- GuidanceGuidance: Checklist for Registration and Login (password guidance)Nielsen Norman Group, 2017
The other rules
-
When a password is rejected, say why.
One study of 2,280 sessions found people given a generic rejection often made a small change to the same weak password; NIST requires giving the reason. Rated 3.
- Applies when
- A chosen password is rejected.
- Based on
- Research
- Principle
- Help people recover from errors
- Common mistake
- 'Password not accepted' with no reason (rule 3).
- ExperimentExperiment: Password Creation in the Presence of BlacklistsHabib, 2017
- User researchUser research: Avoid Unnecessarily Complex Password-Creation Requirements (82% Don't)Baymard Institute, 2022
- StandardStandard: NIST SP 800-63B-4 Digital Identity Guidelines, Authentication and Authenticator Management (Sec. 4.2 Account Recovery; Sec. 3.1.1.2)NIST, 2025
-
Show which requirements are met as people type.
A 6,435-person experiment found real-time feedback on requirements reduced creation errors without changing strength. One study in a crowd-worker setting, so 3.
- Applies when
- The password has requirements.
- Based on
- Research
- Principle
- Keep people informed
- ExperimentsExperiment: A Spoonful of Sugar? The Impact of Guidance and Feedback on Password-Creation BehaviorShay, 2015
- Experiment: Telepathwords: preventing weak passwords by reading users' minds (conference slides)Komanduri, 2014
- User researchUser research: Avoid Unnecessarily Complex Password-Creation Requirements (82% Don't)Baymard Institute, 2022
-
Don’t rely on a strength meter. Enforce length and block known-bad passwords.
One experiment found only strict meters changed behavior, and those annoyed people; another found a lab effect that vanished in the field for low-value accounts; OWASP and NN/g recommend meters while NCSC warns about their blind spots. Rated 1.
- Applies when
- Always.
- Based on
- Research
- Principle
- Keep people informed
- ExperimentsExperiment: How Does Your Password Measure Up? The Effect of Strength Meters on Password CreationBlase Ur, 2012
- Experiment: Does my password go up to eleven? The impact of password meters on password selectionEgelman, 2013
- GuidanceGuidance: Authentication Cheat SheetOWASP Cheat Sheet Series
- Guidance: Password administration for system owners (Password policy: updating your approach)UK National Cyber Security Centre, 2018
- Guidance: Checklist for Registration and Login (password guidance)Nielsen Norman Group, 2017
-
Ask for the new password once, with a way to show it.
NN/g advises against it on opinion; the only data is one vendor's before-and-after with other changes mixed in. No controlled study found. Rated 1.
- Applies when
- Always.
- Based on
- Practitioner research
- Principle
- Prevent errors
- ExperimentExperiment: Should you use Confirm Password on your forms? (case study)Zuko Analytics, 2026
- User researchUser research: Avoid Unnecessarily Complex Password-Creation Requirements (82% Don't)Baymard Institute, 2022
- GuidanceGuidance: Checklist for Registration and Login (password guidance)Nielsen Norman Group, 2017
Accessibility
Open questions
- OpenStrength meters (rule 6) and confirm fields (rule 7).
- OpenWhat minimum length to set: NIST gives 15 characters for a password used alone and 8 within multi-factor sign-in; the experiments tested 12, 16 and 20. A specific number is left to the standard.
- OpenNo systematic review and no published experiment on a live sign-up flow was found.
- OpenOne study was read at abstract level only.
Sources
- ExperimentsExperiment: Of Passwords and People: Measuring the Effect of Password-Composition PoliciesKomanduri, 2011
- Experiment: Can Long Passwords Be Secure and Usable?Richard Shay, 2014
- Experiment: Password Creation in the Presence of BlacklistsHabib, 2017
- Experiment: A Spoonful of Sugar? The Impact of Guidance and Feedback on Password-Creation BehaviorShay, 2015
- Experiment: Telepathwords: preventing weak passwords by reading users' minds (conference slides)Komanduri, 2014
- Experiment: How Does Your Password Measure Up? The Effect of Strength Meters on Password CreationBlase Ur, 2012
- Experiment: Does my password go up to eleven? The impact of password meters on password selectionEgelman, 2013
- Experiment: Should you use Confirm Password on your forms? (case study)Zuko Analytics, 2026
- User researchUser research: Avoid Unnecessarily Complex Password-Creation Requirements (82% Don't)Baymard Institute, 2022
- StandardsStandard: Understanding SC 3.3.8: Accessible Authentication (Minimum)W3C WAI, 2023
- Standard: NIST SP 800-63B-4 Digital Identity Guidelines, Authentication and Authenticator Management (Sec. 4.2 Account Recovery; Sec. 3.1.1.2)NIST, 2025
- GuidanceGuidance: Password administration for system owners (Password policy: updating your approach)UK National Cyber Security Centre, 2018
- Guidance: Authentication Cheat SheetOWASP Cheat Sheet Series
- Guidance: Checklist for Registration and Login (password guidance)Nielsen Norman Group, 2017
Related
- Show passwordHide the password by default, with a control that shows it.Answer: moderate.
- Stating format requirementsRemove format rules where you can. Where you cannot, state them before people type.Answer: moderate.
- Autofill and identifying input purposeMark each field with what it is for, and never block autofill, pasting or password managers.Answer: settled.
- Sign upDo not require an account where the service works without one, and ask only for what the account needs.Answer: weak.
- PasskeysOffer passkeys at sign-up and recovery, and show people where each one lives and how to remove it.Answer: moderate.