What Is Trampoline Routing? Outsourcing Lightning Pathfinding
This article was translated from Japanese with AI. Read the original (日本語) · Report a translation issue
In a typical Lightning payment, the sender finds a payment route through the network to the recipient, calculates the fees and other costs along that route, and then sends the payment.
This means the sender has to keep constantly synced with the latest state of the Lightning Network (LN) so it has the information needed to compute routes, such as fee policies, timelocks and forwarding capacity.
For a mobile wallet, however, keeping the app running 24 hours a day to stay synced is extremely difficult.
If a mobile wallet does sync the LN graph, it has to request the changes since its last stored snapshot of the graph. The round trips needed to request those changes every time the app launches or reconnects add overhead in themselves and end up eating bandwidth.
Continuous syncing also takes up storage, and downloading the changes when the wallet starts can take a while, creating a UX problem where users can't get to the point of actually sending a Lightning payment.
This article explains trampoline routing (trampoline payments), one approach to solving the LN graph sync problem that mobile wallets face.
First, for comparison, let's review how a typical Lightning payment works.
Typical Lightning payments: source routing
The current approach, in which the sender determines every hop (the payment path) in advance based on information from the invoice and gossip, is called source routing.
As an example, consider a payment from A to B.

When A and B are not directly connected by a channel, as in the diagram above, the payment goes through multiple hops. A, the sender, builds an LN graph from the information it synced beforehand and searches for candidate routes itself.
- \(A→N_1→N_2→B\)
- \(A→N_6→N_2→B\)
- \(A→N_6→N_7→N_2→B\)
- \(A→N_5→N_6→N_2→B\)
- \(A→N_5→N_6→N_7→N_2→B\)
For the channels shown with thick lines, A can see how the channel balance is split. For the channels shown with thin lines, the information propagated across the LN (gossip) only reveals their capacity. Channels with insufficient balance or capacity for the payment can therefore be ruled out right away.
Suppose that for this payment, \(A→N_5\) and \(N_6→N_7\) lack enough balance or capacity for the amount being sent.
The candidate payment routes are then narrowed down to the following three.
- \(A→N_1→N_2→B\)
- \(A→N_6→N_2→B\)
- \(A→N_1→N_3→N_2→B\)
When sending, the wallet calculates the fees along each route, weights the routes accordingly, and tries the cheapest one first. If the payment fails, it falls back to trial and error and tries another route.
If payments fail repeatedly on a particular route, heuristics (rules of thumb) lower that route's priority, which reduces payment failures overall.
That is how typical source routing works.
It is also possible to split a payment into multiple parts, which is called multipart payments (MPP). In that case, source routing is performed separately for each part, and the payment completes when all the parts come together at the destination.
This is why the payment experience differs from one implementation to another: each uses its own strategies and algorithms.
What is trampoline routing?
Trampoline routing is a mechanism that lets nodes that don't sync the full LN graph, such as mobile wallets, delegate part of the route calculation to intermediate nodes (trampoline nodes). The key point is that the node does not hand over the entire route calculation to the trampoline nodes, but only part of it.
Routing through two or more trampoline nodes also makes it possible to send payments while preserving privacy. (The case of using only one trampoline node is discussed later.)
The payment flow in trampoline routing
As an example, consider a payment from A to F, where A is a mobile wallet node.

With trampoline routing, nodes A and F don't need to sync the entire graph, only their own local neighborhood, which saves a great deal of bandwidth. The pathfinding algorithm also runs on a very small graph, so it's much faster.
1. Creating the invoice
The first step is for the recipient, F, to create an invoice. The invoice needs to include several trampoline nodes near F, and these trampoline nodes will route the payment to F.
In this example, F includes a single trampoline node, D, in the invoice.
When the sender, A, scans F's invoice, it learns that trampoline node D must be included, so A chooses a trampoline node near itself, C, and includes it in the payment route.
- \(A→C→D→F\)

2. Sending to a nearby trampoline node

Because sender A has synced its local LN graph, it can find a route to trampoline node C. (It doesn't know the route to D, since it doesn't hold that part of the LN graph.)
Here, A sends the payment to trampoline node C via B.
- \(A→B→C\)
B knows the hops immediately before and after it, but not where the payment came from or where it is going. And since this is ordinary routing from B's point of view, B doesn't know that trampoline routing is taking place.
3. The trampoline node finds a route

On receiving the payment, C learns that, as a trampoline node, it must forward the payment to D, and it searches for a route. In this example, it sends the payment to D via N1, N2, N3 and N4.
- \(C→N_1→N_2→N_3→N_4→D\)
Like B, N1, N2, N3 and N4 can see the hops immediately before and after them, but they cannot learn who the sender or recipient is, nor can they tell that it is a trampoline payment.
4. Another trampoline node relays the payment

When D receives the payment from N4, it learns that, as a trampoline node, it needs to send it on to F.
In other words, with only one trampoline node in the path, that node could infer both the sender and the recipient at the same time, which is why using two or more trampoline nodes is recommended.
Here, trampoline node D finds a route and forwards the payment to F via E.
- \(D→E→F\)
Because E can see the hops before and after it, it can tell that F is the final recipient if F is a mobile wallet. But the same is true of ordinary routing, so this is not a problem specific to trampolines. (What is specific to trampolines is that trampoline node D can also identify the final recipient.)
To solve the problem of the final recipient being identifiable, a mechanism called a "blinded path," used in BOLT12, can turn the last segment of the route into a black box and preserve anonymity.
Note, however, that trampoline routing does not necessarily send the payment along the shortest route. For example, a shorter route like the orange line below may exist.

Because trampoline routing can involve more hops, fees may be higher than for a regular payment. Also keep in mind that sender A can't know what fees the route searches performed by trampoline nodes C and D will produce, so it has to include a generous fee margin when sending.
Implementation support for trampoline routing
Here is a brief summary of which implementations support trampoline routing as of August 2026.
| Eclair (used in Phoenix) | Electrum | LND | CLN | LDK |
|---|---|---|---|---|
| Yes | Yes | No | No | In development |
Trampoline routing is used by Eclair, an LN implementation, in the mobile wallet Phoenix, and by Electrum, a software wallet that has existed since 2011, as part of its Lightning support.
As a result, the major LN implementations LND and CLN still don't support it as of August 2026.
Eclair, the LN implementation developed independently by ACINQ, is covered in Kishin Kato's article, so be sure to check it out.
Bonus: proposed gossip extensions for the future
For those who are interested, here are some proposed extensions to the gossip protocol. They aren't required for trampoline routing to work, but they would be useful additions.
The problem to start with is that current gossip offers no way to request "only channel_updates within distance N," so even constrained nodes that only want to sync their neighborhood end up wasting bandwidth.
As far as I know, there are two proposed future BOLT7 extensions that address this.
The first is to introduce a filter that asks peers not to relay updates originating from nodes farther away than distance N.
The second is to implement distance-based gossip queries.
Since nodes are normally expected to sync all gossip, the demand for this is limited, but I found it an interesting proposal, so I'm noting it here.
Improving Routing in the Lightning Network with Trampoline Payments
Summary
Trampoline routing is a mechanism that delegates part of the route search to intermediate "trampoline nodes" so that mobile wallets can send payments without syncing the entire LN graph. It reduces bandwidth and storage load, but there are caveats: privacy is weaker if the payment passes through only one trampoline node, and the route may not be the shortest, which tends to push fees up.
Eclair (Phoenix) and Electrum currently support it, LND and CLN do not, and it has not yet been incorporated into the official BOLT specification.
