Library / Users & access / Verification code
No. 060·noun·also called OTP, one-time code, 2FA code

Verification code

A short number sent to your email or phone that you type in to prove it's really you.

SPECIMEN · DIAGRAM · STATES
Code sent
Code entered
Signed in
Wrong or expired
type 6 digitsmatchesno matchresend
Definition

What it is

A verification code (often called a one-time code or OTP) is a short-lived number, usually six digits, sent by email or text. Typing it in proves you control that inbox or phone.

Codes are used for passwordless sign-in, for confirming a new email address, and as a second step after a password (two-factor authentication).

A good code screen auto-submits once all digits are in, accepts pasting, offers "resend", and explains clearly when a code is wrong or expired.

Say it like a builder

How to ask for it

Vague

“Text people a number to log in.”

Precise

“Sign in with SMS verification codes: send a 6-digit code valid for 10 minutes, show six digit boxes that auto-advance and auto-submit, accept paste, offer "Resend code" after 30 seconds, and show "That code has expired" when relevant.”

Why it works

"Text a number" leaves out expiry and the input experience; naming verification codes with those details gets a polished screen.

In the wild

You've seen this in

  • YTexts from your bank with a 6-digit code
  • CNotion's email sign-in code
  • GTwo-factor prompts on Google
Usage note

Often confused with