Multi-Hop Payment

A payment passed through several intermediaries to reach someone you have no channel with.

Basically

A multi-hop payment sends your money through several connected points in a payment network when you and the recipient have no direct link. Each point passes the payment on until it reaches the recipient.

Key Takeaways

  • A multi-hop payment forwards funds through intermediate nodes in a payment channel network when sender and receiver have no direct channel. HTLCs guarantee atomicity at every hop.
  • Onion routing encrypts the payment path, so each intermediary learns only its immediate predecessor and successor. Sender and receiver privacy is preserved across the entire route.
  • Path-finding algorithms balance routing fees, reliability estimates and timelock exposure to select the best route. Typical Lightning payments traverse roughly three hops.

What Is a Multi-Hop Payment?

A multi-hop payment is a transaction that travels through one or more intermediary nodes in a payment channel network to reach its destination. The payment crosses a chain of connected channels when sender and receiver do not share a direct channel, and each node forwards it to the next. You can reach anyone on the Lightning Network and similar layer-2 protocols through a handful of channels instead of opening one with every counterparty.

The concept mirrors how packets move through the internet. Your data hops through routers rather than travelling on a direct wire from your computer to the destination server, and each router forwards the packet closer to its destination. Multi-hop payments instead hop through routing nodes, but cryptographic contracts make them trustless: intermediaries cannot steal funds or selectively fail the payment.

How It Works

Multi-hop payments use a chain of Hash Time-Locked Contracts (HTLCs) to enforce atomicity. You compute the full path and construct all forwarding instructions before starting the payment, so the entire process is source-routed.

Every HTLC in the chain uses the same payment hash, which makes the payment atomic: either all hops settle and everyone gets paid, or none settle and you recover your funds through timelock expiry. No intermediary can steal funds or selectively withhold the preimage.

HTLC Timelock Decrements

Each hop in the route reduces the timelock by a configurable CLTV delta, typically 40 to 144 blocks. This staggering gives each intermediary enough time to claim their incoming HTLC before their outgoing HTLC expires: if the final hop expires at block 800,000, the previous hop might use 800,050, and the one before that 800,100. The cascading structure stops an intermediary's outgoing HTLC expiring before they can claim their incoming one.

Onion Routing and Privacy

Lightning uses onion routing based on the Sphinx cryptographic packet format. You build a 1,366-byte encrypted packet with up to 20 layers of encryption, one for each hop, and each intermediary can decrypt only their own layer.

Each intermediary does not learn the payment's origin, final destination, their own position in the route, or the total number of hops. The design provides strong privacy guarantees, but balance probing and timing analysis can still leak information. Blinded paths further strengthen receiver privacy by hiding the last few hops from you entirely.

Path-Finding Algorithms

All major Lightning implementations use variants of Dijkstra's shortest-path algorithm. Each implementation uses a different cost function and optimisation priority, and takes its own approach to Lightning routing.

All implementations face a fundamental challenge: channel balances are private. You must estimate whether intermediate channels have enough liquidity on the correct side, so path-finding is inherently probabilistic. Failed attempts need retries on alternative routes, which adds latency.

Routing Fee Structure

Each intermediary in a multi-hop payment charges a routing fee for forwarding your payment. The fee has a base fee and a proportional fee.

The base fee is a flat charge per forwarded payment and covers fixed overhead such as HTLC verification and commitment transaction updates. The proportional fee compensates routing nodes for the opportunity cost of locked capital. The network trend is moving towards zero base fees, which simplifies path-finding by changing the cost model from additive-plus-multiplicative to purely multiplicative.

Everyday Lightning Payments

Routine payments between two parties without a direct channel are the most common use case. Your payment almost certainly crosses multiple hops when you pay a merchant, tip a content creator, or send sats to a friend. Well-connected nodes let typical payments complete in under a second across roughly three hops, with fees often below 0.05% of the payment amount.

Cross-Network Routing

Multi-hop routing enables value transfer across entire networks without direct relationships. You can be in Brazil and pay a merchant in Nigeria if a connected path exists between your nodes, making Lightning a viable cross-border payment rail without correspondent banking intermediaries.

Multi-Path Payments

Multi-path payments (MPP) split one payment across several multi-hop routes at the same time, and research on multipath payment reliability explains the mechanism in more detail. You divide the payment into smaller parts and route each through independent paths instead of finding one path with enough capacity for the full amount. Success rates improve significantly for larger payments because the total payable amount becomes the sum of all available route capacities rather than the maximum single-channel balance.

Trampoline Routing

Trampoline routing delegates path-finding to intermediate nodes. Your mobile wallet can specify a few well-connected trampoline nodes when it has limited network graph data, then let those nodes compute the detailed multi-hop path for the remaining route. The approach reduces computational and bandwidth requirements on resource-limited devices.

Why It Matters

Multi-hop routing turns isolated payment channels into a global payment network. Without it, every pair of transacting parties would need a direct channel funded with enough liquidity in both directions, an impractical O(n²) scaling problem. Multi-hop routing reduces this to O(n): each participant needs only a few well-connected channels to reach any other participant in the network.

The architecture lets the Lightning Network support millions of users with far fewer on-chain transactions than direct settlement would require. Platforms like Spark build on this foundation to deliver instant settlement and low fees for Bitcoin and stablecoin payments at scale.

The Future: PTLCs

Point Time-Locked Contracts (PTLCs) are a proposed upgrade that replaces hash-based locks with elliptic curve point-based locks using adaptor signatures. Their key improvement is privacy: HTLCs show the same payment hash at every hop, so an adversary controlling two non-adjacent nodes can correlate the payment. PTLCs use a unique cryptographic value at each hop, breaking this correlation entirely.

PTLCs also prevent wormhole attacks, where a malicious actor controlling two nodes on a route bypasses honest intermediaries to steal their routing fees. Settled PTLCs also appear as standard Taproot transactions on-chain, indistinguishable from regular single-signature spends, and became technically feasible after the Taproot activation in November 2021. No major Lightning implementation has shipped production PTLC support as of 2026.

Routing Failures

Private channel balances mean you cannot know with certainty whether a chosen route has enough liquidity. A payment may fail partway through the route and require retries on alternative paths. Well-configured nodes report success rates above 99% for typical payment sizes, but larger payments are significantly less reliable: simulations show that 100,000-sat payments on random paths average only one successful transfer before the first failure.

Channel Jamming

Channel jamming attacks exploit the multi-hop structure by flooding channels with fake HTLCs or holding HTLCs open until near-expiry. These attacks lock up channel capacity and stop legitimate payments routing through affected nodes. The Lightning community is developing mitigations including HTLC endorsement and reputation-based forwarding, but channel jamming remains a largely unsolved denial-of-service vector.

Privacy Limitations

Onion routing hides the full path from intermediaries, but HTLC-based payments share the same hash across all hops, letting an adversary with multiple routing nodes correlate payments and potentially de-anonymise senders and receivers. Balance probing sends payments of varying amounts to infer channel states, while timing analysis further erodes privacy. Research on Lightning privacy provides a detailed analysis.

Fee Accumulation

Fees accumulate at each hop in a multi-hop payment. Typical three-hop payments incur negligible fees of around 0.03%, but longer routes or channels with aggressive fee policies can become expensive, particularly for larger amounts. Payments across five or more hops have been observed to incur average fees approaching 7%, compared with roughly 0.15% for single-hop transfers.

Liquidity Lock and Timelocks

Every pending HTLC in a multi-hop payment locks liquidity for you and every routing node along the path. CLTV deltas of 40 to 144 blocks per hop and up to 20 possible hops can make your total timelock substantial. Your funds may remain locked for days while timelocks expire if an intermediate node goes offline or a channel must be force-closed.

The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.

0

← All 1876 glossary terms