Check your device clock

Published 4 November 2026. Takes a few seconds.

A rejected two-factor code is nearly always a clock rather than an app. The six digits are computed from the current time, so a device whose clock has drifted computes them for the wrong moment and every service refuses them. The awkward part is that the clock in question is the one you would check it with — so this page measures it against the clock on keynesta.com's own server instead.

Your clock, against real time

… Measuring against keynesta.com

What the number means

A code covers a 30-second step, and a service will normally accept the step either side of the one its own clock is in. That grace is what an offset spends.

How this page measures it

It asks keynesta.com for a response it is not allowed to cache, then reads the Date header the server wrote on the way out. Three requests go out and the fastest is kept, because half of a round trip is time nobody can account for and a fast request has less of it to hide. No time service, no third-party host, nothing about you: no page on this site makes an external request, and the one that measures time is not going to be the exception.

Below about half a second there is nothing left to measure — an HTTP date is only precise to the second — so the readout gives a bound rather than a figure it has not earned.

Fixing a clock that is out

The fix is the same in every case: let the device set its own time, then leave it alone.

A wrong time zone is a different fault and does not break codes. TOTP is computed from UTC, so a phone in the wrong zone but right in absolute time still produces codes every service accepts. It is the absolute time that has to be correct.

KeyNesta has no clock check inside the app, which is why this one lives on the website. Nothing here can set your clock either — only the operating system can do that.

If the clock is right and codes are still refused

Then the likeliest cause is ruled out, which is most of the way. Test your authenticator is the next step: it publishes one test secret alongside the code it should be showing, which separates a mistyped secret from a misread one. Codes being rejected: what to check works through what is left in order of likelihood, and TOTP vs HOTP explains why each of them breaks a code.

Frequently asked questions

How much clock drift can a 2FA code survive?

Under half a 30-second step — about 15 seconds — you are safe, because your code is computed for the step the service is checking or the one beside it, and services accept one step either side. Between 15 and 30 seconds you are relying on that grace rather than on your clock. Past a full step, codes start being refused, and past a minute or so none will be accepted.

Does this page send my clock anywhere?

No. It makes one request to keynesta.com for a response it is not allowed to cache, and all it reads from that response is the Date header every HTTP server sends anyway. Your clock is compared with it inside your own tab. Nothing about your device is transmitted, there is no time service or third-party host involved, and nothing is stored.

Does KeyNesta warn me when my device clock is wrong?

No. There is no clock diagnostic inside the KeyNesta app on any platform, which is exactly why this check is a page on the website. If your codes are being refused, measure here, then fix the clock in the operating system — no authenticator app can set a device clock.

Does the wrong time zone break my codes?

No. A TOTP code is derived from UTC, not from local time, so a device showing the wrong zone still computes the same six digits as the service does provided its absolute time is right. Only real drift matters. A zone that is wrong often travels with automatic time being switched off, though, so it is worth turning that back on.

Try KeyNesta free. The web app needs no sign-up.

Open the web app All platforms