If you have lost the phone with your authenticator app on it, you are probably not locked out for good. The six-digit codes were never stored on the device as such: they are calculated from a secret you were given when you switched two-factor authentication on, plus the current time. Recover that secret, or use a code the provider issued you in advance, and you are back in.
Work through the options below in order. The earlier ones take minutes; the later ones can take days.
Why losing the phone does not lose the secret
A time-based one-time password is derived from a shared seed, usually delivered as a QR code or an otpauth:// link when you enrol. Your app stores that seed and combines it with the clock to produce a new code every thirty seconds. Any app holding the same seed produces the same codes, which is why a second device shows identical numbers. If you still have the QR image or the secret string in a note or password manager, you can paste it into a browser TOTP generator and have a working code in seconds. If that mechanism is new to you, it is worth reading what a TOTP code actually is before you start.
The recovery ladder
1. Backup or recovery codes
Almost every service shows you a list of eight to ten single-use codes when you enable 2FA. Check your password manager, your downloads folder for a file called something like backup-codes.txt, printed pages in a drawer, and any note you saved at the time. One code gets you in; then immediately turn 2FA off and back on, which invalidates the lost enrolment and issues fresh codes.
2. A second enrolled device
If you ever added the same account to a tablet, a laptop or a second phone, the codes are still there. Many authenticator apps also sync an encrypted backup to a cloud account, so signing in on a new phone can restore every entry at once, provided you remember the app's backup password.
3. The secret or QR you saved
Some people photograph the QR or export their entries before wiping a phone. That export is exactly the seed described above: import it into any authenticator, or paste it into a generator, and the codes resume. Treat that file like a password.
4. The provider's account recovery flow
If none of the above applies, use the service's own "lost your device" or "try another way" link on the login screen. Providers typically fall back to a verification email, an SMS to a registered number, a security question, or a confirmation from a device you have used before. Note that this almost always runs through your email, so the address on the account has to be one you still control. Using a disposable inbox at sign-up is fine for throwaway services, but if you did that for something important, sort the recovery address out first.
5. Support with proof of identity
The last resort is a support ticket. Be honest and specific: the account email, roughly when it was created, the last things you did with it, and a photo of your ID if they ask. Be prepared for this to be slow. Banks, brokerages and exchanges routinely take several days and may add a waiting period or a withdrawal freeze afterwards, because this flow is itself a target. That delay protects you.
What does not work
Nobody can bypass 2FA for you. Any site or person advertising a "2FA recovery service", a bypass tool or a way to remove two-factor from an account for a fee is a scam, and paying them typically ends with your remaining credentials stolen too. The only routes back in are the ones the provider itself offers. The steps above therefore only work on accounts that are genuinely yours; proving that to the provider is the entire point.
Set it up so it cannot happen again
- Store recovery codes properly. Put them in a password manager, or print them and keep the paper somewhere you would keep a passport. If you need a strong master password for that manager, generate one with a password generator rather than inventing it yourself.
- Enrol a second device. Scan the same QR on a tablet or a desktop authenticator at enrolment time. It costs nothing and removes the single point of failure entirely.
- Keep the seed safely. Save the otpauth:// URI or QR image in an encrypted note. Never leave it in a plain photo library or an unlocked cloud folder.
- Prefer an authenticator to SMS. App codes are not vulnerable to SIM swapping, and they work with no signal.
- Consider passkeys where offered. They remove the shared-secret problem entirely; see what a passkey is for how they differ.
Once you are back in, audit the rest. Confirm every account with 2FA has fresh backup codes stored where you will find them, and re-enrol anything that lived only on the lost phone. If you keep a secret in an encrypted note, verify it works now with the TOTP generator rather than discovering next year that you saved the wrong string.
FAQ
Can I get codes without the original phone?
Yes, if you still hold the secret. The seed, not the handset, generates the codes, so importing it into any authenticator or a browser generator gives identical numbers. Without the seed, a backup code or the provider's recovery flow is your route.
How long does provider recovery take?
Minutes for most consumer services with a verified email or phone on file. Days, sometimes longer, for banks, exchanges and business accounts that need identity documents and manual review. Start early and avoid duplicate tickets.
Is it safe to keep the QR code?
Only in encrypted storage. Anyone with that image can generate valid codes forever, so it deserves the same protection as the password itself. Backup codes are the safer everyday option because each one works only once.
Should I turn 2FA off to avoid this?
No. A stolen password is far more likely than a lost phone, and 2FA is what stops it becoming a stolen account. Fix the fragility instead by storing recovery codes and enrolling a second device.