How Bitcoin Mining Works
Quick Answer
Bitcoin mining is a competition to find a valid 'hash' for the next block of transactions. Miners run specialized computers that make trillions of guesses per second; the first to find a valid answer adds the block and earns newly issued bitcoin plus fees. This proof-of-work makes rewriting history prohibitively expensive, which is what secures the network.
At its core, Bitcoin mining is how the network agrees on which transactions happened and in what order, without any central authority. Roughly every ten minutes the pending transactions are bundled into a 'block', and miners compete to be the one that gets to add that block to the chain. The winner is rewarded, and everyone else moves on to compete for the next block. This is the engine that both issues new bitcoin and keeps the ledger honest.
The competition itself is a guessing game built on hashing. A hash function takes any data and produces a fixed, random-looking output; change the input even slightly and the output changes completely. Miners repeatedly hash the block's data along with a changing number until they find an output below a certain target. There's no shortcut โ you simply have to try enormous numbers of guesses, which is why miners run hardware that performs trillions of attempts per second.
This is what 'proof-of-work' means: finding a valid hash is hard and takes real energy, but verifying it is instant for everyone else. Because each block also references the one before it, changing an old transaction would mean redoing the work for that block and every block after it, faster than the rest of the network combined. That's effectively impossible at Bitcoin's scale, which is how proof-of-work secures the chain against tampering.
To keep blocks coming about every ten minutes regardless of how much mining power is online, the network adjusts the difficulty roughly every two weeks. If more miners join and blocks come too fast, difficulty rises; if miners leave, it falls. Separately, the block reward โ the new bitcoin paid to the winning miner โ halves roughly every four years in an event called the halving, steadily reducing new supply toward the fixed 21-million-coin cap.
Put together, mining does three jobs at once: it confirms transactions, releases new bitcoin on a predictable schedule, and secures the network by making attacks economically irrational. As the block reward shrinks through successive halvings, transaction fees are designed to make up a growing share of what miners earn, so the system can keep paying for security long after most new coins have been issued.
Frequently Asked Questions
What is a hash in Bitcoin mining?
A hash is the fixed-length output of a one-way function applied to data. Miners hash a block over and over with a changing number until the result falls below a target; finding that valid hash is the 'work' in proof-of-work.
What is the Bitcoin halving?
About every four years, the new-bitcoin reward miners earn per block is cut in half. It gradually reduces the rate of new supply toward the 21-million cap and is a key part of Bitcoin's monetary policy.
This is general educational information, not financial advice. Mining profitability depends on volatile factors like electricity prices, hardware costs, network difficulty, and Bitcoin's price, and can change quickly โ research your own numbers carefully before investing in equipment.
Recommended Exchange
Ready to buy Bitcoin on Binance?
Maker: 0.10% ยท Taker: 0.10% ยท Rating: 4.9/5
* We may earn a commission if you sign up through our link, at no extra cost to you.
Related Guides
- ๐ฐ Is Bitcoin Mining Profitable?The real cost factors โ electricity, hardware, difficulty โ and how to estimate whether mining pays where you live.8 min read
- ๐ Home vs Cloud MiningMining at home versus renting hashpower: the trade-offs, the risks, and the common cloud-mining scams to avoid.7 min read
- ๐ What Is a Mining Pool?Why most miners join pools, how rewards are split, common payout schemes, and how to choose one.7 min read