Why You Can't Just "See It Again"
Most services deliberately show a 2FA setup QR code exactly once, at the moment of generation, and don't store it anywhere retrievable afterward. This isn't a bug or an oversight — it's a security decision. A value this sensitive being permanently re-displayable would create an ongoing opportunity for it to be captured by anyone with brief access to the account's settings page, which defeats much of the point of keeping it secret in the first place. Understanding this upfront saves time: refreshing the page, searching for "show my secret key again" settings, or contacting support asking for the original code will almost always come up empty for a service using standard practice.
What Actually Happened, Depending on Your Situation
The Code Expired Before You Scanned It
Some setup flows show a QR code tied to a temporary session that times out after a few minutes if unused. If this happened, the fix is simple: restart the 2FA setup process from your account's security settings, which generates a fresh code with a fresh secret.
You Closed the Tab Before Scanning
Same situation, same fix — go back into your account's security settings and restart the 2FA enrollment flow. Since 2FA wasn't actually confirmed as active yet (that only happens after you enter a verification code back into the service), nothing was left in a half-configured state that needs cleanup.
You Scanned It, But Never Saved a Backup, and Now Need It on a New Device
This is a meaningfully different situation: 2FA is active on the account, but you don't have the original secret available to set up a second device. Here, restarting setup from scratch means first disabling 2FA on the account (using your currently working authenticator or saved backup codes), then re-enabling it to generate a brand-new QR code — see Google's guide to fixing common 2-Step Verification issues for a real-world version of this exact flow. See How to Migrate Your TOTP Accounts to a New Device for the fuller picture of device transitions.
You Lost Access Entirely and Have No Working Authenticator
This is the account-recovery scenario, not a QR-code problem specifically. See Locked Out of an Account with 2FA and No Backup Codes? for the realistic path forward.
Quick Decision Guide
| Your Situation | What To Do |
|---|---|
| Setup not yet confirmed, code expired/closed | Restart setup — generates a fresh code, no cleanup needed |
| 2FA active, need it on a second device, no backup saved | Disable and re-enable 2FA to generate a new code, using your working authenticator to authorize the change |
| 2FA active, no working authenticator, no backup codes | Use the service's full account-recovery process |
Preventing This From Happening Again
- Don't start the 2FA setup flow until your authenticator is already open and ready — this avoids the code timing out while you go find your phone or open the right app.
- Complete the verification step immediately after scanning, rather than leaving the tab open to "finish later."
- Export an encrypted backup right after setup succeeds, so a future device change never depends on regenerating a fresh QR code at all. See Authenticator Backup Best Practices.
A missed or expired QR code is rarely a real emergency — it's almost always solvable by simply restarting the setup step. The situation only becomes genuinely difficult when 2FA is already active and there's no working authenticator or backup left to authorize a change.
