Skip to main content

HomeAll guides

How Bitcoin Mining Works and Why Miners Do It

What Bitcoin Mining Actually Is

Bitcoin mining is the process of using computers to solve complex math problems in order to verify transactions on the Bitcoin network and earn newly created Bitcoin as a reward. Miners compete to solve these problems, and the first one to solve it gets to add a new block of transactions to the blockchain — the permanent record of all Bitcoin transactions — and receives Bitcoin in return.

Think of it like a global lottery where the prize goes to whoever solves the puzzle fastest. Thousands of miners around the world are running specialized computers right now, all trying to solve the same puzzle. When one miner solves it, everyone else stops working on that puzzle and moves to the next one. The whole process repeats roughly every ten minutes.

The math problems miners solve are not useful for anything other than securing the Bitcoin network. They exist purely to make it expensive and time-consuming to attack the system. If someone wanted to fake Bitcoin transactions or steal coins, they would have to outcompute the entire network of miners — which costs more money than the attack would be worth.

Key Takeaways

  • Miners use computers to solve math puzzles that verify Bitcoin transactions, and the first miner to solve each puzzle receives newly created Bitcoin as payment.
  • Mining requires specialized hardware called ASICs (process-specific integrated circuits) that are designed only for Bitcoin mining and consume large amounts of electricity.
  • The difficulty of the puzzles adjusts automatically so that a new block is solved roughly every ten minutes, no matter how many miners are competing.
  • Miners earn Bitcoin in two ways: from newly created coins that come with each solved block, and from transaction fees paid by people sending Bitcoin.
  • Mining is profitable only when the price of Bitcoin is high enough to cover the cost of electricity and hardware, which is why miners often operate in places with cheap power.

Why Miners Spend Money on Electricity and Hardware

Miners are not volunteers. They mine Bitcoin because they stand to make money. When a miner solves a puzzle and adds a block to the blockchain, the Bitcoin network automatically creates new Bitcoin and sends it to that miner's wallet. This is called the block reward. Currently, the block reward is 6.25 Bitcoin per block, though this amount cuts in half roughly every four years in an event called a halving.

Miners also collect transaction fees. Every time someone sends Bitcoin, they can include a fee that goes to the miner who includes their transaction in a block. When the network is busy, people pay higher fees to get their transaction processed faster, and miners prioritize high-fee transactions.

The catch is that mining costs real money. A modern mining computer (called an ASIC, or process-specific integrated circuit) costs thousands of dollars. These machines do nothing but mine Bitcoin — they cannot run other programs. A single ASIC also uses as much electricity as a small house. A miner's profit depends on whether the price of Bitcoin is high enough to cover electricity costs, hardware costs, and facility costs like cooling and rent. When Bitcoin's price drops, many miners turn off their machines because they would lose money running them.

How the Difficulty Adjusts So Blocks Stay Roughly Ten Minutes Apart

Bitcoin's network is designed so that a new block is solved roughly every ten minutes, no matter how many miners are competing. If more miners join the network, the puzzles get harder. If miners leave, the puzzles get easier. This adjustment happens automatically every 2,016 blocks (about two weeks).

Here is why this matters: if puzzles stayed the same difficulty, and more miners joined, blocks would be solved faster than every ten minutes. That would create problems — transactions would confirm too quickly, and the blockchain would grow too large. By making puzzles harder when more miners compete, the network keeps a steady pace. This is called the difficulty adjustment.

The difficulty has grown enormously over Bitcoin's history. In 2009, when Bitcoin launched, a regular computer could mine Bitcoin. Today, only specialized ASIC hardware can mine profitably, and the puzzles are trillions of times harder than they were in the beginning.

Mining Pools: Why Individual Miners Often Join Groups

Mining a block solo is like buying one lottery ticket when millions of tickets are sold. The odds are extremely small. Most individual miners cannot afford to wait months or years for a chance to solve a block. Instead, they join mining pools — groups of miners who combine their computing power and split the rewards.

When a mining pool solves a block, the reward is divided among all the miners in the pool based on how much computing power each one contributed. A miner with one ASIC might earn a small, steady amount of Bitcoin each week by joining a pool, rather than gambling on solving a block alone and earning nothing for months.

Large mining pools are run by companies that take a small percentage of the rewards (usually 1 to 3 percent) as a fee for coordinating the miners and distributing payments. Some of the largest pools are operated by companies like Foundry USA, AntPool, and Stratum Mining Pool.

Where Miners Set Up Their Operations

Because electricity is the biggest ongoing cost of mining, miners look for places where power is cheap. Some miners operate in countries with abundant hydroelectric power, like Iceland or Paraguay. Others set up near natural gas fields or in regions with cheap coal power. A few miners have experimented with using flare gas (natural gas that oil companies burn off as waste) to power their operations.

Large mining operations are often located in remote areas where land and cooling are inexpensive. A warehouse full of thousands of ASICs generates enormous heat and needs constant cooling to prevent the machines from overheating. Some mining facilities are built near rivers or in cold climates to reduce cooling costs.

The geography of mining changes over time based on electricity prices, government regulations, and Bitcoin's price. When Bitcoin's price is high, mining becomes more profitable, and operations expand. When the price drops, unprofitable miners shut down, and operations consolidate in the cheapest locations.

The Difference Between Mining and Owning Bitcoin

Mining and owning Bitcoin are two separate things. You do not have to mine Bitcoin to own it — you can buy it on an exchange, receive it as payment, or inherit it. Conversely, miners who solve blocks and earn Bitcoin often sell it when ready to cover their electricity and hardware costs, so they may not hold Bitcoin long-term.

Mining is a business activity that requires capital investment and technical knowledge. Owning Bitcoin is straightforward holding the digital asset in a wallet. A person can own Bitcoin without ever mining, and a miner can mine Bitcoin without being interested in holding it as an investment.

Frequently Asked Questions

Can I mine Bitcoin on my laptop or regular computer?

No. Modern Bitcoin mining requires specialized ASIC hardware that costs thousands of dollars. A regular computer or laptop would take years to solve a single block and would consume more electricity than the Bitcoin earned is worth. Mining on regular computers was possible in Bitcoin's early years, but it has not been profitable for over a decade.

How much electricity does Bitcoin mining use?

The total amount varies depending on how many miners are active and what hardware they use. Bitcoin mining consumes significant global electricity, though estimates of the exact amount differ widely. Individual ASIC miners typically use 1,000 to 3,000 watts of power continuously, similar to running several space heaters at once.

Do I need to own Bitcoin to start mining?

No. You need capital to buy hardware and pay for electricity, but you do not need to own Bitcoin first. Miners earn Bitcoin as a reward for solving blocks. Many miners sell the Bitcoin they earn to cover costs and make a profit, so they may never hold Bitcoin themselves.

What happens if two miners solve a block at the same time?

The Bitcoin network accepts the block that reaches the most miners first. The other block is discarded, and the miner who solved it receives no reward. This is rare but does happen occasionally. The miner who "loses" the race straightforward moves on to the next block and tries again.

Is Bitcoin mining legal?

Bitcoin mining is legal in most countries, but some nations have restricted or banned it due to electricity concerns or regulatory reasons. Laws vary by location, and regulations change over time. If you are considering mining, check the current rules in your area.

This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.