Technology

What Is Bitcoin Mining? Proof of Work Explained

The word "mining" conjures images of pickaxes and tunnels — which isn't entirely wrong as a metaphor. Just as gold miners expend physical effort to extract a scarce resource from the ground, Bitcoin miners expend computational work to earn newly created Bitcoin. But instead of shovels, they use specialized computer chips. And instead of digging, they solve mathematical puzzles.

Understanding mining answers a question many newcomers have: if Bitcoin has no central authority, who decides which transactions are valid and adds them to the ledger? The answer is miners.

What miners actually do

Every few minutes, thousands of pending Bitcoin transactions are bundled together into a candidate "block." Miners all over the world compete to be the one who adds that block to the official chain. The winner gets two things: a block reward (newly minted BTC) and all the transaction fees included in that block.

The competition isn't based on skill, size, or reputation — it's based on raw computational work. To win, a miner must find a special number (called a nonce) that, when combined with the block data and run through a cryptographic function called SHA-256, produces an output below a certain target value. There's no clever shortcut; the only way to find it is to try billions of guesses per second until one works.

How proof of work works

SHA-256 is a hash function: it takes any input and produces a fixed 64-character string called a hash. The output looks completely random and changes unpredictably with even tiny changes to the input. You can't reverse-engineer the input from the output, and you can't predict what the output will be without running the calculation.

Bitcoin's network sets a difficulty target: the hash must start with a certain number of leading zeros. The more zeros required, the harder the puzzle — because you need to get lucky more times before you find a hash that qualifies. Every two weeks, the network automatically adjusts the difficulty so that, on average, a new block is found roughly every 10 minutes, no matter how many miners are competing.

Proof of Work is both the engine and the lock. The work required to add a block makes it extremely expensive to attack the network, because rewriting history would mean redoing all that work — and doing it faster than all other miners combined.

Why mining uses energy

Intentionally. The energy expenditure is the point. It's what makes the system trustworthy without a central authority: cheating costs real electricity, real money. A miner who tries to add invalid transactions loses their investment in hardware and power bills while earning nothing. Honest behavior is the only economically rational choice.

Critics argue the energy cost is too high relative to the benefit. Supporters argue it's a fair trade for a global settlement network that can't be shut down or manipulated by any single party. Both are legitimate positions. What's not accurate is the claim that the energy is "wasted" — it provides verifiable, quantifiable security.

Block rewards and the halving

When Satoshi Nakamoto launched Bitcoin in 2009, the block reward was 50 BTC per block. That reward is hardcoded to halve approximately every 210,000 blocks — roughly every four years. This event is called the halving.

HalvingYearBlock reward
Genesis200950 BTC
1st201225 BTC
2nd201612.5 BTC
3rd20206.25 BTC
4th20243.125 BTC
~5th~20281.5625 BTC

This schedule means that roughly 94% of all Bitcoin that will ever exist has already been mined. The last Bitcoin is projected to be mined around the year 2140. After that, miners will be compensated solely by transaction fees — which is why a healthy fee market is part of Bitcoin's long-term security model. For a deeper look at what drives each halving and what history suggests about price impact, see our Bitcoin halving guide.

Mining pools and hardware

In Bitcoin's early days, a single laptop could mine competitively. Not anymore. The network's difficulty has grown enormously, and profitable mining today requires ASICs (Application-Specific Integrated Circuits) — custom chips designed to do nothing but compute SHA-256 hashes as fast and efficiently as possible. Consumer graphics cards can't compete.

Because solo mining (hoping your one machine finds the next block) is effectively a lottery, most miners join mining pools. Pool members combine their hashrate and share rewards proportionally. Payouts are smaller but steadier — more like a regular wage than a jackpot.

Can I mine Bitcoin at home?

Technically yes; economically, almost certainly no. A modern ASIC miner costs $1,000–$10,000, consumes as much electricity as a clothes dryer running continuously, and competes against industrial facilities with cheap bulk power. Home mining in most regions will cost more in electricity than it generates in BTC.

Some people run older, less profitable machines as a hobby or as a form of heating in cold climates. But for most beginners, buying Bitcoin through an exchange is far simpler and more cost-effective than mining it.

// Key takeaways

  • Miners compete to add blocks of transactions to the blockchain by solving a computational puzzle (Proof of Work).
  • The winner earns newly created BTC (the block reward) plus transaction fees.
  • The energy cost is deliberate — it makes cheating the network prohibitively expensive.
  • The halving cuts the block reward in half every ~4 years, enforcing Bitcoin's fixed 21M supply cap.
  • Home mining is rarely profitable today; buying through an exchange is more practical for most people.

Learn how Bitcoin transactions work

Our main Learn page walks through the blockchain step by step — how a transaction gets broadcast, validated, and confirmed.

See the Blockchain Explainer →

This article is for educational purposes only and is not financial, investment, tax, or legal advice. Cryptocurrency is highly volatile and you can lose your entire investment. Always do your own research. Some links on this site are affiliate links — see our disclosure.