The Nonce — the One Number Miners Change Billions of Times to Win a Block

Ask what a miner actually does, second by second, and the honest answer is guessing — and the thing being guessed is a number called a nonce. What it is, where it sits in a block, and why running out of nonces is a normal part of every miner's day.

Ask what a miner actually does, second by second, and the honest answer is one word: guessing. The thing being guessed is a number called a nonce. This explainer covers what the nonce is, where it sits in a block, and why exhausting it is a normal part of every miner's day.

Number used once

Nonce is short for "number used once." In Bitcoin it is a field in the block header — the 80-byte summary at the top of every block, alongside the previous block's hash, the Merkle root of the block's transactions, a timestamp, and the difficulty target.

A miner assembles a candidate block, builds its header, and hashes that header with SHA-256. For the block to be valid, the resulting hash has to fall at or below the target set by the protocol — in plain terms, it has to meet criteria the network's software establishes, as Gemini's Cryptopedia puts it. Almost every hash a miner produces does not meet those criteria. So the miner changes one thing — the nonce — and hashes again. And again. Mining, as Cryptopedia describes it, boils down to guessing nonces as quickly as possible.

That is what hashrate measures in practice: how many of those guesses, across the whole fleet, happen per second.

Why the nonce, and not something else?

The other header fields are spoken for. The previous block's hash has to point at the actual previous block. The Merkle root has to match the transactions actually in the block — change a transaction and the root changes with it. The timestamp has to be a plausible time. The nonce is the one field whose entire job is to be changed. It is the free variable the puzzle is designed to be solved over.

When a miner finds a nonce that makes the header hash meet the target, it broadcasts the block — including that nonce — to the network. Other nodes can then check the result with a single hash: same header, same nonce, same output. Finding the answer takes an enormous number of tries; verifying it takes one. That asymmetry is the proof in proof of work.

When the nonce runs out

The nonce field is 32 bits, which means it holds about 4.29 billion possible values. That sounds like a lot until it is set against modern hardware: a single current-generation ASIC can cycle through the entire nonce range in well under a second, and the network as a whole, at approximately 1,043 EH/s on November 25, 2026 (mempool.space snapshot, dated Nov 25, 2026), exhausts it effectively instantly for any given header.

So miners do not stop when the nonce runs out. They change something else that feeds the header and start the nonce over — most commonly the extra nonce inside the coinbase transaction, which changes the Merkle root, which changes the header, which opens a fresh 4.29 billion nonce values to try. The timestamp can also tick forward. The search space a miner actually works through is the combination of all of those, not the nonce field alone.

This is also why two miners working on what looks like the same block are never doing duplicate work: each builds its own coinbase transaction paying itself, so each has a different Merkle root, a different header, and a different set of winning nonces.

The network this guessing runs on, November 2026

For scale, the mempool.space snapshot on November 25, 2026 shows difficulty at 134.82 trillion and total hashrate at approximately 1,043 EH/s (both figures dated context from that day; hashrate is an estimate by construction). Every one of those hashes is a header with some nonce value in it. The next difficulty adjustment is an ESTIMATE of +8.67% at block 977,760, per mempool.space's difficulty-adjustment API on November 25, 2026, with 235 blocks remaining at the time of the snapshot — an estimate, not a set figure. If blocks keep arriving faster than the 10-minute target, the target tightens, and each nonce guess becomes slightly less likely to win — which is the difficulty adjustment doing its job.

Topic and facts drawn from Gemini Cryptopedia's Bitcoin explainers, rewritten in original language for a mining audience. Network figures are a mempool.space snapshot dated Nov 25, 2026, cited as context only. This explainer is educational only and is not financial advice.

Get the briefs by email

Both newsletters are free, delivered by Brevo:

The Hashrate & Grid Report — a weekly brief on mining and the electric grid.

American Bitcoin Business — openings, expansions, deals, and jobs in U.S. Bitcoin business, every two weeks.

← All explainers