← Glossary

Mining

What Is a Block Header? The 80 Bytes Miners Actually Hash

A block header is the small fixed-size summary of a block, 80 bytes in Bitcoin, that miners hash; it links to the previous block and commits to all of the block's transactions through the merkle root.

Key takeaways

The six fields

A Bitcoin block header is exactly 80 bytes and holds six pieces of data. The version indicates which block rules apply. The previous block hash points to the block before it. The merkle root is a single hash that commits to every transaction in the block. The time is when the miner says the block was created. The nBits field encodes the target the hash must beat. The nonce is the counter miners vary while searching for a valid hash.

Why only the header is hashed

Hashing a whole block of thousands of transactions on every attempt would be slow. Because the merkle root already commits to all of them, hashing the 80-byte header is enough: if any transaction changed, the merkle root would change, and so would the header and its hash. Bitcoin's block hash is the double SHA-256 of the header, and that value must be below the target.

How it links the chain

Each header contains the hash of the previous header. That is what makes the chain: to alter an old block, you would change its header, which changes its hash, which no longer matches the previous-block field of the next header, and so on all the way to the tip. Redoing that costs the proof of work of every block after it.

Where this shows up in practice

A light client can follow the chain with headers alone, because each header carries enough to check the work and the links. Scrypt coins have the same layout with a different proof-of-work hash. A merge-mined chain adds proof of work from a parent chain's header, which is why those headers carry extra data.

Example

Block 1,000 has a header whose previous-block field holds the hash of block 999. If someone edited a transaction in block 999, its merkle root and header hash would change, so block 1,000's pointer would no longer match and every later block would be invalid.

Put it into practice

Look up any block yourself

Pick the block explorer you prefer in Scrypt Wallet and open a transaction to see the block it landed in, including its height and time.

Create a free wallet Get Scrypt for Android

Frequently asked questions

How big is a block header?

In Bitcoin it is always 80 bytes, no matter how many transactions the block contains.

What is nBits?

A compact encoding of the target value. A valid block hash must be at or below it, so it expresses the current difficulty.

Do other coins have the same header?

Bitcoin-derived coins such as Litecoin and Dogecoin use the same basic layout, with differences in the proof-of-work hash and, for merge-mined chains, extra data.

Related terms

Go deeper

Written by the Scrypt Wallet team · Updated 2026-10-02. General education, not financial, tax or legal advice.