Live · Sun, Aug 23, 2026 · 18:01 UTC Block 843,917 Fees 14 sat/vB Fear & Greed 72 · Greed
Newsletter Pro Terminal Sign in
McLeod Pacific Investments.
Subscribe →
Live · 18:01 UTC Block 843,917 F&G 72
Bitcoin Basics Bitcoin Basics desk

What is a Bitcoin block header and what does it contain?

Every Bitcoin block carries a header that acts as its fingerprint, linking it to the chain and proving the work was done. Here's what those 80 bytes actually contain.

Intricate abstract visualization of digital circuit blocks with vibrant LED lights, showcasing technology and innovation.

Photo by Pachon in Motion on Pexels

Every time a new Bitcoin block is added to the blockchain, it carries an 80-byte header sitting at its top. That header is the part miners actually hash millions of times per second. It's also the piece of data that links each block to every block that came before it, making tampering with history computationally impossible. Understanding what lives inside that header gives beginners a much clearer picture of why Bitcoin works the way it does.

Why the block header exists

A Bitcoin block has two main parts: the header and the body. The body holds the list of transactions. The header holds the metadata that proves the block is legitimate and ties it to its neighbours. When a full node receives a new block, it checks the header first. If the header fails, the rest of the block doesn't even get looked at.

The header is also what enables simplified payment verification (SPV), the method lightweight wallets use to confirm transactions without downloading the full blockchain. SPV clients only need the chain of headers, not the full transaction data, to verify that a payment is buried under enough proof of work.

The six fields inside every block header

A Bitcoin block header is exactly 80 bytes and contains six distinct fields. Each one serves a specific purpose in securing and sequencing the chain.

1. Version (4 bytes)

The version number tells the network which set of consensus rules the miner used to construct the block. It's also used for signalling protocol upgrades. When a proposed change like SegWit was being activated, miners set specific bits in the version field to signal readiness. It isn't the software version of the mining client. It's a flag about the block's rule set.

2. Previous block hash (32 bytes)

This is the most important field for understanding how the chain holds together. It contains the SHA-256 hash of the immediately preceding block header. Because every block references the one before it, changing any historical block would change its hash, which would break the reference in the next block, cascading all the way forward. This is what makes rewriting Bitcoin's history so expensive.

3. Merkle root (32 bytes)

The Merkle root is a single 32-byte hash that represents every transaction in the block. Bitcoin generates it by hashing pairs of transaction IDs together repeatedly until one hash remains. Change a single transaction in the block body, and the Merkle root changes, which means the header changes, which means the block's hash changes. The Merkle root is how the header commits to the full contents of the block without storing every transaction inside the header itself.

4. Timestamp (4 bytes)

The timestamp records when the miner started hashing the block, expressed as Unix time (seconds since 1 January 1970). It doesn't have to be perfectly accurate. Bitcoin's protocol allows a block's timestamp to be up to two hours ahead of the network's median time. The timestamp also feeds into the difficulty adjustment calculation, which runs every 2,016 blocks and keeps average block times near 10 minutes.

5. Bits (4 bytes)

The "bits" field is a compact encoding of the current difficulty target. It tells miners how small the block's hash must be for the block to be accepted. A lower target means more leading zeros are required, which means more hashing attempts are needed on average. This is the field that directly encodes the proof-of-work difficulty. When the difficulty adjusts every two weeks, this value changes accordingly.

6. Nonce (4 bytes)

The nonce is the number miners increment (or randomise) as they search for a valid block hash. A miner takes the header, hashes it with SHA-256 twice, and checks whether the result falls below the target. If not, the nonce changes and the process repeats. A 4-byte nonce gives about 4.3 billion possible values. Modern mining hardware exhausts that range in under a second, which is why miners also adjust the timestamp and a field in the coinbase transaction to expand their search space.

How the header connects to Bitcoin mining

Mining is fundamentally the act of finding a nonce that, combined with the other five fields in the header, produces a hash below the current target. The miner who finds it first broadcasts the full block to the network, collects the block reward, and starts working on the next block. Every other miner drops what they're doing and begins building on top of the new chain tip.

The difficulty target encoded in "bits" is what keeps this race honest. If blocks come in faster than every 10 minutes on average, difficulty rises at the next adjustment. If they come in slower, it falls. This self-correcting mechanism has kept Bitcoin's block times remarkably consistent since 2009, regardless of how much mining hardware has joined or left the network. You can read more about the economic incentives behind this process in our guide to what a Bitcoin block reward is and how it works.

What the header does not contain

The block header does not contain any transaction data directly. It doesn't store sender addresses, recipient addresses, or amounts. All of that lives in the block body. The header only commits to that data via the Merkle root. This separation is deliberate: it keeps the header compact enough to hash billions of times per second while still making any alteration to the transactions detectable.

The header also doesn't contain the block height (its position in the chain). Height is derived by counting from the genesis block forward. It's not stored in the header itself, though miners typically include it in the coinbase transaction inside the block body.

Why this matters for everyday Bitcoin users

Most people buying and selling Bitcoin never think about block headers. That's fine. But understanding the structure helps demystify why Bitcoin transactions are described as "confirmed" only after a block is mined, and why more confirmations mean more security. Each new block added on top of the one containing your transaction means another miner has hashed the header chain and extended it, making the cost of reversing your transaction higher with every block.

It also helps explain why Bitcoin confirmations take the time they do. The 10-minute average block time isn't a design flaw. It's the result of the difficulty adjustment keeping the proof-of-work hard enough that the network has time to propagate each block before the next one is found.

The block header is a compact, elegant piece of cryptographic engineering. Eighty bytes that chain together more than 800,000 blocks of transaction history, each one locked in place by the work that came after it.

→ The Confirmations · Daily newsletter

One email at 06:00 UTC. Six minutes. The only digest written for desks, not for retail.