Bitcoin Difficulty Adjustment: How It Works, Next Retarget

The Bitcoin difficulty adjustment resets mining difficulty every 2,016 blocks so blocks keep arriving about every ten minutes. Each retarget is clamped to a factor of four in either direction. The last one, at block 973,728 on October 29, 2026, raised difficulty 5.54% to 148.36 trillion. The next is due at block 975,744, around November 13.

How does the Bitcoin difficulty adjustment work?

Every block header carries a target. A miner’s hash has to come in below that target to count. Difficulty is the same number turned upside down: a lower target is a higher difficulty, and a higher difficulty means more hashes, on average, before anyone finds a valid block.

The protocol does not let that target float freely. It checks it once per epoch of 2,016 blocks. When block number N is a multiple of 2,016, the node looks back at the epoch that just ended and asks one question. How long did that take?

The intended answer is two weeks. Two thousand sixteen blocks at 600 seconds each is 1,209,600 seconds, fourteen days exactly. The retarget code in Bitcoin Core takes the measured timespan, compares it with that two-week target, and scales the old target by the ratio.

In plain terms:

  • new difficulty = old difficulty × (two weeks ÷ actual time the epoch took)
  • if the epoch took less than two weeks, difficulty goes up
  • if it took more than two weeks, difficulty goes down
  • the actual time is clamped to between one quarter and four times the target before the math runs

That last line is the guardrail. No single retarget can raise difficulty by more than 300% or cut it by more than 75%. The code also refuses to let the target exceed a hard maximum, which is why difficulty can never fall below 1.

Nobody votes. No pool, exchange or developer sets the number. Every full node computes the same answer from the same timestamps and rejects any block that claims a different one.

How often does the Bitcoin difficulty adjust?

Every 2,016 blocks. That is roughly every two weeks, but only roughly, because the epoch is measured in blocks, not days. When hashrate is rising, blocks come faster than ten minutes and the epoch finishes early. When hashrate falls, it runs long.

The last epoch shows the drift. The 2,016 blocks from 971,712 to 973,728 averaged about 569 seconds rather than 600, according to mempool.space difficulty data. The epoch closed after about thirteen and a quarter days, and difficulty rose 5.54% to pull the pace back toward ten minutes.

There is one long exception in the record. Difficulty sat at 1, the protocol floor, from the genesis block in January 2009 until block 32,256 on December 30, 2009. That was the first retarget that moved anything: up 18.29%. For nearly a year the network was too small to push difficulty off the floor, and every retarget before that one simply confirmed the minimum.

From that first move through block 971,712, the record holds 467 retargets that changed the number. 109 of them lowered it.

When is the next Bitcoin difficulty adjustment?

The next retarget lands at block 975,744. On October 30, 2026 at about 01:35 UTC, with 1,984 blocks to go, mempool.space projected it for about November 13, 2026. This early in an epoch the projected percentage means very little, because it rests on barely thirty blocks. Treat both as moving estimates: the date shifts with every block, and the percentage shifts with hashrate until the last block of the epoch is found.

The last twelve retargets, from the same dataset:

Block Date (UTC) Difficulty (trillion) Change
973,728 2026-10-29 148.36 +5.54%
971,712 2026-10-16 140.58 +5.92%
969,696 2026-10-03 132.72 -0.03%
967,680 2026-09-19 132.76 +4.16%
965,664 2026-09-05 127.45 +1.31%
963,648 2026-08-23 125.81 -1.31%
961,632 2026-08-08 127.48 +0.99%
959,616 2026-07-25 126.23 -0.74%
957,600 2026-07-11 127.17 -5.00%
955,584 2026-06-27 133.87 +7.15%
953,568 2026-06-14 124.93 -10.09%
951,552 2026-05-29 138.96 +1.72%

The all-time high is still behind us. Difficulty peaked at 155.97 trillion at block 921,312 on October 29, 2025, and the network has not retaken that level in the year since. The June 2026 cut of 10.09% at block 953,568 was the steepest drop of the past twelve months.

What happens to difficulty after a Bitcoin Halving?

Less than people expect, and later than people expect.

A halving fires at a block height that is a multiple of 210,000. A retarget fires at a multiple of 2,016. Those two numbers do not divide evenly, so every halving so far has landed in the middle of an epoch. The subsidy halves on one block; difficulty does not move until the epoch closes, days later.

Then the second-order effect arrives. Miner revenue in bitcoin has just halved overnight. The least efficient machines go dark. Blocks slow down. The next full epoch runs long, and the retarget that follows it gives some of the difficulty back.

Halving First retarget after Change Second retarget after Change
Block 210,000 (2012-11-28) 211,680 (2012-12-10) -2.00% 213,696 (2012-12-26) -11.59%
Block 420,000 (2016-07-09) 421,344 (2016-07-18) +0.04% 423,360 (2016-08-02) -5.43%
Block 630,000 (2020-05-11) 631,008 (2020-05-20) -6.00% 633,024 (2020-06-04) -9.29%
Block 840,000 (2024-04-20) 840,672 (2024-04-24) +1.99% 842,688 (2024-05-09) -5.63%

The pattern across four cuts: the first retarget is a coin toss, because most of its epoch was mined before the halving. The second retarget, the first epoch mined entirely under the new subsidy, has been negative every time, by 5% to 12%. That is the network absorbing the shock. It is not a collapse. It is the thermostat doing its job.

This is the mechanism behind hashprice dropping by roughly half on halving day and then partly recovering, and behind the hashrate dips covered in what each halving does to miners. It also sets the arithmetic for how long it takes to mine one bitcoin on any single machine.

The two clocks will meet exactly once in the near future. Block 1,260,000 is the sixth halving and also the 625th multiple of 2,016, so the subsidy cut and a retarget will fire on the same block. The next Bitcoin Halving, at block 1,050,000 around April 2028, will land mid-epoch like the four before it.

What are the biggest difficulty adjustments in history?

The largest moves cluster in two eras: the early hobbyist years, when a single new rig could double the network, and the 2020 to 2021 mining migrations.

Block Date (UTC) Change Context
68,544 2010-07-16 +300.00% The 4x clamp, hit
66,528 2010-07-13 +93.12% Same surge, one epoch earlier
127,008 2011-05-26 +78.15% 2011 GPU rush
689,472 2021-07-03 -27.94% Largest drop on record
151,200 2011-10-31 -18.03% Post-2011 bust
655,200 2020-11-03 -16.05% End of the Sichuan wet season
622,944 2020-03-26 -15.95% March 2020 price crash

Look at block 68,544. In July 2010 hashrate rose so fast that the epoch ending there took about three days instead of fourteen. The formula wanted to raise difficulty by more than four times. The clamp stopped it at exactly four: difficulty went from 45.39 to 181.54. That is the only time the upper wall has ever been touched. The lower wall, a 75% cut, has never been reached. The deepest drop, 27.94% in July 2021, came after miners in China were forced offline and the epoch ran long, and even that was barely a third of the way to the floor.

(The “Context” column is our gloss on the timing; the numbers come from the mempool.space dataset. The 2020 wet-season label in particular is a common explanation for that drop, not a measured cause.)

Is there a bug in the Bitcoin difficulty adjustment?

Yes, two small ones, and they are related.

The first is an off-by-one. Bitcoin Core’s retarget code starts its measurement at the block 2,015 heights before the last block of the epoch. That window contains 2,016 blocks, but only 2,015 gaps between them. The target, though, is 2,016 × 600 seconds. So the protocol is quietly aiming for 1,209,600 seconds across 2,015 intervals, which works out to about 600.3 seconds per block rather than 600.

That is 0.05%. Over one 210,000-block halving era it adds up to about 17 hours. Over every block left until the final cut, around three weeks. In practice the error is swamped by hashrate growth, which keeps real block times under ten minutes most of the time: blocks since the 2024 halving have averaged about 596 seconds (block 840,000 to block 973,321, per mempool.space timestamps). Fixing the off-by-one directly would change consensus rules, so it has been left alone since 2009.

The second is more serious. Because each epoch is measured in isolation, with no overlap between the last block of one window and the first block of the next, a miner controlling a majority of hashrate could manipulate timestamps at epoch boundaries and drive difficulty down. This is the timewarp attack. It is old, known, and has never been exploited on Bitcoin’s main chain, partly because it needs majority hashrate and would be visible to everyone for weeks.

BIP 54, the consensus cleanup proposal, addresses it without touching the off-by-one. It would require the first block of each period to carry a timestamp no more than 7,200 seconds earlier than the block before it, and the last block of a period to be no earlier than the block 2,015 heights back. BIP 54 is a soft fork proposal; the document lists its status as “Complete,” which describes the specification, not activation. As of this writing it is not active on mainnet. Readers who like the timestamp side of this should see the sundial of Ahaz, which is about the header clock itself.

Why does the difficulty adjustment matter for the halving schedule?

Because the halving schedule is written in blocks, not dates.

The subsidy halves at block 210,000, 420,000, 630,000, 840,000, and so on to block 6,930,000, where it rounds to zero. Nothing in the code says “April 2028” or “2140.” Those dates are estimates that are only meaningful because the difficulty adjustment keeps block time close to ten minutes. Without the retarget, a hashrate boom would pull the next halving forward by months and a hashrate collapse would push it back by years.

So the retarget is what turns a block count into a calendar. It is the reason a four-year cycle exists at all, and the reason anyone can say the last cut lands around 2140 with a straight face.

What skeptics say

The fair objection is that the difficulty adjustment is a thermostat, and calling it anything more is decoration. It is a few dozen lines of code with a known off-by-one and a known attack surface. It does not care about price, holders or anyone’s theology. It keeps block time near ten minutes. That is all.

A second objection: the clamp, the off-by-one and the isolated windows are all evidence that the design was hurried, not inspired. A more modern chain would use a per-block moving average and react in hours, not weeks.

Both are reasonable. The response is only that the slow, dumb, two-week thermostat has run for more than seventeen years, through a 300% surge and a 28% collapse, without ever missing a retarget, and that per-block algorithms have their own history of being gamed. Slow can be a feature. It is harder to bully a clock that only listens once a fortnight.

The clock that keeps the cut honest

The halving gets the headlines. The retarget does the work. Every two weeks, give or take, the network looks at its own recent past and corrects itself in arrears, and no one can buy a different answer.

Each halving rehearses the Halfture, the last cut at block 6,930,000, and every retarget between here and there keeps that rehearsal on time. By the time the final cut arrives, the network will have retargeted thousands of times more. If the Halfture is the Rapture, the difficulty adjustment is the reason it arrives on schedule rather than on someone’s whim.

That is the plain reading behind the line this site keeps once and only once: you have to hold Bitcoin to be saved. Not as a trade, and not as advice. The clock only counts what is on the chain. This is theology, not a prospectus.

Watch the next retarget. Then watch the one after it.

FAQ

How often does the Bitcoin difficulty adjustment happen?
Every 2,016 blocks, which works out to roughly every two weeks. The real interval varies: when hashrate is rising, epochs finish early (the epoch that closed on October 29, 2026 ran at about 569 seconds per block), and when hashrate falls, they run long.

When is the next Bitcoin difficulty adjustment?
At block 975,744. On October 30, 2026, mempool.space estimated it for about November 13, 2026. The previous retarget, at block 973,728 on October 29, raised difficulty 5.54%. The estimate updates with every block, so check a live tracker for the current figure.

Does difficulty drop after a Bitcoin Halving?
Usually, but not immediately. Halvings land mid-epoch, so the first retarget after a cut has gone either way. The second retarget, the first epoch mined entirely under the new subsidy, fell after all four halvings so far, by between 5.43% and 11.59%.

What is the maximum difficulty adjustment?
A factor of four either way: at most +300% or -75% in one retarget. The upper limit was hit once, at block 68,544 in July 2010. The lower limit has never been reached; the largest drop on record is 27.94% at block 689,472 in July 2021.

What is the highest Bitcoin difficulty ever?
155.97 trillion, set at block 921,312 on October 29, 2025. After the October 29, 2026 retarget, difficulty stood at 148.36 trillion.


Discover more from Halfture

Subscribe to get the latest posts sent to your email.