XRPL EXPLAINED Advanced guide ← Back to the guide Share on X

ESCROW · BUILT INTO THE XRP LEDGER

Escrow on the XRP Ledger

Lock funds until a date or a condition – no middleman.

An escrow sets funds aside on the ledger itself. They are released to the receiver only when the rules are met, or returned to the sender if they never are. No company holds the money – the XRP Ledger does.

Live on Mainnet

Simulator

How an escrow works

Six steps, from locking to release.

  1. 01

    Create the escrow

    The sender submits EscrowCreate with an amount, a receiver and the rules. The funds leave the sender's spendable balance right away.

  2. 02

    Set the time rules

    FinishAfter is the earliest time the funds can be released. CancelAfter is the deadline after which they can only go back to the sender.

  3. 03

    Add a condition (optional)

    A crypto-condition works like a lock. Whoever shows the matching secret, called the fulfillment, can release the funds.

  4. 04

    The ledger holds it

    Until then the funds sit in an Escrow object on the ledger. Nobody can spend them – not even the sender.

  5. 05

    Finish: release to the receiver

    When the rules are met, any account can send EscrowFinish and the funds go to the receiver named in the escrow.

  6. 06

    Cancel: back to the sender

    If CancelAfter has passed and the escrow was not finished, any account can send EscrowCancel and the funds return to the sender.

What makes it different

  • No middleman. The XRP Ledger enforces the rules, not a company or a lawyer.
  • Time or secret. Release after a date, with a crypto-condition, or both.
  • A safe deadline. With CancelAfter, unfinished funds can always go back to the sender.
  • XRP and tokens. XRP since 2017; trust line tokens and MPTs since the TokenEscrow amendment (2026).

What is it used for?

Timed payments
Conditional deals
Lock-ups

A well-known example: in 2017 Ripple locked 55 billion XRP in escrows that unlock on a fixed monthly schedule.

Key concepts, in plain English

EscrowCreateThe transaction that locks the funds.
FinishAfterThe earliest time the escrow can be released.
CancelAfterThe time after which it can only be returned.
Crypto-conditionA lock that opens with the matching fulfillment.
EscrowFinish / EscrowCancelRelease to the receiver, or return to the sender.

Good to know

Escrowed funds are locked: you can't use them until the escrow is finished or cancelled. Without CancelAfter, a conditional escrow can stay locked forever if the fulfillment is lost. Each escrow also adds to the owner's reserve while it exists.

Educational content. Not financial advice.

Test your knowledge

5 questions · Every answer explained

1 / 5

More Advanced guides

XRPL Glossary → How validators vote · Consensus →