Authenticator code not working?

A rejected code does not always mean the generator is broken. Work through these checks before changing your account's authentication settings.

First, identify which code is failing

A code from an authenticator app is not the same as an SMS message or a one-time email code. This guide focuses on time-based authenticator codes (TOTP). If a text or email never arrives, check that service’s delivery and recovery instructions instead.

Only enter codes on a sign-in page you opened yourself. Never read a code aloud to someone who contacts you unexpectedly.

Check the correct account and wait for a new code

Authenticator apps can contain several accounts with similar labels. Confirm the service and account name before copying a code. If the countdown is close to zero, wait for the next code so it does not expire while you submit it.

  • Use the latest displayed code only once for that attempt.
  • Do not switch accounts randomly or keep guessing codes after a website warns about limits.

Set your device clock correctly

Time-based codes rely on the device clock being close to the service’s time. On your phone or computer, enable automatic date, time, and time zone, then reopen the authenticator. Changing the time zone alone is not a substitute for correcting an inaccurate clock.

If you use an online generator, verify that the browser and device clock are accurate. The site cannot tell you whether the server accepts the code.

Check the secret and advanced settings

If you are entering a manual setup key, confirm that you have the same secret configured on the account. TOTP can use different algorithms, digit lengths, and time periods. Many accounts use six digits and 30-second periods, but you should use the service’s actual setup settings.

When a service displays a new QR code during a reset or re-enrollment, the old secret may no longer work. A valid-looking code from the old key can still be rejected.

If you changed or lost your phone

Look for a backup authenticator, a saved recovery code, an enrolled security key, or another recovery method you set up previously. Use the provider’s official account recovery page if those methods are not available.

A code generator cannot reconstruct the missing secret from your username, a previous six-digit code, or your phone number. Avoid services that promise to bypass 2FA.

When to stop retrying

After checking the clock, selected account, and original setup settings, stop repeated guesses and follow the service’s recovery guidance. Some providers temporarily limit verification attempts. Do not share your password, setup secret, backup codes, or screenshots containing a QR code with someone offering assistance.