Is AES safe from quantum computers?
Yes. Quantum computers aren't expected to break AES or other modern symmetric encryption. The known quantum attack, Grover's algorithm, at best speeds up guessing the key, and NIST expects it to give little or no real advantage against AES. NIST says AES with 128-, 192- or 256-bit keys can keep being used, and the UK's National Cyber Security Centre (NCSC) says the same for keys of at least 128 bits. What quantum computers threaten is public-key cryptography, such as RSA and elliptic curves, not AES.
Why AES holds up
Symmetric encryption uses one shared secret key to lock and unlock the data. The only general quantum attack on it is to search for that key faster. On paper, Grover's algorithm cuts the search to roughly the square root of the usual number of guesses, so a 128-bit key would offer about the protection of a 64-bit one. In practice the steps must run one after another on a large, error-corrected quantum computer, each step is far slower and costlier than an ordinary computer's, and the search doesn't split well across many machines. That is why NIST does not expect AES to need replacing.
Do we need longer keys?
| What it says | Applies to | |
|---|---|---|
| NIST | AES-128, AES-192 and AES-256 stay acceptable; no need to double key lengths now | Systems that follow NIST standards |
| UK NCSC | Symmetric algorithms with at least 128-bit keys, such as AES, can continue to be used | UK organisations following its guidance |
| NSA CNSA 2.0 | Requires AES-256 | US national security systems |
| IBM quantum-safe course | Suggests at least doubling key lengths, for example AES-256 | Teaching material, not a rule |
NIST bases its view on the real cost of running Grover's algorithm; the IBM course works from the on-paper halving. If a rule that applies to you sets a key size, follow it. Where you choose, AES-256 gives the most margin at little extra cost.
Common confusions
- "Quantum computers will break all encryption." No. They threaten public-key cryptography; symmetric encryption such as AES survives.
- "Grover halves AES security, so AES-128 is broken." The halving is on paper only. Real attack costs are far higher, and NIST and the NCSC still accept AES-128.
- "The post-quantum migration replaces AES." No. The new standards replace RSA and elliptic-curve cryptography. Hash functions such as SHA-256 are also only modestly affected: see What is a hash function?
Where this comes up
- LessonPost-quantum cryptography for non-engineersQuantum and security · 14 min
- LessonWhy your bank is already preparingBanking and payments journey · 14 min
- GuideChapter 1 · What quantum threatens in a bank, and what it doesn'tProfessionals · Banking guide
- GuideChapter 2 · Where cryptography lives in a payments estateProfessionals · Banking guide
Sources and further reading
Tags show the kind of source (how sources are chosen and checked). Checked against these sources on 13 November 2026.
- Government guidancePost-Quantum Cryptography FAQs ("To protect against the threat of quantum computers, should we double the key length for AES now?")NIST Computer Security Resource Center
- Government guidanceNIST IR 8547: Transition to Post-Quantum Cryptography StandardsNIST, 2026
- Government guidanceNext steps in preparing for post-quantum cryptography (whitepaper, version 2.0)UK National Cyber Security Centre, 2024
- Government guidanceNSA releases future quantum-resistant algorithm requirements for national security systems (CNSA 2.0)US National Security Agency, 2022
- CoursePractical introduction to quantum-safe cryptography: symmetric key cryptography (free course lesson)IBM Quantum Learning
- Peer-reviewed paperA fast quantum mechanical algorithm for database searchLov Grover, STOC, 1996
Written by Muhammad Atif · Reviewed 13 November 2026 · Report a correction