# Byzantine Fault Tolerance

> Reach agreement in a system even when some components lie and send conflicting information.

**Field:** Software & systems · **Reliability:** Empirical · **Coined:** 1982

*Also known as: BFT*

## What it means

A Byzantine fault is a condition in a distributed computer system in which components may fail while there is imperfect information about whether they have failed, and in particular a faulty component may behave arbitrarily, including sending conflicting or inconsistent information to different parts of the system, rather than simply stopping. Byzantine fault tolerance is the ability of a system to continue operating correctly, and to reach agreement, despite some of its components failing in these arbitrary, possibly malicious, ways. The problem is captured by the Byzantine Generals Problem, an allegory in which several divisions of the Byzantine army, each led by a general, surround an enemy city and must agree on a common plan, attack or retreat, communicating only by messengers, while some of the generals may be traitors trying to prevent the loyal ones from reaching agreement; a traitor might tell some generals to attack and others to retreat. The task is an algorithm by which all loyal generals agree despite the traitors. The classic result, from the 1982 paper The Byzantine Generals Problem by Leslie Lamport, Robert Shostak, and Marshall Pease, is that to tolerate a given number of Byzantine faulty nodes one needs more than three times that many total nodes, at least three times the faulty count plus one, so that more than two-thirds of the participants are honest; this holds for unsigned, oral messages, while cryptographically signed messages allow tolerating more faults. Byzantine fault tolerance is foundational to fault-tolerant systems, including aircraft and spacecraft controls, and especially to blockchains and cryptocurrencies.

## How it works

Byzantine fault tolerance concerns the hardest kind of failure in a distributed system, not a component that cleanly crashes but one that behaves arbitrarily, giving different, contradictory information to different observers, whether from a subtle bug, corruption, or malice. Because such a faulty component can actively try to deceive, it is far harder to tolerate than a simple stop-failure, and the central question is how many correct components are needed to overcome a given number of treacherous ones. The Byzantine Generals Problem frames this: loyal generals, coordinating only through messengers that traitors may exploit, must all decide on the same plan, and must do so even though traitors send inconsistent messages designed to split them. Lamport, Shostak, and Pease analyzed this in 1982 and proved the fundamental bound. With plain oral messages, unsigned and forgeable, agreement among the loyal generals is possible if and only if more than two-thirds of the generals are loyal; equivalently, to tolerate a certain number of Byzantine faults, the system needs at least three times that number plus one total participants, so a faulty minority below one-third can be outvoted and cannot force disagreement. The requirement is stringent because a traitor can say different things to different generals, and the algorithm must ensure the loyal ones still converge. Signed messages change the calculus: if messages carry unforgeable digital signatures, a traitor cannot alter a relayed message without detection, and this cryptographic accountability lets the system tolerate a larger fraction of faults. Later work made Byzantine agreement practical: Practical Byzantine Fault Tolerance, by Castro and Liskov in 1999, gave an efficient algorithm usable in real systems, and open, permissionless settings like Bitcoin achieve Byzantine agreement through proof of work rather than a fixed vote.

## Examples

- **The generals allegory:** Generals surrounding a city must agree to attack or retreat while traitors send some attack and others retreat.
- **The two-thirds bound:** With oral messages, loyal generals can agree only if more than two-thirds are loyal, needing three faulty plus one nodes.
- **Signed messages help:** Unforgeable digital signatures on messages let a system tolerate more Byzantine faults than oral messages allow.

## Try it

This entry is interactive: a live calculator.
Open it at https://conyso.com/lawtome/laws/byzantine-fault-tolerance/ — free, runs in the browser, sends nothing anywhere.

```
n >= 3f + 1
```

- `n` — Nodes in the system
- `f` — Traitors it can survive

## Why it matters

Byzantine fault tolerance addresses the most demanding problem in distributed computing, how to make a system reliable even when some of its parts are not merely broken but actively behaving arbitrarily or maliciously, and it has become newly central to the digital economy. The Byzantine Generals Problem and its solution established a precise, sobering result about the limits of agreement: no more than one-third of participants can be faulty if the honest ones are to reach consensus with unsigned messages, a bound that shapes the design of every system that must survive corruption or attack. This matters wherever failures cannot be assumed benign. Safety-critical control systems in aircraft and spacecraft use Byzantine fault tolerant designs so that a single malfunctioning component giving inconsistent readings cannot mislead the whole. Above all, Byzantine fault tolerance underpins blockchains and cryptocurrencies, which must reach agreement among mutually distrusting, anonymous participants in an open network where some are adversarial: Bitcoin's proof-of-work consensus is precisely a solution to Byzantine agreement in such a setting, and Practical Byzantine Fault Tolerance and its descendants power many other distributed ledgers. The formulation by Lamport, Shostak, and Pease in 1982 gave the field its language and its foundational theorem.

## Where it breaks down

Byzantine fault tolerance is powerful but bounded. The central impossibility is strict: with unsigned, oral messages, no algorithm can reach agreement if a third or more of the participants are Byzantine, so systems must ensure the faulty fraction stays below one-third, a real constraint that cannot be engineered away. The three-times-plus-one bound applies to the oral-message model; signed messages relax it, so the exact tolerable fraction depends on the assumptions, and stating the bound without its model can mislead. Byzantine agreement is also expensive, historically requiring many messages and rounds, which is why efficient schemes like Practical Byzantine Fault Tolerance were a notable advance and why open-network solutions like proof of work trade agreement for large energy or resource costs. Byzantine fault tolerance addresses arbitrary faults specifically; systems that only need to survive crashes can use cheaper crash-fault-tolerant protocols like Paxos or Raft, so applying the Byzantine model where it is not needed wastes resources. The foundational analysis is the 1982 paper by Lamport, Shostak, and Pease, and Practical Byzantine Fault Tolerance is due to Castro and Liskov in 1999.

## Common misreadings

Byzantine fault tolerance cannot survive any level of treachery; with oral messages, a third or more faulty participants makes agreement impossible. Its three-times-plus-one bound is for unsigned messages, and signatures change it. And it is needed only for arbitrary, not merely crash, failures, so treating Byzantine agreement as unconditional, as one fixed bound regardless of model, or as necessary for every distributed system, misreads it.

## Origin

The problem, formalized by Lamport, Shostak, and Pease in 1982 as the Byzantine Generals Problem, of reaching agreement in a distributed system when some components behave arbitrarily and send conflicting information.

## Related

- [The CAP Theorem](https://conyso.com/lawtome/laws/the-cap-theorem/) — kindred
- [Arrow's Impossibility Theorem](https://conyso.com/lawtome/laws/arrows-impossibility-theorem/) — kindred
- [The Byzantine Generals Problem](https://conyso.com/lawtome/laws/the-byzantine-generals-problem/) — near-twin

## Sources

- [Byzantine fault, Wikipedia. — the Byzantine fault as a component presenting different symptoms to different observers, the Byzantine Generals Problem allegory, Byzantine fault tolerance, the Lamport-Shostak-Pease 1982 result with the three-times-plus-one bound and the effect of signed messages, Practical Byzantine Fault Tolerance by Castro and Liskov, and blockchain relevance including Bitcoin.](<https://en.wikipedia.org/wiki/Byzantine_fault>)
- [Leslie Lamport, Robert Shostak, and Marshall Pease, The Byzantine Generals Problem, ACM Transactions on Programming Languages and Systems, 1982. — the foundational paper introducing the problem and the bound on tolerable Byzantine faults.](<https://lamport.azurewebsites.net/pubs/byz.pdf>)

---
Source: https://conyso.com/lawtome/laws/byzantine-fault-tolerance/ · The Law Tome — a sourced index of named laws.
