By NHI Mgmt Group Editorial TeamBased on WorkOS: “How backup MFA codes work: Your safety net for Two-Factor Authentication” (July 24, 2025)

TL;DR: Backup MFA codes are static, one-time recovery credentials that keep users from being locked out when their primary MFA device is lost, deleted, or unavailable, according to WorkOS. The governance issue is not the fallback itself but the recovery-state trust model, which can become the weakest link if codes are stored or managed casually.


At a glance

What this is: This guide explains how backup MFA codes work and identifies the hidden governance failure point: recovery access becomes risky when static fallback credentials are handled casually.

Why it matters: IAM teams need to treat backup codes as part of the identity lifecycle, because recovery paths can bypass the security assumptions behind MFA if storage, issuance, or revocation is weak.


Context

Backup MFA codes are one-time recovery credentials that let a user regain account access when their primary MFA method is unavailable. The security issue is not their existence, but the fact that they create a second authentication path that must be governed like any other credential.

For identity programmes, that means MFA recovery cannot be treated as an afterthought. If backup codes are printed, stored in inboxes, or left untracked, the recovery layer becomes a standing exception to the control the programme was meant to enforce.


Key questions

Q: What breaks when backup MFA codes are not governed like other credentials?

A: The recovery path becomes a parallel authentication channel that can outlive the primary MFA setup. If codes are stored casually, copied into plaintext locations, or left unchanged after use, they undermine the assurance MFA was supposed to provide. The failure is not the fallback itself, but the absence of lifecycle control over the fallback.

Q: When do backup MFA codes create more risk than they reduce?

A: They become risky when users store them in email, screenshots, shared drives, or other easy-to-copy places. They also raise risk when help desk processes can reissue them without strong identity proofing. In those cases, the fallback path can undercut the assurance that MFA was meant to provide.

Q: What are the signs that MFA recovery is failing governance checks?

A: Common warning signs include codes stored in inboxes, screenshots, shared notes, or helpdesk tickets; backup codes that are never rotated after use; and no clear owner for who can regenerate them. Those conditions show that recovery access is being treated as convenience rather than controlled credential management.

Q: Should organisations prefer backup codes or other MFA recovery methods?

A: Organisations should choose the recovery method that best fits their risk model, but every option needs explicit lifecycle controls. Backup codes are acceptable when they are tightly stored, rotated after use, and removed during offboarding. If the programme cannot govern the recovery artifact, the better choice is the one with the least unmanaged exposure.


Technical breakdown

How backup MFA codes work as a recovery factor

Backup codes are pre-generated static strings created during MFA enrollment and intended for one-time use. They are not time-based like OTPs and do not depend on a phone, authenticator app, or hardware token at the moment of login. That makes them a recovery mechanism, not a daily second factor. Their security depends on two things: that only the legitimate account holder can retrieve them, and that each code is invalidated immediately after use. In practice, backup codes extend the authentication surface because they add a credential class that must be protected, tracked, and eventually retired.

Practical implication: Treat backup codes as governed credentials, with issuance, storage, use, and revocation controls.

Why static recovery codes create a hidden trust boundary

Static recovery codes shift the trust decision from the live MFA device to whatever system or human process stores the codes. If those codes sit in a password manager, inbox, notes app, or printed sheet, the recovery path inherits the weakest protection in that chain. That is why backup codes are often less about authentication strength and more about lifecycle risk. The control gap is not that they are inherently weak, but that they can outlive the context in which they were issued and remain usable until they are explicitly consumed or regenerated.

Practical implication: Inventory where recovery credentials are stored and limit each storage location to a clearly defined protection standard.

How MFA recovery changes identity governance assumptions

MFA is often designed around the assumption that the second factor is bound to a device or possession state that can be continuously trusted. Backup codes break that assumption because they are portable, static, and detached from the live authenticator. That means recertification, offboarding, and incident response all need to account for recovery credentials as a separate asset class. If an account changes hands, if a device is lost, or if the user’s recovery material is exposed, the programme has to decide whether the recovery path remains valid, not just whether the primary MFA device is active.

Practical implication: Fold backup codes into access reviews and offboarding so recovery access is explicitly re-evaluated.


Threat narrative

Attacker objective: The attacker’s objective is to regain authenticated access by abusing the recovery layer rather than defeating the primary MFA mechanism directly.

  1. Entry occurs through the recovery path when a user cannot access the primary MFA device and falls back to backup codes.
  2. Credential exposure happens when those backup codes are stored insecurely, copied into plaintext locations, or shared outside controlled storage.
  3. Impact follows if an attacker obtains both the primary login and a valid recovery code, because the backup path bypasses the intended MFA dependency.
  • Uber breach 2022: A contractor's stolen password and MFA fatigue gave a Lapsus$-linked attacker Uber's internal tools; Uber rotated keys to many services.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 150+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Recovery credentials are not a convenience feature, they are a governed identity asset. Backup MFA codes create an alternate path into the account, which means they belong in the same governance conversation as passwords, tokens, and reset flows. When organisations treat recovery material as disposable setup output, they miss the fact that it can become the easiest route around MFA. The practical conclusion is that recovery credentials need explicit lifecycle controls, not informal user handling.

The hidden failure point is the recovery-state trust model. Backup codes are designed to survive device loss, but that resilience only works if the storage and revocation model is disciplined. The article shows that the weakest link is not the code format itself, but the assumption that the user will keep the fallback path private, reachable, and forgotten until needed. The practitioner implication is to govern recovery state as a separate control plane.

MFA recovery exposes a standing exception to normal authentication policy. A primary factor may be tightly bound to possession or device state, but backup codes are static by design and detached from runtime assurance. That makes them an exception path that can outlast the original MFA context. Teams should interpret that exception as a lifecycle problem, not a UI detail.

Secret leakage in the recovery layer is still secret leakage. If backup codes are copied into plaintext documents, email, chat, or screenshots, they become recoverable by anyone who finds them later. That risk is structurally similar to other credential leakage problems, but the governance mistake is often worse because teams assume the codes are temporary. The conclusion is simple: temporary issuance does not eliminate permanent exposure if storage is unmanaged.

Identity recovery should be treated as a control boundary, not a support convenience. Support processes, user self-service, and offboarding all intersect with backup codes, which means ownership matters. If the programme cannot answer who issues, stores, verifies, and retires recovery codes, it does not have a complete MFA story. The practitioner takeaway is to define ownership before the first recovery event occurs.

From our research library:

  • Across one million observed logins, 1 in 4 were password-based rather than SSO, 2 in 5 were not protected by MFA and 1 in 5 used a weak, breached or reused password.

What this signals

Recovery credentials need the same lifecycle discipline as primary credentials. Backup MFA codes are not a one-time setup artifact once they exist. They introduce a persistent exception path that should be reviewed, rotated, and retired with the same seriousness as any other credential the organisation relies on.

Backup-code governance is really secret-governance work. The practical question is not whether the fallback exists, but whether the organisation can prove where it lives, who can retrieve it, and when it is invalidated. That makes secure storage and offboarding the critical control points.

MFA resilience depends on closing the gap between primary and recovery states. When teams model the recovery path separately, they can see where a lost device, a deleted authenticator app, or a reused code turns convenience into exposure. That is where policy has to catch up with user reality.


For practitioners

  • Define backup-code governance Document who may generate, view, store, and invalidate backup MFA codes, and require those steps to follow the same change control as other sensitive credentials.
  • Restrict recovery-code storage Allow backup codes only in approved secure storage such as a password manager or offline vault, and explicitly ban plaintext copies in email, notes, or chat.
  • Add recovery codes to access reviews Include backup MFA codes in periodic access reviews and offboarding checks so stale recovery paths are removed when the account owner or support context changes.
  • Rotate codes after use or exposure Regenerate recovery codes immediately after they are used, shared, or suspected to be exposed, and treat the old set as revoked credentials.

Key takeaways

  • Backup MFA codes solve lockout risk, but they also create a separate credential lifecycle that must be governed.
  • The main failure point is not the code format itself, but insecure storage and weak recovery-state controls.
  • Organisations should include backup codes in access reviews, offboarding, and secret-management processes.

Standards & Framework Alignment

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

OWASP Non-Human Identity Top 10 addresses the attack and risk surface, while NIST SP 800-63, NIST SP 800-53 Rev 5, NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-63SP 800-63B — AuthenticationBackup MFA codes are a recovery authentication method covered by digital identity guidance.
Recommendation — Apply SP 800-63B to govern recovery factors as part of the authentication design.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementBackup codes are authenticators whose issuance, rotation, and revocation need lifecycle control.
Recommendation — Use IA-5 to manage backup code issuance, use, and revocation across the credential lifecycle.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsRecovery access is part of the broader authorization and entitlement posture.
Recommendation — Review backup codes as privileged recovery access under PR.AA-05.
CIS Controls v8CIS-5 — Account ManagementAccount recovery codes belong in account lifecycle and offboarding controls.
Recommendation — Include recovery codes in account management processes and revoke them when accounts change status.
OWASP Non-Human Identity Top 10NHI-07 — Long-Lived SecretsBackup codes are static recovery secrets that remain valid until used or regenerated.
Recommendation — Treat backup codes as long-lived secrets and rotate or invalidate them after use.

Key terms

  • Backup Mfa Codes: Backup MFA codes are one-time recovery credentials issued when a user enrolls in multi-factor authentication. They allow access when the primary factor is unavailable, but they must be stored and governed like any other sensitive credential because they can bypass the normal second-factor prompt.
  • Recovery State: Recovery state is the condition where an identity must use an alternate path to prove legitimacy because the normal authentication factor is missing or unusable. It is a security state, not a support convenience, and it should have clear ownership, storage rules, and revocation logic.
  • Authenticator Lifecycle Management: Authenticator lifecycle management is the governance of a credential from issuance to renewal, replacement, and retirement. For human identity programmes, it ensures that keys, smart cards, and certificates stay tied to the right user and are removed when the user, role, or device is no longer trusted.
  • Fallback Access Path: The alternative route used when the primary authentication method fails or cannot be completed. This is often where security degrades, because help desk resets, backup codes, and exception workflows may be weaker than the main login process. Mature identity governance treats fallback access as part of the control, not as an afterthought.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on June 8, 2026.
Updated on October 7, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org