Research·Mining

When Half the Hash Rate Left

In mid-2021 China ended Bitcoin mining within its borders and roughly half the network's hash rate switched off over a few weeks. Difficulty fell 27.94% in a single adjustment — the largest in Bitcoin's history — and the chain kept producing blocks throughout. The mechanism worked exactly as specified, slowly.

Level
Intermediate
Reading
8 min
Published
2026-11-25
Reviewed
2026-11-25

Bitcoin has never been switched off, but in 2021 something close to the designed stress test happened by accident. A single jurisdiction holding a large majority of the world’s hash rate ordered it to stop, and the machines went dark over a few weeks. The chain’s response is a matter of public record, and it is more instructive than either the alarm at the time or the triumphalism afterwards.

What actually happened to the numbers?

Difficulty fell 45% from its peak, with a single adjustment of nearly 28%.

The May 2021 peak was a difficulty of about 25.0 trillion, set on 13 May at block 683,424. Chinese provinces began ordering mines to close in the following weeks, and the effect appears in the chain immediately: the epoch ending 3 July took 19.44 days instead of the intended 14, averaging 13.9 minutes per block.

At block 689,472 the retarget applied, and difficulty dropped 27.94% to about 14.4 trillion — the largest downward adjustment in Bitcoin’s history. Two weeks later it fell a further 4.81%, reaching a trough of 13.7 trillion on 17 July: 45.4% below the May peak.

Then the correction worked. The epoch after the big adjustment took 14.71 days, averaging 10.5 minutes per block, already close to target. Difficulty rose at every subsequent adjustment but one for the rest of the year, and first exceeded the May 2021 peak on 21 January 2022 — about eight months after the fall began.

Why did blocks slow rather than stop?

Because difficulty is fixed within an epoch, and the only thing that varies is how long it takes to find each block.

The retarget in pow.cpp is simple arithmetic: compare how long the last 2,016 blocks actually took against the two weeks they were meant to take, and scale the target by that ratio. Nothing adjusts in between. Lose half the hash rate on day three of an epoch and the remaining miners simply take roughly twice as long per block until the epoch ends.

That is why the worst case is a slowdown rather than a halt. Blocks at 13.9 minutes are inconvenient — confirmations are slower, fees rise as the same demand competes for fewer blocks per hour — and they are not a failure. The chain was never at risk of stopping, because the difficulty adjustment has no floor it can fail to reach; it only has a clamp.

The clamp matters here. The code limits the measured timespan to between a quarter and four times the target, so a single adjustment can move difficulty by at most a factor of four in either direction. The 2021 drop was nowhere near that bound, which is the reassuring part: the largest real-world shock in Bitcoin’s history used a quarter of the mechanism’s available range.

Was this a close call?

No, and the framing at the time was wrong in both directions.

The alarmed version held that a state had demonstrated it could cripple Bitcoin. What it actually demonstrated is that the largest possible concentration of mining in one jurisdiction, removed by decree, produced three weeks of slower blocks and no loss of a single confirmed transaction.

The triumphant version held that the ban proved Bitcoin unbannable and that the hash rate “didn’t care.” Half the network’s capital equipment had to be shipped across the world or scrapped, miners who could not move lost their businesses, and the people who absorbed that cost were not the ones celebrating. The network survived; the industry took a real loss.

What the episode genuinely settled is narrower and worth keeping. A large, abrupt, politically motivated reduction in hash rate is survivable without intervention, coordination or any change to the protocol. That had been an argument before 2021 and became an observation.

Where did the machines go?

Mostly to the United States, Kazakhstan and Russia, and the distribution has kept moving since.

The Cambridge industry research tracks this in detail, and the headline is that the post-ban distribution is substantially more spread out than the pre-ban one — which also changed what the hash rate runs on. Concentration in a single jurisdiction fell sharply and has not returned, which is a durable change in Bitcoin’s political exposure rather than a temporary dislocation.

Two caveats are worth carrying. First, measurement is hard: geographic estimates are built from pool-level data that miners can obscure, and the published figures are explicit about their uncertainty. Second, less concentrated does not mean uncorrelated — hash rate follows cheap power, cheap power follows policy, and several of the new hosts share both regulatory and grid exposure.

What did it cost the people who stayed?

Nothing, briefly, and that is the part the incentive design is for.

For a miner still running through July 2021, the arithmetic was unusually good. The subsidy per block did not change, the number of blocks per day returned to normal after the retarget, and the pool of machines competing for them had halved. Revenue per unit of hash rate roughly doubled for several months, which is the mechanism that makes the network self-healing: the worse the exodus, the better the terms for whoever remains.

That is worth stating precisely because it is the strongest argument against the idea that a ban can kill Bitcoin by attrition. Removing miners raises the return to the miners you did not remove, so a prohibition in one jurisdiction subsidises mining in every other. A coordinated global prohibition would avoid that, and coordinating one across every jurisdiction with cheap electricity is a far harder problem than passing a law.

The flip side is that the windfall is temporary by construction. Difficulty rose back through the prior peak within eight months, competing away the margin exactly as designed.

What would a larger shock look like?

Mechanically, more of the same. Economically, worse.

Because the retarget clamp allows a factor of four, a 75% loss of hash rate would be corrected in one adjustment, and a loss larger than that would need two. The arithmetic does not break down; it just takes epochs, and each epoch takes longer precisely because hash rate is low. A hypothetical 90% loss would mean roughly 100-minute blocks until the first retarget — slow enough to be genuinely disruptive, and still not fatal.

The real constraint is economic rather than arithmetic. Miners leave because revenue falls below cost, and the thing that drives revenue is price. A hash rate collapse driven by a price collapse is self-limiting in the same way, since difficulty falls and the survivors’ share of the subsidy rises. A collapse driven by coordinated prohibition across many jurisdictions at once would be a different problem, and nobody has observed one.

Why did the ban happen when it did?

Officially for financial risk and energy policy; the timing suggests both were already decided.

Chinese authorities had restricted exchange activity since 2017 and had discouraged mining for years before acting on it. The 2021 instructions came alongside a broader campaign and shortly before the country’s own digital currency pilots expanded, which has encouraged a reading in which domestic monetary policy mattered more than the stated energy rationale.

That reading is plausible and it is not established. What can be said from the outside is narrower: the stated reasons were energy intensity and financial risk, the enforcement was rapid and provincial rather than gradual and national, and no equivalent action has been taken against other energy-intensive industries. Inferring motive from that is a judgement, and the site prefers to mark it as one.

What the motive does not change is the lesson for anyone assessing jurisdictional risk. The relevant question is not whether a state dislikes mining but whether it can act quickly, and the answer in this case was weeks.

Check it yourself

Every number here comes from the chain and your own node can confirm them:

bitcoin-cli getblockheader $(bitcoin-cli getblockhash 689472) | grep -E 'difficulty|time'
bitcoin-cli getblockheader $(bitcoin-cli getblockhash 689471) | grep difficulty

The two difficulties straddle the adjustment, and the ratio between them is the 27.94%. To see the slowdown that caused it, compare the timestamps of blocks 687,456 and 689,472 and divide the difference by 2,016: the answer is 13.9 minutes, against a 10-minute target.

Nothing in this requires a chart from anyone.

What remains uncertain

Whether the geographic spread holds. Mining concentrates wherever power is cheapest, and cheap power is a policy artefact. The current distribution is better than 2021’s and there is no mechanism keeping it that way; a few favourable jurisdictions could re-concentrate it within a couple of years.

How much of the pre-ban Chinese share was real. Estimates relied on pool-reported data, and miners had incentives to misreport location both before and after the ban. The direction of the change is not in doubt; the magnitude rests on measurements the researchers themselves qualify.

What a slower shock would do. The 2021 episode was abrupt, which suited the retarget — a shock concentrated inside one or two epochs gets corrected quickly. A long, gradual decline in hash rate against falling revenue would never trigger a large adjustment and has never been observed, and it is the scenario the security-budget argument actually describes.

Sources

Nearby