The security settings page offers you a choice, and it presents the two options as though they were siblings. Send a code to your email address. Or use an authenticator app. Your bank does this. So does the work tool you were told to secure this week, and the game account with four years of progress in it.
They are not siblings. One of them is a second factor and the other one is your first factor wearing a hat, and the thing that settles it is not encryption or convenience or how long the code lasts. It is a question you can answer about your own account in about four seconds: where does the password reset link go?
If the answer is the same inbox that receives the verification code, then anyone who can read the code can also reset the password, and you do not have two factors. You have one factor, checked twice.
That is the argument this page is built on, and it is the one that decides the choice. Most pages on this question list the pros and cons of each method in two neat columns and leave you to weigh them, which is not much help, because the columns are not comparable. Below is the full version: why the dependency runs the way it does, what the standards body says in so many words, where email codes genuinely do help, what actually breaks in each case, and the part almost nobody covers, which is what to do about the email account's own second factor and how to get back in when the inbox is the thing you have lost.
The short answer
- Use the authenticator app wherever the service offers both. This is not close.
- An emailed code is not independent of the password it is supposed to back up, because the inbox that receives it can also reset that password. Two locks on one door, one key.
- NIST says so directly. Its current digital identity guidelines state that email "SHALL NOT be used for out-of-band authentication", and the first reason given is that an inbox is reachable with only a password.
- Email 2FA is still much better than nothing. Against the most common attack, somebody trying a password leaked from another site, it works. Turn it on if it is the only option offered.
- The authenticator app's secret never travels, so there is no message to intercept, delay, misdeliver or read over your shoulder. The code is computed on your device.
- Neither one stops real-time phishing. A convincing fake page relays whatever you type, from either method, within its validity window. Only a passkey or a security key is resistant to that.
- If you keep email codes anywhere, secure that inbox first: its own second factor must not be email, its password must be unique, and its forwarding rules and recovery address are worth reading today.
- Whichever you choose, get the recovery route out of the inbox. Backup codes on paper are the only factor that survives losing both the phone and the mailbox.
Why an emailed code is not a second factor
Authentication factors are supposed to be drawn from different categories: something you know, something you have, something you are. The point of using two is that an attacker has to defeat two unrelated things. If the second one falls the moment the first one does, the pair is worth roughly what the stronger one is worth alone.
Now trace the arrows on your own account. Your password protects the account. Your email address can reset that password. Your email code is delivered to that same address. So the inbox sits above the account in the dependency order, not beside it. It is not a second factor, it is the master key, and a code sent to it is a message delivered to the one place that already had the authority to let somebody in.
Work it through as an attacker would. Somebody with only your password, replayed from a breach at another site, is genuinely stopped by an emailed code, and that is a real win worth having. But somebody who is into your inbox does not need your password at all. They click forgot password, read the link in the mailbox they are sitting in, set a new password, and then read the verification code that arrives in the same mailbox a moment later. The second factor did not add a step for them. It arrived at their desk along with everything else.
This is not a fringe reading. The United States standards body states it as a requirement rather than a suggestion. NIST Special Publication 800-63B-4, the current digital identity guidelines published in July 2025, says in section 3.1.3.1 that "Email SHALL NOT be used for out-of-band authentication because it may be vulnerable to:" and then lists three reasons. The first is the one this whole page is about:
- "Access using only a password"
- "Interception in transit or at intermediate mail servers"
- "Rerouting attacks, such as those caused by Domain Name System (DNS) spoofing"
"SHALL NOT" is the strongest prohibition that document uses. And the reason an out-of-band authenticator has to be a device rather than a mailbox is given in the same part of the specification: an out-of-band authenticator is "something you have", and the requirement is that "The device is possessed and controlled by the claimant." A mailbox is not possessed. It is an account, reachable from anywhere by anyone holding its password.
Here is the nuance that gets lost, and it matters. The same section carves out an exception that almost nobody mentions: confirmation codes "that are sent to validate email addresses or are issued as recovery codes" are "not authentication processes and not affected by the above prohibition". So email is a perfectly legitimate way to prove you own an address, and a legitimate channel for account recovery. The prohibition is narrow and specific. Email should not be the thing standing between your password and your account at sign-in time. Everyone who says "email 2FA is fine, it is just email" and everyone who says "never let email near your account" has half of this.
What the two methods actually are
The mechanisms are different enough that the comparison is worth making concrete rather than adjectival.
An emailed code is a message. The service generates a random number, stores it, and hands it to its mail provider, which hands it to yours, which puts it in your inbox. It exists as data in at least three systems before you read it, it has a sender and a timestamp, and it sits in your mail archive afterwards unless you delete it. NIST requires that such an authentication "SHALL be considered invalid unless completed within 10 minutes" and that each secret be accepted only once, which is why these codes expire while you are hunting for them.
An authenticator code is arithmetic. When you enrol, the service shows a QR code containing a random secret. Your app stores it and so does the service. From then on, both sides independently compute the same six digits from two things they each already hold: that secret, and the current time in thirty-second steps. Nothing is sent when a code is generated, in either direction, because there is nothing to send. TOTP vs HOTP has the full mechanism if you want it.
That difference drives everything else:
| Emailed code | Authenticator app | |
|---|---|---|
| What it proves | You can read a mailbox | You hold a device that was enrolled |
| Independent of the password | No, the inbox can reset it | Yes, enrolment is a separate act |
| Travels over the network | Yes, through several mail systems | Never, after enrolment |
| Works with no signal | No | Yes |
| Leaves a copy behind | Yes, in your mail archive | No |
| Accepted by NIST as out-of-band | No, prohibited | Yes |
| Resists real-time phishing | No | No |
| Setup effort | None | Scan a QR once per account |
| If you lose the device | Nothing happens | You need a backup or recovery code |
| If you lose the mailbox | You lose the account too | You still have your codes |
The last two rows are the honest trade, and they point in opposite directions. That is the real decision, and it is why the answer is not simply "apps win, done".
Where email codes genuinely win
Any page that cannot say this part is selling something.
They stop the attack that actually happens to most people. The overwhelmingly common way ordinary accounts are taken is credential stuffing: a password you reused was leaked somewhere else, and software tries it everywhere. Against that attacker, who has a password and nothing else, an emailed code is a wall. Turning on email 2FA on an account that had none is a large improvement, and nobody should be talked out of it because a better option exists elsewhere.
There is nothing to lose and nothing to set up. No enrolment, no QR, no secret that can be lost with a phone, no recovery code to store. For an account you sign into twice a year from a different device each time, that is a genuine advantage and not a small one.
It needs no phone, no SIM and no app. For somebody without a smartphone, or unwilling to put a work tool on a personal device, email may be the only second factor available. It is also free of the SIM swapping problem that makes texted codes the weakest common option, which is a separate argument worked through in authenticator app vs SMS.
It is legitimate for the jobs NIST carves out. Verifying that you own an address, and receiving a recovery code when you are locked out, are both appropriate uses of email and always have been.
So the rule is not "email bad". It is narrower and more useful: email is a reasonable fallback and a poor primary. Where a service offers both, taking the app costs you one minute at setup and removes the dependency entirely.
What breaks, in each case
Comparisons that stop at "which is more secure" leave out the thing that actually goes wrong on a Tuesday.
What breaks with emailed codes:
- The code arrives late, or in spam. It is a message crossing two mail systems, subject to greylisting and filtering, against a validity window that is often shorter than the delay. Then you request another, and now two codes are live and you are typing the wrong one.
- Your mail is on the device you are signing in from. On one phone, the "second factor" is a notification sliding down over the login form. Whoever holds that unlocked phone has both.
- Someone else is already reading it. A forwarding rule or a lingering mail client session quietly copies every message, including every code, and nothing on screen indicates it. Reviewing forwarding rules is the single most skipped security check there is.
- The mail provider is down, and so is your access to every account that depends on it. One outage, every door.
- The code is still sitting in your archive months later, which is harmless until the mailbox is breached and becomes a map of which services you hold accounts with.
What breaks with an authenticator app:
- The phone is lost, stolen or wiped, and the secrets go with it unless you had sync or an encrypted backup. This is the real cost of the app, and it is why the method needs a plan that email does not.
- The clock drifts. Codes are computed from the time, so a phone whose clock is wrong by more than a few tens of seconds has every code refused at once. Correct it in the operating system's date and time settings, and do not touch the time zone, which has no effect on the calculation.
- You enrol once and only once. If you never scanned the QR on a second device and never saved the setup key, there is no way to produce that secret again.
- The recovery codes are still in your email, which quietly undoes the whole exercise. If the service sent you backup codes by mail when you enrolled, that message is now a key to the account and belongs on paper, not in the archive. Where to store your 2FA backup codes is the longer answer.
Read those two lists together and the shape of the right answer appears. Email codes fail in ways that take your account. Authenticator apps fail in ways that lock you out of it. The first kind of failure is somebody else's decision and the second is yours to prevent, which is the better of the two problems to own.
Neither one stops real-time phishing
This is where an honest page has to disappoint you a little, because it is the limit both methods share and the reason neither is the end of the story.
Picture a convincing copy of your bank's login page. You type your password. The fake page passes it to the real bank immediately. The real bank sends a code, or asks for the one in your app. The fake page asks you for it, you type it, and it is relayed to the real bank inside its validity window. The bank issues a session, and the machine in the middle keeps it.
Nothing about that attack cares which method produced the code. A six-digit number typed into a box is a six-digit number typed into a box. NIST is explicit that out-of-band authentication is not phishing-resistant, for exactly this reason: manually entering the output does not bind it to the session you think you are in.
What does resist it is a factor that checks the website's identity for you, before anything is handed over. A passkey or a hardware security key is cryptographically bound to the real domain, so on a lookalike domain it simply does not produce anything to steal. For the two or three accounts you genuinely cannot afford to lose, that is the upgrade worth making, and it points away from both options on this page: passkeys vs authenticator apps and authenticator app vs security key are the honest comparisons. Route by route, can 2FA be bypassed? covers the rest.
The practical ranking, then: a security key or passkey beats an authenticator app, which beats an emailed code, which beats a texted code, which beats nothing. Moving one step up that list on your most important account is worth more than perfecting the rest.
If you are keeping email codes anywhere, do these three things
Many accounts simply do not offer an app, so this is not hypothetical. If any account of yours sends codes to a mailbox, that mailbox is now part of the security of every one of them, and it should be treated accordingly.
- Put a real second factor on the email account itself, and make sure it is not email. This is the whole game. An inbox protected by an authenticator app or a security key stops being the soft underside of everything else. An inbox protected by a password alone means every email code downstream of it is decorative.
- Give it a unique password. The first reason NIST gives for the prohibition is "access using only a password". A reused one turns a breach at any unrelated site into access to your mail, and from there to every account that resets through it.
- Read the forwarding rules, filters and recovery address today. This is the quiet one. A rule that copies incoming mail elsewhere, or a recovery address you no longer control, hands over every future code without ever touching your password. Most people have never opened that settings page. Open it.
A fourth, if you want the real improvement: move the important accounts off email codes entirely, in order of what they protect. Primary email first, then anything financial, then anything that can buy something or send messages as you. Two-factor authentication without a phone number goes service by service through what can actually be changed.
When the inbox is the thing you lost
Here is the failure mode that the pages comparing these two methods never reach, and it is the one that strands people for weeks.
If your second factor is an emailed code and you lose access to that email account, you have not lost one account. You have lost every account that sends codes there, at the same instant, and you have lost the route you would normally use to recover them, because that route is also the inbox. Password reset goes there. Verification goes there. Support correspondence goes there.
Worse, the loop closes on itself. To get the email account back you often need a code from a second factor, which may be an app on a phone you no longer have, or a recovery address inside the same provider. That ring, and the order of operations that breaks it, is the subject of locked out of email and 2FA. If the phone is the thing that is gone, start instead with lost phone recovery.
The preventive version fits in three lines, and doing it costs ten minutes:
- Get at least one factor out of the mailbox. An authenticator app on a device you hold, with a backup, so that losing the inbox does not also lose the codes.
- Keep backup codes on paper, somewhere a flood or a fire would not take along with your phone. They need no network, no clock, no device and no mailbox, which makes them the only factor that survives losing all of those at once.
- Set a recovery address at a different provider, so that one company having a bad day is not the same event as you losing everything.
Where KeyNesta fits, and what it cannot do
It would be easy to end a page like this with "so use our app", so here is the split as it actually is, including the part that is uncomfortable for us.
No email address is needed to generate codes at all. Creating a vault in KeyNesta asks for a name and a passphrase and nothing else. Everything on one device then works with no account: generating codes, spaces and groups, search, imports, encrypted backup files and export. There is no sign-in standing between you and your codes, which is the whole point of the sign-in page having so little on it.
Email appears in exactly one place: the optional sync account. Sync is the only reason an account exists. If you want a vault on a second device, you create one with an email address and a password, or sign in with Google, and your vault travels as ciphertext the server has no key for. Turn sync off and no email address is ever involved.
And now the honest part. That sync account password is resettable by email, exactly like any other account in this post. Someone holding your mailbox could reset it. What they would get is the account, not the codes, because the two secrets do different jobs and only one of them ever reaches us:
| Account password | Vault passphrase | |
|---|---|---|
| What it is for | Identifying you to the sync service | Decrypting your codes |
| Minimum length | 8 characters | 12 characters |
| Reaches our server | Yes, to sign you in | Never |
| Can be reset | Yes, by email | No, by anyone |
That bottom row is the entire argument of this page, drawn as a product decision. Email can reset the thing email is allowed to reset. It cannot reach the thing that decrypts your codes, because that passphrase never leaves your device and nobody here can reset it, by design. The cost of that design is real and worth stating: if the vault passphrase is gone, a Recovery Kit made beforehand is the only way back, and without one the vault does not open for us either. What the server does and does not hold is listed at what our server stores.
KeyNesta never asks for a phone number, for sign-up, sign-in or recovery, so the SIM swapping route does not exist here.
KeyNesta stores no passkeys and no security keys. Passkeys are named on the features page among the things deliberately not built. So for the accounts where real-time phishing is the threat you actually care about, the better answer is a security key or a passkey, and this page is not going to pretend otherwise.
And neither emailed codes nor TOTP stop a convincing fake login page, including ours. An authenticator app removes the inbox dependency, the interception risk and the delivery failure. It does not remove the need to check the domain before you type.
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
Is email 2FA better than no second factor at all?
Yes, clearly, and it is worth turning on where nothing better is offered. It stops the most common attack on ordinary accounts, which is somebody replaying a password leaked from another site. What it does not do is add a second independent factor, because the mailbox that receives the code can also reset the password it is backing up. Treat it as a useful fallback rather than as real two-factor protection.
Why do security standards treat email differently from a text message?
Both are out-of-band channels, but they fail differently. The current NIST guidelines prohibit email for out-of-band authentication outright, the first reason being that a mailbox is reachable with only a password from anywhere. Codes over the telephone network are restricted rather than prohibited, and permitted only where the device authenticates to a mobile network with a SIM, because that at least ties delivery to a physical card. Neither is in the same class as an app or a key.
My account sends backup codes to my email when I enrol. Does that undo the authenticator app?
Largely, yes, and it is the most common way people quietly keep the dependency they thought they had removed. Backup codes are full-strength credentials, so a set of them sitting in a mail archive means the inbox still opens the account. Print them or write them down, store them away from the phone, and delete the message. An authenticator app with its recovery codes left in email is still an account that the mailbox controls.
Should I use an authenticator app for my email account itself?
That is the single highest-value place to put one. Every account that resets through that address inherits its security, so an inbox behind only a password is the weak point under everything else you have protected. An authenticator app or a hardware security key on the mail account is the change that makes every downstream email code meaningfully safer, and it is usually the one people do last.
What if a service only offers email codes and no authenticator app?
Turn the email codes on, then spend the effort on the mailbox instead of the account. Give the mail account a unique password and a non-email second factor, check its forwarding rules and recovery address, and keep any backup codes on paper. You can also ask the service for app support, which is worth more than it sounds, and reconsider how much the account is allowed to do if it cannot be properly secured.
Does an authenticator app protect me if I click a convincing fake login page?
No, and neither does an emailed code. A fake page can relay whatever you type to the real service straight away and keep the session it gets back, which works the same against a code from an app, a code from a mailbox, or a code from a text message. The factor that does resist it is a passkey or a hardware security key, because those check the site's real domain before releasing anything and produce nothing usable on a lookalike.
Takeaway
The choice looks like a tie on the settings page and is not one. An authenticator app produces a code from a secret your device already holds, without sending anything, so losing it is your problem to prepare for rather than somebody else's opportunity. An emailed code is a message delivered to the account that can already reset your password, which means it adds a step for an attacker who has only that password and no step at all for one who has your mailbox.
So where both are offered, take the app, and spend the minute it costs to scan the QR. Where only email is offered, turn it on and then go and secure the inbox properly, because that mailbox is now load-bearing for everything beneath it. Either way, get one factor and one set of backup codes out of the mailbox entirely, so that losing an email account is an inconvenience rather than the end of every account you own.
And if the account is one you truly could not afford to lose, keep going one more step to a passkey or a security key. Both options on this page can be relayed by a convincing fake page. Only those cannot.