---
title: "Chain Reorganization (Reorg) — definition | Nuri Glossary"
description: "Switching to a competing chain with more accumulated work, which can undo recent confirmations."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/chain-reorganization"
---

# Chain Reorganization (Reorg)

Switching to a competing chain with more accumulated work, which can undo recent confirmations.

## Basically

A chain reorganization means your Bitcoin software switches to a longer valid chain of blocks. Payments that looked confirmed can be undone.

## Key Takeaways

- A chain reorganization happens when a Bitcoin node finds a competing chain with more cumulative proof-of-work. It abandons its current chain tip for the heavier chain, which can reverse previously confirmed transactions. Bitcoin finality is therefore probabilistic rather than absolute.
- One-block reorgs happen roughly once every 45 days under normal conditions and resolve harmlessly. Deep reorgs of 3 or more blocks are extremely rare on Bitcoin's mainnet. They typically indicate a software bug or a deliberate 51% attack.
- The convention of waiting for 6 confirmations comes from the probability analysis in Satoshi's whitepaper. At 6 confirmations, an attacker with 10% of network hashrate has less than a 0.1% chance of a successful double-spend.

## What Is a Chain Reorganization?

A chain reorganization, commonly called a "reorg", happens when a Bitcoin node replaces its current view of the blockchain with a competing chain that has more accumulated proof-of-work. The node discards one or more blocks at its chain tip, making them "stale blocks", and adopts blocks from the heavier chain instead.
Reorgs are a fundamental part of reaching consensus across Bitcoin's decentralised network. Miners worldwide race to find blocks simultaneously, so two valid blocks can appear at nearly the same time and network propagation delays can give different nodes different initial views. The reorg mechanism resolves these temporary forks by bringing all nodes onto the single chain with the most work.
Each node independently reorganises its own view of the chain when it finds a heavier alternative. Reorgs are node-local, so the entire network does not reorganise simultaneously.

## How It Works

Bitcoin uses the "heaviest chain" rule, often simplified as the "longest chain" rule, so nodes always adopt the valid chain with the most cumulative proof-of-work rather than merely the most blocks. A node that receives a new block creating a heavier competing chain follows these reorganization steps:

## Bitcoin Core Implementation

Bitcoin Core triggers the reorg process through the ActivateBestChain() function whenever it receives a new block. The ActivateBestChainStep() function splits the process into steps to avoid holding the main chain state lock for extended periods during large reorgs. Two key functions handle the chain switch:

## Reorg Depth and Frequency

Reorgs differ in depth, which is measured in blocks. Their depth determines their impact.
One-block reorgs occur because two miners occasionally find valid blocks at nearly the same height. The stale block rate has generally decreased over time as mining pools have adopted low-latency block relay networks. Approximately 73 stale blocks were observed between blocks 800,000 and 900,000, a rate of 0.73 per 1,000 blocks.

## The 6-Confirmation Standard

The widely cited recommendation to wait for 6 confirmations before treating a Bitcoin transaction as final originates from Section 11 of the Bitcoin whitepaper. Satoshi modelled a double-spend attempt as a Gambler's Ruin problem, where an attacker with hashrate fraction q tries to catch up from z blocks behind the honest chain.
The probability of attacker success drops exponentially with each additional confirmation. Every confirmation makes a successful attack less likely.
An attacker controlling 10% of the network hashrate has a negligible chance of success at 6 confirmations. This threshold has become the de facto standard for high-value transactions, though many exchanges now accept deposits with fewer confirmations for practical reasons and some require as few as 2-3 confirmations for moderate amounts.

## Relationship to 51% Attacks

A 51% attack is the adversarial exploitation of the reorg mechanism. An attacker controlling more than half the network's hashrate can take the following actions:
An attacker with majority hashrate has a 100% success probability regardless of how many confirmations the victim waits for. Bitcoin's security therefore fundamentally depends on no single entity controlling majority hashrate. The cost of mounting a 51% attack on Bitcoin is extraordinarily high due to its massive total hashrate, making such attacks economically impractical under normal conditions.
Lower-hashrate blockchains are far more vulnerable. Ethereum Classic suffered three separate 51% attacks in August 2020 alone, with reorgs reaching thousands of blocks deep, while Bitcoin Gold lost an estimated $18 million to 51% attack double-spends in May 2018. These incidents underscore why raw hashrate is the primary security guarantee against deep reorganizations.

## The Value Overflow Bug (2010)

Block 74,638 contained a transaction on August 15, 2010 that created over 184 billion BTC due to an integer overflow vulnerability, CVE-2010-5139. A patched version of Bitcoin was released within hours. The corrected chain overtook the buggy chain at block 74,691, requiring a 53-block reorganization that was one of the deepest in Bitcoin's history.

## The BIP-50 Consensus Split (2013)

A consensus split occurred between Bitcoin Core versions 0.7 and 0.8 on March 11-12, 2013 due to their differing database backends, BerkeleyDB and LevelDB. A block triggered a lock limit in BerkeleyDB that LevelDB did not have, causing the two versions to disagree on which blocks were valid. Mining pools voluntarily downgraded to version 0.7 to resolve the fork after approximately 5 hours, and the incident was documented as BIP-50.

## March 2026 Two-Block Reorg

A two-block reorganization occurred in March 2026 at approximately block height 941,880, involving competing blocks from Foundry USA and AntPool/ViaBTC. It resolved naturally within minutes with no double-spends or lost funds. Developers described it as routine behaviour under Bitcoin's proof-of-work system, highlighting that shallow reorgs remain a normal part of network operation.

## Why It Matters

Chain reorganizations directly affect how payment systems and exchanges handle Bitcoin deposits. Any service accepting Bitcoin must decide how many confirmations to require before crediting a deposit, because too few confirmations risk losses from reorgs while too many create unnecessary delays for users.
Merchants and payment processors face inherent risk with zero-confirmation transactions because of reorgs. The adoption of Replace-By-Fee, with full RBF becoming the network standard in Bitcoin Core 28.0, has made zero-conf acceptance even less reliable. Any unconfirmed transaction can now be replaced by a conflicting one with a higher fee.
Layer 2 solutions like the Lightning Network and Spark address this challenge by enabling instant transactions that do not depend on block confirmations. These protocols move transactions off the base layer to provide instant settlement. The underlying Bitcoin chain provides long-term finality guarantees.

## Transaction Reversal

The primary risk of a reorg is transaction reversal. Transactions in disconnected blocks return to the mempool, but a conflicting transaction in the new chain makes the original transaction permanently invalid. Double-spend attacks use this mechanism when the attacker's conflicting transaction in the reorganized chain replaces the original payment.

## Exchange Deposit Theft

Exchanges are particularly vulnerable to reorg-based attacks. An attacker can deposit Bitcoin to an exchange, trade for another asset, withdraw it, then execute a reorg that reverses the original deposit. The exchange loses the withdrawn asset while the deposit transaction disappears, which is why exchanges typically require multiple confirmations before allowing trading or withdrawals.

## Checkpoint Removal

Bitcoin Core v30, released in 2025, removed all legacy checkpoints, which were hardcoded block hashes that previously prevented reorgs past certain historical points. The headers pre-sync functionality introduced in v24 now provides protection against low-proof-of-work header attacks instead. The assumevalid parameter remains as a performance optimization but gracefully falls back to full validation if a reorg occurs past that point.

## Mining Centralization

The risk of deep reorgs increases as mining becomes more concentrated. A small number of pools controlling a large share of hashrate lowers the barrier to executing a 51% attack. Bitcoin's security against deep reorgs ultimately depends on how distributed its mining power is across independent operators.

## Are transactions in reorged blocks lost forever?

Transactions from disconnected blocks are not necessarily lost forever because they return to the mempool and can be included in future blocks. A conflicting transaction in the new chain that spends the same inputs makes the original transaction invalid. The original transaction will not be re-mined in that case.

## How can I protect against reorg risk?

You should wait for sufficient confirmations before treating a transaction as final. The traditional 6-confirmation standard provides strong protection for high-value transactions against attackers with less than 10% of network hashrate, while 2-3 confirmations may be sufficient for lower-value transactions. You can alternatively use a Layer 2 solution like Lightning or Spark for instant settlement without reorg risk.

## Can a reorg happen at any depth?

Bitcoin's protocol allows arbitrarily deep reorgs in theory, with no hardcoded depth limit. The probability of a natural reorg decreases exponentially with depth in practice, and a deep reorg would require an attacker to possess an enormous amount of hashrate. No reorg deeper than 53 blocks has ever occurred on Bitcoin's mainnet, and that was due to a critical software bug in 2010 rather than an attack.
The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
