Asset 20 8 2
Does AI recommend your business? Run the free check →

Join 15,000 business owners, marketers and entrepreneurs. The Sunday newsletter you'll be annoyed only arrives once a week.

Article

Facebook Recovery Codes: Get Them and Log In Without Your Phone

Facebook recovery codes, which many people search for as backup codes, are the 10 recovery login codes Facebook lets you get for logging in when you can't use your phone. You find them in your two-factor authentication settings: Settings & privacy, Settings, Accounts Center, Password and security, then Two-factor authentication. Print or write them down and keep them somewhere safe, away from your phone.

With two-factor authentication on, Facebook asks for a special login code or login confirmation whenever someone tries to log in from a browser or mobile device it doesn't recognise, and you can get alerts about unrecognised logins. That's the moment recovery codes are for: the phone that normally gets the code is lost, broken, stolen or out of battery, and you type a recovery code instead. Facebook's own troubleshooting article lists them third, after waiting for a delayed text and approving the login from another device you're still signed in on.

Don't mix them up with the one-time code Facebook texts or emails when you reset a forgotten password. That code is sent to you on the spot to prove you own the account. Recovery codes are ones you get in advance from your security settings, before anything goes wrong.

How to get your Facebook recovery codes

  1. Click your profile picture at the top right of Facebook.
  2. Choose Settings & privacy, then Settings.
  3. Open Accounts Center, then Password and security.
  4. Click Two-factor authentication and pick your account. You may need to enter your password again.
  5. Under How you get login codes, click Additional methods, then Recovery codes.
  6. Click Get new codes.

You'll see 10 codes. Print them or write them down. If you don't see the option, two-factor authentication probably isn't on yet: Facebook says you need it set up before recovery codes are available.

If your screens don't match those steps, the wording has probably moved rather than the feature. Facebook's help article on two-factor authentication says Facebook is gradually moving people to Meta Accounts, so you may see either Accounts Center or Meta Account settings as the place to manage your account. Start from Settings & privacy, then Settings, and look for Password and security in whichever one you have. The recovery codes themselves are covered in a separate Facebook help article from the main two-factor one.

The rules for recovery codes

RuleWhat it means for you
10 codes at a timeEnough for ten logins without your phone
Each code works onceCross off each code as you use it
Get new codes any timeClicking Get new codes gives you a fresh set if you lose or use them up
They replace your login codeType one where Facebook asks for your two-factor code

Facebook's help doesn't confirm whether an old set stops working when you get a new one, so treat the newest sheet as the only one and shred the rest. When you get a new set, assume the old list is no longer the one to rely on, and replace your printed copy so you're not hunting for the right sheet when you're locked out.

Recovery codes vs your other two-factor options

Facebook's two-factor help names three ways to confirm a login, a security key, a code from a third-party authentication app, or a text message (SMS) code, and recovery codes back up all of them:

MethodHow it worksWeak spot
Text message (SMS)Facebook texts a code to your mobile numberTexts can be delayed, and you need signal and the same number
Authentication appAn app such as Google Authenticator or Duo Mobile shows a codeIf the phone with the app is lost, so are the codes
Security keyYou tap or insert a physical keyYou need the key with you
Recovery codesTen printed one-time codesOnly useful if you kept them somewhere safe

The best setup for most people is an authentication app or a security key as the main method, with recovery codes as the backup. Text codes are better than nothing, but they're the method most likely to let you down when you're travelling or have changed your number. Facebook also offers passkeys as another sign-in option, and you can use a Facebook passkey if that suits you better.

Where to keep them

  • On paper, at home. A printed sheet in a drawer is safe from hackers and doesn't disappear with your phone.
  • In a password manager. If you use one, store the codes in your Facebook entry, as long as you can reach the password manager without the same phone.
  • Not in your phone's notes or photos. If you lose the phone, you lose the codes with it, which defeats the point.
  • Not in your email. If someone gets into your email, they're halfway into your Facebook too.

How to log in with a recovery code

  1. Log in with your email or phone number and password as usual.
  2. When Facebook asks for your two-factor code, type one of your recovery codes instead.
  3. Once you're in, cross that code off your list.
  4. Set up your two-factor method again on your new phone or app, so you're not relying on the codes.

Once you're back in, work through the guide on Facebook security checkup to review the rest of your security settings while you're there.

Locked out with no recovery codes?

If the codes are gone too, these are the routes to try, quickest first:

  1. Wait a few minutes for a text code. Texts can be delayed by your mobile network.
  2. Approve the login from another device. If you're still logged in on a laptop or tablet, check its Facebook notifications for an approval prompt.
  3. Ask Facebook to confirm your identity. Go as far as the screen asking for your code, then use the help link there: on a computer click Need another way to authenticate?, then Other options, then Get more help; on Android or mobile web tap Having trouble?; on iPhone or iPad tap Need help?. Facebook says it may ask you to upload a photo of government-issued ID such as a driving licence or passport, answer security questions about your account, or confirm through trusted contacts you set up earlier, depending on what your account has.

Once you've submitted it, Facebook reviews the request and says you'll get instructions on regaining access, typically within 1-2 working days, by the email address or phone number on your account. Identity confirmation isn't available in Facebook Lite, so use the full Facebook app or a web browser. Those working days are the best argument for saving recovery codes today. A worked example: you're travelling, your phone is stolen, and you borrow a laptop. With a recovery code from the sheet in your wallet you're in within a minute, then set two-factor up again on the replacement phone. Without the sheet, you're on route three above. If your account is locked for other reasons, see my guide on why Facebook disables or locks accounts.

Work with me

Want AI doing the heavy lifting in your marketing?

I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.

Why you keep being asked for a code

If Facebook asks for a code every single time you log in on your own computer, check your browser. Facebook asks for a code when it doesn't recognise the browser or device, and its two-factor help says it needs to remember your computer and browser information to recognise them next time. It names private browsing, or a browser set to clear its history when it closes, as features that block this, so your own computer looks new every time. And when Facebook offers to Save this browser, say yes on your own devices but never on a shared or public computer.

I go into the neighbouring question in my article on how to change your phone number on Facebook.

My verdict

If you've turned on two-factor authentication, get your recovery codes now and put them somewhere that isn't your phone. It's the single most useful thing you can do to avoid a lockout that hangs on an identity check. Pair them with an authentication app or security key as your main method. If you're going to drop one method, drop text codes: Facebook itself warns that texts can be delayed by your mobile network, and they depend on the very phone you're most likely to lose. If you'd like to switch account on a shared device afterwards, here's how to add another account on Facebook.

Frequently asked questions

Are backup codes and recovery codes the same on Facebook?

Yes, in practice. Facebook's help calls them recovery login codes, and you can get ten of them to use when you can't use your phone. Backup codes is simply the name most people search for.

Why does the screen say Meta Account instead of Accounts Center?

Facebook says it's gradually updating people to Meta Accounts, so you may see either Accounts Center or Meta Account settings. The Password and security section is in both.

Recovery codes are the backup, so read about setting up an authenticator app on Facebook before you need them.

Is the 'account recovery code' Facebook texts me the same thing?

No. That's a one-time code sent during a password reset. The ten recovery login codes are ones you get in advance from your two-factor settings, which need to be switched on first.

What if I lost my recovery codes and my phone?

Try approving the login from another device, or use the help link on the code screen to confirm your identity with Facebook.

Published and maintained by the Lilach Bullock team, covering marketing, AI and business growth.
Your buyers are asking AI who to use. Does it say you?

See for free whether ChatGPT, Claude, Perplexity, Gemini and Google name you, and get the plan to become the answer.

Check my AI visibility →
Sundays only

Get the Sunday newsletter.

One email a week. AI experiments, marketing tactics, and the workflows Lilach is building right now in her own business.

Subscribe free

Let’s get your marketing running on AI.

Book a free 30-minute call

We figure out what you need, where AI fits in, and what working together would look like.

Book the call →

Or take the 30-second calculator

You’ll see the hours and the money quietly leaking out of your week, and the three workflows worth building first.

Take the calculator →

Or grab the free AI resource library

Prompt packs, templates, checklists, and swipe files. The exact tools I build for paying clients. Yours, free.

Get the library →
Keep reading

More from the blog.