Join our Newsletter — 33% off our NHI Course
Home› Glossary› Authentication, Authorisation & Trust› Multi-Factor Authentication One-Time Passwords
Authentication, Authorisation & Trust

Multi-Factor Authentication One-Time Passwords

← Back to Glossary
By NHI Mgmt Group Updated November 9, 2026 Domain: Authentication, Authorisation & Trust

Multi-factor authentication one-time passwords are short-lived codes used as one factor in MFA. They are generated by an authenticator app, hardware token or delivery channel, and are entered with a password or other factor to prove possession at login, although SMS codes are weaker than app-based or hardware-generated OTPs.

How MFA One-Time Passwords Work

One-time passwords are time- or event-bound codes that add a second proof step to a sign-in flow. Their value comes from separating “something you know” from a code that is supposed to come from a different source, but the security outcome depends heavily on how the code is generated, delivered and verified.

Authenticator-app OTPs and hardware-token OTPs are usually stronger than SMS because the code generation path is less exposed to telecom interception, SIM swap and social-engineering abuse. Even so, an OTP is still a shared secret for a short window, so it protects only against certain attacks and does not by itself make an account phishing resistant.

Why OTPs Are Used in MFA

OTPs are popular because they are simple for users, broadly supported and easy to retrofit into existing login systems. They improve account security by making a stolen password less useful on its own, which is why they remain a common second factor for consumer and workforce accounts.

The main design trade-off is convenience versus resistance to interception. SMS codes are often the easiest to deploy but the weakest to defend, while app-based or hardware-generated OTPs reduce some exposure but still leave room for phishing, code relay and approval fatigue if the rest of the sign-in process is not hardened.

For teams comparing MFA methods, the MFA Guide is the best place to see how OTPs fit alongside stronger options such as security keys and passkeys.

OTP Delivery Methods and Their Security Differences

OTP security is shaped by the delivery channel. App-generated codes are typically derived from a shared seed on the device, while hardware tokens generate codes independently of a phone or mailbox. Email and SMS delivery can work, but both are vulnerable to channel compromise, message interception and user confusion during account recovery.

Weaknesses also show up in operational details: seed enrollment, backup code handling, phone migration and recovery flows can all become bypass paths if they are not controlled. If attackers can redirect the delivery channel, they may never need to break the OTP itself.

The Authenticator Apps and OTP Guide explains TOTP, HOTP, seed storage and common implementation pitfalls, while the Magic Links and Email OTP Security Guide shows why email-delivered codes need extra care.

Bypass Paths and Where OTPs Fail

OTP systems fail most often at the edges, not in the code algorithm itself. Adversaries target users with phishing kits that capture the password and the OTP in real time, push victims into approval or relay loops, or abuse weak fallback paths such as SMS recovery and help-desk resets.

That is why OTPs should be understood as a mitigating control, not a complete defence. They raise the bar against simple password theft, but they do not stop adversary-in-the-middle phishing, token replay, SIM swap, or account recovery abuse unless the surrounding authentication design is hardened.

Real-world incidents have shown how OTP weaknesses combine with social engineering and stolen credentials, so the strongest guidance is to prefer phishing-resistant methods where possible and reserve OTPs for lower-risk use cases or transitional deployments.

The MFA Fatigue and Bypass Guide, OTP security and Twilio 0ktapus breach 2022 are useful references for understanding those attack paths.

How to Treat OTPs in a Modern Authentication Stack

OTP-based MFA is best treated as one layer in a broader authentication policy, not the end state. Where user risk is higher, organisations should prefer methods that bind the second factor to the browser, device or cryptographic key rather than relying on a code a person can type into any prompt.

Practically, that means distinguishing between acceptable legacy coverage and stronger phishing-resistant coverage, then aligning recovery, step-up authentication and help-desk processes with the same standard. If OTPs remain in use, the surrounding controls need to be more deliberate because the code itself does not provide origin binding or strong anti-relay guarantees.

The most useful transition path is often to keep OTPs as a fallback while moving primary sign-in toward stronger methods such as passkeys or security keys, especially for administrators, support staff and high-value accounts.

For implementation context, the NIST SP 800-63 Digital Identity Guidelines provide the authoritative baseline for authenticator strength, and the Passwordless and Passkeys Guide shows the practical replacement path.

Risk and Threat Considerations

OTP compromise usually happens through the surrounding delivery or recovery channel rather than by guessing the code. The biggest risks are phishing relay, SIM swap, mailbox compromise, code interception and fallback abuse, all of which can turn a weak second factor into a full account takeover path.

Failure mechanism: The attacker steals the password first, then captures or diverts the OTP in real time or during recovery, which lets the sign-in complete as the legitimate user.

Impact: A successful bypass can expose mailboxes, cloud consoles, internal tools, API keys and other sensitive systems, and it can also be used to reset credentials or enroll a stronger foothold for persistence.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-63, NIST SP 800-53 Rev 5 and OWASP ASVS set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-63Digital Identity GuidelinesDefines authenticator assurance and phishing-resistant authentication for OTP use.
Recommendation — Use NIST 800-63 to prefer phishing-resistant authenticators over OTP-only sign-in paths.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementCovers lifecycle handling of OTP seeds, tokens and related authenticators.
Recommendation — Manage OTP seeds, tokens and reset processes under IA-5 to reduce authenticator abuse.
OWASP ASVSV6 — AuthenticationSets application authentication requirements that include OTP handling and verification.
V7 — Session ManagementSession binding and token handling determine whether an OTP login remains secure after sign-in.
V10 — OAuth and OIDCModern sign-in stacks often combine OTPs with federated login and step-up controls.
Recommendation — Apply V6 to verify OTP flows, recovery paths and second-factor enforcement. Use V7 to protect sessions created after OTP-based authentication. Use V10 to align OTP step-up decisions with federated sign-in and assurance policy.

Practitioner Guidance

Why practitioners should care: OTPs are still widely deployed, but they are not equally safe across channels. Treat SMS OTP as the weakest common option, and design policy so that stronger methods are preferred for privileged users, remote access and high-impact actions.

What to watch for: Repeated code prompts, unexplained recovery events, help-desk resets, new device enrollment and sign-ins from unusual locations are common signs that an OTP flow is being tested or abused. Recovery and fallback paths deserve the same scrutiny as the primary login.

Practitioner takeaway: If you must keep OTPs, harden the surrounding process, not just the code generator, and plan a migration path to phishing-resistant authentication.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 9, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org