Short answer: If a two-factor code isn’t arriving, first stop requesting new ones: each request can invalidate the previous code and may trigger a temporary block. Then troubleshoot by method. For SMS, check signal, roaming, a full message inbox, and filters that hide texts from unknown senders, and confirm the account has your current number with the right country code. For email, check spam, filters and forwarding rules. For authenticator apps, codes that are rejected usually mean your phone’s clock is wrong, so set the date and time to automatic. For push prompts, check notifications and battery settings for the app. If none of that works, choose “Try another way” and use a backup code, a second device, a security key or the service’s recovery process.
First, stop the request loop
The most common way people make this worse is tapping “Resend code” repeatedly. Many services treat a burst of requests as suspicious and slow down or pause delivery, and Microsoft warns that repeated attempts can reset a time lock. Each new code may also cancel the old one, so the code that finally arrives might already be invalid. Request one code, wait a couple of minutes, and use only the most recent one. If nothing arrives after a few tries, wait longer before trying again, ideally after fixing the likely cause below.

| Method | Most common cause | Quickest fix |
|---|---|---|
| SMS | Texts from short codes blocked or filtered | Check filtered messages, carrier blocks, signal and roaming |
| Voice call | Call blocked as unknown or spam | Turn off call silencing temporarily |
| Code in spam or diverted by a rule | Search all mail, check filters and forwarding | |
| Authenticator app | Phone clock out of sync | Set time automatically, check the right account entry |
| Push approval | Notifications off or app asleep | Open the app manually, allow notifications |
SMS codes that don’t arrive
- Check the number on the account. If you changed numbers, the code may be going to the old one. Also confirm the country code; a missing or wrong prefix sends codes nowhere.
- Look in filtered folders. On iPhone, if Filter Unknown Senders is on, codes may land in the Unknown Senders or Transactions list in Messages. Android messaging apps have spam folders too.
- Check carrier blocks. Some carriers or plans block messages from short codes, which many services use to send codes. Prepaid plans, business lines and some family controls are common culprits. Your carrier can lift the block.
- Think about roaming and signal. Abroad, codes may be delayed or not delivered if roaming is off. Wi-Fi calling sometimes helps; otherwise switch to an authenticator app before you travel.
- Clear space. A full message store or a misbehaving messaging app can stop new SMS. Restart the phone.
- VoIP and virtual numbers. Many services won’t send codes to internet phone numbers. Microsoft, for example, says VoIP numbers can’t be used for codes.
Email codes that don’t arrive
Search your whole mailbox for the service’s name, including spam, promotions and archive folders. Check whether you have filters that auto-archive or delete messages from that sender, and whether forwarding sends mail somewhere else. Note which address the service is using; Microsoft, for instance, only sends email codes to your primary alias or an email you added as a verification method. If your mailbox is nearly full, new messages may bounce. Adding the sender to your contacts or safe senders list helps future codes arrive.
If a forwarding rule or filter you didn’t create is diverting codes, that’s a sign your email may be compromised. Our guides to checking Gmail for hidden forwarding and filters and the Outlook mailbox security check explain how to find and remove them.
Authenticator codes that are rejected
Authenticator apps such as Google Authenticator, Microsoft Authenticator and others generate time-based codes that change every 30 seconds. They don’t need signal, so “not received” isn’t the issue; “not accepted” is. The causes are almost always one of three:
- Clock drift. The code depends on your phone’s time matching the server’s. Set date and time to automatic in your phone’s settings, then try a fresh code.
- Wrong entry. If you’ve set up 2FA more than once for the same service, you may have an old entry. Check the account name under each code and try the most recently added one.
- App moved to a new phone without the accounts. Some apps don’t transfer codes automatically. If you still have the old phone, use it or transfer accounts from it. Otherwise, use backup codes or account recovery.
Type the code promptly. Codes near the end of their 30-second window may expire before you submit; waiting for a fresh one helps.
Push approvals that never show up
Push-based 2FA, such as Google prompts or Microsoft Authenticator approvals, relies on notifications reaching the app. Open the app manually; pending requests often appear inside it even when the notification didn’t. Check that notifications are allowed for the app, and on Android, exclude it from battery optimization so it isn’t put to sleep. Make sure you’re signed in to the same account on that device. Microsoft Authenticator uses number matching, so you’ll need to type the number shown on the sign-in screen into the app.
If you receive push prompts you didn’t ask for, don’t approve them. Repeated unexpected prompts mean someone has your password and is trying to wear you down. Change the password immediately.

Getting in another way
Almost every service offers an alternative on the code screen, labeled something like “Try another way”, “Use a different method” or “Having trouble?”. Options may include:
- Backup or recovery codes you saved when setting up 2FA.
- A security key or passkey on a device you’ve used before.
- Another trusted device where you’re already signed in.
- A backup phone number or email.
If none work, the service’s account recovery process is next. It’s slower by design, often with waiting periods, because it protects you from attackers who claim to be locked out.
Avoid the codes-as-bait scam
A message asking you to read out or forward a code you just received is a scam, whether it claims to be from a bank, a delivery company or a friend. Codes only ever go into the official app or website you are logging into. Unexpected codes you didn’t request mean someone is trying to sign in as you; secure the account rather than ignoring them.
Make the next lockout less likely
Set up at least two second-factor methods on important accounts, ideally an authenticator app or passkey plus backup codes stored safely. Our comparison of 2FA methods explains which are most reliable, and if SMS codes keep failing, moving to an app also protects you from SIM swap attacks.
Frequently asked questions
How long should I wait for a 2FA code?
Most codes arrive within a minute. If nothing arrives after a few minutes, check the causes above rather than requesting more codes, and wait longer if the service has temporarily blocked requests.
Why does my authenticator code say invalid when I typed it correctly?
Usually because your phone’s clock is off or you’re using an old entry for that account. Set automatic time and check you’re reading the right entry.
Can a service send the code to a different number if I lost mine?
Only if that number is already on the account. Otherwise you need a backup method or the account recovery process.
Is it safe to turn off 2FA because codes are unreliable?
It’s safer to switch to a more reliable method, such as an authenticator app or passkey, than to remove 2FA altogether.



