Quantum computing is the Bitcoin risk people rank first and understand least. The usual summary — that quantum computers will break Bitcoin — is wrong in one direction and complacent in another, because it treats a specific, bounded exposure as either an apocalypse or a non-event.
Which algorithm threatens what?
Two quantum algorithms matter and they do different things.
Grover’s algorithm gives a quadratic speedup on unstructured search. For SHA-256 this reduces effective security from 256 bits to roughly 128, which is still far beyond reach. It also parallelises poorly, so throwing more quantum machines at the problem helps much less than it would classically. Mining is, for practical purposes, not the problem, and any residual effect is absorbed by difficulty adjusting as it always does.
Shor’s algorithm solves discrete logarithms efficiently. Bitcoin’s signatures — both ECDSA and Schnorr — rest on the hardness of recovering a private key from a public key on the secp256k1 curve, which is exactly the problem Shor’s algorithm solves. A sufficiently large, error-corrected quantum computer would turn a visible public key into the ability to spend the coins it controls.
So the question is not whether Bitcoin breaks. It is which public keys are visible.
Which coins are actually exposed?
More than the usual answer, and the set has grown rather than shrunk.
Coins paid directly to a public key. The earliest outputs, including most of the coins mined in Bitcoin’s first years, put the public key in the output itself. Those keys have been visible since the day they were created and cannot be hidden retroactively.
Any address that has been spent from. Spending reveals the public key, because the signature must be checked against it. An address reused after spending holds coins whose key is already public. This is one of several reasons address reuse is discouraged, and the reason is usually given as privacy rather than this.
Taproot outputs. A Taproot output is a version byte and a 32-byte public key. The key is in the output, visible before anything is spent. This is a genuine and underdiscussed consequence of an upgrade that improved nearly everything else, and it means the exposed share grows with Taproot adoption rather than shrinking.
Unspent outputs at never-used hashed addresses. These are the protected case. The chain shows only a hash of the public key, and recovering a preimage is a search problem where Grover’s quadratic speedup applies rather than Shor’s exponential one. That is meaningfully harder, though a 160-bit hash under a quadratic speedup is not a comfortable margin forever.
What is the mempool race?
The attack that does not require waiting.
When you spend from a hashed address, the public key is revealed in the transaction you broadcast, and the transaction then sits unconfirmed for some minutes. An attacker who can derive the private key within that window could construct a competing transaction paying themselves and get it confirmed first, by paying a higher fee.
This matters because it collapses the distinction between protected and exposed coins at the moment of spending. The hashed address protects you only until you use it, and then you are relying on the attacker being slower than one confirmation.
It also sets the bar for when the threat becomes live. Breaking a key in months is a problem for coins already exposed; breaking one in minutes is a problem for everybody. Those are very different engineering milestones and they will not arrive together.
How much of the supply is exposed right now?
Not a figure anyone publishes, and it is computable in principle from the unspent output set, which makes its absence from the discussion odd.
The categories are mechanical. Every output is either paid to a bare public key, to a hash that has never been spent from, to a hash at an address that has been spent from before, or to a Taproot key. Only the second category is protected, and classifying the set requires walking it and checking each address’s spending history — a large computation and a perfectly ordinary one.
Rough characterisations circulate, usually putting the exposed share somewhere between a fifth and a third of the supply, with the early bare-key coins forming the irreducible core. The variance between estimates reflects different treatments of reuse rather than any disagreement about the mechanism.
The number matters because it is the only quantitative input to the whole risk assessment, and because it moves. Taproot adoption increases it. Migration of old coins to fresh hashed addresses decreases it. Tracking it over time would convert a debate conducted entirely in adjectives into one with a measurement, and nothing prevents anyone from doing so.
Could Bitcoin migrate in time?
Technically yes, and the difficulties are not mainly technical.
Post-quantum signature schemes exist and have been through a long public standardisation process. They fall into families with different trade-offs: lattice-based schemes are relatively compact and rest on newer assumptions; hash-based schemes rest on assumptions as old as hashing itself and produce much larger signatures.
Every candidate is larger than a 64-byte Schnorr signature, often by an order of magnitude or more. That is a direct conflict with block space, which means adopting one is simultaneously a cryptographic decision and a capacity decision, and the capacity debate is the one Bitcoin handles worst.
Deployment would be a consensus change — a new output type people move coins into voluntarily. The mechanics are well understood. The timeline is the problem: migration must be substantially complete before the capability exists, because afterwards every unmigrated exposed coin is takeable and the window for orderly movement has closed.
What can an individual do now?
Three things, all of which are good practice for unrelated reasons, which is the useful test of whether advice about a speculative threat is worth taking.
Stop reusing addresses. An address that has never been spent from exposes only a hash. Reuse converts a protected output into an exposed one permanently, and there is no way back.
Prefer hashed output types for long-term storage. This is the one place where the usual recommendation inverts. Taproot is better in almost every respect and publishes its key; a native SegWit address publishes a hash. For coins intended to sit untouched for decades, that distinction is worth more than the fee saving.
Consolidate deliberately rather than reactively. The mempool race means that moving coins is the moment of maximum exposure. If a migration is ever needed, doing it calmly and early is strictly better than doing it in a panic alongside everyone else, when fees will be high and the attacker is already capable.
What is not worth doing is anything expensive or irreversible today. The threat has no date, the migration target does not exist in deployed Bitcoin, and the cost of acting early against an undated risk is certain while the benefit is not.
What happens to the coins nobody can move?
This is the hard part, and it is a social problem wearing a technical costume.
A large quantity of bitcoin sits at addresses whose keys are lost, including the earliest coins with permanently exposed public keys. Those coins cannot be migrated, because migration requires signing, which requires the key nobody has.
When the capability arrives, they become available to whoever has it first. That is a transfer of a significant share of the supply to a single well-resourced actor, arriving suddenly.
The proposed responses are all bad. Freezing or burning provably exposed coins by consensus rule would protect the distribution and would require the network to confiscate property on the basis of an inference about whether keys are lost — which is not knowable, since a key held by a patient owner and a key in a landfill look identical. Doing nothing accepts the transfer. Setting a deadline after which unmigrated coins become unspendable is confiscation with a notice period.
No option preserves both the property rights and the distribution, and the decision would have to be made under time pressure by the same process that has not managed to patch a known difficulty bug in a decade.
What does the timeline look like?
Unknowable, and anyone offering a date is guessing.
The resource requirement is usually stated in logical qubits — error-corrected, stable qubits — and the gap between current machines and the requirement is several orders of magnitude. Progress has been real and the remaining engineering is not obviously a matter of scaling what exists.
What can be said is directional. The problem is not sudden: the capability will be visible as it develops, because building such a machine is a large public undertaking. And Bitcoin’s exposure is unusual in that there is nothing to harvest — the keys are already public, so there is no secret being collected today for decryption later. The coins are simply sitting there, waiting for a capability that does not yet exist.
What remains uncertain
When, and whether, the capability arrives. Estimates span decades and come from parties with incentives in both directions.
Whether migration can outrun it. It requires a consensus change, wallet support, and the voluntary action of millions of holders, some of whom are not paying attention and some of whom are dead.
What is decided about exposed coins. The choice between confiscation and a windfall transfer has no good answer, and the discussion has barely started.
How much Taproot adoption widens the surface. Every Taproot output publishes its key. If adoption accelerates, the exposed share grows, and nobody is tracking that as a risk metric.