Taproot
Also called: Taproot upgrade, P2TR, SegWit v1, BIP 341, BIP341, bc1p.
Taproot is the 2021 Bitcoin soft fork (BIPs 340, 341, 342) that added Schnorr signatures and P2TR outputs which hide unused spending conditions.
Taproot is the soft fork that added SegWit version 1 outputs, Schnorr signatures and a new script system. It is defined by BIP 340, BIP 341 and BIP 342, written by Pieter Wuille, Jonas Nick, Anthony Towns and Tim Ruffing, and activated at block 709,632 on 14 November 2021 after Speedy Trial signaling.
How Taproot works
A Taproot (P2TR) output contains a single 32-byte public key Q: an internal key P, tweaked with the root of an optional tree of scripts. The output can be spent in two ways:
- Key path: one 64-byte Schnorr signature for Q. Nothing about any scripts is revealed.
- Script path: reveal one script, its inputs and a control block (33 + 32m bytes, up to 128 levels deep) proving the script is a leaf of the committed tree. Only that branch is published (MAST).
Scripts in the tree use Tapscript (BIP 342). With MuSig2 (BIP 327), several signers can share one key, so a multisig spent cooperatively looks like any single-signature payment.
Why Taproot matters
- Privacy: most spends look alike, whatever other conditions the output allowed.
- Efficiency: a key path spend is smaller than an equivalent multisig script.
- Upgradability: leaf versions, OP_SUCCESS opcodes and the annex leave room for future soft forks.
Taproot addresses use bech32m (BIP 350) and start with bc1p; single-key wallets derive them at m/86'/0'/0' (BIP 86). Read the full Taproot guide or compare it with SegWit in BIP 141 vs BIP 341.