Is AES-128 quantum safe for long-lived data?

NIST and the UK NCSC say AES-128 remains usable against quantum attack, while ANSSI and the NSA's CNSA 2.0 point to 256-bit keys. Here is what each body published and what long-lived data needs.

On this page

Is AES-128 quantum safe? What the published guidance says

If you are choosing key lengths for data that must stay confidential for years, the question is whether AES-128 still holds up once a quantum computer exists. The short answer from the published guidance is that it appears to, with caveats. NIST's post-quantum FAQ says AES 128 will remain secure for decades to come and that Grover's algorithm will quite likely give little or no advantage against AES. The UK NCSC's white paper (version 2.0, updated 14 August 2024) says symmetric algorithms with at least 128-bit keys, such as AES, can continue to be used. This page sets out what those sources say and what they leave for you to decide.

This question matters most to two groups. Engineers choosing key lengths for a system need to know whether a 128-bit key is an acceptable default or whether a larger key should be specified. Security leads who hold data that must remain confidential for many years, such as health records, long-term financial data or government material, need to know whether a short key is a planning risk over that period. Both groups should look at the same sources, because the guidance is written for both.

The reason the guidance is calm about AES-128 is that a quantum attack on symmetric cryptography is far more limited than the attack on public-key algorithms. NIST's evaluation criteria define security category 1 by the cost of key search on AES128, and they note that Grover's algorithm gives a quadratic speedup but needs a long, serial computation that is difficult to implement in practice. ANSSI's 2022 views paper takes a more cautious line. It says Grover's algorithm quadratically speeds up exhaustive key search, and it names enlarging parameters, such as using 256-bit keys instead of 128 for AES, as a way to mitigate the risk. The BSI's quantum study says the algorithm does affect symmetric cryptography, particularly key lengths and operating modes, and gives no specific key-length recommendation on that page.

The practical check is to confirm which key length each system actually uses. Record the AES key size and operating mode for every place encryption is applied, using the cryptographic inventory that NIST's migration guidance describes. Then decide, against the data's required confidentiality period, whether 128 bits is acceptable or whether to move to 256 bits. Note that the NSA's CNSA 2.0 suite names AES-256 for national security systems, and that suite does not bind commercial organizations. Ask your vendors which AES key length their products use by default and whether a larger key can be configured.

What each body has published on AES-128

This table lists each source named in the research, what it says about AES-128 against a quantum search attack, and any dates it sets. Read the position column to see whether a body treats AES-128 as sufficient or points to a longer key. The main takeaway is that most sources accept AES-128 for now, while the national security guidance points to AES-256.

SourcePosition on AES-128Dates or conditions set
NIST PQC FAQ and Security CriteriaSays Grover's algorithm will likely give little or no advantage against AES, and that AES-128 will remain secure for decades. Current applications can keep using AES at 128, 192 or 256 bits.No date given. Schemes under 112 bits of classical security should not be used. Category 1 cost reference is 2^170/MAXDEPTH quantum gates.
NIST FIPS 197Specifies AES-128 as one of three key sizes in the AES block cipher, with a 128-bit block. It does not assess quantum resistance.Published 26 November 2001. Updated 9 May 2023 with editorial changes only, no technical changes to the algorithm.
UK NCSC white paper (version 2.0)Says symmetric algorithms with at least 128-bit keys, such as AES, can continue to be used. Symmetric security is not significantly affected by quantum computers.Version 2.0 updated 14 August 2024. Migration milestones are set separately in NCSC timelines guidance.
ANSSI views paperGives 256-bit keys instead of 128 for AES as an example of enlarging parameters against Grover's algorithm.Web page dated 4 January 2022. The paper does not set a deadline for the change.
BSI quantum computer status study (version 2.2)Says Grover's and Simon's algorithms affect symmetric cryptography, mainly key lengths and operating modes. Gives no specific key-length recommendation.Version 2.2. Readers should check the current BSI guidance for any later key-length position.
NSA CNSA 2.0 FAQ (version 2.2)Names AES-256, not AES-128, for national security systems. The suite does not bind commercial organizations.Version 2.2, October 2026. New acquisitions require CNSA 2.0 from 1 January 2027. Use is mandated by 31 December 2031.

Why Grover's algorithm affects symmetric keys differently from public-key algorithms

Grover's algorithm gives a quadratic speedup to brute-force key search, and that is the whole of its effect on AES-128. Brute-force search is the attack that tries candidate keys until one works, and a quantum computer running Grover's algorithm can find the key in fewer steps than a classical attack needs. NIST's post-quantum FAQ says it is quite likely that Grover's algorithm will provide little or no advantage in attacking AES, and that AES 128 will remain secure for decades to come. The UK NCSC white paper goes further and says the security of symmetric cryptography is not significantly impacted by quantum computers, and that existing symmetric algorithms with at least 128-bit keys, such as AES, can continue to be used. Planners should read these statements as the reference position for AES-128 and confirm the key length their own systems actually use.

The speedup is also limited by how the computation has to run. NIST's FAQ notes that Zalka proved in 1997 that the full quadratic speedup needs all steps of Grover's algorithm to run in series, and NIST's evaluation criteria say such a long-running serial computation is difficult to implement in practice. ANSSI describes the impact on symmetric algorithms as far more limited than the impact of Shor's algorithm on public-key cryptography, and its views paper names enlarging parameters, such as moving from 128-bit to 256-bit AES keys, as one way to mitigate the risk. NIST's evaluation criteria define security categories by the cost of key search on AES128, AES192 and AES256, which gives teams a concrete reference when they compare key lengths. The UK NCSC white paper also states that hash functions such as SHA-256 are not significantly affected, so the same reasoning does not transfer to the public-key side.

This is why the symmetric question is handled separately from the public-key replacement work. Public-key algorithms such as RSA and elliptic-curve key exchange depend on problems that Shor's algorithm can attack, so their replacement is a migration of key exchange and signatures to post-quantum standards. Symmetric encryption, by contrast, is a parameter question about key length and operating mode, and BSI's quantum study says Grover's search and Simon's algorithms will have implications for symmetric cryptography in particular for key lengths and operating modes, without giving a specific key-length recommendation. Before deciding whether AES-128 suffices for data that must stay secret for years, ask the vendor or internal owner which key length each system uses and confirm the reasoning against the agencies' current guidance.

Where AES-128 is used and what the sources say about each

AES-128 appears in several places that can hold long-lived data, from TLS cipher suites to stored files and VPN links. The sources below address the algorithm in general terms, so each card points to what to confirm in your own products and configurations.

TLS cipher suites

TLS sessions often negotiate suites that pair an ECDHE key exchange with AES-128 in GCM mode. The NIST NCCoE post-quantum FAQ uses the suite ECDHE-RSA-AES128-GCM-SHA256 as its example of a TLS log entry, which shows how the cipher appears in real traffic records. Because the symmetric cipher and the key exchange are separate, the exchange is the part most affected by the public-key transition. Confirm the exact cipher suite and TLS version your servers and clients actually negotiate by checking the logs or the configuration of each endpoint.

NIST NCCoE FAQ

Stored data and file encryption

Encrypted archives, databases and backups may keep AES-128 keys for years. NIST's post-quantum FAQ says current applications can keep using AES at 128, 192 or 256 bits, and that AES 128 will remain secure for decades to come. Long-lived stored data is where planners weigh that horizon most directly. Check the key length used by each storage product and whether the stored data must stay confidential beyond the period the sources describe.

NIST PQC FAQ

VPN and device links

VPN tunnels and device links may carry AES-128 for bulk traffic while a separate mechanism handles key establishment. The sources treat symmetric algorithms with at least 128-bit keys as usable, so the cipher itself is less of the concern than the key exchange wrapped around it. Confirm which cipher each VPN gateway and device firmware uses for data traffic and which key exchange it uses to set up the session.

Cryptographic inventories

An inventory records where each cipher is used, along with its key length and operating mode. NIST's post-quantum FAQ lists key lengths and modes among the items to record, so an AES-128 entry should state its mode, such as GCM or CBC, next to its key size. The inventory is the starting point for deciding which entries to review. Record the key length and mode for every AES-128 instance you find, and mark which entries protect data that must stay secret for a long time.

NIST NCCoE FAQ

Where sources differ on AES-128

The national guidance does not treat AES-128 identically. NIST and the UK NCSC describe 128-bit AES as usable, while ANSSI gives 256-bit keys as an example of enlarging parameters against Grover's algorithm, and the NSA's CNSA 2.0 suite names AES-256 for national security systems. These positions apply to different contexts, so readers should note which framework governs their system. Identify which framework applies to your organization before deciding whether AES-128 meets your requirements.

NCSC white paper

What long-lived data needs under the published guidance

For data that must stay confidential for many years, the published guidance on AES-128 is more reassuring than the public-key guidance but does not give a single cutoff. NIST's post-quantum FAQ states that AES 128 will remain secure for decades to come, and that it is quite likely Grover's algorithm will provide little or no advantage in attacking AES. The NIST FAQ also says current applications can keep using AES at 128, 192 or 256 bits. The UK NCSC's white paper, updated in August 2024, says the security of symmetric cryptography is not significantly impacted by quantum computers, and that existing algorithms with at least 128-bit keys such as AES can continue to be used. Read together, these sources support keeping AES-128 for most current purposes, but neither sets an expiry date for it.

Other national bodies take a more conservative line. ANSSI's 2022 views paper cites 256-bit keys instead of 128 for AES as an example of enlarging parameters against Grover's algorithm, and it describes the quantum impact on symmetric keys as far more limited than the impact on public-key cryptography. The NSA's CNSA 2.0 suite names AES-256 for national security systems, and it does not name AES-128 at all. CNSA 2.0 does not bind commercial organizations, so it is a reference point for your planning rather than a requirement you must meet. Because the sources differ in emphasis, the decision on whether AES-128 suits your data should rest on your own assessment, not on a single cutoff date.

To make that decision, list the data that must stay confidential for many years, estimate how long it must remain secret, and record which AES key size and mode protects it in your cryptographic inventory. The NIST FAQ lists key lengths and operating modes among the items to record. Where the required confidentiality period is long or the data is high value, ask your vendors which AES key sizes their products use and whether they can move to AES-256, and confirm the compatibility of any version you run before you change it. Where the data is short-lived, AES-128 is supported by the sources as a continuing choice. Document the reasoning behind each decision so an auditor or customer can follow it.

What the guidance says to use instead or alongside AES-128

ANSSI names 256-bit keys in place of 128-bit keys for AES as its example of enlarging parameters against Grover's algorithm, and the NSA's CNSA 2.0 suite specifies AES-256 for national security systems. CNSA 2.0 is a reference for commercial organizations, not a binding rule for them. For the timeline, the NSA's CNSA 2.0 FAQ, version 2.2 of October 2026, says CNSA 2.0 is required in all new acquisitions for national security systems from 1 January 2027, equipment that cannot support it is phased out by 31 December 2030, and use is mandated by 31 December 2031.

  • ANSSI example: the 2022 views paper gives 256-bit AES keys as the enlargement example, alongside 384-bit outputs for SHA-2 and SHA-3.
  • CNSA 2.0 naming: the suite uses AES-256 with ML-KEM-1024, ML-DSA-87, and SHA-384 or SHA-512.
  • Acquisition date: new national security system acquisitions must meet CNSA 2.0 from 1 January 2027.
  • Phase-out date: equipment that cannot support CNSA 2.0 is phased out by 31 December 2030.
  • Mandated use date: use is mandated by 31 December 2031.

Check whether your organization has a federal customer or contract that refers to CNSA 2.0 before adopting its dates as obligations.

Dates the published guidance sets for symmetric and migration work

The timeline starts with FIPS 197, published on 26 November 2001 and updated on 9 May 2023 with editorial changes only, which defines AES-128, AES-192 and AES-256. It then shows ANSSI's views paper from January 2022, which suggests 256-bit AES keys as a way to enlarge parameters against Grover's algorithm. The lower band covers national security scope: CNSA 2.0 requires AES-256 for new acquisitions from 1 January 2027 and mandates its use by 31 December 2031. The upper band covers commercial guidance: NCSC migration milestones of 2028, 2031 and 2035. Check the dates against each source, because CNSA 2.0 does not bind commercial organizations.

Published dates for AES standards, ANSSI, NCSC and CNSA 2.0, split by scope.

What to do about AES-128 in your environment, in order

This sequence turns a general question about AES-128 into a dated, evidenced decision for each system that uses it. Each step produces a record you can show an auditor, a customer or a vendor, so the choice to keep 128-bit keys or move to 256-bit keys is documented and tied to how long your data must stay secret.

  1. Find every place AES-128 is configured

    Start with an inventory of where AES-128 appears: TLS and SSH cipher suites on servers, load balancers and clients, full-disk and file encryption settings, backup tool configurations, and VPN and device profiles. Include the cipher suite names as they appear in configuration, such as ECDHE-RSA-AES128-GCM-SHA256, and record the key length and operating mode for each entry, since NIST's cryptographic inventory guidance lists both as items to capture. Done when every system has an entry with its owner, its key length and its mode, and you can point to the configuration line that sets it.

  2. Read the guidance that applies to your sector

    Identify which published guidance governs your organization: NIST for most US work, the NCSC for UK organizations, ANSSI or BSI for French or German ones, or CNSA 2.0 if you hold national security system contracts. Note what each says about 128-bit AES. NIST's FAQ says AES-128 will remain secure for decades and that current applications can keep using it. The NCSC says 128-bit symmetric keys such as AES can continue to be used. ANSSI gives 256-bit keys as its example of enlarging parameters against Grover's algorithm. CNSA 2.0 names AES-256 for national security systems. Done when a short written note lists each applicable source, its position on AES-128, and the date you read it.

  3. Ask vendors which key lengths they use

    For each product in your inventory, ask the vendor which AES key lengths it supports and defaults to, whether 128-bit keys can be disabled, and what its post-quantum migration plan is and when it is scheduled. Ask for the answers in writing and for the product version they apply to, because support often differs between editions and releases. Ask for the documented procedure to change the key length, and whether the change needs a restart, a re-encryption or a re-keying. Done when each vendor has written answers on file, and any gap, such as a product that cannot be moved to 256-bit keys, is recorded against the system it affects.

  4. Decide on 256-bit keys by data lifetime

    For each system, decide whether to move to 256-bit keys by asking how long the data must stay confidential. Data that must remain secret for many years, such as health records, long-term personal data or intellectual property, is the strongest case for 256-bit keys. Data that is only needed briefly and has no long-term value may reasonably stay on 128-bit keys under the guidance you read in the earlier step. Record the reasoning for each system, the confidentiality period you assumed and the guidance you relied on. Done when every system has a decision, a rationale and a named approver.

  5. Plan and test the key length change

    For each system where you decided to move to 256-bit keys, write a change plan covering the configuration edits, the order of rollout, the rollback path and the compatibility checks with clients and peers. Test the change in a non-production environment first, confirming that the new cipher suites negotiate correctly and that dependent systems still connect. For encrypted data at rest, plan how existing data will be re-encrypted and verify that decryption works afterward. Done when each planned change has a tested result and a documented rollback.

  6. Record decisions and evidence for auditors and customers

    Collect the outputs of the earlier steps into one record: the inventory, the sources you relied on with their dates, the vendor answers, each key length decision with its rationale, and the test results for each change. Keep the record current as systems change, and note the date of each entry. Customers and auditors will ask why a given system uses 128-bit keys, so the record should answer that question for every system directly. Done when an auditor or customer could follow the record from any system to its decision and its evidence without asking you for additional information.

Common claims about AES-128 and what the sources actually say

Several claims about AES-128 circulate in vendor material, forums and policy debates. Each one below is checked against what NIST, NCSC, ANSSI and the NSA have published, so you can see where the sources support a claim and where they do not.

AES-128 is broken by quantum computers

No source listed on this page says this. The concern in the guidance is Grover's algorithm, which gives a quadratic speedup to exhaustive key search, and NIST's FAQ states that it is quite likely to provide little or no advantage against AES. ANSSI describes the impact on symmetric algorithms as far more limited than the impact of Shor's algorithm on public-key cryptography. For long-lived data, confirm the Grover cost figures for your key length in the NIST evaluation criteria rather than relying on a claim that the cipher is broken.

NIST PQC FAQ

Doubling the key is always required

This does not match the sources. NIST's post-quantum FAQ says current applications can keep using AES at 128, 192 or 256 bits, and that AES 128 will remain secure for decades to come. The UK NCSC says existing symmetric algorithms with at least 128-bit keys such as AES can continue to be used. ANSSI gives 256-bit keys as one example of enlarging parameters against Grover's algorithm, which is an option the guidance offers rather than a rule. Whether you move to a longer key depends on how long the data must stay secret and your own risk assessment.

NIST PQC FAQ

AES-128 is quantum safe

No source uses this certification-style claim. NIST, NCSC and ANSSI describe AES-128 as able to continue in use, with the caveats each one attaches, and none of them labels any product or configuration as quantum safe. Treat AES-128 as a symmetric algorithm that the guidance says can continue, then check whether your specific use of it, including its mode and surrounding protocol, meets your long-term requirements. Ask any vendor for the standard and version their statement refers to.

NCSC white paper

NSA requires AES-256 for everyone

The NSA's CNSA 2.0 suite names AES-256 for national security systems, and the NSA's FAQ states that it does not bind commercial organizations. A commercial organization may treat it as a reference, and may meet it through a contract with a federal customer where that contract requires it. Outside those cases, the NSA suite does not set the key length for your systems. Check your own contractual and regulatory obligations before deciding that a national security requirement applies to you.

CNSA 2.0 FAQ

Questions people ask about AES-128 and quantum attacks

Does a larger key help AES-128 against quantum attacks?

Yes, a larger key is the mitigation the sources name. ANSSI's 2022 views paper gives 256-bit keys instead of 128 for AES as its example of enlarging parameters against Grover's algorithm. NIST's post-quantum FAQ takes a different view, saying it is quite likely that Grover's algorithm will provide little or no advantage in attacking AES, and that AES 128 will remain secure for decades to come. The two positions differ on how much the quantum risk to AES-128 matters, so the choice depends on how long your data must stay confidential and what your own agency or regulator requires. Confirm with those sources before changing a design.

Do we have to replace AES-128 now?

The sources do not require an immediate replacement for commercial systems. NIST's FAQ says current applications can keep using AES at 128, 192 or 256 bits. The UK NCSC says existing symmetric algorithms with at least 128-bit keys such as AES can continue to be used. The NSA's CNSA 2.0 suite names AES-256 for national security systems, and it does not bind commercial organizations. Whether AES-128 must be replaced for your data depends on how long it must stay secret and on any contract or regulation that applies to you. Check those obligations directly.

What should we use instead of AES-128?

The sources point to AES-256 where a longer key is wanted. The NSA's CNSA 2.0 suite names AES-256 for national security systems, and ANSSI gives 256-bit keys in place of 128 as its example. FIPS 197 specifies AES-128, AES-192 and AES-256, so all three sizes are standard, and NIST says current applications can keep using each of them. Keep the block cipher and mode decisions separate from the key length, and confirm which key size your products and libraries support before you choose.

Is our data at risk from quantum attacks today?

The sources do not say that data is at risk today from a quantum attack on AES-128. NIST's FAQ says Grover's algorithm lets a quantum computer run a key search with fewer steps than a classical attack, and that Zalka proved in 1997 that the full quadratic speedup needs all of Grover's steps to run in series. NIST's evaluation criteria describe that serial computation as difficult to implement in practice. The NCSC says the security of symmetric cryptography is not significantly impacted by quantum computers. Your exposure depends on how long your data must remain secret, so classify that period first.

What should we ask a vendor about AES-128 and quantum safety?

Ask which AES key size each product uses for data at rest and in transit, and whether that size can be set to 256 bits. Ask which operating mode and cipher suites the product negotiates, such as the TLS cipher suite ECDHE-RSA-AES128-GCM-SHA256 in NIST's example log entry. Ask for the cryptographic inventory the vendor keeps, which NIST's FAQ says should record key lengths and operating modes. Ask what the vendor has published on its own migration plan and dates. The sources listed on this page do not give a vendor-specific position, so the vendor's own documentation is the place to confirm each answer.

How long does a move from AES-128 to AES-256 take?

The sources do not give a duration for this change, so no figure is stated here. The work depends on where AES-128 is configured, how many systems and key stores use it, and whether hardware or firmware fixes the key size. The UK NCSC's migration timelines guidance sets milestones for discovery and assessment by 2028, for the highest priority migration by 2031, and for migration of all systems, services and products by 2035. Use those milestones as reference points and ask your vendors and your own team for estimates based on your inventory.

How DeployOpen works on this

DeployOpen helps teams establish where AES-128 is used in their environment, how long the protected data must stay confidential, and whether the current key length still fits that requirement. The work follows the published guidance from NIST, the UK NCSC and ANSSI, and produces a written record the security and compliance teams can review and reuse.

How we scope

  • Agree in writing which systems, products and data stores are in scope for the AES-128 review.
  • Record how long each data set must remain confidential, since that period drives whether 128-bit keys are acceptable.
  • Define the deliverables, timelines and any cryptographic inventory items the client needs, such as key lengths and modes.

How we build

  • Inventory where AES-128 appears, including TLS cipher suites, storage encryption and application-level encryption.
  • Check configurations against the key lengths and operating modes the client records, and flag any that rely on AES-128 for long-lived data.
  • Test and document the proposed changes, such as moving to AES-256 where the client decides it is needed, before rollout.

How we hand over

  • Deliver a written findings report that lists each AES-128 use, its data lifetime and the recommended action.
  • Provide configuration records and an updated cryptographic inventory the client can keep current.
  • Walk the client's security and compliance teams through the evidence so they can check it against their own requirements.

How we support

  • Engagements are fixed-scope, with scope and deliverables agreed in writing before work starts.
  • Ongoing support, upgrades and re-review after configuration changes are available as a retainer.
  • Confirm with your own vendors which AES-128 settings they support before changing any production configuration.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.