Skip to main content

Immutability | Bitcoin Glossary | Mapping Bitcoin

Immutability

Protocolo

Also known as: tamper-resistance

The property of the Bitcoin blockchain that makes confirmed transactions extremely difficult to alter or reverse. Immutability is achieved through the cumulative proof-of-work securing the chain, where modifying any past block requires redoing all subsequent work.

Overview

Immutability is one of Bitcoin's most important properties: once a transaction is confirmed in a block and subsequent blocks are built on top of it, altering or removing that transaction becomes practically impossible. This property arises from the cumulative proof of work securing the chain -- changing any historical block would invalidate its hash, breaking the chain link to all subsequent blocks and requiring all that work to be redone.

How Immutability Is Achieved

Modifying Block 5 in a chain of 10 blocks:

Original chain:
[B1]──[B2]──[B3]──[B4]──[B5]──[B6]──[B7]──[B8]──[B9]──[B10]

If an attacker modifies Block 5:
- Block 5's hash changes → Block 6's "previous hash" pointer is invalid
- Block 6 must be re-mined → Block 7's pointer is invalid
- Block 7 must be re-mined → Block 8's pointer is invalid
- ... and so on for ALL subsequent blocks

[B1]──[B2]──[B3]──[B4]──[B5']──[B6']──[B7']──[B8']──[B9']──[B10']
                         ▲
                    Modified block
                    (requires re-mining 6 blocks)

Meanwhile, the honest network continues adding new blocks,
making the attacker's task perpetually harder.

Layers of Immutability

Bitcoin's immutability is reinforced by multiple mechanisms working together:

  1. Cryptographic linking: Each block contains the hash of the previous block header, creating a tamper-evident chain
  2. Proof of work: Each block requires enormous computational effort to produce, making retroactive modification extremely expensive
  3. Distributed consensus: Thousands of independent full nodes maintain copies of the blockchain and would reject any altered history
  4. Economic incentives: Miners are incentivized to build on the honest chain rather than attempt to rewrite history
  5. Network effect: The longer a block has been in the chain, the more work is stacked on top of it

Practical Immutability vs. Absolute Immutability

Bitcoin's immutability is practical rather than absolute. With sufficient hash power (a 51% attack), recent blocks could theoretically be reorganized. However, the cost of such an attack scales with the depth of the target block:

  • Rewriting the last 1 block: Expensive but theoretically possible
  • Rewriting the last 6 blocks: Extraordinarily expensive
  • Rewriting blocks from years ago: Economically infeasible -- would cost more than the entire mining industry's cumulative investment

Why Immutability Matters

  • Settlement assurance: Businesses and individuals can trust that received payments will not be reversed
  • Censorship resistance: No government or corporation can retroactively alter the financial record
  • Auditability: The complete history of all transactions is permanently verifiable
  • Sound money: The monetary policy (supply schedule, 21 million cap) cannot be changed after the fact
  • Property rights: Bitcoin ownership records are as permanent as the blockchain itself

Common Misconceptions

  • Immutability does not mean the protocol cannot be upgraded. The rules for new blocks can be changed through soft forks or hard forks, but this does not alter the historical record.
  • Immutability does not prevent honest mistakes. If you send bitcoin to the wrong address, the transaction cannot be reversed. This is a feature, not a bug, but it demands careful usage.
  • Immutability is not unique to Bitcoin, but Bitcoin's accumulated proof of work makes it the most immutable blockchain by a wide margin.