# Show password

> People cannot check a password they cannot see, but anyone nearby can read one that is shown.

Area: Forms. Evidence behind the answer: Moderate. Last checked November 12, 2026.
Page: https://uxreference.com/forms/password-show

## The answer

Hide the password by default, with a control that shows it.

- **Moderate.** Hide the password by default, with a button to show it. (https://uxreference.com/forms/password-show#rule-2)

## The problem

A hidden password cannot be checked by the person typing it, and a visible one can be read by someone nearby.

## How to decide

None. The sources do not describe more than one correct practice that depends on context.

## Every rule

Each rule has a grade: Settled (required by WCAG AA or law, or replicated research), Strong, Moderate, Weak, or Unsettled (use the stated default until the evidence settles).

#### Rule 1. Settled, WCAG AA

Expose the show or hide control's name and current state to software, and announce when the state changes.

- Applies when: A show control is offered.
- Based on: Standard or law
- Principle: Work for everyone

Why: WCAG 2.2 level A (4.1.2). Reopened and checked.

Sources: [Understanding SC 4.1.2 Name, Role, Value](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value.html)

Link: https://uxreference.com/forms/password-show#rule-1

#### Rule 2. Moderate

Hide the password by default and offer a control that shows it.

- Applies when: Always.
- Based on: Convention
- Principle: Keep people in control

Why: GOV.UK, NHS, Carbon, Android and NIST agree, and 82% of 202 people surveyed in one study preferred hidden by default with a way to show. The same study found most audited sites offered no such control. Convention, so 3.

Sources: [Password input component, GOV.UK Design System](https://design-system.service.gov.uk/components/password-input/); [Password input, NHS digital service manual](https://service-manual.nhs.uk/design-system/components/password-input); [Text input usage (password input variant), IBM Carbon Design System](https://carbondesignsystem.com/components/text-input/usage/); [Show or hide password based on a user toggle](https://developer.android.com/quick-guides/content/show-hide-password); [NIST SP 800-63B-4 Digital Identity Guidelines, Authentication and Authenticator Management (Sec. 4.2 Account Recovery; Sec. 3.1.1.2)](https://pages.nist.gov/800-63-4/sp800-63b.html); [Unmasking the Security and Usability of Password Masking](https://faculty.cc.gatech.edu/~frankli/papers/PasswordMasking_CCS24.pdf)

Link: https://uxreference.com/forms/password-show#rule-2

#### Rule 3. Weak

Hide the password again when the form is submitted.

- Applies when: A show control is offered.
- Based on: Convention
- Principle: Prevent errors

Why: GOV.UK only; reopened and checked. Rated 2.

Sources: [Password input component, GOV.UK Design System](https://design-system.service.gov.uk/components/password-input/)

Link: https://uxreference.com/forms/password-show#rule-3

## Accessibility requirements

- WCAG 2.2, 4.1.2 Name, Role, Value (A). (https://www.w3.org/WAI/WCAG22/Understanding/name-role-value.html)
- GOV.UK notes that screen readers have their own ways to read a password field and that a control's label can fall out of step with the visible state. No test was read.

## Common mistakes

- No way to see what was typed, on a touch keyboard where typos are common.

## Still open

- Does hiding cause more typing errors? An experiment with 600 people found lower first-try success when hidden but no difference that survived correction; a 10-person study found no clear difference. A widely cited essay claims masking causes errors and gives no data.
- Whether showing by default would be acceptable on phones: untested.
- No published online experiment of a show control was found.

## Related problems

- [Password creation](https://uxreference.com/forms/password-create): Require length, not character mixes, allow password managers, and offer a way to show the password.
- [Log in](https://uxreference.com/accounts/log-in): Never block paste or password managers, and slow repeated attempts instead of locking people out.

## Sources

- [Understanding SC 4.1.2 Name, Role, Value](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value.html). W3C WAI, 2026, normative standard (Understanding document).
- [Password input component, GOV.UK Design System](https://design-system.service.gov.uk/components/password-input/). GOV.UK Design System (UK Government Digital Service), n.d., component documentation.
- [Password input, NHS digital service manual](https://service-manual.nhs.uk/design-system/components/password-input). NHS England, n.d., component documentation.
- [Text input usage (password input variant), IBM Carbon Design System](https://carbondesignsystem.com/components/text-input/usage/). IBM Carbon Design System, n.d., component documentation.
- [Show or hide password based on a user toggle](https://developer.android.com/quick-guides/content/show-hide-password). Android Developers (Google), n.d., component documentation (code recipe).
- [NIST SP 800-63B-4 Digital Identity Guidelines, Authentication and Authenticator Management (Sec. 4.2 Account Recovery; Sec. 3.1.1.2)](https://pages.nist.gov/800-63-4/sp800-63b.html). NIST, 2025, normative standard.
- [Unmasking the Security and Usability of Password Masking](https://faculty.cc.gatech.edu/~frankli/papers/PasswordMasking_CCS24.pdf). Yuqi Hu, Suood Alroomi, Sena Sahin, Frank Li (Georgia Tech), 2024, between-subjects online experiment (10 workflows) plus survey plus manual audit of login forms.

---
From Solved Problems in UX by Athen Pellicci, an evidence-graded reference of web interface problems. CC BY 4.0. https://uxreference.com/
