Quick answer
Bitcoin mining is the process that adds new transactions to Bitcoin’s blockchain and creates new bitcoins. Specialised computers race to solve a mathematical puzzle; the first to find a valid answer adds the next block and earns a reward, currently 3.125 bitcoins plus transaction fees. This system, called proof of work, makes cheating very expensive, but it also uses a large amount of electricity. Roughly every four years, the reward is cut in half in an event called the halving.
This guide is for general education only. It is not financial advice or a recommendation to buy any crypto asset. Crypto assets are highly volatile and you can lose all the money you put in.
“Mining” sounds physical, but Bitcoin mining happens entirely inside warehouses full of specialised computers. It is the engine that keeps Bitcoin running without a bank or company in charge: it confirms transactions, secures the record and releases new bitcoins on a fixed schedule.
This guide explains what miners actually do, how proof of work makes cheating expensive, how difficulty keeps blocks coming every ten minutes, how halvings shrink new supply, why mining uses so much electricity and whether mining at home makes sense. If you are new to the topic, start with our blockchain explainer.
What miners actually do
Miners gather transactions waiting to be confirmed and bundle them into a candidate block, along with the hash of the previous block. They then repeatedly change a small number in the block header, called the nonce, and calculate the block’s hash each time.
The goal is a hash below a target set by the network, which in practice means a hash starting with a long run of zeros. There is no shortcut: it is pure trial and error. As Bitcoin.org explains, the first miner to find a valid block broadcasts it, other nodes check it almost instantly, and the winner collects the reward.
A new block is found about every 10 minutes on average. Each one confirms a batch of transactions and makes earlier transactions harder to reverse.
Why proof of work keeps Bitcoin secure
To rewrite past transactions, an attacker would need to redo the work for those blocks and then outpace the rest of the network, which would require controlling more than half of all mining power. This is called a 51% attack.
The Bitcoin white paper argued that as long as honest miners control most of the computing power, the honest chain will grow fastest and attackers will fall further behind. At Bitcoin’s current scale, mounting such an attack would require enormous spending on hardware and electricity, making honest mining the more profitable choice.
This is why people often say proof of work turns electricity into security: the cost of the work is what makes the record expensive to fake.
Difficulty: keeping blocks at 10 minutes
Every 2,016 blocks, roughly every two weeks, the network automatically adjusts the puzzle’s difficulty, as described in the Bitcoin developer guide. If more miners join and blocks arrive too quickly, the target gets harder; if miners leave and blocks slow down, it gets easier.
This self-correcting rule keeps the pace of new blocks, and therefore of new bitcoins, predictable no matter how much computing power joins or leaves.
The halving
Every 210,000 blocks, the reward for finding a block is cut in half. The most recent halving happened in April 2024, cutting the reward from 6.25 to 3.125 bitcoins. The next is expected around 2028, at block 1,050,000.
Because of halvings, the total supply can never exceed 21 million bitcoins. At today’s reward, about 450 new bitcoins are created each day. As the reward shrinks, miners will rely more and more on transaction fees.
How miners make (or lose) money
Most miners join a mining pool, combining their computing power so they earn smaller, steadier payouts rather than waiting a very long time for the chance of winning a whole block alone.
After a halving, the least efficient miners often switch off because their costs exceed their income, until difficulty falls or prices rise.
Energy use and the environment
Proof of work uses a lot of electricity. The Cambridge Centre for Alternative Finance publishes the Cambridge Bitcoin Electricity Consumption Index, which estimates Bitcoin’s yearly power use at a level comparable to that of a mid-sized country.
Supporters point to miners using renewable, stranded or otherwise wasted energy, such as flared gas, and to their ability to switch off quickly when grids are stretched. Critics argue the electricity and hardware could be put to better use and point to the carbon footprint where fossil fuels are the source. Other blockchains, such as Ethereum, moved to proof of stake partly to avoid this cost.
Can you mine Bitcoin at home?
In practice, rarely profitably. Mining is dominated by large operations using specialised chips called ASICs and very cheap electricity. A home miner paying normal household power prices usually spends more on electricity and equipment than they earn, and the machines are loud and hot.
Be especially wary of “cloud mining” offers that promise guaranteed daily returns. Many are scams. Regulators such as the US Securities and Exchange Commission regularly warn about crypto investment schemes that promise high, steady profits.
Key takeaways
- Miners bundle transactions into blocks and race to find a valid hash.
- The winner earns the block reward, currently 3.125 BTC, plus transaction fees.
- Proof of work makes rewriting Bitcoin’s history extremely expensive.
- Difficulty adjusts every 2,016 blocks to keep blocks at about 10 minutes.
- Halvings cut new supply every four years; the next is expected around 2028.
- Mining uses a lot of electricity and is rarely profitable at home.
Frequently asked questions
What happens when all 21 million bitcoins are mined?
Expected around 2140, miners will then earn only transaction fees for securing the network.
Why is it called mining?
Like gold mining, it takes effort and resources to extract a limited supply of new coins.
Is Bitcoin mining legal?
It is legal in many countries but restricted or banned in some. Rules change, so check local regulations.
What is a mining pool?
A group of miners combining computing power to find blocks more often, sharing rewards in proportion to work contributed.
Does mining affect Bitcoin’s price?
Mining controls new supply, and halvings reduce it, but price is driven by demand, sentiment and many other factors.
What is a 51% attack?
An attempt by someone controlling most of the network’s mining power to rewrite recent transactions or block others. On Bitcoin’s scale it would be extremely costly.
What is an ASIC miner?
A computer chip designed to do just one job, calculating Bitcoin’s SHA-256 hashes, far more efficiently than ordinary processors or graphics cards.


