How does bitcoin mining work
Last updated: April 1, 2026
Key Facts
- Bitcoin mining involves solving SHA-256 cryptographic hash problems that secure the blockchain network
- Miners receive rewards consisting of newly minted bitcoins plus transaction fees from the blocks they validate
- The mining difficulty adjusts approximately every 2 weeks to maintain a consistent 10-minute average block creation time
- Mining requires significant computational power and electricity, making it economically viable primarily in areas with cheap electricity
- Bitcoin's total supply is capped at 21 million coins, with new coins generated through mining until this limit is reached
The Mining Process
Bitcoin mining is the process by which new bitcoins enter circulation and transactions are verified and added to the blockchain. Miners use specialized computers called ASICs (Application-Specific Integrated Circuits) to compete in solving complex cryptographic puzzles. When a miner successfully solves a puzzle, they create a new block containing recent transactions and add it to the blockchain. This process ensures the integrity and security of the Bitcoin network.
Proof of Work Mechanism
Bitcoin uses a consensus mechanism called Proof of Work. Miners must solve computational puzzles that require significant processing power but are easy to verify. The puzzle involves finding a number (called a nonce) that, when combined with transaction data and hashed through SHA-256, produces a result with a specific number of leading zeros. This difficulty adjustment ensures blocks are found approximately every 10 minutes, regardless of how many miners are participating.
Mining Rewards
Successful miners receive two types of rewards. First, they earn newly created bitcoins—currently 6.25 BTC per block (after halving events that occur every four years). Second, they collect transaction fees paid by users who include their transactions in the mined block. As the bitcoin supply approaches its 21 million coin limit, mining rewards decrease, but transaction fees become increasingly important as incentives for mining participation.
Mining Difficulty and Competition
Bitcoin's network adjusts mining difficulty every 2,016 blocks (approximately two weeks) to maintain the target of one block every 10 minutes. As more miners join the network, difficulty increases proportionally. This creates intense competition, encouraging miners to invest in increasingly powerful hardware. The computational arms race means only miners with access to cheap electricity and modern equipment can operate profitably.
Mining Pools and Energy Consumption
Individual miners often join mining pools where they combine computational resources and share rewards based on contributed work. This reduces variance in income but also centralizes some network power. Bitcoin mining consumes enormous amounts of electricity—estimated at 100+ terawatt-hours annually—making environmental impact and energy cost critical factors for mining operations and profitability.
Related Questions
What is blockchain technology?
Blockchain is a distributed ledger technology that records transactions in blocks linked chronologically and cryptographically. Each block contains a reference to the previous block, creating an immutable chain. This decentralized approach eliminates the need for a central authority while maintaining security and transparency.
How much does it cost to mine bitcoin?
Mining costs depend on electricity prices, hardware expenses, and mining difficulty. Modern ASIC miners cost $1,000-$15,000, and electricity costs typically range from $2,000-$15,000 annually depending on local rates. Profitability varies with bitcoin's price and mining difficulty.
What is halving in bitcoin mining?
Halving is an automated event that occurs every 210,000 blocks (approximately every 4 years) where mining rewards are cut in half. Starting at 50 BTC in 2009, halving has reduced rewards to 25 BTC, then 12.5 BTC, then 6.25 BTC. This continues until reaching the 21 million bitcoin cap.
Sources
- Wikipedia - Bitcoin CC-BY-SA-4.0
- Wikipedia - Proof of Work CC-BY-SA-4.0
- Britannica - Bitcoin Fair Use