BIP 371, Taproot Fields for PSBT, defines the records needed to coordinate Taproot signing in a partially signed Bitcoin transaction (PSBT). Authored by Ava Chow in 2021, it extends both PSBT version 0 and PSBT version 2. It does not introduce a third PSBT format version, activate Taproot or change Bitcoin's consensus rules. The maintained document is labelled Deployed as of November 2026. Maintained BIP 371 — primary specification
There are three different histories here: development of the interchange format, implementation in signers and wallets, and subsequent corrections to the specification's examples and finalization instructions. They have separate dates and should stay separate. Original proposal · Bitcoin Core implementation · September 2026 specification diff
What Taproot adds to a PSBT
Taproot allows a Bitcoin output to be spent using a Schnorr signature for the tweaked output key, or by revealing a committed script leaf and control block. The earlier PSBT fields could not represent all the necessary Taproot key, signature and script information. BIP 371 therefore defines six new per-input field types for spending existing outputs and three per-output types for describing outputs being created. BIP 341 — Taproot spending paths · Field tables and motivation
The relevant data is exchanged off-chain in a PSBT. For a script-path spend, a PSBT may disclose script leaves to a participant before broadcast; on-chain Taproot validation reveals the actually executed leaf and its Merkle proof. A key-path spend does not automatically reveal the script tree. Providing material to a signer and revealing it publicly are different events. BIP 341 · BIP 371
The nine field types
The per-input types are:
PSBT_IN_TAP_KEY_SIG(0x13)- One key-path signature of **64 or 65 bytes**. The output key is already implicit in the Taproot output, so the PSBT field needs no additional public-key identifier. The 65-byte transaction-signature form includes a sighash-type byte under BIP 341. This is not an assertion that BIP 340 by itself defines 65-byte Schnorr signatures. Key-spend signature field · BIP 341 sighash rules
PSBT_IN_TAP_SCRIPT_SIG(0x14)- A script-path signature associated with a **32-byte X-only public key** and **32-byte leaf hash**. The pair identifies which key is signing which script leaf. Script-spend signature field
PSBT_IN_TAP_LEAF_SCRIPT(0x15)- A control block in the PSBT key, plus the script and leaf-version byte in the value. It provides a path through the committed Taproot tree for a signer expected to be able to use that leaf. Leaf-script field
PSBT_IN_TAP_BIP32_DERIVATION(0x16)- A 32-byte X-only public key, a count and list of leaf hashes, a four-byte master fingerprint and BIP 32 derivation-path indexes. A zero leaf-hash count can indicate an internal/key-path key rather than a key used in specific script leaves. This derivation record is not written into the Bitcoin output itself. Input derivation field
PSBT_IN_TAP_INTERNAL_KEY(0x17)- The 32-byte X-only internal key. The key committed to by the Taproot output is tweaked, so it need not equal this internal key. Internal-key rationale
PSBT_IN_TAP_MERKLE_ROOT(0x18)- The 32-byte Taproot script-tree Merkle root associated with the output tweak, when applicable. It is not an Ordinals inscription locator or a Bitcoin block Merkle proof. Input Merkle-root field
The three per-output types are PSBT_OUT_TAP_INTERNAL_KEY (0x05), PSBT_OUT_TAP_TREE (0x06) and PSBT_OUT_TAP_BIP32_DERIVATION (0x07). The tree uses depth-first tuples of depth, leaf version and script, so a signer can reconstruct what the output commits to. The derivation record maps X-only keys to relevant leaves and key paths. These are output-map, not finalized-input, records. Normative output types
PSBT v0 or v2 global records: transaction or construction context input maps: input, Taproot scripts and keys, signatures output maps: new outputs, optional Taproot tree and derivations finalization: construct each finalized input's witness
This is a conceptual outline, not PSBT serialization or a test vector. A real PSBT need not contain all nine types, and signers should verify relevant script commitments and transaction details rather than treat supplied metadata as automatically true.
The 2021 proposal and its design discussion
The source commit introducing BIP 371 is author-dated 21 June 2021 and entered the canonical BIPs repository on 20 July 2021. PR #1139 opened 6 July and merged 20 July. The document's current header says Assigned: 21 June 2021, but a BIP editor's 20 July comment explicitly records assigning number 371. A header date, commit author date, pull-request opening and number assignment are not interchangeable publication events. First source commit and Git timestamps · PR timeline and editor comment
The 15 July 2021 review is unusually instructive. Participants asked whether derivation data required a new field, which Taproot input records a finalizer should discard, and why no separate output Merkle-root field was included. Chow replied that a signer verifying change outputs must reconstruct the proposed tree and recompute its root: accepting an asserted root without checking the tree would not establish whether the expected leaves were there. The maintained BIP thus has an output tree field without a corresponding output-only Merkle root field. This is contemporary first-party design reasoning, not proof that every wallet performs such verification. Review discussion, 15 July 2021
A follow-up PR #1147 opened 26 July 2021 and merged 29 August, adding test vectors and a reference implementation. Separately, Bitcoin Core's implementation PR #22558 opened 26 July 2021. The adjacent proposal and implementation efforts should not be conflated with released support. Vectors and reference implementation · Core implementation history
On 14 September 2021, PR #1176 proposed restricting Taproot PSBT signatures to 64 bytes, reasoning that BIP 340 signatures have that length. Andrew Poelstra pointed out that BIP 341 defines a 65-byte serialization with a sighash byte for Bitcoin transactions. The proposer acknowledged the distinction and closed the PR without merging it. The record explains why BIP 371 permits 64 or 65 bytes; it is not evidence of a deployed vulnerability. Proposal, comments and closure · BIP 341
Timeline: implementation and corrections
PSBT_IN_TAP_KEY_SIG rather than the inconsistent PSBT_KEY_PATH_SIG. This changes the example labels, not signature bytes. Direct diffAn input/output error corrected in 2026
The earlier description of PSBT_OUT_TAP_BIP32_DERIVATION instructed finalizers to delete the field after PSBT_IN_FINAL_SCRIPTWITNESS was constructed. That was an instruction about an input finalization event attached to an output field. It named no input and had no parallel in the neighboring output types. The September 2026 diff simply removed the clause. Bitcoin Core's output records were not cleared that way, according to the contributor's contemporary explanation. Before-and-after text · Contributor's reasoning
The same pull request separately repaired a BIP 370 omission: PSBTv2 finalizers must retain transaction-defining input fields, including previous transaction IDs, output indexes, sequences and required locktimes. Those records are required for the extractor to reconstruct the original proposed transaction. Two corrections in one PR do not mean the same field was affected twice. The repository evidence establishes a specification repair, not a known loss event or exploited wallet defect. BIP 370 revision · Two independent fixes
MuSig2 and the final Taproot signature
BIP 373 adds MuSig2 participant-key, public-nonce and partial-signature records to PSBT versions 0 and 2. They coordinate a multi-party signing round but do not replace BIP 371's completed Taproot signature fields: a combined MuSig2 signature uses PSBT_IN_TAP_KEY_SIG or PSBT_IN_TAP_SCRIPT_SIG. Bitcoin Core first shipped BIP 373 field parsing in 30.0 (October 2025); actual wallet signing followed in 31.0 (April 2026). BIP 373 · Parsing PR · Signing PR
Silent-payment spending and the final Taproot signature
BIP 376 adds two PSBTv2 per-input fields for spending a silent-payment UTXO: a 33-byte compressed spend-key derivation record (0x1f) and a 32-byte tweak (0x20). The signer combines the base private key and tweak, verifies that its derived output key matches the UTXO's x-only Taproot key, and supplies the ordinary BIP 371 PSBT_IN_TAP_KEY_SIG. This differs from BIP 371's PSBT_IN_TAP_MERKLE_ROOT; the silent-payment tweak does not assert a Taproot script tree. BIP 376 signing rules
The receiving-side BIP was merged in April 2026, but its original finalizer instructions incorrectly removed PSBT_IN_WITNESS_UTXO alongside the interim signing records. A correction merged on 22 September 2026 kept that UTXO information available for other, not-yet-finalized Taproot inputs. This is direct evidence of a specification correction; claims that particular wallet implementations already kept the field originate with the reviewer and still warrant version-specific inspection. Correction and rationale
Where Ordinals and Bitmap enter
The Ordinals inscription commit/reveal procedure spends a Taproot commit output through a script path, revealing an ord envelope in witness data. BIP 371 can represent the scripts, control blocks and signatures involved if participants coordinate a reveal using PSBT. A later inscription transfer between conventional Taproot wallet outputs may instead use key-path signing. These are technically possible workflows, not proof that a named marketplace or every inscription issuer used BIP 371. Ordinals' own construction guide · PSBT data fields
A signer may be able to authorize a valid Bitcoin transaction without knowing whether its output order delivers the intended sat. Neither BIP 371 nor Bitcoin consensus determines which sat carries an inscription or which Bitmap district/parcel claim wins. That calls for Ordinal theory, transaction-history analysis and the relevant Bitmap Standard rules. This is an architectural conclusion about separate protocols, not a normative promise made by BIP 371.
Evidence boundaries and work still open
Source commits and exact diffs are direct specification evidence. July 2021 review comments are contemporary first-party design evidence. The 2022 Bitcoin Core merge is an implementation record; release notes and a contemporaneous maintainer exchange establish the unusual 24.0 versus 24.0.1 distribution chronology. None individually proves universal hardware-wallet compatibility or demonstrates an exploitable bug.
Audit version-pinned wallet and hardware-signer support for BIP 371. Distinguish parsing, key-path signing, script-path signing, output-tree change verification and finalization.
Re-run the originally published and corrected test vectors against dated independent PSBT parsers; identify whether any discrepancy existed in released software.
Recover a dated Ordinals reveal or marketplace PSBT using Taproot fields. Who actually checked leaf commitments, fees and inscription sat placement before signatures were produced?
Establish whether the 2026 output-field finalizer wording ever caused divergent released implementation behavior rather than assuming it did.
From the archivist's desk
I followed PSBTv2 into BIP 371 expecting more signature slots. The 2021 design discussion gave me something better: a signer cannot safely verify change merely by accepting a convenient Merkle root supplied by someone else. The tree needs to be checked. The same discipline applies to this history. A specification can say what to carry; only dated implementation and release records establish when software actually carried it.