How Does Bitcoin Mining Work? Explained for Beginners

How does Bitcoin mining work? It is the process that creates new bitcoin and keeps the Bitcoin network secure, all without a bank or a central company. Miners are computers that compete to solve puzzles, check transactions, and add new blocks to the blockchain. If you have ever wondered how does bitcoin mining work, and why it uses so much electricity, this beginner guide explains it step by step.

How does bitcoin mining work - a graphics card used for mining hardware

In this guide to how does bitcoin mining work, we explain what miners actually do, what proof of work means, how mining rewards and the halving work, what mining pools and hardware are, and whether mining is still worth learning about. No prior knowledge is assumed, and every idea is explained in plain English.

What Is Bitcoin Mining?

Bitcoin mining is the process of adding new transactions to the Bitcoin blockchain and creating new bitcoin in the process. Despite the name, miners do not dig anything out of the ground. They run specialised computers that work through huge numbers of guesses, trying to find a number that fits the rules for the next block.

Every ten minutes, on average, one miner wins that race and adds a new block to the chain. That miner earns a reward, made up of newly created bitcoin plus the fees from the transactions in the block. The reward is how new bitcoin enters circulation, and it is also what pays miners to keep the network running. For the basics of the coin itself, read our guide to what is Bitcoin.

How Does Bitcoin Mining Work, Step by Step?

Understanding how does bitcoin mining work is easier when you break it into steps. The process repeats for every block, day and night, all over the world.

  1. Transactions are gathered. People send bitcoin to each other, and those transactions wait in a pool called the mempool.
  2. Miners build a block. A miner picks transactions from the mempool, usually those with the highest fees, and puts them into a candidate block.
  3. Miners compete to solve a puzzle. The miner changes a number in the block, called a nonce, and runs the block through a hash function, which produces a long string of numbers and letters.
  4. The winning hash is found. The hash must be below a target set by the network. Finding it is pure trial and error, and it can take trillions of guesses.
  5. The block is added and checked. Other computers check the block, and if it is valid, they add it to their copy of the blockchain.
  6. The winner is paid. The winning miner receives the block reward and the transaction fees.

That cycle is how does bitcoin mining work at its core. The puzzle is not useful in itself, but it proves that the miner spent real computing power, and that makes it expensive for anyone to cheat.

Proof of Work Explained

Proof of work is the system Bitcoin uses to agree on the true history of transactions. The work is the computing power miners spend guessing hashes, and the proof is the winning hash itself, which anyone can check in a fraction of a second. Because the winner is chosen by luck and computing power, no one can decide in advance who will create the next block.

To change an old transaction, an attacker would need to redo the work for that block and for every block after it, faster than all honest miners combined. That would cost more than any profit it could bring, which is why the system is trusted. Proof of work is also why Bitcoin uses so much electricity, and that energy use is the most common criticism of mining. For a wider explanation, see our guide to how blockchain works.

Mining difficulty

The network adjusts the difficulty of the puzzle about every two weeks, so that a new block is still found about every ten minutes, even as more miners join or leave. If miners get faster, the puzzle gets harder. If miners leave, it gets easier. That self-adjusting difficulty is a key part of how does bitcoin mining work in practice, and it keeps Bitcoin’s schedule steady no matter how popular mining becomes.

Mining Rewards and the Halving

Miners are paid in two ways: the block reward and transaction fees. When Bitcoin started in 2009, the block reward was 50 bitcoin per block. That reward halves roughly every four years, in an event called the halving. It fell to 25 in 2012, to 12.5 in 2016, to 6.25 in 2020, and to 3.125 in April 2024.

The halving is also what limits Bitcoin’s supply. Only 21 million bitcoin will ever exist, and because the reward keeps shrinking, new coins are created more and more slowly. The last bitcoin will not be mined until around 2140. After that, miners will be paid only by transaction fees, so fees will need to be enough to keep them working. The halving is one of the most talked-about events in crypto, and it is a direct result of how does bitcoin mining work.

Mining Hardware: From Laptops to ASICs

In Bitcoin’s early days, anyone could mine with an ordinary laptop. As more people joined, the competition grew, and miners moved to graphics cards, then to specialised chips called FPGAs, and finally to machines built only for mining, called ASICs. An ASIC, or application-specific integrated circuit, does one job, hashing, and it does it far faster and more efficiently than a general computer.

Today, Bitcoin mining is mostly done by large operations with thousands of ASICs, cheap electricity, and cooling systems. A single home miner with one machine has almost no chance of winning a block alone, which is why most small miners join a mining pool. The hardware in the photo above, a graphics card, was once used for mining, although ASICs have now taken over for Bitcoin itself.

Mining Pools Explained

A mining pool is a group of miners who combine their computing power and share the rewards. When the pool wins a block, the reward is split between members according to how much work each one contributed. That gives small miners a small, steady income, instead of a tiny chance of a large reward.

Pools make mining more predictable, but they also raise a question: if a few large pools control most of the computing power, is Bitcoin still decentralised? In practice, miners can switch pools quickly, and a pool that misbehaved would lose its members. Even so, the concentration of mining power is something the Bitcoin community watches closely.

Is Bitcoin Mining Profitable?

Whether mining is profitable depends on three things: the price of bitcoin, the cost of electricity, and the cost of the hardware. Mining uses a lot of power, and in places where electricity is expensive, it can cost more to mine a bitcoin than the bitcoin is worth. Large miners look for cheap power, often in places with spare hydroelectric, wind, or other energy, and they buy hardware in bulk.

For a beginner, mining Bitcoin at home is usually not profitable, and it should not be seen as an easy way to make money. The equipment is expensive, the competition is intense, and the reward halves every four years. Most people who want to learn about mining are better off learning how it works, as this guide explains, rather than buying hardware. This article is educational only, and it is not financial advice. You can find neutral background on Bitcoin itself at bitcoin.org.

Frequently Asked Questions

How does bitcoin mining work in simple terms?

Miners use powerful computers to compete in solving a puzzle. The first to find the answer adds a new block of transactions to the blockchain and earns newly created bitcoin plus fees. The puzzle proves the miner spent real computing power, which keeps the network secure.

Do miners actually solve useful problems?

No, the puzzle itself has no other use. Its only job is to prove that work was done, and to make cheating expensive. The useful work miners do is checking transactions and keeping the shared record of who owns what, which is the real service they provide.

How long does it take to mine one bitcoin?

There is no fixed time for one person to mine one bitcoin. A new block is found about every ten minutes, and the reward is currently 3.125 bitcoin per block, shared between the winning miner or pool. A single home miner might never win a block alone, which is why pools are so common.

Can I mine Bitcoin on my phone or laptop?

Technically you can run mining software on a laptop, but you will almost certainly lose money on electricity and wear, and you are very unlikely to earn any bitcoin. Modern Bitcoin mining is done by specialised ASIC machines, and phones are far too slow to compete.

What happens when all 21 million bitcoin are mined?

That will not happen until around 2140. When it does, miners will no longer receive new bitcoin, and they will be paid only from transaction fees. Whether fees alone will be enough to secure the network is one of the longest-running debates in Bitcoin, and the answer will depend on how much the network is used by then.

Conclusion

How does bitcoin mining work? Miners compete to solve a proof of work puzzle, the winner adds a new block to the blockchain, and the network pays that miner with new bitcoin and fees. The process creates new coins, checks transactions, and secures Bitcoin without a central authority, and it adjusts its own difficulty to keep a steady pace.

Mining is technical, competitive, and energy-hungry, and it is not a simple way for a beginner to earn money. Understanding it, though, is one of the best ways to understand Bitcoin itself. If you meet a new term in this guide, look it up in our cryptocurrency terms glossary.

This article is for educational purposes only and is not financial advice.

1 thought on “How Does Bitcoin Mining Work? Explained for Beginners”

Leave a Comment