Skip to content
IntermediateLook up a term

What is an immutable contract?

Author
CRYPTO PORT Editorial
Published
Updated
Reading time
5 min

In short

An immutable contract is one nobody can alter after deployment. No administrator has to be trusted, and the rules are verifiably fixed for good. The cost is that a discovered bug cannot be fixed; the only remedy is migrating to a new contract. Its strengths and weaknesses are the mirror image of a proxy's.

Key points

  • Nobody can change behaviour after deployment
  • No administrator needs to be trusted
  • A discovered bug cannot be patched
  • The only remedy is migrating to a new contract

Definition

A contract with no upgrade mechanism and no administrative powers, whose published code runs unchanged forever. The code you read is guaranteed to behave the same way in future.

Part of the appeal of contracts is that the rules do not change on you. Under an immutable design not even the deployer can alter behaviour, so if you read the code and accept it, that understanding holds indefinitely — no sudden fee increase, no withdrawals being halted.

That guarantee carries weight when assets sit for a long time. No administrative powers also means a stolen admin key cannot affect the funds, because structurally there is no such attack surface.

The mirror image is that there is no remedy for a bug. When a vulnerability becomes public, you watch funds drain with no way to intervene. Projects choosing immutability therefore spend heavily on pre-launch review and formal proofs, and deliberately keep the feature set small. Both approaches carry a real cost.

Watch out for

  • · A vulnerability cannot be paused or patched — withdrawing your own funds is the only defence
  • · Unchangeable does not mean safe; code quality still has to be assessed separately
  • · Fake migration announcements are a common scam in exactly this situation

Related coins

Read next

Crypto quizzes

Answer a few questions and get your result instantly.

Start