§ 2.4 · Consensus · 4 min
The Anatomy of a Reorg
Sometimes the chain you saw is not the chain that wins. What chain reorganisations are, why they happen on proof-of-work and proof-of-stake chains, and what they do to transactions.
Every few minutes, a node somewhere sees a block that later disappears from the chain. The transactions in it are not lost, but they are no longer where the node first saw them. This is a chain reorganisation — a reorg — and it is a normal, expected part of how decentralised consensus works. Understanding reorgs explains why "confirmed" comes in degrees and why exchanges wait for multiple confirmations before crediting deposits.
This chapter dissects a reorg: why it happens, what changes, and how different consensus mechanisms limit it.
Why there can be two chains at once
A blockchain network has no central clock or coordinator. Blocks are produced by different participants and spread across the network over time. Occasionally, two valid blocks are produced at nearly the same height, and different parts of the network see different ones first.
For a moment, the chain has two competing tips. Each node follows the one it saw first, or the one its fork-choice rule prefers. The tie is temporary: as the next block is built on top of one of the two, the network converges on the branch that grows faster or gathers more support. Nodes that had been following the other branch switch — and that switch is the reorg.
What happens during a reorg
When a node reorganises:
- It identifies the common ancestor — the last block both branches share.
- It rolls back its state to that ancestor, undoing the blocks on the losing branch.
- It applies the blocks on the winning branch.
Blocks on the losing branch become stale (often called orphaned). Their transactions return to the mempool. Most are simply included again in a later block on the winning branch — often within seconds — because they are still valid and still paying fees.
The depth of a reorg is the number of blocks rolled back. One-block reorgs are the most common by far. Deeper reorgs are increasingly rare.
When reorgs matter
For most users, a one-block reorg is invisible: their transaction ends up confirmed a few seconds later in a different block. Problems arise in three situations:
- Double spends. If a conflicting version of a transaction ends up in the winning branch, the original is no longer valid. This is why merchants and exchanges wait for multiple confirmations before treating a payment as settled.
- Ordering changes. On smart-contract chains, a transaction re-included in a different block may execute in a different order relative to others, with different results — a trade at a different price, a liquidation that no longer happens.
- Applications that act too early. Bridges, indexers and services that react to a transaction as soon as it appears, without waiting for finality, can act on events that are later undone.
Reorgs on proof-of-work chains
On Bitcoin, the fork-choice rule is to follow the chain with the most accumulated work. Two miners finding blocks seconds apart is the usual cause of one-block reorgs. Each additional block on top of a transaction makes reversing it exponentially harder, because an attacker would need to out-produce the rest of the network to build a longer competing chain.
That is the logic behind the familiar six-confirmation convention: after six blocks, reversing a transaction would require an attacker with an extraordinary share of the hashrate, sustained for an hour. It is a probabilistic guarantee, not an absolute one, which is why it is called probabilistic finality.
Reorgs on proof-of-stake chains
Ethereum's proof of stake changes the picture in two ways.
First, block production is scheduled: one proposer per 12-second slot. Reorgs usually happen when a proposer publishes late and attesters have already voted for the previous head, causing the late block to be left out. These are almost always one slot deep.
Second, Ethereum has economic finality. Once a checkpoint is finalized — typically within about 15 minutes — reverting it would require validators controlling at least one-third of all staked ETH to violate the protocol in provable ways, leading to their stake being slashed. Reorgs deeper than the finalized checkpoint are therefore not just unlikely but enormously expensive.
You can see the difference by comparing confirmation practices: services often wait for finality on Ethereum rather than counting blocks. The steady 12-second block rhythm that makes these short reorgs visible is charted on the Wevr.ai chart explorer.
Spotting reorgs in data
Reorgs leave traces for anyone watching closely:
- Stale blocks recorded by nodes that saw them, absent from the canonical chain.
- Transactions whose block number changed between when they were first seen and when they settled.
- Short gaps or duplicates at specific heights in data feeds that did not handle the switch cleanly.
Well-built indexers handle reorgs by waiting for finality, or by rolling back and reprocessing affected blocks automatically. The Wevr.ai live tables show canonical blocks, which is what you want for analysis; if you build your own pipeline, reorg handling is one of the first things to get right.
The takeaway
A reorg happens when the network converges on a different branch than a node first followed. Most are one block deep and harmless; transactions simply land in a later block. Proof-of-work chains limit deeper reorgs probabilistically through accumulated work, while Ethereum's proof of stake adds economic finality after about 15 minutes. "Confirmed" is a spectrum — and knowing where on it a transaction sits is what separates a pending payment from a settled one.