The difficulty adjustment is Bitcoin's self-regulating mechanism that recalibrates the mining difficulty every 2,016 blocks (~2 weeks) to keep the average block time at approximately 10 minutes, regardless of how much total hash power is on the network.

What Is a Bitcoin Difficulty Adjustment?

2 min read

The short version

Consider a combination lock that adds or removes digits based on how fast people are cracking it. If miners are finding blocks too quickly (more hash power joined), the difficulty increases. If blocks are too slow (miners left), it decreases. The goal is always one block per ~10 minutes.

How It Works

Every 2,016 blocks, each node compares the actual time taken to mine those blocks versus the expected time (2,016 × 10 minutes = 20,160 minutes). If blocks came faster, difficulty increases proportionally; if slower, it decreases. The adjustment is capped at 4x in either direction per period to prevent instability. The difficulty is expressed as a target: a 256-bit number that the block hash must be less than. A lower target means more leading zeros required, which means more hash attempts on average to find a valid block. As of 2024, the difficulty is approximately 85 trillion, meaning miners need roughly 85 trillion SHA-256 attempts per valid hash on average.

A 7% difficulty increase after new ASICs deploy

A major manufacturer ships 50,000 new-generation ASICs in one month. Network hash rate jumps from 580 EH/s to 630 EH/s. During the current 2,016-block period, blocks are mined in ~9.2 minutes on average instead of 10. After 2,016 blocks, every node calculates: actual time / expected time = 18,547 min / 20,160 min = 0.92. New difficulty = old difficulty / 0.92 = +8.7% increase. Block time returns to ~10 minutes until the next adjustment.

What People Get Wrong

  • Difficulty only goes up

    Difficulty adjusts both ways. After the China mining ban (2021), difficulty dropped 28% over several adjustment periods as hash rate recovered.

  • The adjustment happens instantly

    It happens only every 2,016 blocks. Between adjustments, block times can deviate significantly from 10 minutes if hash rate changes suddenly.

  • Higher difficulty means fewer bitcoins

    Difficulty controls block timing, not supply. Whether difficulty is high or low, the same number of coins are issued per unit time (on average).

Sources & Further Reading

Questions People Also Ask

How often does the difficulty change?
Every 2,016 blocks, approximately every two weeks. The exact interval depends on actual block times during that period.
What happens if all miners stop at once?
Blocks would slow dramatically, but the next adjustment would eventually lower difficulty. As an extreme safeguard, as long as even one miner exists, blocks will eventually be found.
Can the difficulty adjustment be gamed?
Timestamp manipulation is limited by consensus rules (no more than 2 hours ahead of network time). The adjustment is robust against realistic attack scenarios.

More in Bitcoin & Base-Layer Fundamentals

See all →
Was this page helpful?

Page last checked