How Bitcoin Is Becoming Quantum-Resistant
As of December 2026, Bitcoin is not quantum-resistant. Its signatures rely on elliptic-curve math that Shor's algorithm breaks when it runs on a large enough quantum computer.
Below covers how quantum computers affect Bitcoin and some of the post-quantum upgrade proposals addressing the threat.
How Quantum Computers Impact Bitcoin
Bitcoin authorizes every spend with a cryptographic digital signature. Older outputs use the Elliptic Curve Digital Signature Algorithm (ECDSA), while Taproot outputs use Schnorr signatures, and both run on the secp256k1 curve. Their security comes from a one-way relationship in which computing a public key from a private key is fast, while reversing that calculation is infeasible for any classical computer built today.
Shor's algorithm removes that protection. Running on a cryptographically relevant quantum computer (CRQC), it solves the elliptic-curve discrete logarithm problem (ECDLP) efficiently. An attacker who sees a public key derives the matching private key and signs a transaction that moves the coins.
Hash functions face a weaker attack. Grover's algorithm offers only a quadratic speedup against SHA-256, the cryptographic hash function behind Bitcoin's proof-of-work mining and its hashed addresses. Mining is far less exposed than signatures, so the practical quantum risk to Bitcoin sits in how the network authorizes spending.
Exposure depends on when a public key becomes visible. Some output types publish the key as soon as coins arrive, and it stays onchain permanently. Hashed addresses keep the key hidden until the owner spends, at which point it appears in the transaction and leaves any coins still held at that address exposed from then on.
Long-Exposure and Short-Exposure Attacks
A long-exposure attack targets coins whose public keys already sit onchain. Coins in this category include pay-to-public-key (P2PK) outputs from Bitcoin's first years, addresses reused after a spend, and Taproot outputs, which place a key in the output itself for key-path spending. An attacker facing these coins has no deadline.
A short-exposure attack targets a key during the window when it's visible in a pending mempool transaction. The attacker has to derive the private key and broadcast a competing transaction before the original confirms, and Bitcoin produces a block roughly every 10 minutes.
Google Quantum AI's March 2026 estimate places a quantum attack inside that window. Google Quantum AI's resource estimates put an attack at roughly 9 minutes once a superconducting machine has precomputed the first half of the algorithm and waits in a primed state for a public key to appear. Under that figure, a defense for coins at rest is incomplete on its own, because coins moving through the mempool also need protection against key theft during the minutes before they confirm.
Proposals to Make Bitcoin Quantum Resistant
Proposals published through 2026 divide into three layers: output types that hide public keys, post-quantum signatures that replace ECDSA and Schnorr, and migration rules for coins that stay in vulnerable outputs. BIP-361 lists a separate post-quantum signature BIP as a requirement.
Hiding Public Keys With BIP-360 (P2MR)
BIP-360 defines Pay-to-Merkle-Root (P2MR), a new output type. The proposal began as Pay to Quantum Resistant Hash (P2QRH), was later called Pay-to-Tapscript-Hash (P2TSH), and took its current name in February 2026.
P2MR removes Taproot's key-path spend, the feature that places a public key in the output, and keeps Taproot's Merkle tree of scripts. Coins sent to a P2MR output keep their keys hidden until they're spent. The BIP-360 specification states that P2MR resists only long-exposure attacks and leaves short-exposure protection to future post-quantum signatures, and it offers nothing to coins whose keys are already exposed.
Adding Post-Quantum Signatures
The U.S. National Institute of Standards and Technology (NIST) finalized three post-quantum cryptography standards in August 2024: FIPS 203 (ML-KEM), FIPS 204 (ML-DSA), and FIPS 205 (SLH-DSA). SLH-DSA is hash-based.
The smallest SLH-DSA signature is 7,856 bytes, compared with 64 bytes for a Schnorr signature. Mikhail Kudinov and Jonas Nick of Blockstream designed SHRINCS to narrow the size gap.
SHRINCS relies only on SHA-256, and Blockstream's SHRINCS parameter analysis shows its stateful signatures start at 324 bytes. Blockstream published a SHRINCS draft BIP on August 27, 2026.
Migrating Coins and Handling Legacy Outputs
BIP-361's phased migration plan, titled Post Quantum Migration and Legacy Signature Sunset, comes from Jameson Lopp and five co-authors. Phase A takes effect 160,000 blocks after activation, about three years, and permits sends from legacy scripts only to post-quantum scripts. Phase B follows two years later and restricts ECDSA and Schnorr spends by requiring a quantum-safe rescue protocol, such as proof of knowledge of a hardened BIP-32 wallet seed.
Hourglass, a draft by Hunter Beast and Michael Casey, limits P2PK spends to one per block, which spreads any movement of those coins across a long period. BIP-361's authors state that their proposal is compatible with an Hourglass-style BIP.
Tadge Dryja proposed a commit/reveal soft fork on the bitcoindev mailing list to protect spends from coins whose public keys are still hidden. The approach has an academic precedent. In 2018, Stewart and co-authors described a commit-delay-reveal soft fork that lets users move funds to post-quantum outputs even after ECDSA is broken.
Quantum-Safe Transactions Under Today's Rules
Quantum Safe Bitcoin (QSB), published in April 2026 by StarkWare researcher Avihu Levy, takes a different route. It needs no soft fork and works within Bitcoin's existing legacy script limits of 201 opcodes and 10,000 bytes. QSB builds on Robin Linus's Binohash and moves transaction security from ECDSA to a hash-to-signature puzzle: the script hashes a transaction-bound public key with RIPEMD-160 and accepts the spend only if the 20-byte result happens to be a valid DER-encoded ECDSA signature, about a one-in-2^46 chance. That puzzle and the Lamport-style one-time signature it secures rest on hash pre-image resistance rather than elliptic curves, so Shor's algorithm gives an attacker no shortcut. The QSB repository reports about 118-bit second pre-image security under Shor and about 59-bit under Grover.
The costs limit QSB to high-value transfers. Each spend takes roughly $75 to $150 of cloud GPU computation, and because QSB transactions exceed standard relay policy, they go directly to a miner through a service such as Slipstream. Levy describes the scheme as a measure of last resort, and it doesn't yet cover uses such as Lightning channels. Like P2MR, it does nothing for coins whose public keys are already exposed, and moving funds into a QSB output after a CRQC exists would carry risk. In August 2026, StarkWare announced that the first QSB transaction had been mined on Bitcoin's mainnet.









