Fix two-factor authentication that will not send a code

We'll get 2FA working—check phone number and spam for SMS, sync the clock for authenticator apps, try backup codes, or use account recovery.

Category
Troubleshooting · Accounts & access
Time
10–30 min
Last reviewed
What you'll need
  • Access to the phone or authenticator app (if possible)
  • Backup codes (if you saved them)
  • Account email or username

Step-by-step diagnostic

Step 1 of 12
Show full guide

Steps

Goal: Get 2FA working when codes do not arrive (SMS) or do not work (authenticator app).

SMS path

Goal: Fix SMS 2FA when the code does not arrive.

  • Check the phone number on file in security settings. Update it if wrong. Request a new code.
  • Check your messages app for blocked senders. Some carriers block short codes—contact your carrier if you never receive verification texts.
  • Wait 5–10 minutes. Providers rate-limit. Click “Resend code” once. Do not spam the button.
  • Good: Code arrives. Enter it. Proceed to Verification.
  • Bad: Still nothing. Proceed to Backup codes.

Authenticator path

Goal: Fix authenticator app codes when they are rejected.

  • Sync your phone clock. On iPhone: Settings > General > Date & Time > Set Automatically. On Android: Settings > Date & time > Automatic date & time. Authenticator apps use time—wrong clock breaks codes.
  • Open the authenticator app. Confirm the account for this service is listed and the code changes every 30 seconds. If the account is missing, use backup codes or account recovery.
  • Enter the code. If it still fails, try backup codes.
  • Good: Code works. Proceed to Verification.
  • Bad: Code rejected. Proceed to Backup codes.

Backup codes

Goal: Use backup codes when SMS or authenticator fails.

  • On the 2FA screen, look for “Use backup code” or “Enter backup code.” Enter one code. Each works once.
  • Good: You log in. Set up 2FA again or add new backup codes in security settings.
  • Bad: No backup codes. Proceed to When to get help.

Switch method

Goal: Try a different 2FA method when one fails.

  • Some services offer “Use SMS instead” or “Use authenticator app instead” on the 2FA screen. Switch and request a new code.
  • Good: The other method works. Proceed to Verification.
  • Bad: Only one method available or both fail. Proceed to When to get help.

When to get help

  • Work or school account: contact your IT admin.
  • Personal account: use the account recovery form. Answer security questions, provide a previous password, or describe when you created the account. Or contact support with your email and username.

Verification

  • You can log in with 2FA (SMS code arrives and works, or authenticator code is accepted).
  • Phone clock is synced if you use an authenticator app.
  • Backup codes are saved in a secure place for next time.

Escalation ladder

Work from the device outward. Stop when the problem is fixed.

  1. Check phone number and spam Confirm the number on file is correct. Check carrier blocking and spam.
  2. Sync clock (authenticator) Turn on automatic date and time on your phone.
  3. Wait and retry Providers rate-limit. Wait 5–10 minutes, then request one new code.
  4. Backup codes Use a backup code if you saved them.
  5. Account recovery Use recovery form or contact support.

What to capture if you need help

Before calling support or posting for help, have these ready. It speeds everything up.

  • Account email or username
  • 2FA method (SMS or authenticator app)
  • Phone number on file (if SMS)
  • Steps already tried

Do you use SMS or an authenticator app for 2FA?

SMS sends a code by text. Authenticator app shows a six-digit code that changes every 30 seconds.

Check the 2FA screen. SMS: "Send code to [phone]" or "Text message." Authenticator: six-digit code field, "Authenticator app." Good: you know which. Bad: unsure—try both paths.

You can change your answer later.

Is the phone number on file correct?

Wrong number means codes go to the wrong phone.

If you can access the account, go to security settings. Check the 2FA phone number. Update it if wrong. Good: number is correct—proceed to check spam and wait. Bad: number wrong—update it, request new code.

You can change your answer later.

Update phone number and request new code

Update the phone number in security settings. Request a new code. Enter it when it arrives.

Did you check spam and wait 5–10 minutes?

Carriers can block short codes. Providers rate-limit.

Check your messages app for blocked senders. Wait 5–10 minutes—do not spam "Resend." Request one new code. Good: code arrives—enter it. Bad: still nothing—try backup codes or account recovery.

You can change your answer later.

Wait and request one new code

Wait 5–10 minutes. Click "Resend code" once. Do not spam the button. Enter the code when it arrives.

Is your phone clock set to automatic?

Authenticator apps use time. Wrong clock breaks codes.

On iPhone: Settings > General > Date & Time > Set Automatically. On Android: Settings > Date & time > Automatic date & time. Good: clock synced—proceed to confirm account. Bad: clock was wrong—sync it, try the code again.

You can change your answer later.

Sync clock and try code again

Turn on automatic date and time. Wait a few seconds. Open the authenticator app and enter the new code. It should work now.

Does the authenticator app show the correct account?

Wrong account in the app generates wrong codes.

Open the app. Confirm the service is listed and the code changes every 30 seconds. If missing, use backup codes or account recovery. Good: correct account—try the code. Bad: wrong account or missing—use backup codes.

You can change your answer later.

Enter the authenticator code

Enter the six-digit code from the app. If it still fails, the service may have a different time base—try backup codes or account recovery.

Do you have backup codes?

Backup codes are one-time codes you saved when you set up 2FA.

On the 2FA screen, look for "Use backup code" or "Enter backup code." If you have them, enter one. Good: you have them—use one. Bad: no backup codes—use account recovery.

You can change your answer later.

Use a backup code

Enter one backup code on the 2FA screen. Each code works once. After you log in, set up 2FA again or add new backup codes.

Account recovery or support

Use the account recovery form. Answer security questions, provide a previous password, or describe when you created the account. Work or school: contact IT. Personal: recovery form or support. Provide email and username.

Reviewed by Blackbox Atlas

Frequently asked questions

Why would an SMS 2FA code not arrive?
The phone number on file may be wrong. Carriers sometimes block short codes. The message may land in spam. Providers rate-limit—wait 5–10 minutes and try again. Check with your carrier if you never receive short codes.
Why would authenticator app codes not work?
The phone clock must match network time. Authenticator apps use time to generate codes. If your clock is off by more than a minute, codes will fail. Turn on automatic date and time in phone settings.
What if I lost my phone with the authenticator app?
Use backup codes if you saved them. If not, use account recovery. The service will ask questions to verify your identity. Some take 24–48 hours.

Rate this guide

Was this helpful?

Thanks for your feedback.

Continue to