Skip to main content

HomeAll guides

How Bitcoin Mining Works and Why Miners Do It

What a Bitcoin mine actually is

A Bitcoin mine is not a physical place you dig into the ground. It is a computer or group of computers running specialized software that solves complex math problems to validate Bitcoin transactions and create new Bitcoin. The computers are called miners, and the process of running them is called mining.

When someone sends Bitcoin to someone else, that transaction needs to be verified and added to the Bitcoin ledger (called the blockchain). Miners compete to solve a difficult math puzzle related to that transaction. The first miner to solve it gets to add a block of transactions to the blockchain and receives newly created Bitcoin as a reward. This is how new Bitcoin enters circulation.

Mining serves two purposes at once: it processes transactions so the Bitcoin network can function, and it creates an incentive for people to run the computers that keep the network running. Without miners, Bitcoin transactions would not be confirmed.

Key Takeaways

  • Bitcoin miners are computers running software that solves math problems to validate transactions and earn newly created Bitcoin.
  • The math problem gets harder as more miners join the network, so mining profitability depends on electricity costs and hardware efficiency.
  • Mining operations range from a single person with one computer to industrial facilities with thousands of machines.
  • Miners receive Bitcoin as payment for their work, but they must spend money on electricity and hardware before they earn anything.

How the mining process works step by step

When a Bitcoin transaction occurs, it enters a waiting area called the mempool. Miners select transactions from the mempool and bundle them together into a block. They then run those transactions through a cryptographic function (called SHA-256) over and over, changing one number each time, until they find a result that meets the network's difficulty requirement.

This is purely trial and error. A miner might try billions of combinations before finding one that works. The first miner to find a valid solution broadcasts it to the network. Other computers verify the solution is correct, and if it is, the block gets added to the blockchain. The winning miner receives a block reward — currently 6.25 newly created Bitcoin, plus transaction fees from all the transactions in that block.

The network adjusts the difficulty of the math problem every 2,016 blocks (roughly two weeks) to keep the average time between blocks at 10 minutes. If more miners join and solve blocks faster, the difficulty increases. If miners leave, it decreases. This keeps the system in balance.

Mining hardware and electricity costs

Early Bitcoin miners used regular computers with standard processors. Today, mining is dominated by ASIC miners — specialized chips designed only for Bitcoin mining. These machines are far more efficient at solving the specific math problem than any general-purpose computer.

A modern ASIC miner costs between $1,000 and $10,000 depending on its power and age. But hardware is only part of the cost. Miners must pay for electricity to run these machines 24 hours a day, 7 days a week. In areas with cheap electricity (Iceland, parts of Texas, regions with hydroelectric power), mining can be profitable. In areas with expensive electricity, it usually is not.

A miner's profit depends on three things: the price of Bitcoin, the cost of electricity in their location, and the efficiency of their hardware. If Bitcoin's price drops or electricity costs rise, many miners shut down their operations because they earn less Bitcoin than they spend on power.

Solo mining versus mining pools

A miner can work alone, trying to solve blocks by themselves. This is called solo mining. The advantage is that if you solve a block, you keep the entire reward. The disadvantage is that the odds are extremely low. With thousands of miners competing globally, a solo miner with one or two machines might wait years before solving a single block.

Most miners join a mining pool instead. A pool is a group of miners who combine their computing power and share the rewards. When any miner in the pool solves a block, the reward is divided among all members based on how much computing power each contributed. This gives miners a steady, predictable income rather than waiting months or years for a lucky win.

Large mining pools like Foundry USA, AntPool, and Stratum operate servers that coordinate thousands of miners. Miners connect their hardware to the pool's server, and the pool handles the work distribution and reward splitting. The pool takes a small fee (usually 1 to 3 percent) for this service.

Mining farms and industrial operations

Some mining operations are massive industrial facilities with thousands of ASIC miners running in climate-controlled warehouses. These farms are located in places with the cheapest electricity available — Iceland, El Salvador, parts of Kazakhstan, and regions of North America with abundant hydroelectric or wind power.

A large mining farm might consume as much electricity as a small town. The operators negotiate long-term power contracts with utility companies to get the lowest possible rates. They also invest in cooling systems because ASIC miners generate enormous heat, and overheating destroys the equipment.

These industrial operations are run by companies or investment groups, not individuals. They have the capital to buy thousands of machines, negotiate power deals, and hire staff to maintain the equipment. Individual miners cannot compete with them on scale, but they can still profit by joining pools or mining in regions where electricity is unusually cheap.

Why mining difficulty keeps increasing

Bitcoin's network adjusts mining difficulty automatically to keep blocks coming at a steady rate. When more miners join the network, they solve blocks faster, so the difficulty increases to slow things back down. When miners leave, difficulty decreases.

This creates a cycle: when Bitcoin's price is high, mining becomes more profitable, so more people start mining. More miners means higher difficulty, which means lower profit per miner. Eventually, the least efficient miners shut down because they are no longer making money. This reduces the total mining power, difficulty drops slightly, and the cycle continues.

Over Bitcoin's history, difficulty has increased dramatically as the network has grown. A miner who was profitable five years ago might not be today, even if Bitcoin's price is higher, because difficulty has increased so much. This is why mining profitability is tied to both hardware efficiency and electricity costs.

Mining rewards and how they change over time

Bitcoin has a fixed supply cap of 21 million coins. To reach that cap gradually, the block reward is cut in half every 210,000 blocks (roughly every four years). This event is called a halving.

When Bitcoin launched in 2009, miners received 50 Bitcoin per block. In 2012, it halved to 25. In 2016, it halved to 12.5. In 2020, it halved to 6.25. In 2024, it will halve again to 3.125. Eventually, the reward will become so small that it rounds to zero, and miners will earn only from transaction fees.

Halvings make mining less profitable overnight because the reward drops by half while difficulty does not when ready adjust. Many miners shut down after a halving, which causes difficulty to fall and makes mining profitable again for the remaining miners. This pattern has repeated with each halving in Bitcoin's history.

Frequently Asked Questions

Is Bitcoin mining legal?

Bitcoin mining is legal in most countries, but some nations restrict or ban it. China banned mining in 2021. El Salvador made it legal tender. The United States allows it but some states and cities have local restrictions on energy use or noise. Check your local regulations before starting.

Can I mine Bitcoin on my laptop or phone?

Technically yes, but you will earn almost nothing. ASIC miners are millions of times more efficient at mining than a laptop processor. Your electricity cost would far exceed any Bitcoin you earn. Mining on consumer devices is not profitable.

What happens to Bitcoin miners if the price crashes?

When Bitcoin's price drops significantly, many miners shut down because their electricity costs exceed the value of Bitcoin they earn. Difficulty then decreases as miners leave, making it profitable again for the most efficient miners with the cheapest power. This creates a floor below which mining cannot go.

Do miners need to pay taxes on Bitcoin they earn?

Yes. In most countries, Bitcoin earned from mining is taxable income. You must report the fair market value of Bitcoin on the day you received it. If you later sell that Bitcoin for more, you also owe capital gains tax. Consult a tax professional about your specific situation.

How much Bitcoin do miners earn per day?

This varies widely based on hardware efficiency, electricity cost, and pool size. A solo miner with one modern ASIC might earn nothing for months. A miner in a pool with cheap electricity might earn $10 to $50 per day. An industrial farm might earn thousands per day. Your actual earnings depend on your specific setup.

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.