Practical Byzantine fault tolerance

Also known as: PBFT

On this page 7

Practical Byzantine fault tolerance (PBFT) is a leader-based replication algorithm that lets a known set of nodes agree on an ordered sequence of operations even when up to one third of them behave arbitrarily or maliciously. Introduced by Miguel Castro and Barbara Liskov in 1999, it was the first Byzantine fault-tolerant protocol efficient enough for real systems, and it remains a foundational design among consensus mechanisms in Crypto & blockchain.

Unlike proof of work, PBFT does not rely on computational puzzles or probabilistic confirmation. It uses rounds of signed votes, and once a block or request is committed it is final immediately, with no possibility of later reorganization. Its many descendants, including Tendermint and CometBFT, adapted these ideas to proof-of-stake blockchains.

How PBFT reaches agreement

PBFT reaches agreement through a three-phase protocol coordinated by one node called the primary, while the other nodes act as backups. Each configuration of primary and backups is called a view. A client sends a request to the primary, which assigns it a sequence number and starts the protocol. The request is executed only after enough replicas have confirmed both its order and its content.

The table below describes the purpose of each phase and the condition required to move forward.

PhaseWhat happensCondition to advance
Pre-preparePrimary assigns a sequence number and broadcasts the requestBackups accept a valid, unique number
PrepareEach backup broadcasts agreement with the proposed order2f matching prepare messages plus the pre-prepare
CommitEach replica broadcasts that it is ready to execute2f + 1 matching commit messages
ReplyReplicas execute and answer the clientClient waits for f + 1 identical replies
The three phases of PBFT

The prepare phase ensures that honest replicas agree on the order within a view, while the commit phase ensures that this order survives a change of primary. Replicas also create periodic checkpoints and discard older messages once 2f + 1 replicas have confirmed the same state, which keeps logs bounded.

Fault thresholds and quorum sizes

PBFT requires at least 3f + 1 replicas to tolerate f Byzantine faults. The reasoning is that a replica must be able to proceed after hearing from n minus f nodes, because f nodes may never respond, and any two such quorums must overlap in at least one honest node. With n = 3f + 1, a quorum of 2f + 1 guarantees that overlap.

The following table shows how network size translates into fault tolerance and quorum requirements.

Total replicas (n)Faulty nodes tolerated (f)Quorum size (2f + 1)
413
725
1037
311021
1003367
Replica counts and tolerated faults

Adding replicas beyond the next 3f + 1 boundary does not improve fault tolerance. For example, five or six replicas still tolerate only one fault, so practical deployments usually choose sizes that match the formula exactly.

View changes and liveness

A view change replaces a faulty or slow primary so that the system keeps making progress. Backups start a timer when they receive a request; if the request is not executed before the timer expires, they broadcast a view-change message for the next view. The new primary, chosen in round-robin order, collects 2f + 1 such messages and issues a new-view message that carries forward every request that might already have committed.

PBFT guarantees safety under asynchrony, meaning honest replicas never execute conflicting orders even if messages are delayed indefinitely. Liveness requires partial synchrony, because progress depends on messages eventually arriving within bounded time. This split reflects a fundamental limit: no deterministic protocol can guarantee both properties in a fully asynchronous network with even one faulty node.

PBFT compared with other consensus mechanisms

PBFT trades scalability for fast, deterministic finality. Proof of work and other forms of Nakamoto consensus allow anyone to join, but blocks are only probabilistically final. Modern proof-of-stake protocols often combine stake-weighted voting with PBFT-style rounds to obtain open participation and deterministic finality together.

PropertyPBFTNakamoto consensusPBFT-derived proof of stake
ParticipationKnown, permissioned setOpen to anyoneOpen, weighted by stake
FinalityImmediate and deterministicProbabilistic, grows with depthDeterministic after commit
Fault modelUnder one third faulty nodesUnder half of hash rateUnder one third of stake
Message complexityQuadratic in node countLinear gossip per blockQuadratic or optimized
Typical scaleTens of nodesThousands of minersAbout 100 to 200 validators
PBFT and related consensus approaches

Later protocols such as HotStuff reduce the message complexity to linear by routing votes through the leader and aggregating signatures, which also simplifies leader rotation. These refinements keep the core PBFT insight of overlapping 2f + 1 quorums.

Strengths, limitations and suitable use cases

PBFT is most suitable for permissioned blockchains and consortium networks, where participants are identified and the validator set is small. Banks, supply chain partners or government agencies that already know one another benefit from its sub-second finality and its lack of energy-intensive mining.

  • Communication overhead grows quadratically, so performance degrades noticeably beyond a few dozen nodes.
  • Sybil resistance is external: PBFT assumes a fixed membership and needs identity or stake to prevent fake nodes.
  • Collusion of one third or more of replicas can halt the system, and more than two thirds can rewrite outcomes.
  • Frequent view changes under network instability can sharply reduce throughput.

A common misconception is that PBFT tolerates half of the nodes failing, as Nakamoto consensus does for hash power. The one-third bound is strict, and network designers must account for it when assigning validator seats to organizations.

In simple terms

Practical Byzantine fault tolerance is a way for a small group of computers to agree on the same record, even when some of them lie or break down. It works like a committee vote in several rounds. A chairperson proposes an item. Everyone confirms they saw the same proposal. Then everyone confirms they are ready to approve it.

If more than two thirds of the members agree in each round, the decision is final and cannot be reversed. If the chairperson behaves badly, the committee elects a new chair and continues.

A practical example

A consortium of seven regional banks operates a shared ledger for interbank settlement. Each bank runs one validating node, so the network has seven replicas and tolerates two faulty ones. When a payment instruction arrives, the current primary proposes its position in the ledger, and the instruction is committed once at least five banks have exchanged matching prepare and commit messages.

During a data center outage, one bank’s node and the current primary go offline at the same time. The remaining banks detect the stalled request after a timeout, trigger a view change and resume settlement under a new primary within a few seconds. No payment is lost or duplicated, and every settled transfer remains final without waiting for extra confirmations, which is the main reason the consortium chose a PBFT-based design.