Lost the Phone With Your 2FA Codes? Recover Accounts in Order
The phone is gone. Maybe it slid out of a jacket on a train, maybe it went through a washing machine, maybe it simply refuses to turn on.

The phone is gone. Maybe it slid out of a jacket on a train, maybe it went through a washing machine, maybe it simply refuses to turn on. You sit down at a laptop, type your password, and the site asks for a six digit code from an app you can no longer open. That is the moment most people discover they never wrote anything down.
I field this question more than any other, usually from someone who has already spent an evening clicking "try another way" in a loop. The good news is that very few people end up permanently locked out. The bad news is that the order you do things in decides whether recovery takes ten minutes or ten days, and the first hour matters more than people expect.
Why losing the phone hurts more than losing the password
A forgotten password has a well worn escape route: a reset link sent to your email. Two factor authentication exists precisely to break that route. If an attacker who controls your inbox could skip the second factor with one email, the second factor would protect nothing. So services deliberately make the "I lost my second factor" path slow, manual and annoying. That friction is the security working as designed, even when it feels like punishment.
The second problem is concentration. An authenticator app on one phone often holds codes for twenty or thirty accounts, including the email account you would use to recover all the others. Lose the phone and you can lose the keys to the recovery mechanism itself. People who kept SMS codes have a different weakness: the codes follow the phone number, so they are recoverable through your carrier, but that same property is what makes SIM swap fraud work.
The first hour, in order
Resist the urge to start with whichever account annoys you most. Work from the top of the dependency chain down.
- Check whether you are actually locked out. Many services keep you signed in on a laptop or tablet for weeks. A browser that still has a live session to your email or your password manager is worth more than anything else right now. Do not sign out of it.
- Look for codes you saved and forgot. Google issues ten single use backup codes, eight digits each. GitHub gives sixteen recovery codes at setup. Microsoft personal accounts use a 25 character recovery code. Search your password manager, a "downloads" folder, and any printed sheet in a desk drawer.
- Find out whether your authenticator synced. Google Authenticator has offered cloud sync to your Google account since 2023, and Microsoft Authenticator can back up to the cloud. If sync was on, installing the app on a new phone and signing in may restore every code at once.
- Call your carrier if SMS was involved. Ask for a replacement SIM or eSIM on the same number. While you are on the phone, ask them to add a port out PIN or account passcode if you never set one.
- Recover your primary email first. Every other account's fallback route runs through it.
- Then work through the rest, highest risk first: banking, cloud storage, work accounts, then shopping and social media.
Step five deserves a pause. If your email provider asks you a series of questions, answer from a device and network it has seen before. Recovery systems weigh familiar signals heavily, and an attempt from your usual laptop at home tends to go better than one from a hotel lobby on a borrowed machine.
What the big providers actually ask for
Each service handles a missing second factor differently, and knowing the shape of the process stops you from abandoning it halfway.
Google runs an automated questionnaire: previous passwords, when you created the account, a recovery phone or email. There is no human to call. If it fails, waiting a few days and trying again from a familiar device sometimes succeeds where the first attempt did not.
Apple uses a process it calls account recovery, which includes a waiting period that can stretch to several days. Apple shows an estimated date and sends updates. Starting a fresh request resets the clock, so the worst move is to grow impatient and begin again.
GitHub lets you prove ownership with a verified SSH key or a personal access token from a machine you still have, then reviews the request. Their documentation warns it can take a few business days. Developers often forget the SSH key route exists, and it is frequently the fastest.
Microsoft personal accounts accept the recovery code if you have it, and otherwise send you to a recovery form that asks for details such as recent email subjects and contacts.
Banks are the exception to all of this: a branch visit or phone call with identification usually resets things the same day. That human route is the one luxury consumer services do not offer.
The advice I would push back on
A common reaction after a lockout is to turn two factor authentication off everywhere, or to move every account back to SMS because "at least I can get the number back." I understand the impulse. I disagree with it.
The lesson from a lost phone is not that the second factor was a mistake. It is that one device held every copy of it.
SMS codes do survive a lost handset, but they inherit every weakness of your carrier's customer service desk, and SIM swap attacks rely on exactly that desk. The fix is redundancy, not a weaker lock. Two independent ways in, stored in two different places, covers almost every lockout I have seen people describe.
Passkeys change the picture a little. A passkey synced through iCloud Keychain or Google Password Manager follows your account to a new device rather than living on one handset, which is part of why I wrote about how passkeys replace passwords without the jargon. Sync helps only if you can still reach that account, though, so the redundancy rule applies there too.
Building a setup that survives the next lost phone
Once you are back in, spend one evening making sure this never costs you a week again. Here is what a sturdy arrangement looks like for most people:
- Recovery codes for your email, password manager and any work account, saved inside the password manager and also printed once and kept somewhere at home that is not your desk.
- Authenticator sync turned on, or a second authenticator on a tablet or old phone that stays in a drawer.
- A hardware security key registered as a second method on the accounts that support it, if you are willing to spend roughly the price of a takeaway dinner. Register two keys if you can, and keep one away from your keyring.
- A recovery email and phone number that you still control, checked once a year. Plenty of lockouts trace back to a recovery address at a university or old employer that closed years ago.
Notice what is missing: rotating passwords on a calendar. That habit does little for this problem, for reasons covered in why scheduled password rotation stopped making sense. Your time is better spent on the recovery side.
One honest limit: if an account had two factor authentication, no recovery email, no recovery phone, no saved codes, and the service has no human support, it may stay locked. I have watched people get small accounts back after weeks of retries, and I have watched others give up on an old social profile. Nobody outside the company can promise which way it goes.
One thing to do this week
Pick the single account that would hurt most to lose, almost always your main email, and open its security settings tonight. Generate a fresh set of backup codes, store them in your password manager, print one copy, and put the paper with your passport. It takes about fifteen minutes, and it turns a lost phone from a crisis into an errand. If you want to keep going after that, the rest of our security guides cover the next layer.
More in Guides
Guides
Restic Backups for a Self Hosted Server Step by Step
Your self hosted server has been running for months, and the only copy of its mail, configs and databases sits on the same disk...
Guides
Uptime Monitoring for a Small Website With Uptime Kuma
Your site went down on Saturday night and you found out on Monday from a customer email.
Guides
Expired Domain Recovery Steps Before Your Email Goes Dark
Monday, 08:40. Two customers write to say their invoices bounced, the contact form returns an error, and the website shows a...