Skip to content
--:--:-- UTC
Bitcoin · 7 min read

How Does Bitcoin Mining Work?

Bitcoin mining explained: how proof of work, hashing, block rewards and difficulty adjustment secure the network and issue new coins.

Photo of James Riley
Institutional Markets Editor
1,519 words
BITCOIN Sep 11, 2026 · DMCNEWS.ORG

Bitcoin mining is the process of validating transactions and adding them to Bitcoin’s public ledger by having specialized computers repeatedly guess numbers until one produces a valid block. Whoever finds a valid block first earns newly issued bitcoin plus transaction fees, and this competition is what secures the network without any central authority.

That one-sentence answer hides a lot of moving parts. Mining is simultaneously how new coins enter circulation, how transactions get confirmed, and how the network defends itself against fraud. This guide walks through the mechanism step by step, using only verifiable protocol rules rather than shifting market figures. Nothing here is financial advice; it is an explanation of how the technology works.

What miners are actually competing to do

Every few minutes, pending transactions are bundled into a candidate block. A miner’s job is to find a special number, called a nonce, that when combined with the block’s data and run through a cryptographic hash function produces an output below a target value. Bitcoin uses the SHA-256 hash function, applied to the block header.

A hash function takes any input and returns a fixed-length string that looks random and cannot be reverse-engineered. The only way to find a qualifying hash is trial and error: change the nonce, hash again, check the result, and repeat billions of times per second. This is why the system is called proof of work. Finding a valid hash is hard and expensive, but once found, anyone can verify it instantly by running the hash a single time.

Because the puzzle has no shortcut, the miner who finds a solution has demonstrably spent real computing effort and electricity. That expenditure is the “work” that makes rewriting history prohibitively costly.

Step by step: from transaction to confirmed block

  1. Transactions broadcast. Users send transactions to the network, where they wait in a queue called the mempool.
  2. Miners assemble a block. Each miner selects transactions (usually favoring higher fees) and builds a candidate block.
  3. Hashing begins. The miner repeatedly hashes the block header with different nonces, searching for an output below the current target.
  4. A winner broadcasts. The first miner to find a valid hash sends the block to the network.
  5. Nodes verify and add. Other participants check the block against the rules and, if valid, append it to their copy of the chain.
  6. Confirmation deepens. As more blocks build on top, the transaction becomes harder to reverse.

You can watch this ledger yourself through a block explorer, which shows blocks, transactions, and the addresses involved in near real time.

Block rewards and the fixed supply

Miners are paid in two ways: a block subsidy of newly created bitcoin and the transaction fees attached to the transactions they include. The subsidy is how new coins are issued, and it follows a strict, predictable schedule rather than the discretion of any central bank.

The subsidy started at 50 BTC per block and is cut in half every 210,000 blocks, roughly every four years, in an event called the halving. This continues until the subsidy rounds down to zero, capping the total supply at 21 million bitcoin. After that point, miners will be compensated by transaction fees alone. We cover the schedule and its implications in Bitcoin halving explained.

Rewards are denominated down to tiny fractions. The smallest unit is the satoshi, equal to one hundred-millionth of a bitcoin, which is how fees and partial amounts are precisely measured.

Why the difficulty keeps changing

Bitcoin aims for a new block roughly every 10 minutes on average. But total mining power, known as hash rate, rises and falls as machines join or leave. To keep the 10-minute rhythm steady, the network automatically recalibrates how hard the puzzle is.

This difficulty adjustment happens every 2,016 blocks, about every two weeks. The protocol compares how long those 2,016 blocks actually took against the target of 20,160 minutes. If blocks came too fast, difficulty rises; if too slow, it falls. The result is a self-correcting system that maintains a predictable issuance pace no matter how much computing power is pointed at it.

The hardware behind mining

Mining hardware has evolved dramatically. Early participants used ordinary CPUs, then graphics cards, and eventually purpose-built chips called ASICs (application-specific integrated circuits) designed to compute SHA-256 hashes as efficiently as possible. Today, competitive mining is dominated by ASICs running in large facilities.

Hardware era Device type Relative efficiency
Earliest CPU (general processor) Very low
Middle GPU (graphics card) Low to moderate
Transitional FPGA Moderate
Current ASIC (SHA-256 specific) Highest

Because a single machine rarely finds blocks on its own, many miners join a mining pool. Pools combine hash power and share rewards proportionally to the work each member contributes, smoothing out the otherwise unpredictable timing of finding a block.

How mining secures the network

Mining does more than mint coins; it is Bitcoin’s security model. Because altering a past block would require redoing its proof of work and outpacing the entire honest network, tampering becomes economically irrational. An attacker would need to control a majority of the total hash rate, a scenario known as a 51% attack, and even then could not steal arbitrary funds, only attempt to reverse their own recent transactions.

This decentralized security is a defining feature of a layer-1 blockchain. The honest majority of miners, each acting in self-interest to earn rewards, collectively keep the ledger consistent and resistant to censorship.

Energy, incentives, and common misconceptions

Mining consumes electricity by design; the cost is what makes attacks expensive. Miners are economically motivated to seek cheap, often surplus or renewable power, and the geographic distribution of mining shifts as energy prices change. Whether that energy use is worthwhile is a matter of ongoing public debate, and reasonable people disagree.

A frequent misconception is that miners “solve useful math.” The hashing puzzle has no external use; its only purpose is to be costly to produce and cheap to verify. Another myth is that mining creates coins from nothing without limit, when in fact issuance is strictly capped and steadily shrinking. These incentive dynamics also feed into broader questions of what makes crypto go up and down, though price and mining are distinct topics.

How miners choose which transactions to include

Block space is limited, so miners cannot include every pending transaction. They generally prioritize those offering higher fees, measured in satoshis per virtual byte, because fees are theirs to keep on top of the block subsidy. During busy periods, this creates a fee market: users who want faster confirmation attach larger fees, while lower-fee transactions wait longer in the mempool.

This dynamic is entirely rule-based and transparent. There is no central operator deciding whose transaction goes first; each miner independently assembles the most profitable block it can, and the network’s rules ensure the result is valid. As the block subsidy shrinks over time through halvings, these transaction fees are expected to become an increasingly important part of miner revenue.

What happens when two miners find a block at once

Occasionally two miners find valid blocks at nearly the same time, briefly creating two competing versions of the chain. The network resolves this automatically: nodes follow the chain with the most accumulated proof of work, and whichever branch the next block builds on “wins.” The transactions in the abandoned block, called an orphan or stale block, return to the mempool to be included later.

This is why waiting for several confirmations matters. A transaction buried under multiple subsequent blocks is exceedingly difficult to reverse, because doing so would require out-mining the entire honest network from that point forward. The deeper a transaction sits, the more final it becomes.

Frequently asked questions

Is Bitcoin mining still possible for individuals?

Technically yes, but competing profitably as a solo miner with home equipment is extremely difficult given the scale of industrial operations. Most individuals who mine join a pool to receive smaller, more frequent payouts rather than rarely finding a whole block alone.

What happens when all 21 million bitcoin are mined?

Once the block subsidy reaches zero, no new bitcoin will be created. Miners will then be compensated entirely through transaction fees, which will need to be sufficient to keep securing the network. This is expected to occur far in the future based on the fixed halving schedule.

How long does it take to mine one block?

The network targets an average of about 10 minutes per block. Individual blocks can arrive faster or slower due to chance, but the difficulty adjustment keeps the long-run average near 10 minutes regardless of total hash rate.

What is the difference between hash rate and difficulty?

Hash rate measures how much computing power is actively mining, while difficulty measures how hard the puzzle currently is. When hash rate rises, difficulty adjusts upward to keep block times steady, and vice versa.

Does mining confirm my transaction instantly?

No. A transaction is included when a miner adds it to a block, and it gains security as additional blocks stack on top. Many services wait for several confirmations before treating a transaction as final.

Is mining the same as staking?

No. Mining uses proof of work and physical computing power, which is Bitcoin’s model. Staking is used by proof-of-stake networks and relies on locking up coins instead of expending electricity, an entirely different consensus approach.

Tags Bitcoin
Disclosure · This article is for informational purposes only and is not financial advice. The author may hold positions in assets mentioned. DMC editorial standards prohibit trading securities that are the active subject of coverage. See our editorial guidelines and methodology.
Photo of James Riley

About the author

Institutional Markets Editor

Institutional Markets Editor covering hedge funds, asset managers, and institutional crypto adoption.

More about James Riley →

Institutional Markets Editor covering hedge funds, asset managers, and institutional crypto adoption. Former head of digital assets at BlackRock and Morgan Stanley. MBA from Wharton. Tracks institutional flow, custody solutions, and ETF product development.

Beat:
Hedge funds · ETF flows · Institutional adoption · BlackRock · Morgan Stanley
Education:
Wharton School · MBA
Memberships:
CFA Institute · Alternative Investment Management Association

Editorial standards · Fact-checked against named sources. Reporters cannot trade securities they cover. Guidelines · Methodology · Report an error

Related