By Bonaventure Ogeto · Published · Last verified:
Is Bitcoin Safe From Quantum Computers?
The short answer
Yes, for now: no quantum computer able to break its cryptography is known to exist[1]. The future risk is to Bitcoin's signatures, not its mining: Shor's algorithm would break the elliptic-curve keys behind them, and coins whose public keys are already visible are most exposed. BIP 360 and BIP 361 propose fixes; neither is adopted.
Source: Mctaba Labs, “Is Bitcoin Safe From Quantum Computers?”, last verified 4 December 2026, mctaba.com/learn/cryptography/is-bitcoin-quantum-safe
Is Bitcoin safe from quantum computers today?
Yes. Bitcoin's security rests on two kinds of cryptography, and no known machine threatens either. NIST, the US standards body, treats a quantum computer able to break today's public-key cryptography as something that does not exist yet[1]. When will one appear? “No one knows.”[1] Expert estimates range from a few years to a few decades[1], and such a machine would need many thousands of qubits[1], the basic units of a quantum computer.
What would that machine threaten? Coins are controlled by whoever can produce a valid signature with the right private key. A quantum computer that could work out a private key from its public key could sign a transaction moving someone else's coins. That is the main risk, and it does not apply equally to every coin. How quantum computers could break RSA and elliptic-curve cryptography explains the attack itself.
This page covers the cryptography only. It says nothing about prices and gives no investment advice.
Which part of Bitcoin would a quantum computer attack: signatures or mining?
Signatures. Bitcoin uses cryptography in two places, and only one is badly exposed.
Signatures prove ownership. A wallet holds private keys, kept secret, and matching public keys, which others can see. Spending coins means signing a transaction with the private key; anyone can check the signature with the public key. Bitcoin has traditionally used ECDSA signatures over the secp256k1 curve[2], and BIP 340, now Deployed[2], added 64-byte Schnorr signatures[2] on the same curve. Both are elliptic-curve cryptography, first proposed for building cryptographic schemes in 1985[3]. Bitcoin Optech, a technical newsletter, says Shor's algorithm on an idealised quantum computer “would completely eliminate the security of ECDSA”[4], and because Schnorr public keys are essentially identical[4], the same attack applies.
Hashes protect mining and most addresses. A hash function turns data into a fixed-length fingerprint. Mining, the proof-of-work that orders transactions into blocks, is a race to find hashes with special properties, and most address types are hashes of public keys or scripts. Against hashes such as SHA-256 and RIPEMD-160, Grover's algorithm only reduces security to its square root[4], a far weaker effect. A peer-reviewed study from 2018[5] found Bitcoin's proof-of-work relatively resistant to substantial speedup by quantum computers in the next 10 years[5], mainly because specialised mining chips are extremely fast, and judged the signature scheme much more at risk[5]. Is AES-256 quantum safe? explains why Grover's algorithm matters so much less.
Which bitcoins have exposed public keys?
An attacker needs your public key before a quantum computer can do anything, so what matters is when that key becomes visible on the blockchain, the public ledger every node keeps. BIP 360, a draft proposal covered below, sorts attacks into two kinds. A long exposure attack targets keys left visible for time periods longer than needed to confirm a spending transaction[6]. A short exposure attack must succeed in the short time a transaction waits unconfirmed in the mempool, the queue of pending transactions, and requires faster quantum computers[6].
Here is BIP 360's analysis of the main output types. An output is an amount of bitcoin locked to an address until it is spent.
| Output type | What it is | When the public key is visible | Exposure, per BIP 360 |
|---|---|---|---|
| P2PK | Pay to public key, the oldest type, used for Satoshi's coins and early CPU miners[6] | Always: the key sits in the output | Fundamentally vulnerable[6] to long exposure attacks |
| P2TR (Taproot) | Addresses starting with bc1p | Always: the output holds a key that can sign directly | Fundamentally vulnerable[6] to long exposure attacks |
| Any reused address | Coins at an address that has already spent once | From the first spend | Fundamentally vulnerable[6] to long exposure attacks |
| P2PKH and P2WPKH | Pay to (witness) public key hash | Only when the coins are spent | Vulnerable once the script reveals a public key[6] |
| P2SH and P2WSH | Pay to (witness) script hash | Only when the script is revealed | Vulnerable once the script reveals a public key[6] |
| P2MR (proposed in BIP 360) | Taproot without the key path | Only when the coins are spent | Resistant to long exposure attacks[6], not to short exposure attacks |
Note the Taproot row. The newest common output type sits among the exposed ones, because a Taproot output contains a public key that can spend the coins directly, a route called the key path. Coins in a hashed output show only a hash on the chain; by BIP 360's analysis they become exposed only once a public key is revealed, for example when the owner spends from the same address and leaves coins behind.
What is BIP 360, and what happened to P2QRH?
BIP stands for Bitcoin Improvement Proposal, the documents through which changes to Bitcoin are proposed and debated. BIP 360 is now titled Pay-to-Merkle-Root (P2MR)[6], and its status is still Draft[6]. If you have read about P2QRH (Pay to Quantum Resistant Hash) or P2TSH (Pay-to-Tapscript-Hash), it is the same proposal: it was renamed from P2QRH to P2TSH on 17 September 2025[6] and from P2TSH to P2MR on 10 February 2026[6].
It proposes a new output type, added by a soft fork (a rule change that older software still accepts), that works nearly the same as P2TR[6] but with the key path removed. Coins would be locked to a tree of scripts summarised by a single hash, its Merkle root, so no public key sits on the chain until the coins are spent. That makes such outputs resistant to long exposure attacks.
BIP 360 is explicit about the limit. Its outputs resist only long exposure attacks, because a public key still appears when the coins are spent, inside the mempool window. Protection against short exposure attacks would need more than this proposal. How fast is fast enough is an open question: Google Quantum AI estimated that a 256-bit elliptic-curve key could be broken in a few minutes on fewer than 500,000 physical qubits[7], a machine no one has built.
What would BIP 361 do to coins that never move?
BIP 361, Post Quantum Migration and Legacy Signature Sunset[8], is also a Draft; its number was assigned on 11 February 2026[8]. It would start only after some post-quantum output type exists, and it proposes a pre-announced sunset of today's signatures in two phases:
- Phase A disallows sending of any funds to quantum-vulnerable addresses[8], pushing users to the new type.
- Phase B restricts ECDSA and Schnorr spends by encumbering them with a quantum-safe rescue protocol[8], to prevent theft of coins left in vulnerable outputs.
The trade-off is visible in the text itself. To stop a future attacker from taking coins that were never migrated, Phase B would change how their rightful owners can spend them. That is a question for the Bitcoin community to settle, and it has not been settled.
Has Bitcoin adopted any quantum-resistant change?
No. BIP 360 and BIP 361 are Drafts: proposals under discussion, not rules the network enforces. BIP 340's Schnorr signatures are deployed, but they use the same elliptic curve, so they share ECDSA's quantum exposure.
Post-quantum signature schemes do exist. NIST published ML-DSA and SLH-DSA as standards on 13 August 2024[9], as what is post-quantum cryptography? explains. They are far bigger than what Bitcoin uses today: an ML-DSA-44 signature is 2,420 bytes[10], against 64 bytes[2] for a BIP 340 Schnorr signature. In a system where every full node stores every transaction, that difference is one reason any change will need careful design and broad agreement.
When could a quantum computer threaten Bitcoin?
No one knows, and the official sources say so. NIST's range of expert estimates runs from a few years to a few decades[1].
Older forecasts show the uncertainty. The 2018[5] study above said Bitcoin's signature scheme could be completely broken as early as 2027, by the most optimistic estimates[5]. That was the optimistic end of the authors' range at the time, not a forecast to rely on, and no such machine is known to exist today.
A recent estimate specific to Bitcoin's curve comes from researchers at Alice & Bob, a company working on cat qubits, a kind of qubit engineered to resist one type of error. Their preprint estimates that solving the elliptic-curve problem behind secp256k1 keys would take at most 30,000 cat qubits and about an hour[11] on their proposed design. That design assumes hardware nobody has built, and a preprint has not been peer reviewed. When will quantum computers break encryption? compares the forecasts.
What can bitcoin holders do now?
Nothing drastic, and nothing here is investment advice. The sensible steps follow from BIP 360's analysis:
- Do not reuse addresses. Reused outputs are on the vulnerable list, because the first spend reveals the key.
- Know your output types. By that analysis, hashed types such as P2WPKH keep the public key off the chain until you spend, while P2PK and Taproot outputs show it.
- Keep wallet software current and follow the proposals; if one is adopted, it will reach you through wallet updates.
- Distrust urgent offers. No quantum-resistant output type is part of Bitcoin today, so anyone urging you to move coins to a "quantum-safe" service now is not following any adopted standard.
The wider picture for organisations, beyond Bitcoin, is in the real risks of post-quantum migration and the cryptography series hub.
Frequently asked questions
- Can a quantum computer steal bitcoin today?
- No. No quantum computer able to break today's public-key cryptography is known to exist[1], and NIST says no one knows when one will; expert estimates range from a few years to a few decades[1].
- Is bitcoin mining at risk from quantum computers?
- Much less than signatures. Grover's algorithm would only reduce hash security to its square root[4], and a 2018[5] study found proof-of-work relatively resistant over the following 10 years[5], mainly because specialised mining chips are so fast.
- Are Taproot addresses less safe against quantum computers?
- In one respect. BIP 360 lists Taproot outputs, which start with
bc1p, among those fundamentally vulnerable to long exposure attacks[6], because the output holds a public key. Hashed types such as P2WPKH keep the key hidden until the coins are spent. - What is P2QRH?
- An earlier name for BIP 360. It was renamed P2TSH in September 2025[6] and Pay-to-Merkle-Root (P2MR) in February 2026[6], and it is still a Draft[6].
- Has Bitcoin adopted BIP 360 or BIP 361?
- No. Both are Drafts, and BIP 361 would apply only after a post-quantum output type exists.
- Do I need to do anything with my bitcoin now?
- Not urgently. Avoid reusing addresses, keep your wallet software up to date and follow the proposals. No quantum-resistant output type is part of Bitcoin yet, so there is nothing to move to. This page gives no investment advice.
Sources
- [1] NIST, 27 February 2026, checked 4 December 2026
- [2] Bitcoin Improvement Proposals repository (github.com/bitcoin/bips), 19 January 2020, checked 4 December 2026
- [3] Standards for Efficient Cryptography Group (SEC 1 v2.0, Certicom Research), 21 May 2009, checked 4 December 2026
- [4] Bitcoin Optech (topic page), checked 4 December 2026
- [5] Ledger (journal), vol. 3, University of Pittsburgh, 17 October 2018, checked 4 December 2026
- [6] Bitcoin Improvement Proposals repository (github.com/bitcoin/bips), 18 December 2024, checked 4 December 2026
- [7] Google Research, 31 March 2026, checked 4 December 2026
- [8] Bitcoin Improvement Proposals repository (github.com/bitcoin/bips), 11 February 2026, checked 4 December 2026
- [9] NIST CSRC, 2 December 2026, checked 4 December 2026
- [10] NIST, 13 August 2024, checked 4 December 2026
- [11] IACR Cryptology ePrint Archive (Alice & Bob), 28 October 2026, checked 4 December 2026
Related guides
- How Quantum Computers Could Break RSA and Elliptic Curve Encryption
- When Will Quantum Computers Break Encryption? An Honest Look at Q-Day
- What Is Post-Quantum Cryptography? A Plain-English Explanation (2026)
- The Real Risks of Post-Quantum Migration: Bugs, Side Channels and Broken Assumptions
- Is AES-256 Quantum Safe? Symmetric Encryption, Hashing and Passwords After Quantum
- Cryptography explained: the full series
