The gate closes in twenty minutes, or the ferry is an hour out, or the building you are standing in has thick walls and no signal. The question is narrow and it is urgent: when the sign-in screen asks for six digits, will your authenticator still show them?
Yes. That part is settled, and the pages ranking for this question are right about it. They are also, almost without exception, finished at that point. "Works in airplane mode" is a true sentence about one feature of an app that has eight, and the other seven are where people actually get caught: the account you were going to add on the plane, the sync that was supposed to have reached your tablet, the restore you were counting on, the approve-this-sign-in prompt that never arrives, the clock warning that stops appearing exactly when the clock is most likely to be wrong.
So this page does the thing none of the ranking pages does. It takes the app apart feature by feature and says, for each one, whether it works with the radio off, and where the connection is needed when it is needed. Then it covers the clock properly, including how to fix a wrong one with no network at all, which is the situation the "just let it sync" advice cannot help with. And it finishes on the point nobody makes: offline generation is not only a convenience. It is the reason nothing about your accounts has to leave your device in the first place.
The short answer
- Generating a code needs nothing. No network, no account, no server. Aeroplane mode, no SIM, a phone that has never been online: the six digits appear.
- Signing in still needs a connection, obviously, but that is the website's requirement, not the authenticator's. The app is not the thing that is offline in that sentence.
- Adding a new account is the half-and-half case. Your app's side is offline. Getting the setup QR out of the service is not, because that page lives on their website behind your password.
- A typed setup key is the exception. If you already hold the key as text, you can enrol an account with the radio off and no camera.
- Sync, cloud backup and restore all need a connection. They are the features people assume are offline because the codes are.
- Push approval is the one feature that genuinely cannot work offline, and number matching with it. A six-digit code is the fallback, and Microsoft documents both positions plainly.
- An automatic clock check needs a time source, which means a connection. The codes do not need one. Knowing your clock is wrong does.
What needs a connection, and what does not
This is the table the question deserves. Work down it and the whole thing resolves, including the cases where the answer is "yes, but not the part you were thinking of".
| What you are doing | Works with the radio off | Where the connection is needed |
|---|---|---|
| Reading a six-digit TOTP code | Yes, always | Nowhere |
| Reading a counter-based HOTP code | Yes, always | Nowhere |
| Opening the app and seeing your account list | Yes | Nowhere |
| Typing that code into a sign-in page | No | The sign-in itself, not the app |
| Adding an account by scanning a QR on screen | The scan, yes | The service's website, to show you the QR |
| Adding an account by typing a setup key you already hold | Yes | Nowhere |
| Sync between your own devices | No | The sync server, both ends |
| Writing an encrypted backup file to local storage | Yes | Nowhere |
| Restoring from a backup or from sync | No | Wherever the backup is kept |
| Approving a push prompt, with or without number matching | No | The push service and your device, both |
| An automatic device-clock check | No | A time source to compare against |
| Correcting a clock that is wrong | Yes, by hand | A network, only if you want it done for you |
Two things in that table are worth saying out loud, because they are the two that catch people.
The first is that the row everybody quotes, generating a code, is the only row where the answer is an unqualified yes with nothing attached. Every other yes has a condition on it.
The second is that three separate rows fail together the moment the network goes, and they are the three people rely on without noticing: sync, restore, and the warning that tells you your clock has drifted. An authenticator on a plane is a generator, and nothing else.
Why a code needs nothing at all
The mechanism is short and worth holding, because every other answer on this page follows from it.
When you turn on two-factor authentication, the service shows you a QR that encodes an otpauth:// link containing a random secret. Your app stores that secret. The service stores the same secret. From then on, both sides compute the same six digits from two inputs they each already have: the secret, and the current time divided into steps of thirty seconds by default. Nothing is sent when a code is generated, in either direction, because there is nothing to send. Two parties doing the same arithmetic on the same two numbers do not need to talk.
That is the whole of it, and TOTP vs HOTP is the longer version if you want the HMAC and the truncation. The practical consequence is the one you came for: an authenticator app that asks for a network before it will show you a code is doing something the standard does not require, and that is worth being suspicious of rather than tolerant of.
Google states the offline position for its own app without qualification: "You can still generate codes without an internet connection or mobile service" (Google Account Help). Microsoft is equally direct about the six-digit codes in Authenticator: "No. The codes don't require you to be on the internet or connected to data, so you don't need phone service to sign in" (Microsoft Authenticator FAQs).
Both of those sentences are about one feature. Keep reading, because both companies document a second feature where the answer is the opposite.
The half of setup that is not offline
Here is the gap in every page currently ranking, and it is the one that strands people.
You are on the plane. You have an hour. You decide to finally move your bank off texted codes. You open the app, you tap add, the camera comes up, and then you need a QR code to point it at. That QR lives on a page inside your bank's website, reached by signing in and walking into the security settings. Which needs a connection.
So the honest shape of the answer is this: your authenticator's half of enrolment is entirely offline, and the service's half is not. The camera is local. Decoding the otpauth:// link is local. Storing the secret is local. Not one byte has to leave the device. What cannot happen offline is the other party handing you the secret in the first place, and no authenticator app of any kind can fix that, because the secret has to be agreed by both sides before either can compute anything.
This matters more than it sounds, because it means the useful preparation is not "install an app before you fly". It is "finish the enrolments before you fly". If you plan to be out of signal for a while, the accounts you want in the app have to be added while the services are still reachable.
There is one genuine exception, and it is the kind of detail these pages leave out. Nearly every service offers a typed setup key as an alternative to the QR, usually behind a link that says you cannot scan it. That key is the same secret in base32 text. If you have it written down, printed, or saved somewhere you can read offline, you can add the account with the radio off, with no camera and no network, by typing it in. That is the only route to a genuinely offline enrolment, and it is worth knowing before a long trip, although it carries the obvious cost: a setup key in plain text is a password for that account's second factor, and a screenshot of a 2FA QR code is the same problem in picture form.
Two small cautions on the typed route. The key alone does not carry the parameters, so if the service uses something other than the default six digits, thirty seconds and SHA-1, you need those too. And the account label is yours to type, which means a careless entry is an unlabelled secret you will not recognise in a year. Both of those, and the reasons a QR code refuses to scan in the first place, are worked through in can't scan the QR code?.
Sync, backup and restore: the features people assume are local
This is where the assumption does the damage. Because the codes are offline, people conclude the app is offline, and therefore that whatever the app is holding is already safe on the new phone. It is not, and the discovery usually happens on the day the old phone stops working.
Sync needs a connection at both ends. That is not a limitation anyone can engineer away: two devices agreeing on a list have to exchange it. Google's cloud sync for Authenticator is opt-in and the condition is explicit, because you have to sign in to a Google Account inside the app for codes to synchronise across devices (Google Account Help). An account is a connection. Offline, a newly added entry sits on the device that added it and goes nowhere.
Restoring needs a connection to wherever the backup lives. A cloud backup obviously does. A restore from the vendor's sync does. The one case that can be local is a restore from an encrypted file you already hold on the device doing the restoring, and even then you need the app installed, which was itself a download.
Writing an encrypted backup file to local storage does not need a connection. It is encryption and a file write. Whether it is a useful backup is a separate question, answered by where the file ends up: a backup that never leaves the phone it is backing up is a copy, not a backup, which is the whole argument in where to store your 2FA backup codes.
The practical reading of all three: if you have added accounts recently and you are about to go somewhere with no signal, let the app finish syncing before you leave. An offline authenticator is excellent at producing codes for accounts it already has and completely incapable of telling your other devices about the ones you added this morning. Using an authenticator app on two devices covers the routes to a second device and what each one costs.
Push approval: the one feature that cannot work offline
Everything so far has been a qualified yes. This one is a flat no, and it is the feature most likely to be the real reason somebody is asking this question, because a prompt that does not arrive looks exactly like an app that is broken.
Microsoft documents both halves of its own app in the same FAQ, and the contrast is the clearest statement of the whole topic. On codes: "No. The codes don't require you to be on the internet or connected to data, so you don't need phone service to sign in." On sign-in notifications: "Yes. To get sign in notifications and to send your response your device needs to be connected to the internet" (Microsoft Authenticator FAQs).
That is one app, two features, two opposite answers. Any page that gives you a single yes or no about authenticator apps has rounded one of those off.
Number matching makes the dependency heavier, not lighter. Microsoft now applies it to every push: "Number matching is enabled for all Authenticator push notifications", and the flow is that "when users respond to an MFA push notification by using Authenticator, they see a number. They need to enter that number into the app to complete the approval" (Microsoft Learn). The number is shown on the sign-in screen, which is on the network, and typed into the app, which has to send the answer back. There is no offline version of a two-way exchange.
Microsoft also names a limit worth knowing if your plan for a weak-signal day was a watch: "Number matching isn't supported for push notifications for Apple Watch or Android wearable devices. Wearable device users need to use their phone to approve notifications when number matching is enabled."
The fallback is the code, and it is a good one. Microsoft says so about its own network policy server extension, which does not support number matching: "TOTP sign-in provides better security than the alternative Approve/Deny experience". If your organisation uses push and you are heading somewhere with no signal, the preparation is to make sure the same account also has a verification code registered, and to know where in the app to find it. It is the one factor on this list that does not care about the network.
There is a second reason to prefer the code, and it has nothing to do with connectivity. A prompt that can be sent to you can be sent to you repeatedly by somebody holding your password, which is the push-bombing problem worked through in a 2FA code I did not request. A code nobody can send you cannot be used to pester you into approving anything.
The clock, the drift window, and fixing it with no network
This is the section where offline genuinely does cost you something, and where the standard advice stops being usable at exactly the moment you need it.
Codes are computed from the time, so both sides have to agree on the time. They are allowed to disagree a little. RFC 6238 tells validators to allow for the delay between you reading a code and the server checking it: "A validation system SHOULD typically set a policy for an acceptable OTP transmission delay window for validation", and "We RECOMMEND that at most one time step is allowed as the network delay." With the usual thirty-second step, that is a window of roughly one step either side of now.
Drift beyond that and everything fails at once. The specification expects it and tells the validator to draw a line: "Because of possible clock drifts between a client and a validation server, we RECOMMEND that the validator be set with a specific limit to the number of time steps a prover can be 'out of synch' before being rejected" (RFC 6238). The thresholds KeyNesta uses for its own warning are in that spirit: it flags an offset above ten seconds and turns the warning red at thirty, which is roughly where codes start being refused outright.
Now the two things nobody tells you.
The time zone is irrelevant, so do not touch it. TOTP counts from a fixed moment in UTC. Two correctly set phones in different hemispheres produce the same digits for the same account at the same instant. Changing the time zone changes what your phone displays and does not change the instant it believes it is, so it fixes nothing and it can confuse the diagnosis badly. The thing that breaks codes is an absolute clock that is wrong, not a clock that is set to the wrong city.
Automatic time needs a network, and a long flight is exactly where it fails. This is the real offline cost. A phone left in aeroplane mode for eleven hours comes back wanting a network to resynchronise against, and the airport Wi-Fi it joins first does not supply one. A phone whose automatic time was switched off at some point drifts freely and will never correct itself. In both cases the app knows nothing is wrong, because knowing requires asking somebody, and there is nobody to ask.
So here is the fix with no network, which is the thing the ranking pages do not carry:
- Find any clock you trust that is not this phone. Another phone that has been online, a watch that has not been adjusted by hand, a laptop that synchronised before you left, a GPS receiver. Being within a few seconds is enough, because the window is one step either side, so you do not need a reference clock to be perfect.
- Turn automatic date and time off on the drifting device, so you can set it.
- Set the time by hand to match, to the nearest few seconds. Do not adjust the time zone to make the digits look right; set the actual time inside the zone you are already in.
- Try a code. If it is accepted, you are done for now.
- Turn automatic time back on at the first real connection, because a hand-set clock drifts from the moment you set it.
Two app-specific notes. Google's in-app correction is gone: the setting was removed in version 7.0 and the app now uses the operating system's time, so the fix is in Android or iOS date and time settings rather than inside Authenticator, which is covered in Google Authenticator code not working. And KeyNesta will tell you the offset but never silently correct it: the warning reads that your device clock is off and says in plain words that KeyNesta never changes your clock, then shows the setting to open for the platform you are on. An app quietly carrying its own time offset is an app where a wrong clock stops being visible, and a wrong clock is something you want to know about rather than have papered over.
When the clock is demonstrably right and codes are still refused, the cause is elsewhere and the order to work through it is in why your 2FA code is not working.
The privacy point nobody makes
Everything above treats offline generation as a convenience: codes on a plane, codes in a basement, codes on a phone with no SIM. That is the smaller half of what it buys you.
The larger half is that a design where nothing has to be sent is a design where nothing has to be collected. Because the secret is on your device and the arithmetic happens there, the service you are signing in to never learns which authenticator you use. The authenticator's maker never learns which services you hold accounts with, how often you sign in, or from where, because none of that passes through them. There is no code-generation event to log, because generating a code is not an event anywhere but on your screen. Compare that to a texted code, where the message exists, has a sender, a recipient and a timestamp, and sits in at least two companies' systems before it reaches you.
That is a genuinely unusual property, and it is worth saying clearly: the offline answer and the privacy answer are the same fact seen from two sides.
Now the honest caveat, because this is where it would be easy to overclaim. An app that does not need the network can still use it. Not needing a connection to function is a property of the standard; not making one is a decision by the developer, and the two are independent. Several widely used authenticators declare a good deal of collection in their own store filings. Google Authenticator's Play Data Safety declaration names name, email address, phone number, address, user identifiers, device identifiers, photos, app interactions and in-app search history. Aegis and 2FAS both declare "No data collected". Same standard, same offline arithmetic, very different declarations, and the only way to know which you have is to read the one for your app. Seven of them are set out side by side, quoted from the filings, in the most private authenticator app.
So the rule to take from this section is not "authenticator apps are private". It is that offline generation removes the need for your app to phone home, and whether yours does anyway is a separate question with a public answer.
The five-minute check before you lose signal
Not a long list, and it is all the preparation this problem needs.
- Finish the enrolments. Any account you want codes for has to be added while the service is reachable. This is the only item that cannot be done later.
- Let sync settle. Open the app on both devices while you still have a connection, so recent additions are actually on both.
- Check the clock is automatic and correct before you switch the radio off, because that is the last easy moment to do it.
- Have backup codes on paper for anything you genuinely cannot be locked out of. They need no network, no clock and no app, and they are the only factor on this page with all three properties.
- If you rely on push at work, register a verification code too, and find out where it lives in the app before you need it.
- Know that the sign-in itself still needs a connection. An offline authenticator does not let you sign in to anything offline. It lets you be ready the moment you are back.
For a trip rather than a flight, the dated version of this with the services' own waiting periods is 2FA while traveling abroad.
Where KeyNesta fits, and what it cannot do
KeyNesta is offline-first, which here means the thing this page is about: codes are computed on the device from a secret that never leaves it, with no account required to generate one at all. It works on a plane, on a phone with no SIM, and on a device that has never been online. What the server holds, and does not, is listed at what our server stores.
The limits are the same ones this page just described for everybody else, and they apply to us too.
The sync account needs a connection. Sync is optional and end to end encrypted, and like any sync it is a conversation between two devices and a server. Offline, it does not happen, and it catches up when the connection returns.
A restore needs a connection. Encrypted backup files are created and restored in the web app, and phones then receive the restored vault through sync, so a restore is not something to plan on doing in a dead zone. Set the second device up before you need it, not after. The mechanics are in 2FA backup and sync.
The clock warning needs a connection, because it compares your device time against the server's and there is nothing to compare against offline. It also rides on a request the app was already making rather than adding one of its own, which is the right trade but does mean no request, no warning. The manual fix above is the offline substitute, and it works.
KeyNesta stores no passkeys and no security keys. Passkeys are named on the features page among the things deliberately not built, and an authenticator app is not a FIDO authenticator. For the one or two accounts you could not afford to lose, both are the stronger answer, and both are worth reading about honestly even though it points away from our own product: authenticator app vs security key and passkeys vs authenticator apps.
And there is no push approval in KeyNesta at all, which is worth stating plainly rather than framing as a feature. If your employer requires an approve-this-sign-in prompt, KeyNesta does not provide one. What it provides is the code, which is the factor that works with the radio off.
If you would rather see all of that before installing anything, the web app at app.keynesta.com needs no sign-up.
Frequently asked questions
Can I add a new account to my authenticator while I am offline?
Only if you already hold the setup key as text. Your app's side of enrolment is entirely local, but the secret has to come from the service, and the page showing its QR code sits behind a sign-in on their website. With a typed setup key written down or printed, you can add the account with the radio off and no camera. Without it, enrolment waits for a connection, and that is the service's requirement rather than your app's.
Does an authenticator app send anything when it generates a code?
Nothing, by design. Both your app and the service compute the same digits independently from a secret they each already store and the current time, so there is no message to send and no request to make. That is also why no code-generation event exists in anybody's logs. Whether an app makes unrelated network calls for analytics or an account is a separate question, and the answer is in its own store privacy declaration rather than in the standard.
Which authenticator features stop working on a plane?
Sync between your devices, any restore from a backup held elsewhere, push approval prompts and number matching, and the automatic check that tells you your device clock has drifted. Reading codes, opening your account list, and writing an encrypted backup file to local storage all keep working. The short version is that an authenticator in aeroplane mode is a code generator and nothing more.
How far can my phone clock be wrong before codes start being refused?
Seconds, not minutes. RFC 6238 recommends that validators allow at most one time step for network delay, which with the usual thirty-second step means a window of roughly one step either side of the current one. KeyNesta flags an offset above ten seconds and turns its warning red at thirty, which is roughly where services begin rejecting codes outright. A phone a few seconds out is fine; a phone a minute out fails everywhere at once.
How do I correct a wrong phone clock with no network?
Set it by hand against any clock you trust that is not that phone: another device that has been online, a watch, a laptop that synchronised earlier. Turn automatic date and time off, match the reference to within a few seconds, and try a code. Do not change the time zone, because the calculation uses UTC and the zone affects only what your screen displays. Turn automatic time back on once you have a real connection, because a hand-set clock starts drifting immediately.
Do I need internet to approve a Microsoft Authenticator push notification?
Yes, and Microsoft says so directly: your device has to be connected to the internet both to receive a sign-in notification and to send your response. Number matching does not change that, because it is a two-way exchange between the sign-in screen and the app. The offline route for the same account is the six-digit verification code in the app, which needs no connection, so registering it as well as push is the preparation worth doing before you lose signal.
Takeaway
The answer that fits on a card is that an authenticator app does not need internet to do its job, because a code is arithmetic on two numbers your device already holds, and both your phone and the service do that arithmetic separately.
The answer that actually helps is that the app is not one feature. Generating codes needs nothing. Enrolling a new account needs the service, not the app. Sync, restore and push approval all need a connection, and push is the one that simply has no offline version. The clock check needs a connection too, which is the only place where being offline genuinely costs you something, and the fix for that is a manual time set against any clock you trust, not a time-zone change.
Which leaves the thing worth remembering after the flight has landed. The reason your codes work with the radio off is that nothing about your accounts has to leave your device. That is the same sentence as the privacy answer, read from the other end, and it is the best argument there is for a second factor that is computed rather than delivered.
Sources
- Google Account Help, "Get verification codes with Google Authenticator"
- Google Account Help, "Fix common issues with 2-Step Verification"
- Microsoft Authenticator FAQs
- Microsoft Learn, "How number matching works in MFA push notifications for Authenticator"
- RFC 6238, "TOTP: Time-Based One-Time Password Algorithm"
- Google Play Data Safety, Google Authenticator
- Google Play Data Safety, Aegis Authenticator