What Quantum Computing Means for Bitcoin
A sufficiently large quantum computer could read a public key off the timechain, derive the private key and spend the coins in that output. It would not, by itself, turn SHA-256 into a toy or make blocks free to find. That's the part the scare stories keep getting wrong, and it's why a migration is even discussable, if Bitcoin actually moves.
Warning: This article is an analysis based on data available in November 2026. We are living crazy unprecedented times and the situation can change much faster than estimated. This isn't a pitch and definitely not financial advice.
I've been putting this question to guests for years, and it never fails to make a room slightly more honest: Hunter Beast on BIP 360 (and again with Mark Karpelès in S17 E23), Mike Belshe at BitGo, Alan Szepieniec, Christopher Smith, Marek Narozniak, even Amaury Séchet talking about quantum FUD with the scars of a fork war still on him. The uncomfortable version of the question is always the same: when a cryptographically relevant quantum computer exists, what happens to the coins whose public keys are already public?
It can be dismissed as "FUD", and a lot of what gets posted under that headline deserves the label. On the surface, though, the concern is legitimate. Peter Shor published an algorithm in 1994 that solves the exact math Bitcoin's signatures rest on, and unlike a lot of crypto doomerism this is not a hallucinated fantasy. The algorithm is real. The machine that can run it at secp256k1's size is not here as of November 2026, which is a very different sentence from "it will never be here."
So if that machine arrives, do coins attributed to Satoshi start moving? Does a Taproot output, whose public key is in the output itself, become a sitting duck? Should you throw a hardware wallet in a drawer and pretend the problem is someone else's? The rest of this article answers those questions without the moon math: what Shor actually breaks, why Grover does not finish the job, what it means for a long-term holding, how to prepare, and why buying a different coin is (spoiler) not the plan.
This is also the neighbor of What P=NP Means for Bitcoin, which I published in November 2026. People conflate the two constantly, and they shouldn't. One of them has a proposed path off the cliff. The other is a sinkhole.
What a quantum computer actually does to Bitcoin
Two algorithms, two completely different jobs.
Shor's algorithm (Peter Shor, 1994; the paper most people cite is the 1995 arXiv version of that result) solves integer factorization and discrete logarithms in polynomial time on a large enough quantum computer. RSA falls. Diffie-Hellman falls. ECDSA falls. Schnorr falls. Bitcoin uses ECDSA and Schnorr over secp256k1, so a working Shor machine, pointed at a public key, derives the private key. That's not a metaphor. That's the algorithm.
Grover's algorithm (Lov Grover, 1996) is the one that gets dragged into mining arguments. It gives a quadratic speedup on an unstructured search. Against a 256-bit hash, the naive work drops from 2^256 to about 2^128. Two to the one hundred and twenty-eight is not "mining is free." It's still a number nobody is going to casually spend, and SHA-256 itself is not "broken" in the sense a preimage attack would break it. SHA-256d is SHA-256 applied twice; it does not widen the 256-bit digest, and it does not double Grover's exponent. If Grover ever mattered at the physical layer, a wider digest would be the boring response, and that is a protocol change, not a free mining fix.
Encryption on the internet is a pile of locks that close easily and open with difficulty. Shor opens the asymmetric locks (the ones with a public key on the outside). Grover takes a swing at the symmetric ones and gets halfway, which at these sizes is not a swing that lands.
One caveat that matters enormously in practice: "a quantum computer" is not a laptop. Shor at Bitcoin's key size needs a cryptographically relevant machine, with enough stable logical qubits and a long enough error-corrected run to finish the discrete log. That is an engineering path, not a change in the mathematics. As of November 2026 I have not seen a public demonstration that comes close, and I will not invent a date just to make a table look brave.
Why exposed public keys are the actual blast radius
Bitcoin does not put a raw public key in every output. It used to, and then it mostly stopped, and then Taproot put a public key back in the output on purpose.
P2PK (Pay to Public Key, the early template): the script itself is the public key. Anyone who can run Shor on that key can spend the coins, and they do not have to wait for you to move them. A lot of the earliest coinbase outputs look like this, including coins usually attributed to Satoshi. I wrote about those holdings in 2021 as property, as a honeypot and as a reminder to be conservative; the quantum version of that essay is that a honeypot with a public key on-chain is a solved problem the day the machine exists.
P2PKH and P2WPKH (Pay to Public Key Hash, including the SegWit version): the output is a hash of the public key. The public key is revealed when you spend. Until that moment, Shor has nothing to grab. Address reuse throws that protection away, because the first spend publishes the key and every later input to the same address sits in the open. "Never reuse addresses" was already good hygiene. Under Shor it becomes a survival rule.
P2TR (Pay to Taproot): the output is a 32-byte tweaked public key. That's the point of the key-path spend, and it's also the problem. The key is on-chain from the moment the output is created, not from the moment you spend. A long-range attacker (an attacker who has time, after the machine exists, to work through old outputs) does not need you to broadcast anything. This is exactly why BIP 360 exists.
There is a second, uglier window: the short-exposure attack, where your public key appears in the mempool while the transaction is waiting to be mined, and an attacker with a fast enough machine races you to a conflicting spend. The BIP 360 text, as summarized in our wiki, is honest about this: Pay-to-Merkle-Root is built against the long-range case. Protecting the mempool window may need post-quantum signatures in a separate proposal. I think that's the more honest kind of BIP, the one that tells you what it does not do.
So the classic bitcoiner posture (move coins into self-custody and never touch them) is only safe if those coins are behind a hash that has not yet been opened. A Taproot cold-storage stack you never intend to move is, from Shor's point of view, already open. Interestingly, some of the "I haven't moved these coins since 2013" brag is a P2PKH hash and some of it is a public key with a bow on it. You have to look.
The difference between quantum and P=NP
I went through this in the P=NP piece, and I'll only repeat the part that changes how you prepare.
Quantum is narrow. Shor breaks the discrete-log signatures. Grover does not annihilate SHA-256, and proof of work survives in any honest model. That distinction is the whole reason a quantum event is migratable. Bitcoin can, in principle, add an output type that doesn't rest on secp256k1, re-key what can still be re-keyed, and keep producing blocks while the old keys are retired. That path exists on paper. It is not an agreed migration.
P=NP, if it came with a practical algorithm rather than a useless n^100 polynomial, would not leave you a destination. Hash-based signatures would fall with everything else. I called quantum a slow car crash with an airbag, and P=NP a sinkhole, and I still think that's the right picture. It also means that treating every "math might break Bitcoin" headline as the same event is how you end up preparing for the wrong one.
NIST already gave the rest of the internet a destination. On 13 August 2024 it finalized three post-quantum standards: FIPS 203 (ML-KEM, from CRYSTALS-Kyber), FIPS 204 (ML-DSA, from CRYSTALS-Dilithium) and FIPS 205 (SLH-DSA, from SPHINCS+, a hash-based signature). FIPS 205 is the backup in case the lattice schemes have a bad decade. A later NIST transition document, IR 8547 (initial public draft, November 2024), talks about deprecating quantum-vulnerable algorithms by 2035 for US federal systems, which is not the same as a later disallowance date. That is a policy date, not a promise that a cryptographically relevant machine arrives in 2034. I mention it because people keep mixing the two.
Bitcoin's own proposed destination is still a draft.
BIP 360, BIP 361, and the fight about making coins unspendable
BIP 360, Pay-to-Merkle-Root (P2MR), from Hunter Beast, Ethan Heilman and Isabel Foxen Duke, proposes an output that works almost like Taproot with the key-path spend removed, so the output is not a naked public key sitting on the timechain. The wiki page on Quantum BIPs 360 and 361 is the hosted summary, and the BIP itself is the primary source. Optech reported an update to BIP 360 in June 2026. As of November 2026 it is still Draft.
BIP 361, Post Quantum Migration and Legacy Signature Sunset, from Jameson Lopp and co-authors, is the nastier document, and I mean that as a compliment. It follows the deployment of any post-quantum output type. Phase A would stop people sending to quantum-vulnerable addresses. Phase B, a flag day five years after activation, would restrict ECDSA and Schnorr spends by putting them behind a quantum-safe rescue protocol. Optech covered its publication in the BIPs repository on 24 April 2026. It is also still Draft.
The sensitive question, which our wiki is right to flag, is whether coins can ever be made unspendable. A sunset of legacy signatures is, in the limit, a decision about lost coins, about coins whose owners will not or cannot move, and about coins attributed to Satoshi. That is not a technical footnote. That is the closest Bitcoin comes to a moral question with a consensus flag on it. I don't think we get to pretend it's only engineering.
There have already been forks that tried to jump the queue. Bitcoin Post-Quantum (announced around block 555,000 in December 2018, XMSS signatures) and Quantum Bitcoin (a 2017 claim with a premine and, as our fork list notes, no source code this wiki could find) are in the forks records. A named fork with a premine is not a migration path for the chain people actually use.
What it means for a long-term holding
If you hold coins in an address whose public key is already on-chain, a cryptographically relevant Shor machine is a direct threat to those coins, full stop. If you hold coins in a never-reused P2WPKH address, you have time after the machine is real, and only until you need to spend. If you hold coins in a custodian, the question becomes whether that custodian can re-key faster than an attacker can, which is a customer-service problem dressed up as cryptography.
Satoshi's coins, to the extent they sit in early P2PK outputs, are in the first bucket. I will not repeat a precise "how many" figure I cannot check against a sourced page on this site; the useful fact is the template, not the folklore number. They are also the political third rail of any sunset proposal. Leave them spendable and they are a public prize the day the machine works. Make them unspendable and some people will, fairly, call that confiscation: a coalition will have changed the meaning of coins that still have keys. That is why BIP 361, which is still a Draft, is a political argument and not only a cryptographic one.
"Never move your coins" is a security practice that assumes a threat model where nobody can compute your key from what is already public. Shor retires that model for a subset of outputs, and it does it selectively, which is why people will get this wrong in both directions: some will panic-move hashed coins and reveal keys early, and some will sit on exposed keys out of HODL instinct.
How to prepare for a quantum computer
Assume the algorithm is real (it is) and the machine is a when, not an if, and then optimize for agility rather than for a date someone posted on Twitter/X.
Find out what you actually hold. A wallet that can list script types is worth more here than a new steel plate. P2PK and P2TR are exposed now. Reused P2PKH and P2WPKH are exposed now. Fresh P2WPKH is not, until you spend.
Stop reusing addresses. This is free, it was already correct, and it cuts the blast radius of every future spend.
Do not pre-emptively move coins from a hashed, still-unexposed output onto a fresh hashed output "just in case" in a panic, and definitely do not do it onto Taproot because it looks modern. A panic spend is how you publish a key for no benefit. If the public key is already on-chain, moving to a fresh hashed address (not a key-path Taproot output) can be the right move; that is a different case.
When a post-quantum output type actually exists on Bitcoin, use it, and use it before you think you need to. The migration is a coordination problem, and coordination problems are not solved by the last person to leave.
Watch the short window: even after a new output type, spending from an old key may still throw a public key into the mempool. Fee estimation, pre-signed recovery paths and, later, whatever PQ signature scheme Bitcoin actually adopts, matter more than a blog argument about 2030 versus 2040.
Read BIP 360 and BIP 361 yourself, and the wiki summary. Argue with them. A sunset of legacy spends is not something to sleepwalk through because a headline said "quantum."
What to watch: a public, reproduced demonstration of Shor at a secp256k1-relevant size; a consensus-bound BIP for a post-quantum output that is no longer Draft; and any proposal that would make old coins unspendable. Most quantum headlines are about qubit counts in a lab, which is not the same as a logical, error-corrected run against a 256-bit elliptic curve. Panicking on the first one is a reliable way to reveal a key for someone else's press release.
What AI might change about the timeline
You will hear that AI will design the machine, or shorten the error-correction problem, or "discover" a better qubit. Treat that as speculation unless the person saying it can point at a result. AI might assist hardware design, materials work, control systems or error correction. That is a possible enabling input, not a second attack mechanism, and it does not give you a date. I am not going to invent one.
The blast radius, if a cryptographically relevant machine ever exists, is still the one in the sections above: exposed public keys, not "mining is free," and not "the cap breaks."
The odds: a date would be a lie
I am not going to print a percentage table for this one. In the P=NP article I built a model with visible assumptions, because the uncertainty there is about proof techniques and gadgets. For quantum, the honest inputs are lab progress, error correction, money and time, and I have not done the kind of work that would make a 3% or a 30% anything other than decoration.
What I can say, as of November 2026: the mathematics has been on the table since 1994. NIST has standardized replacements and named 2035 as a federal transition target, which is not a forecast of the machine. Our own BIP Atlas still marks BIP 360 and BIP 361 as Draft. In the P=NP piece I wrote that credible estimates for a cryptographically relevant machine often sit somewhere between 2027 and 2035; I will not launder that range into a sharper number just because this is a different article. The range may be wrong in either direction. The useful work does not depend on winning that argument.
If you want a single comparison: a practical P=NP gadget, if it existed, would be worse, and rarer, and would not leave you a BIP to review. Quantum is the one you can actually do something about. That's why, awkwardly, it might be the more important article to act on, even if it is the less cinematic threat.
Would any altcoin survive a quantum computer better than Bitcoin?
The signatures are the thing that break, and most of the coins people ask me about use the same class of math: discrete logs on a 256-bit curve, or something close enough that Shor does not care about the brand name. The differences are the usual second-order ones: how fast a chain can change its output types, whether a public key is sitting in every output, and whether a privacy layer makes the wreckage worse.
Ethereum uses secp256k1 ECDSA for user accounts and BLS signatures for validators, which is the same discrete-log family with a bigger surface area. The account model means an emptied key can also drag along token approvals, and a large share of supply is staked behind validator keys. What Ethereum has is coordination: it has hard-forked under pressure, and it can fund cryptography work. Verdict: same mathematical exposure, more surface, more practice at emergency forks.
Zcash, as I wrote in the P=NP piece, carries the most cryptography per coin. Pairings and shielded proofs are not a get-out-of-Shor-free card; they are more surface. Against that, the transparent pool is still a secp256k1 UTXO set, so it is not a quantum-safe fallback; it is just less exotic than the shielded layer. The cryptography team is, by any honest reading, one of the strongest in this industry. Hear it from Daira-Emma Hopwood in S17 E50. Verdict: uglier if the shielded layer is the thing you cared about, better staffed for a migration.
Monero's privacy is mandatory and sits on Curve25519 discrete logs (RingCT, Bulletproofs, the lot). When the discrete log goes, the privacy goes with it, and there is no transparent fallback. Riccardo Spagni made the case for mandatory privacy in S17 E8. Under Shor, mandatory privacy is mandatory exposure. Verdict: worse than Bitcoin on quantum day, for the same reason it was worse under P=NP.
Litecoin uses secp256k1 for signatures. That's the story. Verdict: Litecoin shares Bitcoin's odds on the signature break, to the decimal, unless it migrates faster, which it might, and I will not pretend that's a plan I've seen executed.
Bitcoin Cash, again, has Bitcoin's cryptography and a culture of scheduled hard forks. Calin Culianu and Steve Thurmond have described that cadence at length. A migration is still a migration, but it is not a two-year war of attrition by default. Verdict: identical exposure, marginally better agility.
Kaspa uses Schnorr over secp256k1. Michael Sutton walked through the engineering in S17 E52. Throughput helps a mass re-key clear faster, and does nothing for the math. Verdict: better than Bitcoin on sweep speed, identical on signatures.
I am not going to recap Quai, Zano and Solana at the same length as I did in the P=NP article just to fill a set. The pattern does not change: if the keys are discrete logs, Shor applies; if the chain can fork quickly, it might recover; if privacy is mandatory and there is no fallback, the failure is uglier. No ticker I just named is "quantum-proof" in a way that should make you sell bitcoin and buy it. Quantum Bitcoin and Bitcoin Post-Quantum already tried to be that ticker.
What none of them fix
Coin selection, against Shor, is a rounding error next to output type and whether you have already published a key. The useful work is in the boring places: a Draft BIP that needs review, a wallet that will tell you whether you are looking at a hash or a public key, a plan for the spend that would otherwise sit in the mempool like a gift.
Bitcoin's culture of doing nothing is a genuine virtue against fashion, and it is a genuine liability against a clock that does not care about our process. The one thing this chain has going for it is the thing that produced every altcoin in this article: it forks. Soft or hard, that's a later fight. First it has to want to move.
You can read Shor, BIP 360 and the P=NP article in one evening, and that is a better use of the evening than another thread about qubit press releases. The algorithm is 32 years old. The destination is still marked Draft. Is that an acceptable place to sit?
This article is part of the Existential Threats to Bitcoin series.
Related
What ETF Custody Means for Bitcoin
The coins behind the biggest bitcoin ETFs are real, and the filings say where they sit. They also say the sponsor, not the…
What Bitcoin's Security Budget Means After the Subsidy
Over the last year, fees paid miners about 0.02 bitcoin per block against a 3.125 subsidy. The chain does not stop when the…
What Broken Keys and Hash Functions Mean for Bitcoin
A practical classical break would be property-specific: key recovery, collision, preimage, or mining's partial-preimage search…

Comments
Questions or corrections? Email me, or say it on Nostr or X. I read all three.
Email meNostrX