Skip to content
ContentLora

    Tip: press / anywhere to search.

    Explainer

    How many qubits does it take to break RSA? Resource estimates

    Shor's algorithm would let a large quantum computer factor the numbers behind RSA encryption, so researchers estimate how big that machine must be.[1][2] A 2019 estimate, later peer-reviewed, put 2048-bit RSA at 20 million noisy qubits running for eight hours; a May 2025 Google preprint cut that to under a million noisy qubits running for less than a week, under the same hardware assumptions.[3][4][5] Leading machines such as Google's 105-qubit Willow chip, or a 6,100-atom array reported by Caltech, are far short of either figure.[6][7]

    Editor reviewedUpdated Explainer22 claims · 32% primaryQuantum computing, Post-quantum cryptography and security
    Reading level: 1 passage differs; the rest is the same for everyone.

    This page covers the numbers. For how the attack works, read how quantum computers break encryption and RSA and elliptic-curve cryptography explained first. For why physical and logical qubits differ, see quantum error correction.

    Why anyone counts qubits

    In 1994 Peter Shor showed that a quantum computer could factor integers and compute discrete logarithms in a number of steps that grows only polynomially with the input size.[1] Both problems are thought to be hard for classical computers and underpin widely used cryptosystems, so Shor’s result means RSA would not be secure against a large enough quantum computer.[8] The open question is how large. The 2025 preprint says understanding that cost is important for planning the move away from RSA.[2]

    Logical versus physical qubits

    Two very different numbers get quoted. A “logical” qubit is an ideal, error-free qubit. A 2002 design runs Shor’s algorithm on an n-bit number with just 2n+3 of them, a little over 4,000 for a 2048-bit key.[9] Real qubits make mistakes, though, so each logical qubit has to be built from many physical qubits using error correction. That is why realistic estimates run to hundreds of thousands or millions of physical qubits.[4][10]

    Counts in the abstract circuit model ignore distillation, routing and error correction.[11] Beauregard’s 2002 circuit uses 2n+3 qubits and O(n³ lg n) gates.[9] Physical estimates then add surface-code error correction and magic state factories on top.[11][12] As a reference point, Google’s below-threshold experiment used 101 physical qubits for one distance-7 logical qubit.[10]

    The 2019 estimate: 20 million qubits, 8 hours

    Craig Gidney and Martin Ekerå estimated in 2019 that 2048-bit RSA could be factored in 8 hours with 20 million noisy qubits. The paper was later published in the journal Quantum.[3] They assumed a planar grid of superconducting qubits with nearest-neighbour links, a 0.1% physical gate error rate, a 1-microsecond error-correction cycle and a 10-microsecond reaction time. They also counted noise, repeated attempts and the layout of the computation.[13] Their construction’s spacetime volume was a hundredfold less than comparable earlier estimates.[14] At the logical level it used a little over 3n logical qubits and about 3 billion Toffoli gates for 2048-bit RSA.[11]

    The 2025 estimate: under a million qubits, under a week

    In a May 2025 preprint, Gidney, of Google Quantum AI, estimated that a 2048-bit RSA integer could be factored in less than a week with less than a million noisy qubits.[4] He kept the 2019 hardware assumptions, so the drop comes from algorithms and error-correction engineering rather than better hardware.[5] The preprint credits three main changes: approximate residue arithmetic, storing idle logical qubits in yoked surface codes, and magic state cultivation instead of larger distillation factories.[15] It estimates fewer than 1,600 logical qubits per run, runs of about 12 hours each, and 6.5 billion Toffoli gates.[16] The trade-off is time: more Toffoli gates and fewer magic state factories make it slower than the 2019 design.[12] It is a preprint, not a peer-reviewed paper.

    Elliptic-curve keys are a separate target. In March 2026 Google researchers estimated that 256-bit elliptic-curve cryptography could be broken with fewer than 1,200 logical qubits, or fewer than 500,000 physical superconducting qubits, under standard assumptions.[17]

    How far today’s machines are

    Google’s Willow chip has 105 superconducting qubits.[6] Quantinuum’s Helios has 98 fully connected qubits.[18] A Caltech team reported an array of 6,100 atom qubits in 2025, with entangling them for full computations as the next step.[7] Each estimate also assumes a 0.1% gate error rate and microsecond cycles sustained across the whole run, while advanced demonstrations so far, such as Quantinuum’s in March 2026, have been described as only partially fault-tolerant.[5][19]

    What the numbers do and don’t say

    These are engineering estimates under stated assumptions, not predictions of when such a machine will exist. Timelines are argued over in the PQC migration timeline debate.

    Standards bodies have not waited for the estimates to settle. NIST’s draft transition plan proposed deprecating RSA and elliptic-curve algorithms at 112-bit security after 2030 and disallowing quantum-vulnerable public-key algorithms after 2035.[20] NIST names harvest now, decrypt later attacks, in which encrypted data is captured today and stored until a quantum computer can break it, as one of the main reasons the transition is urgent.[21][22]

    Next in the crash course

    More in Quantum computing

    Developing in AI & Computing

    Questions readers ask

    How many qubits are needed to break RSA-2048?

    A May 2025 Google preprint estimates less than a million noisy physical qubits running for less than a week. A 2019 estimate, later peer-reviewed, said 20 million noisy qubits for eight hours. Both assume a 0.1% gate error rate and surface-code error correction.[4][3][5]

    Why do some sources say only about 4,000 qubits are needed?

    Those figures count ideal, error-free logical qubits. A 2002 circuit uses 2n+3 such qubits for an n-bit number; the 2025 estimate uses fewer than 1,600 logical qubits, but each must be built from many noisy physical qubits.[9][16]

    Why did the estimate fall so much between 2019 and 2025?

    The 2025 preprint credits approximate residue arithmetic, storing idle logical qubits more compactly in yoked surface codes, and magic state cultivation. In exchange it performs more Toffoli gates and takes longer.[15][12]

    Can today's quantum computers break RSA?

    No. Google's Willow chip has 105 qubits, and a neutral-atom array reported by Caltech in 2025 held 6,100 atoms without yet entangling them for full computations. The estimates call for hundreds of thousands to millions of qubits with error correction.[6][7][4]

    When must RSA be replaced?

    NIST's draft transition plan proposed deprecating RSA and elliptic-curve algorithms at 112-bit security after 2030 and disallowing quantum-vulnerable public-key algorithms after 2035.[20]

    Sources

    · 22 claims from 12 publishers

    Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.

    1. [1]

      Peter Shor's algorithms, first presented in 1994, factor integers and compute discrete logarithms on a hypothetical quantum computer in a number of steps that grows only polynomially with the size of the input. reportedas of 2026-11-22

    2. [2]

      A 2025 preprint on quantum factoring says understanding the cost of quantum factoring is important for planning and coordinating the transition away from RSA. reportedas of 2026-11-22

    3. [3]

      A 2019 estimate by Craig Gidney and Martin Ekerå, later published in the journal Quantum, found that 2048-bit RSA integers could be factored in 8 hours using 20 million noisy qubits. reportedas of 2026-11-22

    4. [4]

      In a May 2025 preprint, Google Quantum AI's Craig Gidney estimated that a 2048-bit RSA integer could be factored in less than a week by a quantum computer with less than a million noisy qubits. reportedas of 2026-11-22

    5. [5]

      The 2025 preprint kept the 2019 hardware assumptions - a square grid with nearest-neighbour connections, a uniform 0.1% gate error rate, a 1-microsecond surface code cycle and a 10-microsecond control reaction time. reportedas of 2026-11-22

    6. [6]

      Google's Willow chip, announced on 9 December 2024, has 105 superconducting qubits. confirmedas of 2024-12-09

    7. [7]

      In September 2025 a Caltech team reported in Nature an array of 6,100 cesium-atom qubits held by optical tweezers (one laser split into 12,000 tweezers), with superposition lasting about 13 seconds and 99.98% accuracy in manipulating individual qubits; entangling the qubits for full computations was the stated next step. confirmedas of 2025-09-24

    8. [8]

      Factoring and discrete logarithms are thought to be hard for classical computers and underpin several cryptosystems, which is why Shor's result means RSA is not secure against a large enough quantum computer. confirmedas of 2026-11-22

    9. [9]

      A 2002 circuit design runs Shor's algorithm for an n-bit number with 2n+3 qubits, counting ideal error-free qubits. reportedas of 2026-11-22

    10. [10]

      Google's below-threshold experiment, published in Nature in 2025, ran a 101-qubit distance-7 surface code with 0.143% logical error per cycle, with errors suppressed by a factor of 2.14 each time the code distance grew by two. reportedas of 2025-02-01

    11. [11]

      In the abstract circuit model, which ignores error-correction overheads, the 2019 construction used a little over 3n logical qubits to factor an n-bit RSA integer; the 2025 follow-up preprint puts this at about 3 billion Toffoli gates for 2048-bit RSA. reportedas of 2026-11-22

    12. [12]

      The 2025 preprint's longer runtime comes mainly from performing more Toffoli gates and using fewer magic state factories than the 2019 estimate. reportedas of 2026-11-22

    13. [13]

      The 2019 estimate assumed a planar grid of superconducting qubits with nearest-neighbour connections, a physical gate error rate of 0.1% (10^-3), a 1-microsecond surface code cycle and a 10-microsecond reaction time, and it counted noise, repeated attempts and layout. reportedas of 2026-11-22

    14. [14]

      Gidney and Ekerå reported that their construction's spacetime volume for factoring 2048-bit RSA was a hundredfold less than comparable earlier estimates. reportedas of 2026-11-22

    15. [15]

      The preprint attributes the lower qubit count mainly to approximate residue arithmetic, storing idle logical qubits in yoked surface codes, and using magic state cultivation instead of larger distillation factories. reportedas of 2026-11-22

    16. [16]

      For 2048-bit RSA, the 2025 preprint estimates fewer than 1,600 logical qubits per run (including idle storage), runs of roughly 12 hours each, and a Toffoli count of 6.5 billion. reportedas of 2026-11-22

    17. [17]

      In March 2026 Google researchers, in work framed around safeguarding cryptocurrency, estimated that 256-bit elliptic-curve cryptography could be broken with fewer than 1,200 logical qubits and 90 million Toffoli gates, or fewer than 500,000 physical superconducting qubits running for a few minutes, under standard hardware assumptions. confirmedas of 2026-03-31

    18. [18]

      Quantinuum reports Helios two-qubit gate fidelity of 99.921% and single-qubit gate fidelity of 99.9975%, with all 98 qubits fully connected. confirmedas of 2026-10-10

    19. [19]

      The March 2026 Quantinuum results were described as partially rather than fully fault-tolerant computation. confirmedas of 2026-03-10

    20. [20]

      NIST's draft transition plan (IR 8547, November 2024) proposes deprecating RSA and elliptic-curve algorithms at 112-bit security after 2030 and disallowing quantum-vulnerable public-key algorithms after 2035. confirmedas of 2024-11-12

    21. [21]

      In a "harvest now, decrypt later" attack, an adversary captures encrypted data today and stores it, hoping a future quantum computer will break the encryption. confirmedas of 2026-10-10

    22. [22]

      NIST describes the harvest-now-decrypt-later threat as one of the main reasons the transition to post-quantum cryptography is urgent, because sensitive data often keeps its value for many years. confirmedas of 2026-10-10

    Revision history (1)
    1. Page created.

    Created Nov 22, 2026. Last reviewed by an editor on Nov 22, 2026. Next scheduled review: May 17, 2027.

    Cite this page

    "How many qubits does it take to break RSA? Resource estimates." ContentLora, updated Nov 22, 2026. https://contentlora.com/explain/how-many-qubits-to-break-rsa

    Spotted an error? Suggest a correction or emailcorrections@contentlora.com.