URL: https://passwordless.gr/en/glossary/one-time-password/
Language: en
Description: A one-time password (OTP) is valid for a single sign-in and arrives by SMS or comes from an app. How it works and why it does not resist phishing.

# What is a one-time password (OTP)?

Updated 6 October 2026

Definition: A one-time password (OTP) is a short code, usually numeric, that is valid for a single sign-in or for a short period and shows that the user holds a particular device or phone number.

## A code that expires quickly, but still has to be typed

A one-time password (OTP) is a short code that is valid for one sign-in. It is either generated by an app or a small device the user holds, or sent to them by SMS or email. The user types it in, usually after the password, to show that the device is in their hands.

In the first case, the app and the organisation share a secret key from the moment of enrolment. From that key and the time, or a counter, both work out the same code. [NIST SP 800-63B-4 (2025)](https://pages.nist.gov/800-63-4/sp800-63b.html) places these authenticators in the category “something you have”, which is why a one-time password serves as the second factor in [multi-factor authentication](https://passwordless.gr/en/glossary/multi-factor-authentication/).

In the second case, the organisation creates the code and sends it to the user’s number or address. Here the proof is that the user receives messages at that number.

## A one-time password does not stand up to phishing

For an organisation, a one-time password is better than a password alone, but it does not stop phishing. The user types it, so they can also type it into an imitation page, or read it out to a caller posing as a member of staff. The attacker uses it straight away.

NIST states it as a rule: authenticators that require a code to be entered by hand are not considered resistant to [phishing](https://passwordless.gr/en/glossary/phishing/), because the code is not bound to the session it was issued for.

Codes sent by SMS have a further weakness, because they depend on the telephone network. NIST classes its use as “restricted” and asks for risk indicators to be considered, such as a recent change of SIM card. The related fraud is called [SIM swapping](https://passwordless.gr/en/glossary/sim-swapping/).

There is a practical burden as well: every delivery is a message that may be late or never arrive, and a user left waiting. With a [passkey](https://passwordless.gr/en/glossary/passkey/) no code is sent.

Those who rely on SMS codes today for customer or partner sign-in, such as [banks](https://passwordless.gr/en/solutions/finance/) and [insurance companies](https://passwordless.gr/en/solutions/insurance/), have reason to consider what will replace them.

## Related terms

-   [Multi-factor authentication (MFA)](https://passwordless.gr/en/glossary/multi-factor-authentication/)
-   [SIM swapping](https://passwordless.gr/en/glossary/sim-swapping/)
-   [Phishing](https://passwordless.gr/en/glossary/phishing/)
-   [Phishing-resistant authentication](https://passwordless.gr/en/glossary/phishing-resistant-authentication/)
-   [Passkey](https://passwordless.gr/en/glossary/passkey/)

## Sectors concerned

-   [Insurance](https://passwordless.gr/en/solutions/insurance/)
    
    The agent portal opens claim files. It deserves better than a shared password.
    
-   [Public sector](https://passwordless.gr/en/solutions/public-sector/)
    
    Services for every citizen, and QR codes in public places that anyone can cover with a sticker.
    
-   [Banking](https://passwordless.gr/en/solutions/finance/)
    
    Strong customer authentication is already an obligation. The question is whether it also withstands phishing.
    

## Keep reading

-   [All glossary terms](https://passwordless.gr/en/glossary/)
-   [How sign-in without passwords works](https://passwordless.gr/en/how-it-works/)

## Sources

-   [NIST SP 800-63B-4, Digital Identity Guidelines: Authentication and Authenticator Management (2025)](https://pages.nist.gov/800-63-4/sp800-63b.html)

## Our product: QRAuth

QRAuth is a certified OpenID Connect provider: people sign in by scanning a QR code with their phone, and the service never receives a password.

[See the live demo](https://passwordless.gr/en/try-it/#demo-signed-qr)[What QRAuth is and what it does](https://passwordless.gr/en/qrauth/)
