Security

Bitcoin Taproot and Quantum Safety: Schnorr Signatures Are Not More Quantum-Resistant

Taproot upgraded Bitcoin's script flexibility and privacy. It did not improve quantum resistance. Schnorr signatures use the same elliptic curves that Shor's algorithm breaks.

Dr. Sarah ChenDr. Sarah Chen
June 26, 2026
8 min read
Share

The Taproot Quantum Misconception

When Bitcoin activated Taproot in November 2021 at block 709,632, some commentators suggested it improved Bitcoin's quantum resistance. This claim is incorrect, and understanding why matters for anyone assessing their actual exposure.

Taproot introduced Schnorr signatures (BIP-340), a new output type (P2TR, BIP-341), and Merkelized Alternative Script Trees or MAST (BIP-342). These changes improved privacy, reduced transaction sizes for complex scripts, and added new scripting capabilities. They did not change the underlying mathematical problem securing Bitcoin's private keys, and they did not reduce the effectiveness of Shor's algorithm against Bitcoin's cryptography.

Why Schnorr Signatures Are Not More Quantum-Resistant Than ECDSA

Both ECDSA (the signature algorithm Bitcoin used before Taproot) and Schnorr signatures (introduced with BIP-340) rely on the elliptic curve discrete logarithm problem over the secp256k1 curve. The security assumption is identical: given a point on the curve Q = k * G (where G is the generator point and k is the private key), it should be computationally infeasible to derive k from Q.

Shor's algorithm solves the discrete logarithm problem on any group, including elliptic curve groups. It does not matter whether the signature scheme using that group is ECDSA or Schnorr. A quantum computer running Shor's algorithm against a secp256k1 public key derives the private key with equal effectiveness regardless of which signature scheme the owner uses.

The distinction between ECDSA and Schnorr from a quantum perspective is zero. Both are broken by the same algorithm at the same qubit threshold.

Key Path vs Script Path Spends in Taproot

Taproot outputs commit to a tweaked public key: Q = P + hash(P || script_root) * G, where P is the internal public key and script_root is the Merkle root of the script tree (or a default value if there is no script). This tweaked key Q appears directly in the P2TR output.

There are two ways to spend a P2TR output. Key path spending uses a Schnorr signature against Q directly. Script path spending reveals the internal key P and the specific script branch being executed, along with a Merkle proof.

For key path spends: the public key Q is in the output itself, visible on-chain from the moment the output is created. This is structurally identical to P2PK. The full public key is on-chain, and a quantum attacker can work on it immediately without waiting for a spend. Key path P2TR outputs are quantum-exposed from creation.

This is a regression compared to P2WPKH for quantum purposes. A P2WPKH output hides the public key behind a hash until the owner spends. A P2TR output (key path) exposes the tweaked public key Q in the output itself. Any BTC sent to a standard Taproot address is in P2PK-equivalent quantum exposure territory from the moment the transaction confirms. This includes Ordinals inscriptions, which all major wallets store in P2TR outputs by default.

For script path spends: the spending transaction reveals only the specific script branch used, not all branches in the tree. The internal key P and the partial Merkle proof are visible, but branches not taken remain hidden. From a quantum exposure perspective, the internal key P becomes on-chain when the script path is executed, creating a standard mempool-window attack surface.

What Taproot Actually Improved

Taproot's improvements are real and significant, just not quantum-related. Schnorr signatures are approximately 11% smaller than ECDSA signatures in Bitcoin transactions. They enable signature aggregation through protocols like MuSig2, reducing the on-chain footprint of multisig transactions to a single-signature size. They eliminate the ECDSA malleability issues that complicated Layer 2 protocol design.

MAST enables complex multi-condition scripts where only the executed branch is revealed on-chain. This improves privacy (unused script conditions are not disclosed) and reduces transaction fees for complex contracts. These are meaningful improvements for the functionality and efficiency of the Bitcoin network.

None of these improvements change the fact that secp256k1 is vulnerable to Shor's algorithm. The cryptographic problem being solved is the same as it was before Taproot. Schnorr signatures over secp256k1 are not post-quantum. They are not even closer to post-quantum than ECDSA over secp256k1.

Taproot's MAST as a Post-Quantum Migration Tool

There is one genuine way that Taproot could be useful in a post-quantum migration context, though it requires significant additional work. MAST's ability to hide unused script branches means that a post-quantum signature verification routine could be embedded in a script path while the key path continues to use the existing elliptic curve key.

In practice, a migration script could be structured as: key path = current secp256k1 key (for spending before quantum threat is imminent), script path = a new post-quantum signature verification using ML-DSA or SLH-DSA keys (for spending after the quantum threshold is reached or after a policy migration deadline).

BIP-360's P2QRH proposal takes a different approach, defining a new output type entirely rather than layering on top of P2TR. The P2QRH approach is cleaner but requires a new output type to be recognized by the network. The MAST approach could theoretically work within existing Taproot infrastructure but would require careful specification and testing.

This is speculative: no finalized BIP proposes this specific migration path using Taproot's script path mechanism. It is worth watching as a potential tool, but it is not an implemented solution.

The x-only Public Key Format in BIP-340

BIP-340 Schnorr for Bitcoin uses x-only public keys: instead of the full 33-byte compressed public key (a prefix byte plus the 32-byte x-coordinate), BIP-340 uses just the 32-byte x-coordinate. The y-coordinate is recovered implicitly by assuming the even value.

This is a space optimization, not a security improvement. An attacker running Shor's algorithm against secp256k1 can work with the x-only representation as readily as with the full compressed key. The x-only format does not reduce the information available to an attacker. It reduces transaction sizes slightly, which is its actual purpose.

Some descriptions of BIP-340 mention this change in ways that imply modified security properties. It does not change the quantum vulnerability. The underlying mathematical problem remains the secp256k1 discrete logarithm, and it remains equally solvable by a sufficiently capable quantum computer.

What Would Actually Improve Quantum Resistance?

Post-quantum security for Bitcoin requires replacing secp256k1 with a signature scheme not based on elliptic curves or integer factorization. NIST completed its post-quantum cryptography standardization process in 2024, producing three standards: ML-DSA (lattice-based), SLH-DSA (hash-based), and ML-KEM (key encapsulation, not directly applicable to Bitcoin signatures).

BIP-360 proposes P2QRH outputs using ML-DSA (CRYSTALS-Dilithium), with SLH-DSA (SPHINCS+) as a backup option. ML-DSA signatures are approximately 2,420 bytes, compared to 64 bytes for Schnorr. This size increase has real cost implications for transaction fees and block space usage.

The path from Taproot to post-quantum Bitcoin runs through BIP-360 and the consensus process, not through any capability that Taproot itself provides. Taproot is a good upgrade to Bitcoin's scripting system. Treating it as a quantum mitigation is a category error.

For Bitcoin holders assessing their actual quantum exposure: P2TR key path outputs expose the public key on-chain immediately, similar to legacy P2PK. If quantum resistance is your priority right now, a P2WPKH address that has never been spent from provides better protection than a Taproot key-path address, because P2WPKH hides the key behind a hash until you spend. The full comparison of Bitcoin output types and quantum risk covers the tradeoffs across all current address formats in detail.

Dr. Sarah Chen

Dr. Sarah Chen

Head of Cryptography Research

Dr. Sarah Chen leads cryptographic research at QuanChain, specialising in post-quantum algorithm integration and quantum threat timeline analysis. She holds a PhD in cryptography and has published extensively on lattice-based cryptographic systems and their application to distributed ledger security.

Related Articles