Glossary·Technical

Merkle Root

The single hash in a block header that commits to every transaction in the block. It is what lets a proof of inclusion be a few hundred bytes instead of a megabyte, and what makes any change to any transaction change the block.

Transactions are hashed in pairs, the results hashed in pairs again, and so on until one hash remains. That hash goes in the 80-byte header. Altering any transaction changes its hash, which changes its parent, and so on to the root, so the header commits to the exact contents of the block.

The practical payoff is the inclusion proof. To show that a transaction is in a block, you supply only the sibling hashes along the path to the root — about a dozen for a full block — and the verifier recomputes the root and compares it with the header it already holds.

Bitcoin’s construction has a known defect. A transaction with exactly 64 bytes of non-witness data can be interpreted as either a leaf or an internal node, which lets someone forge an inclusion proof for a transaction that was never in the block. The fix is specified and not yet activated.

What the root proves is inclusion, never validity. A header with sound proof of work can commit to a block full of invalid transactions, and a verifier holding only headers has no way to notice. That gap is the entire difference between a light wallet and a full node.

Where this comes up

Used in

Nearby terms

Reviewed Nov 2026