A FIELD GUIDE TO CRYPTO
Bitcoin Economics5 min read

How Bitcoin Mining Works

Mining is the process that orders transactions into blocks and makes rewriting confirmed history costly. Follow a block from candidate transactions to proof of work, validation, and miner revenue.

BTC
A block of transactions connected to a proof-of-work computation
A block of transactions connected to a proof-of-work computation

Key takeaways

  • Mining proposes blocks and orders transactions; full nodes independently verify the rules.
  • Proof of work is a repeated hash search whose difficulty adjusts over time.
  • Miner revenue combines the block subsidy and transaction fees; mining profitability is not guaranteed.
01

What miners do

Bitcoin mining is the competitive process of proposing blocks of transactions. A mining program selects transactions, builds a candidate block, and searches for a header hash below the network’s current target. Changing the nonce or other header data produces a different hash, so miners repeat the calculation many times.

When a miner finds a qualifying hash, it broadcasts the block. Other nodes check the proof of work, transaction signatures, spending rules, block size constraints, and subsidy amount. A block that violates consensus rules is rejected even if it contains a valid-looking hash.

02

Why proof of work orders the ledger

Each block commits to the previous block’s hash. Replacing a past block therefore requires rebuilding that block and the work built on top of it. Nodes choose the valid chain with the greatest accumulated proof of work, which makes rewriting history increasingly expensive as additional work is added.

A new block is not a magical guarantee of irreversibility. Users and services often wait for additional confirmations based on the value and context of a payment. Confirmation practices are risk decisions, not a protocol promise that every transaction is instantly final.

03

Rewards, fees, and difficulty

A block’s coinbase transaction can claim the current block subsidy plus eligible transaction fees. The subsidy is set by Bitcoin’s consensus rules and halves every 210,000 blocks. Fees are selected from transactions competing for limited block space; they are not paid according to the amount of computing a specific transaction consumed.

The proof-of-work target adjusts periodically so blocks continue to arrive near the protocol’s intended pace as aggregate mining power changes. That target does not guarantee a steady schedule in every short window. Mining pools coordinate participants and share payouts under their own rules, while adding operational and counterparty considerations for participants.

04

What mining does not do

Mining does not decide whether a transaction follows the rules; nodes perform that verification. It does not make a transaction private, guarantee a market price, or mean that every miner is profitable. Hardware cost, electricity contracts, cooling, fees, pool terms, taxes, and changing competition all affect an operator’s results.

Frequently asked questions

Can a miner create bitcoin whenever they want?

No. Nodes reject blocks that claim more than the current subsidy and allowed fees under Bitcoin’s consensus rules.

Does a miner approve every transaction?

Miners select transactions for candidate blocks, but nodes independently verify each transaction and block.

Sources and further reading

This guide is for general education and is not investment advice. Digital assets involve substantial risks, including possible loss of value.