Password reset

People locked out need a way back in that an attacker cannot use, and each extra protection also slows down the real person.

Recovering an account. A security question the person cannot remember the answer to locks them out. A single-use link sent to their confirmed email address lets them set a new password.

The answer

Send a single-use, expiring link to a confirmed address, and do not use security questions. As strong as the weakest rule behind it: moderate.

The other rules

  • Notify the account holder whenever the account is recovered.
  • When a link has expired or been used, say so, say why, and offer a new one.
  • Show where the message was sent, and let people ask for it again.
  • Show the same message whether or not an account exists, and say in the email whether there is one.
  • After a reset, ask people to sign in with the new password, and offer to sign out other devices.

Accessibility

Open questions

  • OpenLink or typed code? No comparison found.
  • OpenHow long should a link last? NIST caps email codes at 24 hours; nothing tests shorter times against completion.
  • OpenRecovery when a second factor is lost: one study regained access to 41 of 78 accounts; no guidance rated here.
  • OpenNo usability study of password reset completion was found.
Checked November 12, 2026

Sources