Level 2 · Intermediate
The difficulty adjustment
In short
Every 2,016 blocks, about two weeks, Bitcoin resets its mining difficulty so that blocks keep arriving roughly every 10 minutes. If miners added computing power, difficulty goes up; if they left, it goes down.
04The difficulty adjustmentHow Bitcoin keeps blocks at about 10 minutes, no matter how many miners join.6 min
Miners compete to find a block hash below a target number. More mining power means blocks get found faster. So every 2,016 blocks (about two weeks), every node recalculates the difficulty from how long those blocks actually took.
- Blocks came too fast? Difficulty goes up.
- Too slow? Difficulty goes down.
- Each change is capped at a factor of 4 either way.
This feedback loop is why issuance follows its schedule whatever happens to mining: new machines, miners leaving a country, or a sudden price change.
Average time between blocksIllustration
Learn Bitcoin with real people.
Find meetups and Bitcoiners in your city, and ask the questions you'd never post online. Free to download on iPhone and Android.