How could Bitcoin be made quantum-proof?
Published

How could Bitcoin be made quantum-proof?
Bitcoin has always been a story about adversaries. Not just scammers and bad actors, but smart, well-funded opponents: miners racing for hashpower, nation states watching financial rails, and cryptographers constantly probing for cracks. Quantum computing is the next adversary on the horizon, and it is a different kind of threat because it aims at Bitcoin’s mathematical foundation rather than its economics.
The good news is that “quantum-proof Bitcoin” is not science fiction. It is a design problem with real tools, real tradeoffs, and clear upgrade paths. The better news is that Bitcoin can become resistant to quantum attacks without rewriting everything that makes it valuable: predictable rules, conservative changes, and an uncompromising security model.
This guide breaks down what quantum computers can actually do to Bitcoin, which parts are at risk, and the realistic ways Bitcoin could be made quantum-proof through protocol upgrades, better wallet practices, and carefully staged migrations to post-quantum cryptography.
What “quantum-proof” means for Bitcoin
When people ask how Bitcoin could be made quantum-proof, they usually mean one of two things:
- Quantum-resistant signatures, so that a quantum computer cannot steal coins by deriving private keys from public keys.
- Quantum-resistant mining, so that a quantum computer cannot dominate proof of work and rewrite the chain.
Those are very different problems with different timelines and mitigation strategies.
The real cryptographic targets: ECDSA and Schnorr
Bitcoin relies on public key cryptography mainly for transaction signatures. Historically that has been ECDSA (Elliptic Curve Digital Signature Algorithm). Since Taproot (2021), Bitcoin supports Schnorr signatures (BIP340) for Taproot outputs. Both are based on elliptic curve discrete logarithms.
A sufficiently powerful quantum computer running Shor’s algorithm could solve the discrete logarithm problem and recover a private key from a public key. That would let an attacker forge signatures and spend coins.
So when we say “quantum-proof Bitcoin,” we largely mean replacing ECDSA and Schnorr with post-quantum signature schemes whose security does not collapse under Shor’s algorithm.
The mining angle: Grover’s algorithm and proof of work
Mining uses SHA-256 hashing. Quantum computers do not break SHA-256 the way they break elliptic curves. The relevant quantum speedup is Grover’s algorithm, which provides roughly a quadratic speedup for brute-force search problems.
In practical Bitcoin terms, Grover’s algorithm would make mining “easier” by a square root factor for a quantum miner, but it does not trivially let an attacker find collisions or invert SHA-256. That means:
- Quantum mining is not a binary break like signatures.
- The network can often adapt economically because difficulty adjusts.
- The bigger concern becomes centralization: a quantum miner might gain an advantage if quantum hardware becomes cost-effective.
Most experts consider signature theft the sharper, more immediate class of risk once large-scale quantum machines exist.
How quantum computers could attack Bitcoin in practice
A useful way to think about quantum risk is to separate what is theoretically possible from what an attacker can do on a live network with real constraints like time, bandwidth, and confirmation windows.
Attack 1: Steal coins from revealed public keys
In Bitcoin, coins are locked to scripts. Many script types reveal a public key at some point. Once a public key is known, a quantum attacker could attempt to compute the private key and broadcast a spending transaction.
The most discussed scenario looks like this:
- A user spends from a UTXO that reveals their public key (for example, legacy P2PKH or many multisig patterns).
- The public key is now visible in the mempool.
- A quantum attacker derives the private key quickly enough.
- The attacker broadcasts a conflicting transaction spending the same input to themselves, with a higher fee, hoping miners include it first.
Whether that is feasible depends on how quickly the attacker can complete Shor’s algorithm relative to typical confirmation times. If the quantum computer needs hours or days, the mempool window is too small. If it can do it in minutes or seconds, it becomes dangerous.
Actionable takeaway today: minimize unnecessary public key exposure and use script types that keep public keys hidden until spend time.
Attack 2: Drain old outputs with already revealed public keys
Some older Bitcoin outputs reveal public keys immediately, or their public keys can be learned from the blockchain long before they are spent. Examples include:
- Pay-to-PubKey (P2PK) outputs from the earliest era
- Addresses that have already spent once using a script that reveals the public key and then received more funds to the same public key or reused address patterns
If a quantum attacker can derive private keys from public keys, those coins are at higher risk because the attacker can work offline without a mempool race.
This is why you will often see advice like “do not reuse addresses” framed not just as privacy hygiene, but as quantum hygiene too.
Attack 3: Undermine mining and reorganize the chain
A quantum miner could, in theory, gain hashing advantage via Grover’s algorithm. But there are several practical limits:
- Grover’s algorithm requires coherent quantum operations and is not a drop-in replacement for ASIC pipelines.
- It does not instantly grant majority hashpower. It changes cost curves.
- Bitcoin’s difficulty adjustment and market competition respond over time.
The more realistic concern is an uneven transition where a few players obtain quantum mining advantage before the rest of the ecosystem can respond. That is a governance and centralization problem more than a pure cryptographic collapse.
What parts of Bitcoin are vulnerable, and what is already “safer than it looks”
Bitcoin’s design unintentionally includes some quantum risk reduction already, mainly due to how addresses work.
Hash-based addresses buy time
Most commonly used modern addresses do not put a raw public key on chain until the moment you spend.
- Legacy P2PKH addresses commit to
HASH160(pubkey)not the pubkey itself. - SegWit P2WPKH does the same.
- Taproot P2TR commits to an x-only public key, but script paths can hide details until revealed. Key-path spends still reveal a public key at spend time.
If a quantum attacker cannot efficiently invert HASH160 (RIPEMD160(SHA256(pubkey))) then coins sitting unspent behind a hash of a public key are not immediately stealable. They only become exposed during the spend window.
This is not “quantum-proof,” but it changes the threat from “steal anytime” to “steal during spend” for many outputs.
Address reuse makes the future worse
Address reuse is already discouraged for privacy, but quantum risk makes it a direct security issue.
If you reuse an address, you are reusing the same public key hash. Once you spend from it once, the public key is revealed on chain. If you later receive more funds to that same address, you have created a UTXO whose public key may already be publicly known, which is closer to the “drain at leisure” scenario.
Actionable advice you can apply now:
- Use wallets that generate a fresh receiving address for every payment.
- Avoid “donation addresses” that remain static for years.
- If you must publish an address, rotate it periodically and sweep funds.
The core fix: migrating Bitcoin to post-quantum signatures
To make Bitcoin quantum-proof in the most meaningful sense, Bitcoin needs post-quantum digital signatures for spending. That means introducing new script verification rules that allow signatures based on problems believed hard for quantum computers.
What post-quantum cryptography could look like in Bitcoin
A post-quantum (PQ) signature scheme must fit Bitcoin’s constraints:
- Compact enough to not bloat blocks excessively
- Fast verification for nodes
- Secure and standardized
- Implementable across hardware wallets and constrained devices
- Suitable for multisig and smart contract patterns
Popular candidates in the broader ecosystem include:
- CRYSTALS-Dilithium (lattice-based, NIST-selected)
- Falcon (lattice-based, smaller signatures but trickier implementation)
- SPHINCS+ (hash-based, conservative but large signatures and slower)
Bitcoin could support one or more schemes via new opcodes and new address types.
A realistic upgrade path: add new PQ output types first
Bitcoin upgrades are most safely done by soft fork when possible, and by minimizing disruption. A common proposal pattern is:
- Introduce a new output type that commits to a PQ public key (or hash of it).
- Allow spending those outputs with a PQ signature.
- Encourage users to migrate funds voluntarily over time.
- Later, add incentives or policy changes to reduce risk for legacy types.
Conceptually, you might see new script templates like “Pay to PQ Public Key Hash” in the spirit of P2WPKH, but backed by a PQ signature verification opcode.
A toy illustration of what a future script might resemble conceptually (not current Bitcoin Script):
# Hypothetical, for explanation only
OP_PQVERIFY <pq_pubkey> <pq_signature>In reality, Bitcoin Script uses a stack-based model and opcodes would be carefully specified, likely with versioned witness programs similar to SegWit and Taproot.
Hybrid signatures: the conservative bridge
One pragmatic approach is hybrid signing, where a spend requires both a classical signature (Schnorr) and a post-quantum signature. This reduces the chance of accidentally betting everything on a new primitive.
Benefits:
- If PQ scheme later shows weakness, classical signatures still protect funds.
- If quantum computers arrive sooner than expected, PQ signature still protects funds.
Costs:
- Larger transactions
- More verification work
- More wallet complexity
Hybrid spends are especially appealing for high-value custody, treasury UTXOs, and exchange cold storage during a transition period.
Which coins would need to move first?
If Bitcoin adds quantum-resistant addresses, the network still faces a practical question: what about coins sitting in older vulnerable script types?
A rational migration plan would prioritize:
- UTXOs whose public keys are already known on chain
- Large, dormant outputs that could become attractive targets
- Custodial pools where many users depend on a single operator’s risk management
A staged approach could look like:
- Immediate hygiene: stop address reuse, consolidate carefully, adopt Taproot where it makes sense.
- Voluntary migration: wallets support PQ addresses, users move funds over months or years.
- Policy pressure: miners and nodes could adopt standardness policies that discourage risky scripts, while remaining consensus-valid.
- Long tail handling: develop community norms and tools for safely sweeping legacy outputs.
Practical steps Bitcoin users and businesses can take today
You cannot flip a switch and make Bitcoin quantum-proof today, but you can reduce exposure and make future migrations easier.
Use modern address types and avoid public key reuse
For most users, the highest-leverage steps are boring but effective:
- Prefer SegWit (bech32) or Taproot (bech32m) receiving addresses in your wallet.
- Never reuse addresses.
- Avoid scripts that reveal public keys early unless you have a reason.
If you are running an exchange or custody system, build your UTXO management so you can migrate quickly when PQ output types become available.
Treat long-term cold storage as a migration plan, not a static vault
A common mental model is “cold storage equals set and forget.” Quantum risk argues for a different model: cold storage should be periodically rotated with careful operational security.
A practical policy for high-value holders:
- Maintain a schedule to review and refresh cryptography assumptions every 1 to 2 years.
- Ensure your signing setup can support new address formats when they arrive.
- Keep an operational runbook for sweeping funds under emergency conditions.
Watch for standards and ecosystem signals
Post-quantum Bitcoin requires coordination across:
- Bitcoin Core and other node implementations
- Hardware wallet firmware
- PSBT standards and wallet descriptors
- Block explorers, indexers, and watch-only systems
- Exchanges and custody providers
If you want to stay ahead:
- Track Bitcoin Improvement Proposals (BIPs) related to post-quantum signatures.
- Prefer wallets that are actively maintained and have a history of adopting major upgrades.
- Avoid niche signing devices that may not be updated in a PQ transition.
What a “quantum-proof” Bitcoin upgrade could look like technically
There are several design patterns the Bitcoin community could adopt. None are perfect, but some are clearly more practical.
Option 1: New SegWit witness versions for PQ signatures
SegWit introduced versioned witness programs, which makes it possible to add new spending rules without breaking older nodes in certain ways. A future witness version could define:
- The format of the PQ public key commitment in the output script
- The witness stack elements required to spend
- The signature verification algorithm and parameters
This approach has strong precedent and keeps changes modular.
Option 2: Taproot-style commitment with PQ keys
Taproot enables flexible script commitments via Merkle trees, letting users hide complex conditions unless they are used. A PQ world might use similar ideas:
- Key-path spends could remain small and efficient
- Script-path spends could introduce PQ checks for recovery or high-value conditions
- Vaults could require PQ signatures for certain recovery paths
For example, a vault design might require a PQ signature only for emergency recovery, while day-to-day spends use conventional signatures during the transition. That reduces overhead while adding a safety valve.
Option 3: Hash-based signature schemes for extreme conservatism
Hash-based signatures like SPHINCS+ are attractive because they rely on hash functions rather than algebraic structures, and hashes are relatively well-understood.
The tradeoff is size and speed. Bigger signatures mean:
- Larger transactions
- Higher fees
- More blockchain growth
- More burden on full nodes
A common compromise is to allow multiple PQ schemes and let users choose, but Bitcoin typically prefers simplicity and minimizing consensus complexity.
What about making SHA-256 quantum-resistant?
SHA-256 is not “broken” by quantum computing in the same catastrophic way as elliptic curve signatures. If Grover’s algorithm becomes practical at scale, Bitcoin could still respond with:
- Difficulty adjustment already in the protocol, which counteracts raw speedups
- Potential proof-of-work tweaks in extreme scenarios, though changing PoW is socially and technically hard
If the goal is “quantum-proof Bitcoin” in terms of preventing theft, post-quantum signatures remain the priority.
Tradeoffs, risks, and what could go wrong
Making Bitcoin quantum-proof is not just “pick a PQ algorithm and ship it.” There are meaningful risks.
Cryptographic risk: new primitives can fail
Post-quantum cryptography is advancing fast, but the conservative stance in Bitcoin is justified: if a PQ scheme turns out to have a structural weakness, you could strand users or force emergency migrations.
This is why hybrid schemes and long transition periods are appealing.
Network risk: bigger signatures increase fees and reduce capacity
A rough intuition that matters for users:
- If signatures get larger, transactions get larger.
- Larger transactions cost more in fees.
- Block space becomes relatively scarcer, pushing activity to batching and Lightning.
That may be acceptable, but it is not free.
UX risk: migrations are messy
Even if a quantum-resistant address exists, millions of users will not migrate instantly. Some keys are lost, some wallets are abandoned, some coins are held by entities that move slowly.
Bitcoin’s history suggests that upgrades succeed when they:
- Are opt-in and backward compatible where possible
- Provide clear wallet-level incentives
- Come with good tooling and education
Conclusion: quantum-proof Bitcoin is a roadmap, not a panic button
Bitcoin does not need quantum fear. It needs quantum planning.
A quantum computer capable of breaking ECDSA and Schnorr would be a serious threat, especially for outputs with revealed public keys and for users who reuse addresses. But the path to making Bitcoin quantum-proof is clear: introduce post-quantum signature support, migrate value to new output types over time, and use conservative bridges like hybrid signatures for high-stakes custody.
If you want to take action now, do three things: stop reusing addresses, prefer modern address formats like SegWit and Taproot, and choose wallets and custody setups that are actively maintained so you can migrate quickly when post-quantum Bitcoin standards arrive. The protocol can evolve, but only if users and businesses are ready to move with it.
Worth sharing?
Send this to someone who would find it useful.