A practical field guide from Automation Ace.
Short answer: yes, two-factor authentication (2FA) will still protect you in the quantum era, but not every method equally. Codes from authenticator apps use symmetric cryptography (HMAC), which quantum computers don't meaningfully break. SMS codes are already weak for reasons unrelated to quantum computing. Security keys and passkeys are the strongest option today against phishing, but they use elliptic-curve signatures that will need post-quantum replacements, which vendors are starting to build. Keep 2FA on, move important accounts to passkeys or security keys, and let your providers handle the cryptographic upgrades.
This is general information that reflects vendor and standards material at the time of writing; it is not security advice for your specific situation.
2FA methods: the quantum-era verdict
| 2FA method | How it works | Quantum era verdict | Bigger risk today |
|---|---|---|---|
| SMS codes | Code sent by text message | Not a cryptography question; already weak | SIM swapping, interception, phishing |
| Email codes or links | Code or link sent by email | Depends on email account security | Email account takeover, phishing |
| Authenticator app codes (TOTP) | Shared secret plus time, HMAC | Holds up: symmetric cryptography | Real-time phishing of codes |
| Push approvals | Tap to approve on your phone | Vendors must upgrade the public-key parts | MFA fatigue (approving prompts you didn't start) |
| Hardware security keys (FIDO2) | Public-key signature, bound to the site | Needs post-quantum algorithms eventually | Losing the key without a backup |
| Passkeys | Public-key signature, synced or device-bound | Needs post-quantum algorithms eventually; upgrades are starting | Account recovery weaknesses |
Why most 2FA survives quantum computers
- Codes are symmetric: authenticator apps follow RFC 6238 (TOTP), which derives codes from a shared secret with HMAC. Quantum attacks on symmetric cryptography only give a modest speedup.
- Codes are short-lived: a 6-digit code valid for about 30 seconds is useless to someone who decrypts it years later.
- 2FA is layered: an attacker still needs your password or session as well.
Where quantum computers do matter
- Public-key factors: security keys and passkeys usually sign with ECDSA. A large quantum computer could eventually forge those signatures, so they need post-quantum versions; see are your passwords and passkeys future-proof?
- Setup secrets in transit: the QR code that sets up an authenticator app contains its secret. If that page was delivered over classical TLS and recorded, the secret could be decrypted later and still work if never changed. Post-quantum TLS in modern browsers and on sites behind Cloudflare reduces this; re-enrolling important accounts periodically removes it. See harvest now, decrypt later.
- Sessions and tokens: after you sign in, the session cookie or token is what protects you; TLS protects it in transit.
The bigger threat today: phishing, not physics
Attackers already bypass SMS, app codes, and push approvals with fake login pages that relay codes in real time, SIM swaps, and approval spam. AI makes these attacks more convincing; see how AI and quantum computing are changing authentication. Phishing-resistant methods (passkeys and security keys) stop most of these because they only work on the real website.
What to do now
- Turn on 2FA everywhere it is offered, starting with email, banking, cloud, and admin accounts.
- Replace SMS with an authenticator app, and authenticator apps with passkeys or security keys where possible.
- Register at least two factors and store backup codes in a password manager such as 1Password.
- Never approve a sign-in prompt you didn't start, and never read a code to someone who calls you.
- Re-enroll authenticator apps on your most important accounts occasionally, especially old setups.
For businesses: what quantum computing means for MFA. Authenticator apps in detail: will today's authenticator apps survive?
Frequently asked questions
Will 2FA still work after quantum computers arrive?
Yes. Authenticator app codes use symmetric cryptography that quantum computers don’t meaningfully break, and short-lived codes have little future value. Public-key factors like passkeys and security keys will need post-quantum algorithms, which vendors are developing.
Is SMS 2FA safe in the quantum era?
SMS 2FA is weak today regardless of quantum computing because of SIM swapping, interception, and phishing. Replace it with an authenticator app, passkey, or security key where possible.
Which 2FA method is most future-proof?
Passkeys and security keys are the strongest against phishing today and are moving toward post-quantum algorithms. Authenticator apps hold up cryptographically but can be phished.
Can quantum computers steal my authenticator app secret?
Not by breaking the code algorithm. The risk is the setup secret being recorded in transit over classical TLS and decrypted later, which post-quantum TLS and periodic re-enrollment address.
Should I turn off 2FA because of quantum computing?
No. 2FA blocks most account takeovers today. Keep it on and upgrade to phishing-resistant methods over time.
Disclaimer: post-quantum standards, vendor support, and timelines change, and no one knows exactly when a cryptographically relevant quantum computer will exist; this is general information, not security, legal, or compliance advice, so confirm requirements with your security team and vendors; details reflect public documentation at the time of writing. Automation Ace is not affiliated with Cloudflare, Amazon Web Services, or the other vendors named beyond any referral links marked on this page. This article may include links to apps, products, or services; some links may be affiliate links, which means Automation Ace may earn a commission at no extra cost to you.