BIP-360 Explained: P2MR, Quantum Risk & Bitcoin Upgrade Path

Last updated This date marks a full audit, not a minor edit. Our editing team reviews every claim, figure, and platform detail in line with our editorial guidelines before republishing.
Editorially VerifiedEditorial fact-check process

This article has been reviewed and verified for accuracy by our editorial team. All claims, data points and platform details are cross-referenced against primary sources.

Fact checked by Danail Velchovski

  • Data accuracy verified
  • Sources cross-referenced
  • Platform details confirmed
View our fact-checking process
Affiliate DisclosureHow Datawallet is funded

Some links on this page are affiliate links. Datawallet may earn a commission when you sign up through them, at no extra cost to you. Ratings and rankings reflect our own testing and assessment criteria.

Read our full disclosure

Summary: BIP-360 is a draft Bitcoin soft fork introducing Pay-to-Merkle-Root (P2MR), a bc1z output type that strips out Taproot's quantum-exposed key path. As of November 2026 it sits at version 0.12.1, with no activation method, parameters, or date attached.

The backdrop keeps intensifying: Glassnode counts 7.12 million BTC behind visible public keys, published hardware estimates for breaking secp256k1 have dropped below 30,000 physical qubits, and developers still disagree on which output design and migration plan should come next.

On this page

10 sections

Quantum computing has moved from a distant thought experiment to a standing agenda item for Bitcoin developers. Each new resource estimate shortens the assumed runway, while the network's own upgrade process remains deliberately slow.

BIP-360 is the proposal at the center of that tension. It does not make Bitcoin quantum-proof, yet it defines the first concrete building block that later post-quantum signatures, migration rules, and wallet upgrades could attach to.

Explore the full breakdown below. 👇

Primer on Bitcoin's Quantum Computing Threats

Bitcoin ownership rests on secp256k1 signatures, which prove control of a private key without disclosing it. A sufficiently large quantum computer running Shor's algorithm could invert that relationship and compute the private key from any public key visible on-chain. Hashed addresses stay shielded until their first spend, whereas already exposed keys do not.

Satoshi Nakamoto addressed this scenario in 2010, reasoning that a gradual weakening of cryptography would leave time to agree on a replacement algorithm. Developers now separate two windows: long-exposure attacks on keys that sit on-chain for years, and short-exposure attacks on keys revealed only briefly while a transaction waits in the mempool.

Resource estimates fell sharply during 2026. Google Quantum AI placed a secp256k1 break under 500,000 physical qubits in March, IonQ modeled 19,397 trapped-ion qubits running for 25.7 days in September, and Alice & Bob calculated 29,588 cat qubits and 61.8 minutes in October. No machine near that scale exists today.

Institutions are setting dates regardless. Google targets 2029 for its internal post-quantum migration, and NIST's transition plan deprecates quantum-vulnerable signature algorithms after 2030 before disallowing them after 2035. Bitcoin has no comparable deadline, which is precisely the gap that BIP-360 and its companion proposals are trying to close.

Falling 2026 estimates of physical qubits needed to break Bitcoin's secp256k1, from Google's under 500,000 to IonQ's 19,397 and Alice & Bob's 29,588, beside long and short exposure windows and NIST deadlines of 2030 and 2035

What is BIP-360 (Bitcoin Improvement Proposal 360)?

BIP-360 is a draft consensus proposal that would add Pay-to-Merkle-Root (P2MR) to Bitcoin through a soft fork. A P2MR output commits only to the Merkle root of a script tree, dropping the internal key and key-path spend that leave every Taproot output's public key permanently readable on-chain.

Hunter Beast, Ethan Heilman, and Isabel Foxen Duke are the listed authors. The idea began in September 2024 as Pay-to-Quantum-Resistant-Hash, received its BIP number that December, was rewritten as P2TSH in September 2025, and took its current P2MR name on February 10, 2026, one day before merging into the official BIPs repository.

The scope is intentionally narrow. BIP-360 specifies an output type, not a signature scheme, so post-quantum opcodes for algorithms such as ML-DSA or SLH-DSA are left to a separate future BIP. Version 0.12.1, dated July 24, 2026, added a Python reference implementation and refreshed test vectors while the status stayed at Draft.

BIP-360 name history from P2QRH in September 2024 to Pay-to-Merkle-Root in February 2026 and version 0.12.1 in July 2026, with the live bip360.org page and the split between the output type and future post-quantum signatures

BIP-360 Components

BIP-360 reuses most of Taproot's script machinery and changes only what an output commits to and how it can be spent. That restraint keeps the consensus change small while leaving room for post-quantum signature opcodes later.

The building blocks that define a P2MR output are:

  • P2MR: Pay-to-Merkle-Root is a new output type modeled on Taproot script trees, designed so that no public key appears on-chain until the owner actually spends the coins.
  • Merkle Root: The witness program is the 32-byte root of the script tree itself, with no internal key and no tweak step, which simplifies later swaps between signature algorithms.
  • No Keypath: Taproot's key-path spend is removed entirely, eliminating the always-visible output key that makes long-held Taproot balances a standing target for a future quantum attacker.
  • SegWit V2: P2MR uses witness version 2 with Bech32m encoding, so mainnet addresses would begin with bc1z, a prefix that wallets and exchanges must explicitly add support for.
  • Script Path: Every spend reveals one leaf script plus a control block proving that the leaf belongs to the committed tree, mirroring how Taproot script-path spends already work today.
  • Tapscript: Existing tapscript programs carry over unchanged because the proposal builds directly on BIPs 340, 341, and 342, limiting how much new logic nodes would need to validate.
  • Fallback Leaf: Since version 0.12.0, single-leaf trees are deliberately unsafe, a rule meant to stop wallets from omitting a post-quantum fallback leaf merely to save witness bytes.
  • Tradeoff: Losing the key path means giving up Taproot's cheapest and most private spend, so routine single-signature payments become somewhat larger and reveal that a script was used.
  • Limits: P2MR alone offers no defense against short-exposure attacks during the confirmation window, which is why the specification assumes post-quantum signatures arrive through a later soft fork.
Taproot P2TR compared with BIP-360 P2MR, where P2MR commits only to a 32-byte Merkle root with no key path, adds a post-quantum fallback leaf and uses SegWit v2 bc1z addresses

How Much Bitcoin Is Exposed to Quantum Attacks?

On-chain data gives the debate a measurable scale. Glassnode reported on November 10, 2026 that 7.12 million BTC, or 35.4% of issued supply, sits behind already visible public keys, up from 6.04 million BTC in its May study.

Where the Exposure Comes From

Glassnode's methodology splits exposure into two buckets. Structural exposure covers outputs that publish a key by design, such as early Pay-to-Public-Key coins and Taproot. Operational exposure covers coins that started behind a hash but lost that cover through address reuse, partial spends, or custody practices.

Behavior dominates the total. Address reuse accounted for 25.8% of supply in the November reading, including 11.6% held on exchanges. An October breakdown put structural exposure near 1.94 million BTC, with 1.71 million in P2PK outputs, roughly 1.10 million of those linked to Satoshi Nakamoto, and 222,000 in Taproot.

These figures frame what BIP-360 can and cannot change. P2MR would give Taproot users a destination that hides keys at rest, yet it cannot rescue dormant P2PK coins or undo reuse on exchange deposit addresses. Exposed keys are also not compromised keys; they are simply the first targets if capable hardware arrives.

Glassnode count of 7.12 million BTC or 35.4% of supply behind visible public keys, split into address reuse and structural exposure of about 1.94 million BTC including 1.71 million in P2PK and 222,000 in Taproot

How Holders Can Reduce Exposure Today

Most operational exposure can shrink without any consensus change. Glassnode notes that moving reused coins to a fresh address ends that exposure, which makes basic wallet hygiene the cheapest quantum precaution available today.

Practical steps that lower long-exposure risk before any upgrade include:

  1. Fresh Addresses: Generate a new receiving address for every payment, because a key only becomes visible after the first spend and stays public for any funds that arrive afterward.
  2. Full Sweeps: When spending from an address, move the entire balance in one transaction so that no remainder is left sitting behind a public key the network has seen.
  3. Hashed Formats: Long-term cold storage in hashed output types such as bc1q keeps the key hidden until spending, whereas Taproot bc1p outputs publish a key from the moment of funding.
  4. Wallet Updates: Keep hardware wallet firmware and companion apps current, since support for any future bc1z or post-quantum address types will arrive through ordinary software releases.
  5. Custodian Checks: Ask exchanges and custodians how they rotate reserve addresses, because Glassnode's data shows that visible-key exposure differs enormously from one trading platform to the next.
  6. Scam Awareness: No bc1z address works on mainnet yet, so any service offering an urgent quantum-safe migration in exchange for a seed phrase should be treated as fraud.
Bitcoin address lifecycles showing how a partial spend leaves change behind a revealed key while a full sweep leaves nothing exposed, with six steps from fresh addresses to scam awareness

Will BIP-360 Be Implemented?

BIP-360 remains a Draft, and the document itself specifies no activation method, parameters, or timeline. Bitcoin has no formal vote on BIPs either; a consensus change needs reviewed code, broad agreement among node operators, miners, and wallets, and a deployment mechanism that the specification has not yet proposed.

Running code exists mainly outside Bitcoin Core. BTQ Technologies activated P2MR on its separate Bitcoin Quantum testnet in March 2026, and independent developers have checked prototypes against the official test vectors. Inside Core, the earliest implementation attempt was closed without merging, and no successor has been accepted.

The design itself is still contested. In an August 2026 Delving Bitcoin thread, Pieter Wuille compared P2MR with P2TRv2 and other candidates, later favoring P2TRv2 as the default for casual users and P2MR for sophisticated users who want elliptic-curve points hidden. Nobody in that discussion has proposed an activation date.

For now, the signals worth tracking are practical ones: a companion signature BIP, a Core pull request that survives review, signet deployment, and wallet commitments to bc1z. Until several of those appear together, BIP-360 is best read as a mature specification awaiting a decision, not a scheduled upgrade.

BIP-360 readiness tracker with the spec merged, test vectors and BTQ's testnet done, Bitcoin Core PR #33163 closed, and a signature BIP, signet, bc1z wallets and activation date still missing

BIP-360 Timeline: Key Developments in 2026

The proposal changed more in 2026 than in its first sixteen months, and the surrounding research moved even faster. Reading the year in sequence shows how specification work, testing, and outside pressure have interacted.

Milestones that shaped the BIP-360 conversation this year were:

  1. February: The draft was renamed from P2TSH to Pay-to-Merkle-Root on February 10 and merged into the official BIPs repository the following day, giving the proposal canonical status.
  2. March: BTQ's Bitcoin Quantum testnet shipped the first working P2MR implementation, and Google Quantum AI published its estimate of fewer than 500,000 physical qubits for breaking secp256k1.
  3. April: Jameson Lopp and five co-authors published BIP-361, a companion draft that would sunset legacy signatures in phases and eventually freeze coins that never migrate.
  4. June: Version 0.12.0 made depth-zero script trees spendable by anyone who reveals the lone leaf, intentionally discouraging single-path outputs that skip a fallback spending condition.
  5. July: Version 0.12.1 added a Python example implementation for constructing outputs and control blocks, and moved the earlier Rust and JavaScript examples into an external repository.
  6. August: Pieter Wuille opened a consolidated output-type comparison on Delving Bitcoin, while a regtest prototype measured P2MR at roughly 96 lines of consensus changes over Taproot.
  7. September: A first SHRINCS draft BIP described hash-based signatures with 48-byte public keys, 548-byte stateful signatures, and a 5,777-byte stateless fallback for devices that lose state.
  8. October: Alice & Bob's cat-qubit study estimated 29,588 physical qubits and 61.8 minutes for a secp256k1 break, roughly seventeen times less hardware than Google's March upper bound.
  9. November: Glassnode's exposed-supply reading reached 35.4%, and James Tagg posted QSAVE, a set of five draft BIPs that includes a zk-STARK spend leaf designed for P2MR outputs.
BIP-360 2026 timeline from the February rename to Pay-to-Merkle-Root through BTQ's testnet, BIP-361, versions 0.12.0 and 0.12.1, SHRINCS, Alice & Bob's 29,588 qubits and November's 35.4% exposed supply

Criticism and Concerns

Objections to BIP-360 rarely dispute that quantum risk deserves preparation. They focus on timing, on whether P2MR is the right first output type, and on the heavier proposals that tend to travel alongside it.

The most frequently raised concerns fall into these groups:

  • Too Early: Blockstream's Adam Back has argued that current quantum machines remain laboratory experiments, supporting optional quantum-resistant features now while rejecting any urgency that would justify forcing users to move.
  • Incomplete Fix: The specification concedes that P2MR does nothing against short-exposure attacks, so critics see limited value in deploying an output type before agreeing on the signatures it will carry.
  • Design Rivalry: Pieter Wuille's preference for P2TRv2 as the everyday default suggests P2MR could end up a specialist option, weakening the case for prioritizing it as Bitcoin's first step.
  • Fee Burden: Antoine Riard estimated that 5,777-byte stateless hash-based signatures would cost about ninety times a typical transaction on-chain unless Bitcoin introduces a discount for that witness data.
  • Migration Load: Cysic's Leo Fan told CoinDesk that "the clock that matters is migration," pointing to exchanges, custodians, and bridges that must all re-engineer signing systems.
  • Freeze Fears: Because BIP-361 depends on a post-quantum output type, some opponents treat BIP-360 as groundwork for confiscatory rules, and Decrypt noted that a contested upgrade could fracture the network.
  • Market Skepticism: Jefferies strategist Christopher Wood removed Bitcoin from a model portfolio in January over quantum concerns, showing how unresolved engineering debates can spill into institutional allocation decisions.
  • AI Wildcard: Late-November rumors of AI-assisted mathematical shortcuts, covered in CoinMarketCap's weekly brief, prompted some developers to ask whether planning around quantum hardware alone is too narrow a threat model.
BIP-360 criticism grouped into timing, design, ecosystem and outside pressure, from Adam Back's too-early view and roughly 90x fees for 5,777-byte signatures to BIP-361 freeze fears and Jefferies removing Bitcoin

How BIP-360 Could Affect BTC Price

Earlier soft forks offer no consistent pattern. BTC slipped about 5.3% in the week after the CSV soft fork activated in July 2016, gained roughly 8.5% in the week following SegWit's August 2017 lock-in, and fell from near $65,467 toward $58,707 after Taproot went live in November 2021.

Quantum headlines in 2026 have behaved similarly. According to 24/7 Wall St., November's selling came through spot Bitcoin funds, which posted a $201 million net outflow on November 9, and not from holders of exposed wallets. Flows on the Bitcoin ETF tracker remain the more direct price driver.

Sentiment is a different matter. With BTC testing the $60,000 to $62,000 range in late November, a CNBC report listed quantum concerns among the factors lifting retail fear, a mood also visible in the Crypto Fear and Greed Index. Narratives like this tend to amplify drawdowns that macro forces start.

A credible activation path for BIP-360 could therefore matter mainly by shrinking a tail risk that some allocators already price in. A messy fight over freezing coins would likely do the opposite. Either way, any reaction would follow interpretation, since a draft with no deployment date changes nothing on-chain.

BTC price moves after earlier soft forks, with CSV down 5.3%, SegWit up 8.5% and Taproot down about 10.3%, beside a $201 million spot Bitcoin ETF outflow and two BIP-360 activation scenarios

BIP-360 Alternatives

BIP-360 competes and combines with several other ideas. Some keep Taproot and add an escape hatch, some go straight to new signature schemes, and others concentrate on rescuing coins whose owners never migrate before a deadline.

1. P2TRv2 and Taproot Fallback Designs

The main rival keeps Taproot's key path instead of deleting it. P2TRv2 would let wallets continue making cheap, private key-path spends today, with a hash-based post-quantum opcode in the script tree and a tripwire or miner-activated lockdown that disables elliptic-curve spending once a quantum threat becomes credible.

Supporters argue this maximizes early adoption because fees and privacy stay unchanged. The cost is that keys remain visible at rest, so safety depends on the lockdown triggering in time. Wuille's September position was to offer both: P2TRv2 for most users and a P2MR-style type for those wanting hidden keys.

P2TRv2 and P2MR compared with mini script trees, where P2TRv2 keeps a cheap key path plus a post-quantum leaf and lockdown tripwire while P2MR removes the key path to hide keys at rest

2. Hash-Based Signature Upgrades

A second track develops the signatures any new output type would eventually verify. Hash-based schemes attract the most attention because their security rests only on hash functions, which Bitcoin already depends on for mining and addresses.

The signature efforts most relevant to P2MR right now are:

  • SHRINCS: A semi-stateful scheme whose draft BIP lists 48-byte public keys and 548-byte signatures in normal use, falling back to 5,777-byte stateless signatures if a device loses its counter.
  • Libshrincs: Jonas Nick and remix7531 released a C library with machine-checked proofs for part of the scheme, giving wallet and node implementers a verified starting point.
  • SLH-DSA: The NIST-standardized stateless hash-based algorithm stays in contention, with 2026 research arguing its verification can compete with elliptic curves and benchmarking STARK-based aggregation of many signatures.
  • ML-DSA: Lattice-based Dilithium signatures are smaller than stateless hash-based ones and already run in BTQ's testnet opcodes, though they introduce newer mathematical assumptions than hashes do.
  • Aggregation: Researchers are exploring block-wide SNARK proofs that compress many hash-based signatures together, an approach that could keep post-quantum spends competitive on fees if it matures.
  • Witness Styles: Wuille proposed committing extra post-quantum witness data under the existing wtxid, allowing separate pricing for large signatures without forcing nodes to track a third transaction identifier.
SHRINCS hash-based signature sizes of a 48-byte public key, 548-byte signature and 5,777-byte stateless fallback, beside Libshrincs, SLH-DSA, ML-DSA, SNARK aggregation and witness styles

3. Migration and Recovery Schemes

A third family asks what should happen to coins that never move. These proposals range from hard deadlines to cryptographic rescue paths, and several are written to sit on top of whichever output type Bitcoin ultimately adopts, which makes them complements to P2MR as much as competitors.

BIP-361 is the most forceful, setting deadlines after which legacy signatures stop working, and it is covered in its own section below.

Softer options exist. QSAVE routes unmigrated coins into recovery outputs instead of burning them, DropKick sketches a commit-and-reveal rescue using aggregated commitments, and Anchorage Digital's Quantum Turnstile relies on zero-knowledge proofs of knowledge. None has consensus, and early P2PK coins remain the hardest case for every design.

Migration and recovery proposals on a spectrum from hard deadline to cryptographic rescue, with BIP-361 sunsetting legacy signatures, James Tagg's QSAVE recovery outputs, DropKick commit-and-reveal and Anchorage Digital's Quantum Turnstile zero-knowledge proofs

4. BIP-361 Legacy Signature Sunset

BIP-361, titled "Post Quantum Migration and Legacy Signature Sunset," is the companion draft Jameson Lopp wrote with Christian Papathanasiou, Ian Smith, Joe Ross, Steve Vaile, and Pierre-Luc Dallaire-Demers. It assumes Bitcoin has already adopted a post-quantum output type such as P2MR, plus a post-quantum signature BIP, and then sets a pre-announced deadline for leaving ECDSA and Schnorr behind.

The authors frame quantum security as a private incentive: holders who migrate keep full use of their coins, while those who wait face tighter rules. Their argument is that coins taken by a quantum attacker would dilute every other holder, and the draft notes that more than 34% of all bitcoin had revealed a public key on-chain by March 1, 2026.

The draft's phases and safeguards work as follows:

  • Phase A: About 160,000 blocks, or roughly three years, after activation, nodes would reject transactions that send funds to quantum-vulnerable addresses, so legacy coins could only move into post-quantum outputs.
  • Phase B: Two years after Phase A, at a well-publicized flag day about five years after activation, ordinary ECDSA and Schnorr spends would stop being valid, and legacy coins could only move through a quantum-safe rescue protocol.
  • Rescue Protocol: Recovery would rely on knowledge a quantum attacker lacks, such as proof of a parent extended private key in a BIP-32 wallet with hardened derivation, checked through ZK-STARK or commit-and-reveal designs.
  • P2PK Gap: The authors do not believe a rescue path is possible for early P2PK coins, since no such knowledge gap exists, and they back a separate Hourglass-style BIP that would need to activate before Phase B.
  • Wallet Upgrades: Non-upgraded wallets could keep sending and receiving until Phase A, then only send to upgraded wallets, and after Phase B both sides of every transaction would need upgraded software.

BIP-361 remains a draft with no activation date, and its freeze mechanics drive most of the confiscation fears raised against BIP-360. Supporters see a firm deadline as the only way to get migration done at scale, while critics such as Adam Back prefer optional upgrades with no forced cutoff.

BIP-361 phases showing what still works at activation, at Phase A 160,000 blocks later when sends to legacy addresses are rejected, and at Phase B two years after that when legacy signatures need a rescue proof based on hardened BIP-32 derivation, with no rescue for P2PK

Final Thoughts

BIP-360 has matured into a stable, well-tested specification without getting any closer to activation. The year's edits were mostly small refinements, while the larger arguments shifted to what should accompany P2MR: which signatures, which rival output types, and whether unmigrated coins should ever be restricted.

That sequencing is reasonable for a network securing more than a trillion dollars, but it carries a cost. Hardware estimates have fallen by an order of magnitude within months, exposed supply is rising, and standards bodies elsewhere are attaching calendar dates to their own migrations.

For holders, the practical takeaway is modest and immediate: reduce address reuse, follow wallet support for new formats, and watch for a signature BIP and a reviewed Core implementation. Those milestones, more than any headline about qubits, will indicate when Bitcoin's quantum plan becomes real.

Datawallet Crypto Newsletter

Get the market brief 100,000+ investors read

3+ issues a week Data-driven & independent Free forever

No spam · Unsubscribe anytime

We use cookies to run the site, measure traffic and support marketing. Privacy Policy

Portfolio tracker

Welcome back

Sign in to see your portfolio.

At least 8 characters.

By creating an account you agree to our terms and privacy policy.