How does proof of work work?
In proof of work, computers race to solve a puzzle by guessing over and over, and the first to solve it adds the next block.1 The puzzle is hard to solve but easy to check, and changing an old block would mean redoing all of that work.1,2
Who writes the next block?
A blockchain needs a way to decide who adds the next block. On open blockchains, many computers compete for that job, usually to win new coins or fees.1 They don't trust each other, and may only know each other by their addresses.1 The rules that let them agree anyway are called a consensus model.1
The puzzle
In proof of work, a node earns the right to publish a block by being first to solve a hard puzzle.1 The solution is the "proof" that it did the work. The puzzle is hard to solve, but checking an answer is easy.1
A common puzzle asks for the hash of a block header to be below a target number.1 The miner changes a number in the header called the nonce, hashes again, and repeats.1,2 A nonce is a number used only once.1 There is no known shortcut: the miner just keeps guessing.1 Checking a winning answer takes a single hash.1,2
The lower the target, the more guesses it takes on average. Bitcoin assumes each guess's chance of winning is in proportion to the target, so halving the target means, on average, twice as many guesses.3
NIST tried a toy version of the puzzle. Finding a SHA-256 digest that started with six zeros took 10,730,896 guesses, or 54 seconds on old hardware.1 Asking for seven zeros took 934,224,175 guesses, or about 1 hour and 18 minutes.1
Keeping the pace steady
Computers get faster over time, and more of them join, so the puzzle's difficulty has to change.1 Bitcoin resets it every 2,016 blocks, aiming for about one block every ten minutes.1 It compares how long those 2,016 blocks took with two weeks, which is 1,209,600 seconds.3 If they came too fast, the difficulty rises in proportion. If they came too slowly, it falls in proportion.3 One reset can raise it by at most 300% or cut it by at most 75%.3
Rewards and pools
Miners do this work to earn transaction fees and newly created coins.4 Many miners join pools. They split the guessing between them and share the reward.1
Why history is hard to change
Once a miner has done the work, the block can't be changed without redoing it.2 Later blocks are built on top, so changing an old block means redoing that block and every block after it.2 Nodes treat the longest chain, the one with the most work in it, as the true one.2,1
Someone with most of the network's computing power could outpace everyone else and rewrite recent history. This is called a 51 percent attack.3 The Bitcoin guide adds that an attacker with less than half the power still has a good chance of such an attack.3
Proof of work also stops one person from faking thousands of voters. Influence depends on computing power, which costs money, not on network identities, which are free to create.1,2
The cost
Proof of work uses a lot of resources, and some miners set up where electricity is cheap.1 Ethereum used proof of work until 2022, then switched to proof of stake.5
- NIST IR 8202: Blockchain Technology Overview. US National Institute of Standards and Technology (Yaga, Mell, Roby, Scarfone), October 2018.
- Bitcoin: A Peer-to-Peer Electronic Cash System. Satoshi Nakamoto (whitepaper, hosted at bitcoin.org), 2008.
- Bitcoin developer guide: Block chain. Bitcoin developer documentation (developer.bitcoin.org).
- Frequently Asked Questions. Bitcoin Project, bitcoin.org.
- Proof-of-work (PoW). ethereum.org developer docs, page updated 13 April 2026.
General education built from the publicly available sources listed above. Not financial, legal, tax or investment advice. Naming a company, project or regulator is not an endorsement either way. Last checked 2026-10-22. Terms and disclaimer.