✖

Quantum computers and Bitcoin: what if elliptic curves fell

Bitcoins belong to whoever knows the private key, a giant secret number of about 77 digits. In this part we call it d. From it the public key is worked out, on an elliptic curve. The points of such a curve can be “added” by a fixed rule. The sum is again a point of the curve, but it lands somewhere different every time, with no connection whatever. The public key Q = d · G arises when a fixed point G is added to itself d times. In this direction a computer manages it in a fraction of a second. The other way round, from Q back to d, nobody knows a shortcut. Whoever knew one could spend other people’s bitcoins. And that is exactly what a large enough quantum computer would be able to find.

Headlines saying that a quantum computer “will break Bitcoin” keep multiplying. The short answer: as of December 2026 no such machine exists, and nobody knows when one will. If it did, it would endanger above all the coins whose public key already lies on the blockchain, and there are millions of those.

How a private key is found today

Let us start with an ordinary computer. We take a toy, a small curve y2 = x3 + 7 where everything is computed as the remainder after division by 43. It has the same equation as the curve secp256k1 that Bitcoin uses, only instead of a number with 78 digits it divides by forty-three. As the starting point we choose G(2, 31). Its multiples G, 2G, 3G, … jump around the curve like mad and after 31 steps return to the start, because the curve has 31 points. (The number of points is not 43; it cannot be read off the modulus and has to be counted.) So the secret number d can be anything from 0 to 30.

Bára has the public key Q(20, 40) and Eva wants to find out which multiple of G it is. The foolish way: compute G, 2G, 3G… and wait for Q to come out. In the worst case that is 30 steps. On secp256k1, which has roughly 2256 points, it would never finish.

A cleverer way is the baby-step giant-step method. Eva first builds a table of baby steps, the multiples 0G to 5G:

k 0 1 2 3 4 5
k · G infinity (2, 31) (7, 36) (35, 22) (21, 25) (12, 31)

The zero here is a special “point at infinity”, which plays the part of zero when points are added. Then she sets off on the giant steps: from Q she keeps subtracting 6G, always six multiples back, and after each step checks whether the point is already in the table.

Q=(20,40),Q−6G=(38,21),

Q−12G=(42,36),Q−18G=(21,25)

The point (21, 25) is in the table; it is 4G. So Q − 18G = 4G, and adding 18G to both sides gives:

Q=22G

Bára’s private key is d = 22. Instead of 22 additions, Eva needed five points for the table, one point 6G and three giant steps, nine in all.

A row of 31 boxes numbered 0 to 30. Boxes 0 to 5 are blue: the table of baby steps. From the red box Q at position 22 three red arcs lead, each six boxes to the left, to 16, to 10 and finally to the orange box 4, where the giant step meets the table A row of 31 boxes numbered 0 to 30. Boxes 0 to 5 are blue: the table of baby steps. From the red box Q at position 22 three red arcs lead, each six boxes to the left, to 16, to 10 and finally to the orange box 4, where the giant step meets the table

Why six? The reason is simple: 6 · 6 = 36 is more than 31, so giant steps of six together with a table of six boxes cover everything. In general: if the curve has n points, a table of about n points and at most n giant steps are enough. For secp256k1 that is 2256=2128 steps, and these are precisely the 128 bits of security that the previous part talks about. The whole mining network of Bitcoin would need about 11 billion years for that many steps. A table of 2128 points would also not fit into any memory in the world. In practice, therefore, Pollard’s rho method is used, which needs the same number of steps but almost no memory. Nobody has yet discovered a faster classical attack on secp256k1.

What a quantum computer can do

A quantum computer does not compute with bits but with qubits. An ordinary bit is either 0 or 1. A qubit can find itself in a superposition, like a coin that is still spinning and is not yet heads or tails. Ten qubits can thus carry all 210 = 1024 combinations of zeros and ones at once. But as soon as you read out the result, you get only one of them, at random. The whole art lies in arranging for that random answer to be almost certainly the right one. That works only for problems with a hidden repetition, and ours is exactly such a problem.

Shor’s algorithm looks for exactly such a repeating pattern. The multiples of G go round in a circle, in the toy after 31 steps. When Q = d · G is brought into the game as well, a pattern arises with d hidden in it. The computation is built so that wrong answers cancel each other out and the right one is reinforced, rather as when waves meet on water, and the measurement then almost certainly shows the one that gives the pattern away. Instead of 2128 steps, by a 2026 estimate it needs fewer than 90 million quantum operations. An ordinary computer does billions of operations per second, but a quantum operation is much slower, and above all no machine yet can carry out that many operations without errors.

The same trick would also bring down the RSA cipher, though curves need fewer qubits. A key on a curve has 256 bits, an RSA key 2048, and the number of qubits grows with the length of the numbers being computed with.

How many qubits are needed

Estimates distinguish two kinds of qubit. A physical qubit is a real piece of hardware: a superconducting circuit, or an ion or atom held by a laser. It is fragile and makes errors. That is why hundreds of them are joined into one logical qubit, which corrects its errors continuously and can be relied on. The algorithm counts in logical qubits, but it is the physical ones that have to be built.

The most often cited estimate for fast superconducting machines was published in March 2026 by researchers from Google Quantum AI together with cryptographers from Stanford and the Ethereum Foundation. According to it, a secp256k1 key would take fewer than 1,200 logical qubits and fewer than half a million physical ones, assuming that each physical qubit makes an error in at most one operation in a thousand. For such a machine the whole computation would take 18 to 23 minutes, assuming that one round of error correction takes a microsecond. It is a preprint, that is, a paper that has not yet been through peer review.

A graph with the horizontal axis showing the years 2018 to 2027 and a vertical logarithmic axis of the number of physical qubits, labelled qubits, from 10 to the power 1 to 10 to the power 8. Red dots for secp256k1 fall from 13 million in 2022, through about 7 million in 2023, to half a million, 26 thousand and about 19 thousand in 2026. Blue squares for RSA-2048 fall from 20 million in 2019 through one million in 2025 to 100 thousand in 2026. At the bottom, orange dots for today’s machines: 105 qubits in 2024 and 6,100 atoms in 2025 A graph with the horizontal axis showing the years 2018 to 2027 and a vertical logarithmic axis of the number of physical qubits, labelled qubits, from 10 to the power 1 to 10 to the power 8. Red dots for secp256k1 fall from 13 million in 2022, through about 7 million in 2023, to half a million, 26 thousand and about 19 thousand in 2026. Blue squares for RSA-2048 fall from 20 million in 2019 through one million in 2025 to 100 thousand in 2026. At the bottom, orange dots for today’s machines: 105 qubits in 2024 and 6,100 atoms in 2025

The graph shows how fast the estimates are falling. The red dots are estimates for a key on the curve secp256k1, the blue squares for RSA-2048, that is, the RSA cipher with a 2048-bit key. The estimates assume different attack times, from hours to weeks, so the graph shows a trend, not an exact comparison. For RSA, the 2019 estimate assumed 20 million physical qubits and the February 2026 estimate (so far a preprint) fewer than 100,000, which is two hundred times fewer in seven years. The red dots from 2026 far below half a million are estimates for machines made of ions or atoms. They need fewer qubits because it is easier to connect them to one another, but they compute more slowly: instead of minutes the computation would take days to weeks.

The orange dots at the bottom are real machines. Google’s Willow chip from December 2024 has 105 qubits. It is not the largest (IBM has had a chip with 1,121 qubits since 2023), but it is of the same type that the estimate counts on, and on it, for the first time, more qubits gave fewer errors. The array that Caltech filled with over 6,100 atoms in 2025 is bigger, but so far these are only atoms prepared for computing, not a computer that could run Shor’s algorithm. Between 105 and 500,000 lies

500,000105≈4,762,

almost a factor of five thousand. But over the last seven years the estimates have fallen faster than the machines have grown. When the two lines will cross, nobody knows, and whoever names a particular year is only guessing.

Which bitcoins a quantum computer would threaten

Without a public key, a quantum computer is helpless. On an ordinary address there is none, only its hash, a short code computed by a hash function. Not even a quantum computer can work out the key from the hash. The key shows itself only when you pay, because other people use it to check the signature. So where would an attacker get it?

Long exposure: the public key stands exposed on the blockchain, perhaps for years, and the attacker has as much time to compute as they need. This covers three groups:

  • The oldest coins. In the early years of Bitcoin, coins were sent straight to a public key, with no hash.
  • Reused addresses. Whoever has paid from an address once and keeps leaving coins on it, or receiving further payments to it, has already revealed the public key.
  • Taproot addresses, a newer type of address introduced in 2021 (they begin with bc1p). They contain the public key directly.

Short exposure applies to all the others. When you pay, the public key appears in the payment waiting to be written into a block, on average roughly ten minutes. If the attacker worked out the private key in that time, they would send their own payment with the stolen key spending the same coins with a higher fee, and the miners would rather write that one. Part of the computation does not depend on the key, so the attacker does it in advance, and then by the March 2026 estimate nine minutes on average would be enough. But blocks do not arrive at regular intervals, and in roughly two cases out of five the next block does not appear within nine minutes. So, according to the authors, under ideal conditions the attacker would manage just under 41% of payments.

And how many coins are exposed for a long time like this? A report by researchers from Chaincode Labs from May 2025 counted about 1.72 million BTC on the oldest addresses with a public key and about 0.15 million BTC on Taproot addresses. So the public key lies in plain sight for about 1.9 million BTC. With all the potentially vulnerable coins, including those on reused addresses, the report estimates 4 to 10 million BTC. The March 2026 estimate gives about 6.9 million.

As of December 2026 about 20.1 million of the 21 million BTC have been mined, so the range of 4–10 million is

420.1≈20%to1020.1≈50%

of all the bitcoins in existence.

A horizontal strip 21 million BTC long with an axis from 0 to 20 and the unit 10 to the power 6 BTC. From the left a deep red section up to about 1.9, a lighter red section up to 4, a light red section outlined with dashes from 4 to 10, a blue section up to 20.1 and a grey remainder up to 21 A horizontal strip 21 million BTC long with an axis from 0 to 20 and the unit 10 to the power 6 BTC. From the left a deep red section up to about 1.9, a lighter red section up to 4, a light red section outlined with dashes from 4 to 10, a blue section up to 20.1 and a grey remainder up to 21

Red marks the coins at risk (the deepest shade those with the key in plain sight), blue the coins protected by a hash, grey what is yet to be mined.

Is my address at risk?

Not today. A quantum computer that could work out a private key does not exist as of December 2026.

If one did appear, the coins whose public key is visible would be at risk. It depends on how you hold your bitcoins:

  • You have your own wallet and do not reuse addresses: only the hash of the key is on the blockchain. You would be vulnerable only for the few minutes while a payment waits for a block. Ordinary wallets take care of this themselves: for every payment they create a new address and send the change to another new one.
  • You have already paid from an address and coins still remain on it, or the address begins with bc1p: the key is out, and the coins could be stolen at any time.
  • You keep your coins on an exchange: the exchange holds the keys, not you, so what matters is how the exchange handles addresses. According to the Chaincode Labs report, some of the exchange addresses that are used repeatedly are among the most exposed.

Satoshi’s coins

The creator of Bitcoin, known under the name Satoshi Nakamoto, mined almost alone in 2009 and 2010. The block reward was then 50 BTC and went straight to a public key, with no hash. By an estimate cited in the Chaincode Labs report, 600,000 to 1.1 million BTC belong to him. That corresponds to

600,00050=12,000to1,100,00050=22,000

mined blocks. Apart from a few coins from the first days, these coins have never moved.

An attacker with a quantum computer would pick them first: the public keys have lain exposed for seventeen years and evidently nobody looks after them. But at the same time they are the most closely watched coins in the world. If any of them unexpectedly moved, everyone would notice, and it would be the first signal that something had changed.

A classical trick instead of a quantum computer

An attack may not even need a quantum computer. It would be enough for somebody to devise a better classical method than baby steps and giant steps. How good would it have to be? A method that took off 8 bits (2120 steps instead of 2128) would be regarded by cryptographers as a theoretical break, but the whole mining network of Bitcoin would need more than 30 million years to compute it. A method of around 290 steps would be truly dangerous, because the network computes those in 15 days. So almost a third of the bits would have to be taken off. And it must not be a galactic algorithm, that is, a method that is better only for unimaginably large numbers and does not help with real keys. Cryptographers have been studying elliptic curves since 1985, and for secp256k1 nobody has so far published anything substantially better than 2128.

And what if AI finds it?

Artificial intelligence is taking on mathematics ever more boldly. What is verified:

  • In May 2025 the system AlphaEvolve from Google DeepMind found a way to multiply two 4×4 tables of numbers (with complex numbers) using 48 multiplications. The best previous method, from 1969, needed 7 · 7 = 49. Anyone can check the result.
  • In September 2026 preprints appeared with cheaper quantum circuits for adding points on secp256k1, and on one of them people worked together with AI programs. Adding points is one of the building blocks of Shor’s algorithm, so such an improvement lowers the number of operations and with it the estimates. Nobody has broken a key that way, and the papers have not yet been through peer review.

So for now AI speeds up research and has broken nothing. If it one day found a classical shortcut for elliptic curves, the same would apply to it as to a human: how many bits remain, and does it work on real numbers? Whenever you hear that “AI has broken Bitcoin”, ask whether anyone has independently checked the result. Until then it remains a claim, not a fact.

What would happen

An attacker with a real quantum computer would begin with the coins exposed for a long time, because there is plenty of time for those. They would probably not steal everything at once, but even a single suspicious payment from the old addresses would shake the confidence of the whole network. Bitcoin can defend itself, though: it is possible to agree on new signatures that a quantum computer cannot break, just as post-quantum cryptography is being added to encryption on the internet. The harder question is what to do with coins whose owner never turns up, for example Satoshi’s coins: freeze them, or let them be stolen? That is taken up in the part on post-quantum Bitcoin.

See also

Chapters: Bitcoin: what it is and how it works, The Bitcoin halving: why there are only 21 million bitcoins, Bitcoin mining: how proof of work works, Blockchain and the Merkle tree: how it works and why history cannot be rewritten, The Bitcoin address, private key and signature, Seed phrase: why nobody can guess the 12 words of a wallet, Ethereum: smart contracts and proof of stake, Is Bitcoin secure? What its cryptography rests on, The 51% attack: can Bitcoin be spent twice?, Quantum computers and Bitcoin: what if elliptic curves fell, Bitcoin and SHA-256: what if the hash function fell, Post-quantum Bitcoin: how Bitcoin would defend itself against quantum computers