Bitcoin mining is the process that secures the Bitcoin network, verifies transactions, and introduces new bitcoin into circulation without relying on a central authority. In return for contributing computing power, miners compete for block rewards made up of newly issued bitcoin and transaction fees.

Today, Bitcoin mining is a highly competitive industry powered by specialized mining hardware, mining pools, and large-scale operations. Whether you're looking to understand how the network works, evaluate mining profitability, or learn what equipment is required, this guide explains the technology, economics, and key concepts behind Bitcoin mining.

What Is Bitcoin Mining?

Bitcoin mining is the decentralized process of validating Bitcoin transactions and adding them to the blockchain. It allows thousands of independent miners worldwide to reach consensus on the state of the network without requiring a bank, company, or government to approve transactions.

Mining serves two primary purposes: securing the Bitcoin network against fraud and issuing new bitcoin according to the protocol's fixed monetary policy. Each time a new block is successfully mined, the winning miner receives the block reward, which consists of the current block subsidy and the transaction fees included in that block. The block subsidy is reduced through periodic Bitcoin halving events until Bitcoin reaches its maximum supply.

Because anyone can participate in mining, the process helps maintain Bitcoin's decentralized and censorship-resistant nature. However, growing competition and increasing network hash rate mean that most miners now participate through mining pools and rely on specialized ASIC miners rather than general-purpose computer hardware.

The Role of Bitcoin Mining

Bitcoin mining serves several key functions within the Bitcoin network:

  • Secures the network: Mining protects Bitcoin from fraud, including double spending and attempts to rewrite transaction history. Because rewriting the blockchain would require enormous computational resources, altering confirmed transactions becomes increasingly impractical as new blocks are added.
  • Enables decentralized consensus: Independent miners worldwide follow Bitcoin's consensus rules to verify transactions and maintain a single, valid version of the blockchain without relying on banks, governments, or other central authorities.
  • Enforces Bitcoin's monetary policy: New bitcoin enter circulation only through block rewards, which are issued at a fixed rate defined by the protocol. The block subsidy is halved every 210,000 blocks until Bitcoin reaches its maximum supply of 21 million BTC.
  • Incentivizes network security: Block rewards and transaction fees encourage miners to contribute computing power and secure the network. As block subsidies decline through future halvings, transaction fees are expected to become a larger source of miner revenue, supporting Bitcoin's long-term security.

How Bitcoin Mining Works

Bitcoin mining follows a continuous process that validates transactions and adds new blocks to the blockchain.

  1. Transactions enter the mempool
    When users send bitcoin, their transactions are broadcast to the network and placed in the mempool, a temporary queue of unconfirmed transactions awaiting inclusion in a block.
  2. Miners build a candidate block
    Miners select transactions from the mempool, usually prioritizing those with higher fees, and assemble them into a candidate block. The block also includes a special coinbase transaction, which pays the block reward to the successful miner.
  3. Miners perform Proof of Work
    Using specialized ASIC miners, participants repeatedly hash the block header with the SHA-256 algorithm while changing a value called the nonce. The goal is to find a hash that is lower than the network's current difficulty target.
  4. The first valid block is broadcast
    The first miner to find a valid hash broadcasts the completed block to the Bitcoin network. Full nodes independently verify that the block follows Bitcoin's consensus rules before accepting it.
  5. The blockchain is updated
    Once verified, the new block is added to the blockchain, confirming the included transactions. Each additional block built on top of it increases the cost of altering its transaction history, making the blockchain more secure.
  6. The miner receives the block reward
    The successful miner receives the block reward, which consists of the block subsidy and the transaction fees included in the block. The mining process then begins again as miners compete to create the next block.

Block Rewards and Transaction Fees

Bitcoin miners are compensated through block rewards, which consist of two components: the block subsidy and transaction fees. Together, they compensate miners for validating transactions and adding new blocks to the blockchain.

The block subsidy is the amount of new bitcoin created each time a block is mined. It follows Bitcoin's fixed issuance schedule and is automatically reduced by half every 210,000 blocks, every four years, in an event known as the Bitcoin halving. Following the April 2024 halving, the current block subsidy is 3.125 BTC per block.

In addition to the block subsidy, miners earn transaction fees paid by users who want their transactions included in a block. During periods of high network activity, users often pay higher fees to increase the likelihood of faster confirmation, allowing miners to prioritize transactions that offer greater fee revenue.

Over time, block subsidies will continue to decline until Bitcoin reaches its maximum supply of 21 million BTC. As a result, transaction fees are expected to become an increasingly important source of miner revenue and play a larger role in maintaining the network's long-term security.

Bitcoin Mining Pools

Mining a Bitcoin block is a probabilistic process. As the network hash rate has grown, the chances of an individual miner finding a block have become extremely small. To earn more consistent income, most miners join mining pools, which combine the computing power of many participants and share block rewards based on each miner's contribution.

Most mining pools charge a fee for their services and use different payout methods to distribute rewards. The most common include:

  • PPS (Pay-Per-Share): Pays a fixed amount for each valid share submitted, providing predictable payouts regardless of whether the pool finds a block.
  • FPPS (Full Pay-Per-Share): Similar to PPS but also distributes a share of transaction fees, making payouts more predictable.
  • PPLNS (Pay-Per-Last-N-Shares): Rewards miners only when the pool mines a block, with payouts based on each miner's recent contribution. Earnings can vary more than under PPS or FPPS but may be higher over the long term.

Most ASIC miners connect to a mining pool using the Stratum protocol, which distributes mining work and collects completed shares. A newer version, Stratum V2, is designed to improve communication security and efficiency while allowing miners, in supported configurations, greater control over block-template selection.

Bitcoin Mining Hardware and Software

Bitcoin mining requires specialized hardware to perform SHA-256 calculations and software to configure the equipment, receive mining work, submit results, and monitor performance.

Bitcoin Mining Hardware

Modern Bitcoin mining relies almost entirely on application-specific integrated circuit miners, commonly called ASICs. Unlike CPUs and GPUs, ASIC miners are purpose-built to perform Bitcoin’s SHA-256 hashing calculations, making them substantially faster and more energy efficient.

ASIC miners are primarily evaluated using the following specifications:

  • Hash rate (TH/s): The number of hashing calculations a miner can perform. A higher hash rate gives the miner a greater statistical chance of contributing to a valid block.
  • Energy efficiency (J/TH): The energy required to produce one terahash of computing power. Lower values indicate greater efficiency and usually improve profitability when electricity costs are high.
  • Power consumption (W): The amount of electricity the machine draws during operation. Miners must confirm that their electrical system can safely support the required voltage, amperage, wiring, and continuous load.

Hardware price, electricity rates, cooling requirements, reliability, warranty coverage, and expected operating life are also important. A more powerful ASIC is not necessarily the most profitable if it is expensive to purchase or inefficient to operate.

ASIC miners produce considerable heat and, in the case of air-cooled models, substantial fan noise. Mining facilities therefore require suitable ventilation or dedicated air, hydro, or immersion-cooling systems. Hydro-cooled and immersion miners also require specialized infrastructure and cannot normally be installed as direct replacements for standard air-cooled machines.

Bitcoin Mining Software

Bitcoin mining software includes several tools that perform different functions. ASIC firmware runs directly on the mining machine and controls its hashing chips, fans, temperature limits, power settings, and connection to a mining pool. Most ASICs include manufacturer firmware, while compatible third-party firmware may add features such as per-chip autotuning, power optimization, underclocking, overclocking, and centralized management.

Fleet-management platforms allow operators to monitor multiple miners, install updates, change pool settings, identify underperforming machines, and track metrics such as hash rate, temperature, power use, rejected shares, and uptime.

In pooled mining, ASICs usually receive work and submit valid shares through a mining protocol such as Stratum. The pool operates Bitcoin node infrastructure, constructs or obtains block templates, and distributes work among participating miners. Stratum V2 is a newer protocol designed to improve communication security and efficiency and, in supported configurations, give miners greater control over block-template selection.

Solo miners generally need their own Bitcoin node, mining software, and ASIC hardware. Regardless of the setup, miners should use trusted firmware, secure management tools, and regularly updated software to reduce the risk of unauthorized access, malicious firmware, or operational downtime.

The Future of Bitcoin Mining

Several trends are expected to shape the future of Bitcoin mining:

  • Declining block subsidies: Bitcoin's block subsidy will continue to fall through halvings approximately every four years. Transaction fees will therefore become more important to miner revenue, although fee income remains volatile and may not consistently replace the declining subsidy.
  • More efficient ASIC miners: New mining machines continue to deliver higher hash rates with lower energy consumption per terahash. This can reduce operating costs, but rising network difficulty may make older and less efficient equipment unprofitable.
  • Greater miner control over block construction: Stratum V2 and related mining protocols can allow individual miners to choose their own block templates instead of relying entirely on mining pools. Wider adoption could improve censorship resistance, communication security and the decentralization of transaction selection.
  • Energy and grid optimization: Miners are increasingly seeking low-cost power, flexible energy agreements and locations with surplus or underused electricity. Some operations also participate in demand-response programs by reducing consumption when electricity demand is high.
  • AI and HPC diversification: Some publicly traded mining companies are converting suitable sites into AI and high-performance computing data centers. These businesses can provide additional revenue, although conversions require substantial investment in cooling, networking and data-center infrastructure.
  • Consolidation among mining companies: Rising difficulty, low hashprice and high infrastructure costs may force inefficient operators to shut down, upgrade their equipment or sell assets to larger mining companies.