How to earn routing fees?
PreviousWhy is my channel offline and what should I do now?NextHow to restart Alby Hub after my subscription was cancelled?
Last updated
Was this helpful?
Payment routing fees are the small charges you pay when sending a bitcoin payment across the lightning network through intermediate routing nodes (not directly to your peer).
With Alby Hub you can operate such a routing node yourself and earn fees from routing payments through the network.
To start routing you need take care of four aspects
Let's break it down together.
The lightning network consists of public and private channels. Only public lightning channels are able to route payments between nodes. Key properties of public channels
Announced in the network graph
When you open a public channel, your node broadcasts a message that includes the channel ID, capacity, and fees (base fee, fee rate).
Other nodes then know they can try to use your channel for routing payments.
Visible in explorers
Public channels show up in tools like Amboss.space or mempool.space lightning explorer.
Anyone can see your node’s alias, capacity, uptime, and fee policies.
Routable
Other nodes can attempt to forward payments through your channel if the liquidity and fees make sense.
This allows you to earn routing fees.
Note, if you don't want to route payments, you are better off with a private channel. You are still able to send or receive payments across the whole network.
Each node operator sets their own fee policy. The total fee for a routed payment has two components:
Base Fee (Fixed per payment attempt)
A small flat amount, usually denominated in millisatoshis (msat).
Default is often 1 satoshi (1,000 msat), but many nodes set it to zero to attract routing traffic.
This fee is independent of payment size.
Fee Rate (Proportional Fee)
A percentage of the payment amount, expressed in parts per million (ppm).
Example: A fee rate of 1,000 ppm = 0.1% of the forwarded amount.
So, if you route 100,000 sats through a node charging 1,000 ppm, you pay 100 sats in proportional fees.
Fee = Base Fee + ( Amount × Fee Rate )
Suppose someone sends 100,000 sats and it passes through your node:
Your fee policy: base 1 sat, 100 ppm. Your fee income = 1 + (100,000 × 0.0001) = 11 sats
Navigate to "Node" -> click on the three dots next to the channel and select "Set Routing Fees".

Routing fees can only be changed for public channels. If you only open private channels, you will not see the option to change the routing fees. If you would like to route payments yourself, you should set a competitive routing fee. Otherwise leave the default fees unchanged.

When you route payments, the liquidity in the channel shifts from one side to the other. Sometimes payments flow in both directions through channels with zero effect on the liquidity. But if payments mainly flow in one direction you may also need to rebalance it yourself to keep enough liquidity on each side for routing.
Alby Hub offers you several options to manage your liquidity:
Great when you need a lot of capacity in the direction of your channel partner
Advanced: Increase Lightning Balance with on-chain bitcoin
Great to increase or reduce liquidity for a certain channel
Great to balance the liquidity equally across several channels
Alby Hub provides you with valuable insights into your routing activities. Check the "Home" tab of your Hub.

Last updated
Was this helpful?
Was this helpful?

