Skip to content

Will quantum computers break RSA? What the research actually says

Will quantum computers break RSA? A plain-English look at Shor's algorithm, the latest qubit estimates for RSA-2048, where hardware stands today, and the NIST 2030 and 2035 deadlines.

Axrok Team8 min read

The short answer is yes, in principle, and nobody knows exactly when. A large enough, error-corrected quantum computer running Shor's algorithm would break RSA at the key sizes in use today. No such machine exists yet, and no one has publicly factored a real RSA key with a quantum computer. But the estimates of how big that machine needs to be have been falling fast, and the standards bodies have already set dates for moving away from RSA. This post explains what is known, what is not, and what a business should do with that uncertainty.

Key takeaways

  • Shor's algorithm, published in the mid 1990s, can factor large numbers in polynomial time on a quantum computer. That is the maths behind the RSA threat.
  • In 2019, the best published estimate for breaking RSA-2048 was about 20 million noisy qubits. In 2025, Google researcher Craig Gidney cut that to under a million.
  • Today's leading chips have around a hundred physical qubits, so there is still a large gap. The gap is shrinking from both ends.
  • NIST's final IR 8547 deprecates RSA after 2030 and disallows it after 2035. Google has set itself a 2029 migration target.
  • Bigger RSA keys are not the fix. The fix is moving to post-quantum algorithms such as ML-KEM and ML-DSA.

Why RSA is vulnerable at all

RSA is secure because multiplying two large prime numbers is easy, while splitting the result back into those primes is extremely hard for ordinary computers. Every RSA public key contains such a product. If you can factor it, you can work out the private key.

In 1994, Peter Shor showed that a quantum computer could do this efficiently. His paper, Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer, gives quantum algorithms for both factoring and discrete logarithms that run in polynomial time. The first breaks RSA. The second breaks elliptic curve cryptography and classic Diffie-Hellman. That is why the post-quantum discussion covers almost all of today's public-key cryptography, not just RSA.

The algorithm has been known for three decades. What has been missing is hardware big and reliable enough to run it on numbers of real size.

How many qubits would it take?

This is where the news has moved. Estimates depend on assumptions about the hardware, so the honest way to read them is as "under these conditions, this many qubits".

In 2019, Craig Gidney and Martin Ekerå published an estimate that a 2048-bit RSA integer could be factored in about eight hours by a quantum computer with 20 million noisy qubits. In May 2025, Gidney published How to factor 2048 bit RSA integers with less than a million noisy qubits. Under the same hardware assumptions, he estimates RSA-2048 could be factored in less than a week with fewer than a million noisy qubits.

Those assumptions matter. The paper assumes a square grid of qubits with nearest-neighbour connections, a gate error rate of 0.1%, a surface code cycle time of one microsecond and a control system reaction time of ten microseconds. Machines that differ from that, better or worse, would need a different number of qubits. The paper credits the reduction mainly to newer algorithm and error-correction techniques, not to any change in the hardware assumptions.

Elliptic curves have seen a similar trend. In March 2026, Google Quantum AI published estimates that the 256-bit elliptic curve discrete logarithm problem could be solved with fewer than 1,200 logical qubits, and run on a superconducting machine with fewer than 500,000 physical qubits in a few minutes under standard hardware assumptions. Google described this as roughly a 20-fold reduction in the physical qubits required.

The direction is consistent: each new paper makes the attack cheaper. No one should assume the current figures are the floor.

Where the hardware is today

Physical qubit counts on today's leading machines are far below those numbers. Google's Willow chip, announced in December 2024, has 105 qubits.

What made Willow notable was not its size but its error correction. Google's team reported in Nature that as they grew their surface code from a 3 by 3 to a 5 by 5 to a 7 by 7 grid of qubits, the logical error rate fell each time. That "below threshold" behaviour is a precondition for building the large, reliable machines that Shor's algorithm needs. It is not a code-breaking machine, but it removes one of the reasons people used to give for thinking one might never be built.

So the gap today is roughly a factor of thousands between demonstrated chips and the estimated requirement for RSA-2048. Whether that closes in five years, fifteen years or longer depends on engineering progress that nobody can forecast with confidence.

When should you expect it?

There is no agreed date, and anyone who gives you one with certainty is guessing. What you can use instead are the dates that standards bodies and large vendors have chosen to plan around:

  • NIST. The final version of NIST IR 8547, published on October 27, 2026, says NIST will deprecate quantum-vulnerable public-key algorithms, including RSA, after 2030 and disallow them under NIST standards after 2035. Our explainer on NIST IR 8547 covers what those two words mean.
  • UK NCSC. The NCSC's migration timelines ask organisations to finish discovery and an initial plan by 2028, complete highest-priority migrations by 2031 and finish migration by 2035.
  • Google. In March 2026, Google set a 2029 timeline for its own post-quantum migration, citing progress in hardware, error correction and factoring resource estimates.

These are planning dates, not predictions of when RSA will fall. But they are the dates your customers, auditors and suppliers will start to work to.

Why it matters before the machine exists

Two reasons make this a today problem rather than a 2035 problem.

The first is "harvest now, decrypt later". Traffic encrypted with RSA or elliptic curve key exchange can be recorded today and decrypted once a capable machine exists. If your data still needs to be confidential in ten years, the clock started when it was sent. Our post on harvest now, decrypt later goes into which data this applies to.

The second is migration time. Cryptography is buried in libraries, devices, certificates, partner integrations and hardware security modules. Finding every place RSA is used and replacing it takes years in most organisations, which is why the NCSC asks for discovery to be finished by 2028.

Will bigger RSA keys help?

Not in any lasting way. Larger keys raise the cost of running Shor's algorithm, but the cost grows slowly compared with the classical difficulty that RSA relies on. That is why NIST's final IR 8547 treats all of its listed RSA and elliptic curve parameter sets as deprecated after 2030 rather than recommending larger sizes.

The replacement is new algorithms built on different maths. NIST published the first three post-quantum standards in August 2024: FIPS 203 (ML-KEM) for key establishment, and FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) for digital signatures. Our post on what ML-KEM is explains the key exchange standard most systems are moving to first.

What about AES and hashing?

Symmetric encryption such as AES and hash functions such as SHA-256 are affected far less. The relevant quantum attack, Grover's algorithm, gives a much smaller speedup than Shor's algorithm gives against RSA. The urgent work is on public-key cryptography: key exchange, digital signatures and certificates.

What to do now

  1. Build a cryptographic inventory. List where RSA and elliptic curves are used: TLS, VPNs, SSH, code signing, certificates, tokens, stored keys and third-party services.
  2. Rank by data lifetime. Start with systems that protect data which must stay secret for many years.
  3. Turn on hybrid key exchange where it is available. Modern browsers, OpenSSH and many TLS terminators already support ML-KEM hybrids.
  4. Ask your suppliers. Our post-quantum vendor questions give wording you can reuse.
  5. Plan against 2030 and 2035. Treat those dates as the outer edge, not the target.

FAQ

Can a quantum computer break RSA today?

No. No one has publicly demonstrated breaking a real RSA-2048 key with a quantum computer. Current chips have around a hundred physical qubits, while the best published estimate for RSA-2048 is just under a million noisy qubits.

How many qubits are needed to break RSA-2048?

Craig Gidney's 2025 estimate is fewer than a million noisy qubits running for less than a week, under specific assumptions about error rates and speed. The 2019 estimate was 20 million.

When will quantum computers break RSA?

Nobody knows. NIST plans to deprecate RSA after 2030 and disallow it after 2035, and Google has set a 2029 target for its own migration. Those are planning dates, not predictions.

Is elliptic curve cryptography safer than RSA against quantum attacks?

No. Shor's algorithm also solves the discrete logarithm problem behind elliptic curves, and Google's 2026 estimate suggests 256-bit elliptic curves may need fewer physical qubits to break than RSA-2048.

Should I just use 4096-bit RSA?

It is not a long-term answer. NIST's final IR 8547 deprecates its quantum-vulnerable RSA and elliptic curve parameter sets after 2030. Moving to post-quantum algorithms such as ML-KEM and ML-DSA is the planned path.

Talk it through

If you want to know where your systems still depend on RSA and what to move first, we are happy to talk it through. Book a free 15-minute call through our contact page or email zayan@axrok.com, and we can help you see whether a post-quantum security review fits your situation right now.

Sources

  • Post-quantum security
  • Cryptography
  • Security strategy

Want this looked at in your environment?

Book a free 15-minute call. A founder reads every enquiry and replies personally.