What is a Merkle tree?

A Merkle tree fingerprints a long list with one short value, the root, so that anyone can prove an item is in the list with a handful of hashes instead of the whole list.

Also called hash tree.

How it works

Every item is hashed, pairs of hashes are hashed together, and so on up to a single root. To prove that an item is included, you show the hashes along its path to the root.

Where it is used

Bitcoin blocks commit to their transactions with a Merkle root. Shielded pools keep their note commitments in a Merkle tree, and a zero-knowledge proof shows that a note is in the tree without revealing where.

In Redacted

Redacted’s note tree is append-only and 4.3 billion slots deep. Proving that a note is in it always takes thirty-two hashes, whether it is the fourth note or the four billionth.

Architecture →

Related terms

Sources: Merkle tree, Wikipedia · Bitcoin whitepaper

Updated October 7, 2026. All terms