Bitcoin mining is the competitive process through which participants propose blocks of transactions and demonstrate that they have performed a required amount of computational work. Successful miners can earn newly issued bitcoin and transaction fees, but their blocks must still satisfy the rules checked by independent nodes.
Mining is often described as computers 'solving puzzles'. That description is useful at first but can obscure what matters: mining makes block creation costly, while validation makes invalid blocks unacceptable to the rest of the network.
What miners actually do
Miners gather eligible transactions, assemble candidate blocks and repeatedly change permitted block-header data to search for a hash below the network's current target. The hash function is SHA-256 applied as Bitcoin specifies. The result is unpredictable enough that finding a valid header requires many attempts.
A successful miner announces a proposed block. Other nodes do not accept it because the miner is famous or has expensive equipment. They verify the proof of work and all applicable consensus rules. An invalid block can be rejected even after substantial electricity has been spent producing it.
Why proof of work matters
Suppose anyone could add history to the ledger at almost no cost. An attacker might cheaply create alternative histories or flood the network with competing chains. Proof of work makes producing an accepted chain costly in computing resources and energy. Rewriting old transactions would require building an alternative history with sufficient accumulated work to overtake the honest network, under the relevant assumptions.
This does not eliminate every attack. Concentrated mining power, network-level interference, software failures and economic incentives remain relevant. But proof of work provides a mechanism for choosing a history without appointing a permanent central bookkeeper.
Difficulty adjustments
Bitcoin's network aims for an average block interval of about ten minutes. When the total mining power changes, blocks may arrive faster or slower for a period. The protocol periodically adjusts the proof-of-work difficulty, traditionally every 2,016 blocks, to steer block production back toward the target interval.
Difficulty is not a management decision by a company. Nodes independently calculate whether the proposed block meets the required target.
Where mining rewards come from
A miner that produces an accepted block can claim a block subsidy—newly issued bitcoin within the protocol’s limit—and the transaction fees associated with included transactions.
The subsidy began at 50 BTC per block in 2009 and has halved approximately every 210,000 blocks. After the April 2024 halving, the subsidy became 3.125 BTC per block. A future halving reduces it again according to the schedule, subject to the effective network rules.
Transaction fees are paid by users seeking block space. Over time, as the subsidy decreases, those fees are expected to become a larger share of total miner revenue, although their future level is uncertain.
Is mining profitable?
Mining revenue depends on the value of earned bitcoin, block-finding success, pool arrangements and transaction fees. Costs include specialised hardware, electricity, cooling, facilities, maintenance, financing and equipment depreciation.
A machine can be technically effective while losing money for its owner. Hardware performance also becomes less competitive as newer equipment appears. A rise in Bitcoin's price does not guarantee a profitable mine, and a rise in total network hash rate can reduce each machine's relative chance of earning rewards.
Be cautious of cloud-mining businesses promising fixed high returns. Verify ownership of equipment, fees, withdrawal conditions and realistic operating economics. Many fraudulent offerings borrow the language of mining to attract deposits.
Why specialised hardware is used
Early Bitcoin mining was possible using ordinary personal computers. Competition later favoured graphics processors and eventually application-specific integrated circuits (ASICs), which perform the relevant hashing extremely efficiently.
A consumer laptop cannot realistically compete with industrial mining equipment at current network scales. The technology changes, so any profitability calculation must use current hardware performance and electricity costs.
Mining pools
Finding a block as an individual small miner can be extremely unpredictable. A mining pool combines participants' work and distributes revenue according to agreed rules, reducing individual income variance.
Pools are not the same as owning all connected mining hardware. Yet pool operators may influence block-template construction, creating concerns about transaction selection or concentrated coordination. Miners should understand pool terms and whether alternative block-building arrangements are available.
Mining and environmental impact
Proof-of-work mining consumes electricity because energy use is part of its competitive security mechanism. The environmental effect depends on electricity generation, hardware efficiency, local grid conditions, heat use and other factors. Claims that mining is always green or always uniquely harmful usually omit important assumptions.
Reliable analysis must distinguish electricity use, carbon emissions, marginal grid effects and the opportunities forgone by using the same energy elsewhere. Hardware manufacture and disposal also matter.
Miners do not decide which rules are valid
A powerful miner could attempt to produce a block violating the supply schedule, but independently validating nodes would reject that block. Miners contribute to block production; node operators verify consensus validity. This separation reduces the idea that controlling mining machines automatically grants unlimited authority over Bitcoin.
Network governance is still a human and technical process: software developers, businesses, miners and node operators can disagree over proposals. Changes affecting consensus require coordinated adoption, and disagreement can lead to incompatible chains.
What happens when a miner finds two competing blocks?
Occasionally different miners find valid blocks close in time and different nodes initially see different candidates. The network then builds on competing tips until one history accumulates more work. A block outside the ultimately selected chain may become stale, and transactions not included in the accepted history may need to be included again.
This explains why confirmation counts matter and why an unconfirmed payment should not always be treated as final.
Frequently asked questions
Does mining create bitcoin out of nothing?
The block subsidy creates new bitcoin according to predefined consensus rules, within the network's issuance schedule. A miner cannot freely choose an arbitrary subsidy amount that validating nodes must accept.
Is mining required for every cryptocurrency?
No. Many networks use proof of stake or different mechanisms. 'Crypto mining' is not a universal synonym for blockchain validation.
Can mining stop when the last bitcoin is issued?
Bitcoin's design allows miners to receive transaction fees even as the subsidy diminishes. Whether future fees and market conditions provide sufficient incentives is a long-term economic question, not a guaranteed outcome.
Is it safe to invest in a mining company?
A mining business has ordinary corporate, operational and financing risks alongside Bitcoin price and network difficulty exposure. Analyse it like a business rather than assuming it directly mirrors BTC performance.
Key takeaways
Mining is a mechanism for proposing ordered blocks under proof-of-work rules. It provides economic resistance to rewriting history, but does not guarantee profits for miners or eliminate security risks. The distinction between costly block production and independent rule verification is essential.
Continue learning: Bitcoin Halving and Supply and Understanding the Bitcoin Whitepaper.