Skip to content
Fundamental Concepts

Immutability

Propriedade de um registro que, uma vez gravado, não pode ser alterado; na blockchain, sustenta a confiança no histórico público de transações da rede.

Key points

  • Immutability is the property of a record that, once written, cannot be altered or erased without that change becoming evident.
  • On the blockchain, it is what guarantees that the history of confirmed transactions remains trustworthy, even without a central authority protecting it.
  • This characteristic comes from the combination of cryptography and distribution: changing an old piece of data would require redoing everything across thousands of copies.

What is immutability?

Immutability is the inability to change something after it has been recorded. Applied to the blockchain, it means that once a transaction is confirmed and buried under new blocks, it becomes practically impossible to rewrite. It is one of the central properties that underpin trust in crypto without relying on an intermediary to guarantee data integrity.

How it works

Each block of transactions carries a cryptographic summary, the hash, of the previous block, forming a linked chain. Altering an old piece of data would change that block's hash and, as a consequence, the hash of every subsequent block. Since every participant in the network keeps a copy of the history, fraud would only take effect if it were imposed on the majority at the same time, which is unfeasible on large networks.

Consensus security reinforces this. In proof-of-work networks, rewriting the past would require redoing all the computational work of the affected blocks faster than the rest of the network. The deeper a block sits in the history, the more expensive and unlikely it becomes to alter it.

It is worth noting that immutability is a practical, probabilistic guarantee, not a magical one: on small or poorly secured chains, reorganizing recent blocks is possible, which weakens the property.

Why it matters

Immutability is what allows a record to be audited without trusting whoever maintains it. For a company, a history that cannot be silently tampered with simplifies auditing and proof, since any party can verify the same data and be certain it has not been changed after the fact. This attribute also gives predictability to smart contracts, whose rules, once published, keep applying the same way to everyone.

Risks and limitations

The same property that protects the history prevents fixing mistakes: a transaction sent by error cannot be undone. Immutability also depends on the network's security, and it is weaker on small chains. Sensitive data recorded on the blockchain remains there indefinitely, which raises privacy issues that are hard to reverse. For this reason, careful projects avoid recording personal data directly on the public network.