Miners come and go. New machines are switched on by the thousand, old ones are retired, whole regions go dark during a heat wave or a policy change. Yet Bitcoin keeps producing a block roughly every 10 minutes, year after year. The mechanism behind that steadiness is the difficulty adjustment, and it is one of the cleverest pieces of Bitcoin's design.
Key takeaways
- Difficulty measures how hard it is to find a valid block hash.
- Every 2,016 blocks, about every two weeks, the network compares how long those blocks actually took with the 20,160 minutes they should have taken, and adjusts difficulty to match.
- More hashrate leads to higher difficulty; less hashrate leads to lower difficulty. The 10-minute average holds either way.
- For miners, rising difficulty means each TH/s earns a smaller slice of each block.
What "difficulty" actually means
In What Is Bitcoin Mining? we described mining as a guessing game: miners hash block headers until one produces a number below a target. The lower the target, the rarer a winning hash, and the more guesses it takes on average to find one.
Difficulty is just a friendlier way to express that target. It compares the current target with the easiest one Bitcoin ever had, at its launch in 2009. A difficulty of 100 trillion means finding a block is, on average, 100 trillion times harder than it was for the very first miners.
How the adjustment works
Every node on the network follows the same rule, with no committee or vote involved:
- Every 2,016 blocks, look at how long that batch took to mine.
- Compare it with the expected time: 2,016 blocks × 10 minutes = 20,160 minutes, or exactly two weeks.
- Scale the difficulty by the ratio between the two.
If the last 2,016 blocks took only 10 days, blocks came too fast, so difficulty rises by about 40%. If they took 18 days, difficulty drops by about 22%. To prevent extreme swings, a single adjustment is capped: difficulty can move by at most a factor of four, up or down.
- Blocks between two adjustments
- 2,016
- Blocks between two adjustments
- Time between adjustments, on average
- ~2 weeks
- Time between adjustments, on average
- The block time the network aims for
- 10 min
- The block time the network aims for
A famous quirk
The original code measures the time across 2,015 block intervals instead of 2,016. The result is a tiny bias that makes the actual average block time slightly longer than 10 minutes. It has never been "fixed", because changing it would require a coordinated change to Bitcoin's consensus rules for a negligible gain.
Why this matters so much
A predictable money supply
Bitcoin's issuance schedule is defined in blocks, not in dates. The block reward halves every 210,000 blocks (see The Bitcoin Halving). If blocks came faster whenever more miners joined, new coins would be created faster too. The difficulty adjustment keeps the schedule on track, whatever the hashrate does.
Resilience when miners leave
In mid-2021, China banned Bitcoin mining and roughly half of the network's hashrate went offline within weeks. Blocks slowed down sharply. Then, at the next adjustment, difficulty fell by about 28%, the largest drop on record. Blocks returned to their usual pace, and the miners who stayed earned a larger share of each one. Bitcoin did not need anyone to step in: the rule did its job.
The same mechanism absorbs smaller shocks all the time, like miners in Texas curtailing their machines during winter storms or summer demand peaks, then switching back on.
What difficulty means for a miner
For anyone mining, difficulty is the other side of hashrate. Your share of the rewards depends on how your hashrate compares with everyone else's, and difficulty follows everyone else's hashrate with a two-week delay.
- When difficulty rises, the same TH/s earns less bitcoin per day, all else being equal.
- When difficulty falls, the same TH/s earns more.
Over Bitcoin's history, difficulty has trended up, because machines keep getting faster and more efficient. That trend is one reason older hardware becomes unprofitable over time, and why miners obsess over efficiency.
Can anyone change the rules?
Not unilaterally. The adjustment rule is part of Bitcoin's consensus rules, enforced independently by every full node. A miner who produced blocks with the wrong difficulty would simply see them rejected by the rest of the network. Changing the rule would require the overwhelming majority of the network to adopt new software, which is why it has stayed the same since 2009.
Frequently asked questions
How often does Bitcoin's difficulty change?
Every 2,016 blocks, which works out to about every two weeks. The exact date depends on how fast blocks are being found.
Can difficulty go down?
Yes. Whenever blocks were found more slowly than every 10 minutes during the last period, difficulty decreases at the next adjustment. Small downward adjustments are common.
Does difficulty affect transaction fees?
Not directly. Fees depend on how much demand there is for space in blocks. Difficulty only governs how hard it is to produce those blocks.
This article is for general information only and is not financial, investment, legal or tax advice. Mining rewards depend on network difficulty, block rewards and the price of Bitcoin, and are not guaranteed.



