Facebook Login Code Not Received? How to Get Back In

A missing code is one of the most frustrating ways to get locked out, because you know your password and still can’t get in. The fix depends on how the code is sent and whether you have a backup method. This guide covers text messages, email, authenticator apps, recovery codes and what to do when you’ve changed number or are travelling.

Quick answer

Meta’s own order for two-factor codes that won’t come: 1) wait a few minutes for the text — SMS can be delayed by your network; check you have signal and your message inbox isn’t full. 2) If you’re logged in on another phone, tablet or browser, check Facebook notifications there and approve the login — no code needed. 3) Enter a saved recovery code (each works once). 4) Still stuck? Use the help link on the code screen — Need another way to authenticate? on a computer, Having trouble? on Android, Need help? on iPhone — to confirm your identity; Meta says it typically replies within 1–2 working days. For email codes, check spam and junk too.

Does this match what you see?

  • Facebook says it sent a code by text message, but nothing arrives.
  • The confirmation or reset email never appears in your inbox.
  • You enter the code and Facebook says it’s incorrect or expired.
  • You changed phone number or SIM, and codes still go to the old number.
  • You’re travelling abroad and texts from Facebook stop arriving.
  • You use an authenticator app on a phone you’ve lost, reset or replaced.
  • You see a message that you’ve tried entering too many codes (wording varies) after several attempts.

iPhone & iPadAndroidComputer (browser)

How codes are delivered depends on your account settings, country, mobile carrier and device. Facebook’s code screens change over time, so look for the closest matching option on your screen.

Which code is Facebook asking for?

Facebook uses codes in a few different places, and knowing which one you’re looking at helps you pick the right fix.

Types of Facebook codes
CodeWhen you see itWhere it comes from
Password reset codeAfter tapping Forgotten password?Email or text to a contact method on the account — covered in Can’t log in: reset your password
Two-factor login codeAfter entering your password, if two-factor authentication is onText message, an authenticator app, or an approval on a logged-in device
Recovery codeWhen you can’t get a two-factor codeA list you saved when setting up two-factor authentication
Confirmation codeWhen adding or confirming a phone number or emailText or email to the new contact method

This guide focuses on two-factor, recovery and confirmation codes. Meta has separate help pages for two-factor authentication, SMS codes, recovery codes and phone confirmation codes; they’re linked in Official help routes.

Why this happens: the possible causes

Codes often fail for delivery reasons rather than account problems. Work out which kind of code you’re waiting for, then use the matching fix.

Which code problem do you have?
What’s happeningPossible causeGo to
Text (SMS) code never arrivesNo signal, carrier filtering, wrong number or country code, blocked messagesFix 2
Email code never arrivesSpam/junk filter, wrong or old email address, full inboxFix 3
Code arrives but is “incorrect”An older code, a typo, or time running outFix 1
Lost the phone with your authenticator appNo access to the second factorFix 6
Codes go to an old phone numberOut-of-date contact details on the accountFix 7
Travelling or using a new SIM abroadRoaming, country code or carrier limitsFix 8
“Too many codes” messageTemporary security limitFix 9
  • You asked for several codes, and only the latest one worksPossible

    A new request may make older codes stop working, so use the most recent one. Entering an older text or email code can produce an “incorrect code” message.

  • Weak signal, roaming or blocked textsPossible

    Codes sent by text need mobile signal. Some phones, carriers and plans block or filter messages from short-code numbers or business senders, and roaming abroad can delay texts.

  • The email went to spam, junk or another tabPossible

    Security emails are often filtered into spam, junk, “Promotions” or “Updates” tabs, or delayed by email providers.

  • The account has an old phone number or emailPossible

    Facebook sends codes to the contact details saved on the account. If you changed number or closed an email account without updating Facebook, codes go there.

  • Your second factor is on a lost or reset phonePossible

    If you use an authenticator app and the phone was lost, wiped or replaced, the app’s codes may have gone with it unless you moved them or saved recovery codes.

  • A temporary security limitPossible

    Requesting or entering many codes in a short time can trigger a block on further attempts for a while.

  • Someone else is trying to log inLess likely

    If you receive codes you didn’t request, someone may know your password. Don’t share the code, and change your password when you can.

Try these 60-second checks first

  • Read the code screen carefully: it usually shows the last digits of the number or part of the email the code was sent to. Is it one you still use?
  • Wait at least a few minutes before requesting another code, so you don’t replace a code that’s on its way. (Meta’s own login help gives the same three checks: spam or junk folder, signal, then wait a few minutes before asking for a new code.)
  • Use only the most recent code you received.
  • Check your phone has signal (try a call) and isn’t in Airplane Mode.
  • Search your email, including spam and junk, for messages from Facebook.

How to fix it, step by step

Work through these in order. They start with the quickest, safest checks and only move to steps that sign you out or remove data later.

Fix 1: Wait, then enter only the newest code

Safe & reversible5 miniPhone & iPadAndroidComputer (browser)

Codes are time-limited, and a new request can make older ones stop working. Asking for codes repeatedly can also trigger a temporary limit.

  1. After requesting a code, wait a few minutes before asking again.
  2. Delete or ignore older Facebook texts and emails so you don’t enter the wrong one.
  3. Type the newest code carefully, with no spaces, and do it promptly.
  4. If your phone offers to autofill the code from a text, check it matches the latest message.

Did it work? Facebook accepts the code and moves to the next screen.

Fix 2: Text message code not arriving: fix your phone’s side

Safe & reversible5–10 miniPhone & iPadAndroid

Most SMS problems are on the receiving end: signal, blocked senders, message filters, or a full message inbox.

iPhone & iPad

  1. Make sure Airplane Mode is off and you have signal. Try sending yourself a text from another phone.
  2. Look in Settings > Apps > Messages (on older iOS, Settings > Messages) for an unknown-sender filter or screening option (the name varies by iOS version). If one is on, check the filtered or junk list in the Messages app.
  3. Restart your iPhone: press and hold a volume button and the side button until the slider appears, slide to power off, wait 30 seconds, then turn it back on (older models use the side or top button).
  4. If you’ve blocked numbers recently, check you haven’t blocked Facebook’s sender.

Android

  1. Check you have signal and Airplane Mode is off.
  2. Open your messaging app and look in Spam & blocked or similar folders (names vary by app and phone maker).
  3. Make sure your messages storage isn’t full: delete old message threads if your phone warns about space.
  4. Restart your phone: press and hold Power (on some phones Power + Volume up) and tap Restart. If the phone is frozen, Google suggests holding the power button for about 60 seconds.

Some mobile plans, such as some prepaid, business or child-safe plans, may block texts from short-code numbers. If nothing at all arrives, your carrier’s support can tell you whether short-code messages are allowed on your line. Warning sign: if your phone suddenly loses all signal and codes stop at the same time, contact your carrier at once — that can be a sign someone has moved your number to their SIM (a “SIM swap”).

Did it work? A new Facebook code text arrives within a few minutes of requesting it.

Fix 3: Email code not arriving: check filters and the address

Safe & reversible5 miniPhone & iPadAndroidComputer (browser)

Email providers often filter security messages. And if the account uses an old address, the email is arriving, just not where you’re looking.

  1. Search your mailbox for “Facebook” and check Spam, Junk, Promotions, Updates and All mail.
  2. Compare the partly hidden address on Facebook’s screen with the inboxes you actually use.
  3. If your inbox is full, delete some messages so new mail can arrive.
  4. Mark the Facebook email as “not spam” once you find it, so the next one lands in your inbox.
  5. Be cautious: before using any link, check the email is genuinely from Facebook. Meta has a help page on how to tell (linked below). Typing the code into Facebook yourself is safer than clicking links.

Did it work? You find the newest Facebook email and the code works.

Fix 4: Use your authenticator app instead of waiting for a text

Safe & reversible2 miniPhone & iPadAndroidComputer (browser)

If you set Facebook up with an authenticator app (such as Google Authenticator, Microsoft Authenticator or a password manager), it generates codes on your phone with no text message needed, even without signal.

  1. On the code screen, look for an option such as Try another way and choose the authentication app if it’s offered.
  2. Open your authenticator app and find the Facebook entry.
  3. Enter the current six-digit code before it changes.
  4. If codes are always rejected, check your phone’s date and time are set automatically: authenticator codes depend on an accurate clock.

Did it work? The authenticator code is accepted.

Fix 5: Logged in somewhere else? Approve the login from that device

Safe & reversible2 miniPhone & iPadAndroidComputer (browser)

Meta says that if you’re already logged in to Facebook on a different browser, phone or tablet, you may see a prompt there to approve the new login attempt without needing a code.

  1. Find any device where you’re still logged in to Facebook — an old phone, a tablet, a work or family computer.
  2. Open Facebook there and check your notifications.
  3. If you see a prompt about the new login attempt, confirm it was you to approve it.
  4. Go back to the device you’re logging in on; it should continue without a code.

Did it work? The login on your new device completes without asking for a code.

Fix 6: Use a saved recovery code (lost phone or authenticator)

Safe & reversible2 miniPhone & iPadAndroidComputer (browser)

Facebook lets people with two-factor authentication create login recovery codes, one-time backup codes for exactly this situation. Meta has a help page on setting them up.

  1. Look for wherever you stored them: a printout, a password manager, a notes file, or a photo you saved when you turned on two-factor authentication.
  2. On the code screen, choose Try another way (or similar) and pick the option to use a recovery or backup code.
  3. Enter one recovery code in place of the two-factor code. Meta says each recovery code can only be used once, so cross it off afterwards.
  4. Once you’re in, set up two-factor authentication again on your new phone and create fresh recovery codes.

Did it work? You’re logged in. Your security settings show your current phone or authenticator as the second factor.

Fix 7: Nothing works? Ask Facebook to confirm your identity

Safe & reversible15 min + reviewiPhone & iPadAndroidComputer (browser)

If you can’t get a code, can’t approve from another device and have no recovery codes, Meta says you can ask Facebook to confirm your identity so you can regain access. The help link has a different name on each device.

  1. Try to log in and continue until you reach the screen asking for your two-factor code.
  2. Find the help link on that screen (see your device below).
  3. Confirm your identity. Meta says this may involve uploading a photo of a government-issued ID (such as a driving licence or passport), answering security questions about your account, or confirming through trusted contacts you set up earlier — the options depend on what you set up.
  4. Submit, then wait. Meta says you’ll receive instructions typically within 1–2 working days, by the email or phone number on your account.
  5. Do this on a device you’ve logged in on before if you can, and only inside Facebook’s own screens — never through a link someone sends you.

iPhone & iPad

  1. On the code screen, tap Need help?

Android

  1. On the code screen, tap Having trouble? (Android app or mobile web).

Computer (browser)

  1. On the code screen, click Need another way to authenticate?
  2. Click Other options, then Get more help.

No access to your phone at all? Meta says to look for I don’t have my phone on the authentication screen, then Contact us. Using Facebook Lite? Meta says identity confirmation isn’t available in Facebook Lite — use the full Facebook app for Android or facebook.com in a browser.

Did it work? You receive Facebook’s instructions by email or text and can regain access.

Fix 8: Travelling, roaming or on a new SIM? Fix the country and delivery problems

Safe & reversible5–10 miniPhone & iPadAndroidComputer (browser)

When you’re abroad, texts may not reach a home SIM that isn’t roaming, and a local SIM has a different number. Logging in from a new country can also trigger extra security checks.

  1. Check your home SIM has roaming turned on and can receive texts abroad (some plans can’t, or charge for it).
  2. If you switched to a local SIM, codes will still go to your home number. Put the home SIM back in temporarily if you can.
  3. Prefer an authenticator app or recovery codes while travelling: they work without signal or roaming.
  4. If you log in with a phone number, include the correct country code (for example +44 for the UK, +1 for the US and Canada, +61 for Australia).
  5. Expect possible extra checks when you log in from a new country, and try from the device you normally use.

Before your next trip: add an authenticator app and save recovery codes, so a SIM swap or no-signal situation can’t lock you out.

Did it work? You can log in abroad using a code that doesn’t depend on SMS.

Fix 9: Seeing a “too many codes” message? Stop and wait

Safe & reversibleWait, then 2 miniPhone & iPadAndroidComputer (browser)

This is a temporary security limit. Every new request or attempt can extend it, so waiting is the fix.

  1. Stop requesting and entering codes. Facebook doesn’t publish how long the limit lasts, so give it a good while before trying again.
  2. When you return, use a familiar device and network.
  3. Request one code, wait for it, and enter it carefully, or use your authenticator or a recovery code.

Did it work? You can enter a code without the “too many” message.

Messages you might see (reported wording; yours may differ)

These are the messages as people report seeing them. The exact wording on your screen can differ by app version, language and region, so match the meaning, not every word.

The code you entered is incorrect
What it usually means
Usually an older code, a typo, or a code that has expired.
What to do
Wait for the newest code and enter only that one (Fix 1). For authenticator codes, check the phone’s clock is automatic.
You’ve tried entering too many codes. Try again later.
What it usually means
Usually a temporary limit after many code attempts.
What to do
Stop and wait before one careful attempt (Fix 9).
We sent a code to your phone ending in ••
What it usually means
Messages like this usually mean Facebook is using a number saved on the account.
What to do
If that number isn’t yours any more, use Try another way.
Check your notifications on another device
What it usually means
This usually means Facebook can send a login approval to a device where you’re already signed in.
What to do
Open Facebook on that device and look for a login approval prompt. If you have none, choose Try another way.

Set up backups so this never locks you out again

Once you’re back in, Meta recommends updating your two-factor methods so you don’t get locked out again. Meta lists these options: add a new mobile number for text codes, set up a different authentication app (such as Google Authenticator or Duo Mobile) on your new device, or add a security key — a physical USB or NFC key you tap or insert instead of typing a code. You can also turn two-factor authentication off, but Meta recommends keeping it on.

The best time to fix code problems is before they happen. Once you’re back in:

  • Add an authenticator app as a two-factor method. It works offline and abroad and isn’t affected by SIM changes.
  • Save recovery codes somewhere safe and separate from your phone, such as a password manager or a printed copy at home.
  • Keep two contact methods current: a mobile number and an email address you’ll keep.
  • Update Facebook before you change number. Add the new number first, confirm it, and only then remove the old one.
  • Consider a passkey if Facebook offers one on your device. Meta recommends passkeys alongside two-factor authentication.
  • Consider a physical security key if Facebook offers it as a two-factor option on your account; like an authenticator app, it doesn’t rely on text messages.
  • Protect your number from SIM swaps: ask your mobile carrier about adding a PIN or extra security to your account.

How to know it worked

  • You can log in and Facebook doesn’t ask for another code straight away.
  • Your security settings list a phone number and email you currently use.
  • Two-factor authentication shows a method that works for you (preferably an authenticator app).
  • You have a fresh set of recovery codes saved somewhere safe.

Still not working? Your next steps

  1. If no code method works and you don’t have recovery codes, follow Meta’s two-factor troubleshooting page and the Account Recovery Hub (external site, opens in a new tab).
  2. If you no longer have the email or phone on the account, use the steps in Can’t log in to Facebook.
  3. If you’re receiving codes you didn’t request, or details on the account changed, follow hacked account recovery.
  4. Ask your mobile carrier whether your plan blocks short-code or business text messages.

Official help routes

SocialAppFix can’t see or change your account. For account decisions, recovery and appeals, only the platform’s own tools can help. These links go to the official sites.

Frequently asked questions

Why is Facebook not sending me a code?

Often the code is going somewhere you’re not looking: an old number or email, a spam folder, or a phone that can’t receive short-code texts. Check the partly hidden contact shown on the code screen first.

How long does a Facebook code take to arrive?

Facebook doesn’t publish a delivery time; it depends on your carrier or email provider. Wait a few minutes before requesting another, because a new request may make the old code stop working.

I lost my phone with the authenticator app. What now?

Use a saved recovery code, or log in from a device where you’re already signed in. If neither is possible, choose Try another way and follow Facebook’s identity steps.

Someone sent me a Facebook code by mistake and wants it back. Should I send it?

No. This is a well-known trick to take over accounts, often sent from a friend’s hacked profile. Don’t send it; warn your friend another way.

Can I turn off two-factor authentication if I can’t get the code?

Not without logging in first. Use a recovery code or Facebook’s other confirmation options to get back in, then change your methods. There’s no safe shortcut around two-factor authentication.

Does Facebook send codes via WhatsApp?

Delivery options can vary by account and region. Use whichever options Facebook shows on your code screen, and only trust codes you requested.

Sources and how we checked this guide

We base steps on the platforms’ own help pages and the phone makers’ official guides. Menu names change often and can differ by device, app version and region. Where a platform page could not be independently read, we link it so you can check the current wording yourself.

  1. Change or reset your Facebook password (external site, opens in a new tab)Facebook Help Center · checked 20 October 2026
  2. Recover your Facebook account if you can’t log in (external site, opens in a new tab)Facebook Help Center · checked 20 October 2026
  3. Troubleshoot login with two-factor authentication on Facebook (external site, opens in a new tab)Facebook Help Center · checked 20 October 2026
  4. How two-factor authentication works on Facebook (external site, opens in a new tab)Facebook Help Center · linked for reference 20 October 2026
  5. Use text messages (SMS) for two-factor authentication on Facebook (external site, opens in a new tab)Facebook Help Center · linked for reference 20 October 2026
  6. Set up Facebook login recovery codes (external site, opens in a new tab)Facebook Help Center · linked for reference 20 October 2026
  7. I didn’t receive the code from Facebook to confirm my mobile phone number (external site, opens in a new tab)Facebook Help Center · linked for reference 20 October 2026
  8. Check if an email is really from Facebook (external site, opens in a new tab)Facebook Help Center · checked 20 October 2026
  9. Account Recovery Hub – Facebook, Instagram, Threads (external site, opens in a new tab)Meta · title checked 20 October 2026
  10. Making it Easier to Access Account Support on Facebook and Instagram (Dec 2025, updated Mar 2026) (external site, opens in a new tab)Meta Newsroom · checked 20 October 2026
  11. Restart your iPhone (external site, opens in a new tab)Apple Support · checked 20 October 2026
  12. Fix an Android device that freezes or won’t respond (external site, opens in a new tab)Android Help · checked 20 October 2026

Last reviewed 20 October 2026 by the SocialAppFix editorial team against the sources above. Next scheduled review: 18 January 2027. How we write and review guides.

What changed
  • 20 October 2026: Added Meta’s rule that the two-factor phone number can’t be used to reset your password.
  • 20 October 2026: Rebuilt around Meta’s own two-factor help: approve from another device, one-time recovery codes, the device-specific identity-confirmation links, the typical 1–2 working day review, the I don’t have my phone option and the Facebook Lite limitation.
  • 20 October 2026: Noted that Meta’s login help gives the same spam/signal/wait checks.
  • 20 October 2026: First published.
  • 20 October 2026: Editorial audit corrections applied.

SocialAppFix is an independent guide and is not affiliated with or endorsed by Meta or Facebook. We never ask for passwords, login codes or payment to fix an account.