How Does Bitcoin Mining Work?
Bitcoin mining explained in simple terms: proof of work, hashrate, difficulty, mining pools, and how the block reward halves roughly every four years.
Updated August 2026 · Reviewed by the PipeFlare team
Bitcoin mining is the process of using computing power to confirm transactions and add new blocks to the blockchain, earning newly created bitcoin and fees in return
Mining is what makes Bitcoin's transaction history practically impossible to rewrite, and it's the only way new bitcoin ever enters circulation
Category
Blockchain process
Difficulty
Beginner
Where you'll see it
Mining pool dashboards, block explorers, hashrate and difficulty charts, ASIC hardware reviews
First introduced
Bitcoin mining began with the genesis block on January 3, 2009
About how does bitcoin mining work
Bitcoin mining is the process of using computing power to check pending transactions and add them to Bitcoin's blockchain as a new block, earning newly created bitcoin plus transaction fees in return. It runs on a system called proof of work: miners race to find a number, called a nonce, that makes a block's hash meet a specific numeric target, and only the winning combination gets accepted by the rest of the network. A new block arrives roughly every 10 minutes on average. Both the reward for finding one and the difficulty of finding it change over time on a fixed, predictable schedule. Mining began with the very first block, mined by Bitcoin's pseudonymous creator Satoshi Nakamoto on January 3, 2009.
How it actually works
Every miner on the network repeats the same basic task: bundle pending transactions into a candidate block, then search for a nonce that makes the block's double SHA-256 hash fall below the network's current target. There is no shortcut to finding that nonce beyond trying enormous numbers of guesses as fast as possible, which is why mining behaves like a lottery where more computing power buys more tickets rather than a better chance per ticket. The first miner to find a valid hash broadcasts the block to the network. Other nodes verify it against every consensus rule, and the winning miner collects the block subsidy, newly created bitcoin, plus every fee attached to the transactions included in that block. Fee levels move independently of the subsidy and can spike during busy periods. A Bitcoin transaction fee calculator shows the current live estimate before sending anything during a rush.
The network keeps block times close to 10 minutes through an automatic difficulty adjustment. Every 2,016 blocks, roughly every two weeks, the protocol compares how long that batch of blocks actually took against the 10-minute target and raises or lowers the difficulty target to compensate. If total network hashrate, the combined guessing speed of every miner, rises sharply, difficulty rises with it. If hashrate drops, difficulty falls at the next adjustment rather than adjusting instantly. In mid-2021, a crackdown on cryptocurrency mining in China pushed a large share of global hashrate offline within weeks, and the following adjustment cut the difficulty target by one of the largest margins in Bitcoin's history to bring block times back toward 10 minutes.
The block subsidy shrinks on its own fixed schedule, unrelated to difficulty. Every 210,000 blocks, roughly every four years, the subsidy cuts in half in an event called the halving. After the April 2024 halving, the subsidy dropped to 3.125 BTC per block, and it keeps halving until the last new bitcoin is mined, projected for around the year 2140. After that point, miners are paid entirely from transaction fees rather than newly created coins. A live countdown to whichever halving comes next is tracked on the site's next Bitcoin halving date page.
Modern mining runs almost entirely on ASICs, application-specific integrated circuits built to do nothing but compute SHA-256 hashes as fast as possible. A single modern ASIC vastly outperforms any general-purpose CPU or GPU at this one task, which is why home-computer mining stopped being competitive years ago. Because the odds of a single miner finding a block alone are vanishingly small at current network hashrate, most miners join a mining pool, combining hashing power with many other participants so the pool operator can distribute each block reward across everyone based on verified work, called shares, rather than paying out only to whichever single machine happens to find the winning hash. Mining also converts real electricity into computing work as a core part of how proof of work secures the network. The Cambridge Centre for Alternative Finance publishes an ongoing, independently researched estimate of Bitcoin's total electricity use, since the figure moves constantly with hashrate and the regional cost of power.
Start here
- 1Understand that mining today means joining a pool rather than running one machine and hoping to find a block alone. Solo mining odds are effectively zero at current network hashrate.
- 2Check a pool's payout method before pointing any hardware at it. PPS (pay per share) and PPLNS (pay per last N shares) are the two most common, and they distribute risk differently.
- 3Factor in electricity cost before hardware cost. Mining profitability tracks the price of power more closely than the price of any single ASIC model.
- 4Compare mining against simply buying bitcoin directly. Buying avoids every hardware, electricity, and pool-selection decision mining requires.
- 5Check current fee levels before sending a transaction during a busy period, since mining activity and fee competition move independently of the halving schedule.
Strengths
- Mining's proof-of-work design makes rewriting Bitcoin's transaction history need more computing power than any known attacker currently controls. This makes the ledger practically tamper-proof.
- The difficulty adjustment keeps block times close to 10 minutes regardless of how much hardware is pointed at the network, so the system self-corrects without anyone needing to intervene.
- Pool mining turns an effectively-zero chance of a solo block into a steady, proportional payout, making participation realistic for a small miner rather than only for the largest operations.
Common misunderstandings
- ASIC dominance means a laptop or phone cannot mine Bitcoin profitably today, whatever an older guide or video might claim.
- Difficulty only adjusts every 2,016 blocks, so a sudden, large hashrate drop, as happened during China's 2021 mining crackdown, can leave blocks arriving slower than 10 minutes for up to two weeks before the next adjustment corrects it.
- Electricity cost usually decides whether mining is profitable, more than hardware cost does, which is easy to underestimate when comparing ASIC price tags alone.
Common questions
What is Bitcoin mining, in simple terms?
Bitcoin mining is computers competing to add the next block of transactions to Bitcoin's blockchain, with the winner earning newly created bitcoin plus fees. It is also the only way new bitcoin ever enters circulation.
What is Bitcoin hashrate?
Hashrate is the combined guessing speed of every miner on the network, measured in hashes per second. A higher hashrate means more total guesses happen every second across all miners, which strengthens the network's security, though it does not change how often blocks arrive, since difficulty adjusts to compensate.
What is Bitcoin difficulty?
Difficulty is a number that sets how hard the current hashing target is to hit. The protocol recalculates it every 2,016 blocks, roughly every two weeks, comparing actual block times against the 10-minute target and adjusting up or down to keep future blocks arriving at that pace.
What is a Bitcoin hash?
A hash is the fixed-length output produced by running data through the SHA-256 function twice, Bitcoin's specific version of the algorithm. Miners repeatedly change a small piece of the block, called the nonce, and rehash it until a result happens to fall below the current difficulty target. Which nonce will work cannot be predicted in advance. It can only be found by trying enormous numbers of them.
How long does it take to mine one bitcoin?
There is no fixed time for an individual miner, since pool payouts are based on contributed work, called shares, rather than on personally finding a whole block. A large pool finds a new block roughly every 10 minutes on average, and the reward splits across every participant in proportion to submitted shares, so a small miner earns a steady trickle instead of an occasional full block reward.
Can you mine Bitcoin with a laptop or phone?
Not profitably. ASICs built only to compute SHA-256 hashes vastly outperform any CPU or GPU at this specific task, and the electricity a laptop would use mining Bitcoin costs far more than the tiny reward it could realistically earn at current network difficulty.
What happens to miners once all 21 million bitcoin are mined?
Once the block subsidy reaches zero, projected for around the year 2140, miners are paid entirely from the transaction fees attached to each block. Whether fee revenue alone keeps mining as profitable and secure as it is today is a long-running open question in Bitcoin's design. Current data cannot settle it this far out.
Does Bitcoin mining use a lot of electricity?
Yes, mining converts real electricity into computing work as a core part of how proof of work secures the network. The Cambridge Centre for Alternative Finance publishes an ongoing estimate of total electricity use, and that figure moves constantly with hashrate and the price of power, so checking the live number directly beats relying on a fixed figure that would go stale within months.
Sources
Related guides
Ready to put this into practice?
Exchange sign-up bonuses pay both you and a referrer after a qualifying trade.