How Does Bitcoin Mining Work? Hashes, Nonces and Rewards

Bitcoin mining works by guessing. Miners pack waiting transactions into a candidate block, then hash its 80-byte header with double SHA-256 over and over, changing a small number each time, until the result falls below a target. The first valid block earns 3.125 BTC plus fees. On average, a winner appears every ten minutes.

That is the whole machine. Everything below is detail, and the detail is where people get lost, so we will go one part at a time. All live figures on this page were read on 17 November 2026 at block 976,203.

What is Bitcoin mining, in plain terms?

Mining is the process that does two jobs at once. It decides which transactions get written into the shared ledger, and it issues new bitcoin on a fixed schedule.

Nobody is appointed to do it. Anyone with hardware and electricity can try. The right to add the next block goes to whoever first produces a block header whose hash is low enough, and the only known way to find such a hash is brute force. That cost, real energy spent on real guesses, is what makes rewriting history expensive.

The word “mining” is a metaphor. No coin is dug out of anything. The new bitcoin is created by the winning block itself, in a special first transaction called the coinbase, and the amount it may create is fixed by code.

How does a miner build a block?

A miner, or more often a mining pool acting for thousands of machines, does four things in order.

First, it picks transactions from its mempool, usually the ones paying the highest fee per virtual byte. Second, it writes the coinbase transaction that pays the block subsidy and the collected fees to itself. Third, it builds a Merkle tree of all those transactions and takes the root, a single 32-byte fingerprint of the whole set. Fourth, it assembles the block header and starts hashing.

A block also has a size limit. Bitcoin Core’s consensus rules cap a block at 4,000,000 weight units, which is why fees exist at all: space is scarce, so users bid for it. We cover that auction in our guide to Bitcoin transaction fees.

What is in the block header, and what is the nonce?

The header is tiny. It is six fields and 80 bytes, defined in Bitcoin Core’s block.h.

Field Size What it holds
nVersion 4 bytes Block version and soft-fork signal bits
hashPrevBlock 32 bytes Hash of the previous block, which chains blocks together
hashMerkleRoot 32 bytes Fingerprint of every transaction in the block
nTime 4 bytes Timestamp
nBits 4 bytes The current target, in compact form
nNonce 4 bytes The number the miner changes on each guess

The nonce is a 32-bit field, so it can take 4,294,967,296 values. That sounds like a lot. It is not. A modern machine sweeps that whole range in a fraction of a second, so miners also change other parts of the header. They tweak an “extra nonce” inside the coinbase transaction, which changes the Merkle root and opens a fresh range. They nudge the timestamp. And since BIP 320 reserved 16 bits of the version field for general purpose use, those bits have become more room to search as well.

Each guess is hashed twice with SHA-256. If the 256-bit result, read as a number, is below the target in nBits, the block is valid. If not, change something and try again.

How hard is it to find a block right now?

Very. Here is the state of the network when this page was written.

Reading (17 Nov 2026) Value
Block height 976,203
Difficulty 134,823,837,323,272.7 (about 134.8 trillion)
Network hashrate, 3-day average about 968 EH/s
Average block time this epoch about 538 seconds
Next difficulty adjustment block 977,760 (1,557 blocks away), estimated +7.0%
Blocks to the next halving 73,797 (block 1,050,000)

Source: the mempool.space mining dashboard and its public API.

Here is a way to feel the number that most explainers skip. The Bitcoin Wiki’s difficulty page gives the expected work per block as roughly difficulty times 2^32 hashes. And 2^32 is exactly the size of the nonce range. So the difficulty figure is, near enough, the average number of times the network must exhaust the entire nonce field before one block is found. Today that is about 134.8 trillion full sweeps, or about 5.8 × 10^23 hashes, for one block.

Compare the first block. The genesis block was mined on 3 January 2009 at 18:15:05 UTC at difficulty 1, with nonce 2,083,236,893. One laptop could find a block at that difficulty. Today the same task takes a warehouse. For the units and the history, see our page on Bitcoin hashrate.

How does the difficulty adjustment keep blocks at ten minutes?

Every 2,016 blocks, every node recalculates the target. Bitcoin Core’s chain parameters set the goal as one block every 10 × 60 seconds over a window of 14 days. If the last 2,016 blocks came faster than two weeks, the target tightens and mining gets harder. If they came slower, it loosens.

This is why adding machines does not print bitcoin faster. More hashrate only buys a larger share of the same issuance until the next retarget erases the advantage. Right now blocks are arriving about every nine minutes, so the network expects difficulty to rise again at block 977,760. The full mechanism and its history are on our Bitcoin difficulty adjustment page.

How do miners get paid, and what does the Bitcoin Halving change?

The winner gets two things: the block subsidy and every fee in the block. The subsidy is fixed by height. It started at 50 BTC and halves every 210,000 blocks, the nSubsidyHalvingInterval in the same chain parameters file. Since block 840,000 in April 2024 it has been 3.125 BTC.

Take the block at 976,203, mined at 01:16:51 UTC on 17 November 2026 by Foundry USA. It carried 3,182 transactions. The total reward was 3.13621938 BTC, of which only 0.01121938 BTC, about 0.36%, came from fees. The subsidy is still almost everything.

Two quieter rules matter here.

The first is maturity. A miner cannot spend that reward right away. Bitcoin Core’s consensus code sets COINBASE_MATURITY to 100, meaning newly minted coins stay locked until 100 more blocks are built on top, roughly 16 to 17 hours. If the block is orphaned in a race, the reward simply never existed.

The second is the halving. At block 1,050,000, expected in 2028, the subsidy drops to 1.5625 BTC. Same work, same electricity, half the new coins. That is why each halving squeezes weaker miners and why fees are meant to carry more of the load over time. The full table of subsidies is on our Bitcoin block reward page.

Who actually mines Bitcoin today?

Almost nobody mines alone. The odds of a single machine finding a block are so thin that miners join pools, which split the work and share the rewards by contributed hashrate.

Pool Blocks in the past week Share
Foundry USA 243 25.2%
AntPool 195 20.2%
F2Pool 171 17.7%
ViaBTC 80 8.3%
SpiderPool 77 8.0%

Out of 966 blocks in the week to 17 November 2026, per mempool.space’s pool ranking. The top two pools found about 45% of all blocks.

That concentration is worth watching. A pool is a coordinator, not an owner: the hardware belongs to its members, who can and do switch pools. Still, the people who choose which transactions go into a block are fewer than the people who supply the hashes.

What skeptics say

The first objection is energy. Mining spends electricity on guesses that are thrown away the instant a block is found. Defenders answer that the waste is the point, since cheap history would be rewritable history, and that miners chase the cheapest power, often stranded or surplus. Both claims can be true at once. Neither settles the argument for everyone.

The second is centralization. Five pools found almost 80% of last week’s blocks. If a handful of coordinators colluded, they could delay or censor transactions for a while, even if they could not steal coins or change the supply.

The third is the long road. As the subsidy shrinks toward nothing, security has to be paid for by fees. Nobody knows yet whether fees will be enough. Today they are well under one percent of a typical block’s reward.

These are fair. Mining is a bet that honest work stays cheaper than dishonest work, and that bet has to be renewed every ten minutes.

The work that never stops

Strip away the warehouses and the hashrate charts and what remains is strange and old. Strangers who do not trust one another agree on a single record because someone burned something real to write each page of it.

Every block is a small act of proof. Every 210,000 blocks the reward is cut in half, and the work goes on regardless. Those cuts are rehearsals. They walk toward the final one, the Halfture, around block 6,930,000, when the subsidy reaches zero and miners work for fees alone. The Halfture is the Rapture: the last coin is issued, and the ledger has to be kept by those who stayed. We wrote about why that comes down to an honest majority.

This site holds a hard doctrine about all of it: you have to hold Bitcoin to be saved. Read it as theology, not a prospectus. It is not financial advice, and no block will tell you what to buy.

But you can watch the work. Open a block explorer. Find the newest block. Look at its nonce, its timestamp, its tiny share of fees. Somebody guessed that number a few minutes ago, out of trillions of tries, and the whole world can check it in a millisecond.

Look into it.

FAQ

How does Bitcoin mining work in simple terms?

Miners collect transactions into a block and repeatedly hash its 80-byte header with double SHA-256, changing the nonce and other fields each time. When a hash falls below the network’s target, the block is valid, it is added to the chain, and the miner earns the block subsidy plus fees.

How long does it take to mine one Bitcoin block?

The network targets ten minutes on average. The difficulty adjustment every 2,016 blocks keeps it close to that. In the epoch running in November 2026, blocks were arriving about every 538 seconds, so difficulty was expected to rise at block 977,760.

What is a nonce in Bitcoin mining?

The nonce is a 4-byte field in the block header that miners change on each guess. It has 4,294,967,296 possible values, which modern hardware exhausts quickly, so miners also change an extra nonce in the coinbase transaction, the timestamp and some version bits.

How much do Bitcoin miners earn per block?

Since April 2024 the block subsidy is 3.125 BTC, plus the fees in the block. The subsidy halves at block 1,050,000 to 1.5625 BTC. Newly mined coins cannot be spent until 100 further blocks confirm them.

Can you still mine Bitcoin at home?

You can run a miner at home, but solo odds are extremely low at about 968 EH/s of network hashrate. Most home miners join a pool and receive small, regular payouts in proportion to their hashrate, after electricity and pool fees.


Discover more from Halfture

Subscribe to get the latest posts sent to your email.