LND Channel Rebalancing Strategies--bos Loop and Circular
LND Troubleshooting GuideWhy Rebalance?
Channels become unbalanced over time. Inbound-heavy channels cannot receive; outbound-heavy cannot send.
Method 1: Circular Rebalance with bos
npm install -g balanceofsatoshis bos rebalance --out-through PEER_A --in-through PEER_B --amount 500000 --max-fee-rate 500
Method 2: Loop Out (off-chain to on-chain)
loop out --channel CHANNEL_ID --amt 1000000 --sweep-conf-target 6
Method 3: Loop In (on-chain to off-chain)
loop in --amt 1000000
Check Balances First
lncli listchannels | jq .channels[].local_balance
Set Max Fee
bos rebalance --max-fee-rate 1000 --max-fee 500
Tips
Only rebalance if routing revenue justifies the fee. Target channels with 80%+ imbalance first. Loop Out is better for large imbalances.