Merkle Root
Last Updated: November 19, 2026
The Merkle Root is the top hash of a Merkle Tree, representing the combined hash of all transactions or data entries within that tree.
How It Works
In a Merkle Tree, each leaf node is a hashed data entry, and pairs of hashes are repeatedly combined and hashed until one final hash remains: the Merkle Root. This root summarizes all underlying data.
In Bitcoin, the Merkle leaves are transaction IDs, and the coinbase transaction always comes first. Each pair is hashed twice with SHA-256. When a level has an odd number of hashes, the last one is paired with a copy of itself. A block with only a coinbase transaction uses that transaction’s ID as its root, according to the Bitcoin developer reference.
The Merkle Root in a Bitcoin Block
Every Bitcoin block header is 80 bytes long. Next to the version, the previous block’s hash, the time, the difficulty target and the nonce, it holds the 32-byte Merkle root. Miners hash the whole header for proof of work, so the root ties every transaction to that work. Changing any transaction would change the root and break the block’s hash.
Example: block 976,170 was mined at 18:36 UTC on November 16, 2026 and holds 6,048 transactions. mempool.space lists its Merkle root as 1f48d08e2c09516d396582b55e7b48484e2c778f4e9f7c167950f9a481c3fcaa (read at 19:25 UTC). Rebuilding the tree from all 6,048 transaction IDs takes 13 levels of hashing and gives the same value.
Ethereum headers carry several roots instead of one. Block 26,429,681, produced at 19:28 UTC on November 16, 2026, listed a state root, a transactions root, a receipts root and a withdrawals root, read from a public Ethereum node. The state root alone commits to every account balance and every contract’s storage.
Why It’s Important
Merkle Roots allow for efficient and secure verification of large data sets. In blockchains, the root protects data integrity and allows quick proof of inclusion without storing all transactions. A Merkle proof uses the root as its reference point: if the path of hashes from one leaf ends at the root, the leaf is in the tree.
Where to Check It
Bitcoin block explorers show the Merkle root in the details of every block, and Ethereum explorers show each block’s state root. The guide to Merkle trees and Merkle roots walks through how a root is built step by step.
Limits
A Merkle root only proves that the data has not changed since the root was published. It says nothing about whether the transactions are valid; full nodes check that separately. Explorers also show hashes in reverse byte order compared with how the header stores them, which can trip up anyone checking a root by hand.
How Light Wallets Use the Root
The Bitcoin white paper describes a shortcut called simplified payment verification. A light wallet downloads only block headers, at 80 bytes each, instead of every transaction. To check a payment, it asks a full node for a Merkle proof. That is the short list of sibling hashes on the path from the transaction to the root.
For block 976,170, with 6,048 transactions, a proof needs 13 hashes of 32 bytes, or 416 bytes in total. The wallet hashes its way up and checks that the result matches the root in the header. Doubling the number of transactions adds only one more hash to the proof.
Merkle Roots Beyond Bitcoin Blocks
- Proof of reserves: some exchanges publish a Merkle root of customer balances. Each user can check that their own balance is included. Our proof of reserves entry explains what this does and does not prove.
- Airdrops: many token claims store a single root in a contract. Each wallet then submits a proof to claim its share, which saves gas compared with storing every address. Uniswap used this design for its airdrop in September 2020.
- Ethereum state: Ethereum uses a variant called a Merkle Patricia trie, so one state root covers every account and contract.
- Data tools: Git and IPFS also build trees of hashes, so one value can stand for a large set of files.
Frequently Asked Questions
Where is the Merkle root stored in Bitcoin?
It sits in the 80-byte header of every Bitcoin block, next to the previous block’s hash, the time, the difficulty target and the nonce. It takes 32 bytes. Because miners hash the header for proof of work, the root links every transaction in the block to that work, so editing any transaction would break the block.
Does a Merkle root change if one transaction changes?
Yes. Changing any transaction changes its ID, which changes every hash on its path up the tree, and so the root. That is why one 32-byte value can stand for thousands of transactions. In block 976,170, the root stands for 6,048 transactions, and rebuilding it from their IDs takes 13 levels of hashing.
What is the difference between a Merkle root and a block hash?
The Merkle root covers only the transactions in a block. The block hash is the hash of the whole header, which holds the Merkle root plus the previous block’s hash, the time, the difficulty target and the nonce. So the block hash commits to the transactions through the root and also links the block to the chain.
How big is a Merkle proof?
It grows slowly with the number of items. A proof needs one hash for each level of the tree, so its size follows the number of times the item count can be halved. In Bitcoin block 976,170, with 6,048 transactions, a proof needs 13 hashes of 32 bytes each, or 416 bytes. A block with twice as many transactions would need just 14.
Data sources: Bitcoin developer reference (block headers and Merkle trees), mempool.space (block 976,170, read 19:25 UTC, November 16, 2026), public Ethereum node (block 26,429,681, read 19:28 UTC, November 16, 2026), Bitcoin white paper (section 8, simplified payment verification), Uniswap merkle-distributor repository (GitHub).