Skip to content
LearnBitcoin

LearnGlossary

Difficulty

A measure of how tough it is to find a block hash below the network's target. Adjusted every 2016 blocks (~two weeks).

Difficulty is a number that defines how hard it is to mine a Bitcoin block right now. Specifically, it determines the target value that a block header hash must fall below to be valid. Higher difficulty = lower target = more attempts needed on average to find a valid hash.

Difficulty is set so that, given the current global hash rate, blocks come out on average every 10 minutes. As hash rate grows or shrinks, difficulty adjusts via difficulty retargeting every 2,016 blocks (about every two weeks).

For a rough sense of scale, the Bitcoin network changed its difficulty more than 460 times between the genesis block and October 2026. Genesis-block difficulty was 1. Difficulty in mid-2026 was around 130 trillion. That ratio - about 14 orders of magnitude - is the entire growth of the global Bitcoin mining industry, from one CPU on a desktop to a global industrial sector.

Difficulty is the part of proof-of-work that makes the system self-tuning. Whether 10 miners or 10,000 are competing, blocks still come out roughly every 10 minutes and BTC is issued on schedule. The network doesn't care about the price of hardware or electricity. It cares about hash rate, and it adjusts in response to it. The adjustment takes its timing from timestamps the miners write themselves, and The Time Warp covers what a miner with most of the hash rate could do with that.

See the Mining rabbit hole section 4 for the mechanism, and the Node page for the current difficulty and epoch progress.

Mine a toy block

Miners change one number in the block header, the nonce, and hash the header again, until the hash comes out below a target. This toy does the same in your browser, with a target easy enough to hit.

about 65,536 tries on average

Nonce
0
Hashes tried
0
Hashes per second
-
Hash
42fbd43f9b74362e6464fcdfe7685880a780be22614c8c9a7230555d1f36343c

The toy hashes the data and a 4-byte nonce with SHA-256 twice, as Bitcoin does with its 80-byte header, and shows the hash in the byte order block explorers use. Each extra zero makes the search 16 times longer on average. Bitcoin difficulty works the same way in finer steps: it moves the target itself.

Key takeaways

  • Regulates block discovery to ~10 minutes on average
  • Automatically adjusts based on total network hash rate
  • Maintains a predictable issuance pattern

Corrected

  • Was: The entry said the network had adjusted difficulty roughly 400 times and that difficulty had grown by 13 orders of magnitude since the genesis block.

    Now: Difficulty changed more than 460 times between the genesis block and October 2026, and its growth from 1 to about 1.3 x 10^14 is about 14 orders of magnitude. Details

Sources (1)

External references (1)

Related terms (11)

Published . Revised . One correction logged for this page.

Edit this page on GitHub