Proof of Work, explained
How a network with no boss agrees on the truth.
Last reviewed:
Proof of work is the single idea that makes Bitcoin possible. It answers a question that sounds impossible: how do thousands of anonymous strangers, with no one in charge, agree on one shared record of who owns what — and stop anyone from cheating? The answer is to make cheating expensive.
The core idea
To add a block to the blockchain, a miner must solve a puzzle that has no clever shortcut — the only way through is brute force, trying quadrillions of possibilities. Finding a solution takes real electricity and real hardware. But once found, anyone can verify it instantly. Effort is hard to produce and trivial to check. That single asymmetry does all the work.
The “proof” is exactly that: a solution that could only have been found by doing an enormous amount of computation. It proves work was done.
How the puzzle works (without the math)
Every candidate block gets fed through the SHA-256 hash function along with a changing number called a nonce. The output is an unpredictable fingerprint. Miners want a fingerprint below a certain target — think of it as needing a hash that starts with a long run of zeros. There's no way to calculate the right nonce; you just try one after another, billions per second, until one produces a small enough hash. Whoever finds it first wins the block.
Because the target can be tuned, the network can keep the average time to find a block at about ten minutes regardless of how much computing power is online — that's the difficulty adjustment covered on the Mining page.
Why it stops cheating
Say an attacker wants to erase a payment they made. They'd have to build an alternative chain that omits it — and to have the network accept their version, it must have more accumulated work than the honest chain. Since the honest majority is constantly extending the real chain, the attacker has to out-compute everyone else combined, and keep doing it. This is the “51% attack”: you need a majority of the network's total computing power even to attempt it, it costs a fortune to sustain, and the deeper a transaction is buried, the more hopeless it becomes. Proof of work turns rewriting history into a losing financial bet.
Longest chain = truth
When there are competing versions of the ledger, the rule is simple: the chain with the most cumulative work wins. Occasionally two miners find valid blocks at nearly the same time and the chain briefly splits; the next block to arrive extends one side, and the network converges on the longer one within minutes. The shorter branch is discarded and its transactions return to the pending pool. No vote, no committee — just whichever chain represents the most work.
The trade-off, stated plainly
Proof of work's security comes directly from its energy use, and that's its most criticized feature. The counter-argument is that the energy is the point — it's what makes the ledger costly to attack, and it can increasingly be sourced from otherwise-wasted or renewable power. Other networks, most notably Ethereum after its 2022 “Merge,” switched to proof of stake, which secures the chain by having validators lock up capital instead of burning electricity. Bitcoin has deliberately kept proof of work, betting that its simplicity and physical cost are worth more than the efficiency gains. Which model is better is one of the genuine, unsettled arguments in the whole space — and reasonable people land on both sides.
These pages are reference explainers, not financial advice. Bitcoin is volatile; do your own research.