LearnBitcoin

Glossary

Peg-out

Returning tokens from a sidechain to mainnet BTC after federation or multi-sig checks the transaction's validity.

A peg-out is the operation of converting sidechain tokens back into mainnet BTC, completing the round trip that began with a peg-in. It's the half of the two-way peg lifecycle that requires the most trust assumption, because someone has to authorize releasing the originally-locked BTC on mainnet.

The mechanics depend on the peg architecture:

  • Federated peg (e.g., Liquid): L-BTC is burned on Liquid; the federation verifies the burn, and a threshold of its functionaries (11 of 15) signs a transaction releasing BTC from the federation's mainnet multisig. On Liquid, only federation members holding a peg-out authorization key (PAK) can peg out, so other users go through one of them. The critical trust assumptions are that the federation executes peg-outs honestly and that the software it runs rejects coins that should not exist.
  • Drivechain (BIP-300): withdrawal proposals are voted on by miners over a long period (~3 months). If enough miners approve, BTC is released. This shifts the trust to the mining majority.
  • SPV-validated peg: the 2014 sidechains paper proposed that Bitcoin itself release the locked coins when shown an SPV proof that they were sent back on the sidechain. Bitcoin's script can't check such proofs without a soft fork, so the same paper suggested a federated peg in the meantime.

What can go wrong with peg-outs:

  • Federation refusal. If a federation decides to censor a peg-out (sanctions compliance, dispute, malicious behavior), the user is stuck with sidechain tokens they can't redeem.
  • Federation compromise. A hacked or coerced federation could approve a fake peg-out, draining the locked BTC.
  • Software bugs. A bug in the sidechain's own validation can let someone create unbacked tokens that an honest federation then redeems. That happened on Liquid in September 2026: about 3,996 BTC left the peg with no keys compromised, 3,400 BTC was later returned, and peg-outs, halted on September 6, 2026, were still paused as of October 10, 2026 (see Liquid Network).
  • Slow processing. Drivechain-style peg-outs are intentionally slow (months). Federated peg-outs are faster: Liquid's documentation expects 11 to 35 minutes, while Rootstock waits for 4,000 of its own blocks before signing.
  • Sidechain failure. If the sidechain itself fails (bug, shutdown, hostile takeover), peg-outs may become impossible.

For users moving real value via sidechains, the peg-out path is the key risk to evaluate. Once your BTC is pegged in, you're committed to whatever the peg-out mechanism actually delivers under stress.

See Peg for peg-in and broader context, Peg-Guard for security mechanisms.

Key takeaways

  • Sidechain tokens are redeemed for real BTC on mainnet
  • Federation multi-sig or functionaries confirm no double spends
  • Closes the loop on two-way pegging from sidechain to Bitcoin

Corrected

  • Was: The entry described a Liquid peg-out as the user burning L-BTC, as if anyone could peg out directly.

    Now: On Liquid, only federation members holding a peg-out authorization key can peg out, and other users go through one of them. Details

  • Was: The entry said that in an SPV-validated peg, sidechain validators approve a peg-out by checking SPV proofs of mainnet activity, and called the design rarely deployed at scale.

    Now: In the SPV peg proposed in the 2014 sidechains paper, Bitcoin itself releases the locked coins when shown an SPV proof that they were sent back on the sidechain. Bitcoin's script cannot check such proofs without a soft fork, so the same paper proposed a federated peg in the meantime. Details

Sources (7)

Related terms (5)

Published . Revised . Two corrections logged for this page.

Edit this page on GitHub