Kode

Authenticator codes not working?

It's almost always the phone's clock. Authenticator codes are calculated from the time, so a clock that's a minute off makes codes the service rejects. Set date and time to automatic, wait for a fresh code, and try again.

Fix the clock

The time zone must be right too. Codes are calculated from universal time (UTC), so a wrong time zone with the clock set by hand to look right still gives wrong codes.

Google Authenticator's time sync

Google Authenticator for Android used to have its own setting for this, Time correction for codes › Sync now. Many guides still describe it, but it's gone since version 7.0: the app now uses the phone's own clock. So the fix is the phone's clock, as above. Google Account Help

Other causes

Still locked out

Sign in with one of the backup codes you got when you turned on two-factor login, or use the service's account recovery. Once you're in, set up two-factor login again and scan the new QR code. For your Google Account: backup codes.

Kode

Kode is an iPhone app by Peter Theill ($1.99 once) that makes the same six-digit codes, with no account and no ads, and your keys stay in your own Keychain. Like every authenticator app, it calculates codes from the iPhone's clock – so if a code doesn't work, the clock is the first thing to check there too.

Download on the App Store