BIP 361 (Post Quantum Migration)
Draft proposal to migrate Bitcoin off ECDSA/Schnorr signatures before quantum computers can break them - by sunsetting legacy signatures on a fixed timeline.
BIP-361 - "Post Quantum Migration and Legacy Signature Sunset" - is a draft proposal by Jameson Lopp, Christian Papathanasiou, Ian Smith, Joe Ross, Steve Vaile, and Pierre-Luc Dallaire-Demers, assigned its number on February 11, 2026 and merged into the BIPs repository in April 2026. It is the migration framework under discussion for Post-Quantum Bitcoin: the only categorical cryptographic threat that exists for Bitcoin's current signature schemes is a sufficiently powerful quantum computer, and BIP-361 is one proposal for how the network would respond.
The problem
ECDSA and Schnorr signatures rely on the discrete logarithm problem in elliptic-curve groups being computationally hard. A large-enough quantum computer running Shor's algorithm breaks that assumption. Any UTXO whose public key has been revealed on-chain becomes spendable by anyone with such a machine.
Public keys are revealed in three main scenarios:
- P2PK outputs (pay-to-pubkey, used in early Bitcoin): the pubkey is in the output script itself, exposed from the moment the output is created. Mostly Satoshi-era coins.
- Address reuse: any address that has already sent a transaction has revealed its pubkey in the spending tx. Receive once to a hashed address type and never spend, and the pubkey stays hidden. Spend once, and the pubkey is permanently public for that address.
- P2TR outputs (Taproot): the bech32m address is the tweaked public key itself, so every Taproot output is exposed from the moment it is created, spent or not.
The BIP says that as of March 1, 2026, over 34% of all bitcoin had revealed a public key on chain. That includes much of Satoshi's stash, dormant whale wallets, and any address that's been reused.
The two-phase migration
The proposal splits the migration into staged consensus changes:
Phase A - Stop the bleeding. Disallow sending funds to quantum-vulnerable address types. New transactions must use a quantum-resistant output type (the BIP is signature-scheme agnostic and assumes a separate proposal lands a PQ output type). Holders can still spend from vulnerable addresses, but only to safe ones. The draft puts Phase A 160,000 blocks (about three years) after BIP-361 activates.
Phase B - Sunset legacy signatures. Two years after Phase A, about five years after BIP-361 itself activates, ECDSA and Schnorr spends are restricted. Funds in vulnerable addresses can only be moved via a quantum-safe rescue protocol - one that proves something the real owner knows and a quantum attacker holding only the public key does not. The BIP's example is BIP-32 hardened derivation: prove knowledge of the parent extended private key above a hardened step, which a quantum attacker who only recovered the on-chain key would still not have.
The five-year runway exists because, in the authors' framing, "coordinating wallets, exchanges, miners and custodians historically takes years."
What this is and isn't
Is: a draft BIP. Would deploy as a soft fork if it advances. Currently in the open-discussion phase.
Isn't: activated, scheduled, or consensus. The community has not agreed on which quantum-resistant signature scheme to use. Candidates include lattice-based (ML-DSA, standardized by NIST in August 2024 as FIPS 204) and hash-based (SLH-DSA, FIPS 205) schemes, each with different trade-offs in signature size, verification cost, and assumed security; BIP-360 dropped the isogeny-based SQIsign from consideration in January 2025 over performance.
The BIP's authors cite estimates of a cryptographically-relevant quantum computer (CRQC) "as early as 2027-2030", sourced to McKinsey's 2025 Quantum Technology Monitor; the quantum chapter linked below goes through the timelines in more depth. The BIP exists to start the multi-year coordination process before the threat is acute, not after.
The Satoshi question
The two-phase mechanism implicitly addresses what to do about dormant pre-quantum coins. Under Phase B, a P2PK output (including Satoshi's known holdings) can no longer be spent with a plain ECDSA signature. The BIP's authors say no rescue protocol is currently believed possible for P2PK, because no knowledge asymmetry between the owner and a quantum attacker is known; they instead support a separate "Hourglass" proposal for P2PK spends, provided it activates before Phase B. Without one, those coins would be locked for good.
The BIP lists this as a benefit rather than a side effect ("supply discipline": abandoned keys that never migrate stay unspendable), and it is an unavoidable consequence: the same rule that protects vulnerable holders from quantum theft also strands the original holdings of anyone whose keys are unavailable. Whether the network views that as a feature or a bug is part of why this is still a draft.
See the Quantum and Bitcoin rabbit hole for the measured exposure this framework would migrate - and why mass migration in a panic would be the worst response.
Spec: BIP-361.
Key takeaways
- Two-phase migration: first stop receiving to vulnerable addresses, then restrict spending from them
- Estimates over 34% of all BTC has revealed a public key on-chain and is quantum-vulnerable
- Draft - not consensus - but the 2027-2030 estimate its authors cite for a cryptographically relevant quantum computer is forcing the conversation
Related chapters
On the mailing list
BIP 361 came up in 4 threads on bitcoin-dev between April 2026 and November 2026. Read them in the archive.
The topic timeline: Quantum computing (73 threads).
Corrected
-
Was: The entry put Phase B 'five years after Phase A activates', said P2PK coins such as Satoshi's could only move 'via the rescue protocol' and reasoned from BIP-32 seeds, said stranding them was 'not the BIP's stated goal', and presented a 2027 to early-2030s arrival for a cryptographically relevant quantum computer as the estimate.
Now: The draft puts Phase A about three years (160,000 blocks) after BIP-361 activates and Phase B two years after that, about five years in all. Its authors say no rescue protocol is believed possible for P2PK and point to a separate Hourglass proposal instead, list abandoned coins staying unspendable as a benefit ('supply discipline'), and cite 2027 to 2030 as an 'as early as' estimate sourced to McKinsey. The entry now says all of this and adds Taproot outputs as the third way a public key ends up on chain. Details
Sources (6)
- BIP-361 - Post Quantum Migration and Legacy Signature Sunset (draft, assigned February 11, 2026)
- BIP-360 - Pay-to-Merkle-Root (P2MR): Shor's algorithm and the discrete logarithm problem; SQIsign removed from consideration in January 2025
- BIP-32 - Hierarchical Deterministic Wallets: hardened child keys cannot be derived from a parent extended public key
- NIST - FIPS 204, Module-Lattice-Based Digital Signature Standard (August 13, 2024)
- NIST - FIPS 205, Stateless Hash-Based Digital Signature Standard (August 13, 2024)
- Bitcoin Optech - Newsletter #402: BIPs #1895 publishes BIP361 (April 24, 2026)
Related terms (16)
- BIP (Bitcoin Improvement Proposal)
- BIP 32 (HD Wallets)
- ECDSA (Elliptic Curve Digital Signature Algorithm)
- Schnorr Signature
- Public Key
- P2PK (Pay to Public Key)
- P2PKH (Pay to Public Key Hash)
- Address Reuse
- Soft Fork
- Satoshi Nakamoto
- Post-Quantum Bitcoin
- Shor's Algorithm
- Grover's Algorithm
- CRQC (Cryptographically-Relevant Quantum Computer)
- ML-DSA / Dilithium (FIPS 204)
- SLH-DSA / SPHINCS+ (FIPS 205)
Published . Revised . One correction logged for this page.
Edit this page on GitHub