What is a Lightning Channel?
A Lightning channel is a two-party payment channel that enables instant, low-cost Bitcoin transactions off the main blockchain. When you open a channel with another node, you lock up Bitcoin in a multi-signature address that both parties control.
Once open, you can send and receive payments instantly through the channel without waiting for blockchain confirmations. The channel stays open until either party decides to close it and settle the final balance on-chain.
Inbound vs Outbound Liquidity Explained
Understanding liquidity is crucial for Lightning. Your channel has two sides:
- Outbound (Local) Liquidity - Bitcoin on your side of the channel. This is what you can send. When you open a channel, the funds you put in become your outbound liquidity.
- Inbound (Remote) Liquidity - Bitcoin on the other party's side. This is what you can receive. New channels typically have zero inbound liquidity.
As you send payments, your local balance decreases and remote balance increases - giving you more inbound capacity. Receiving payments does the opposite.
Getting inbound liquidity is one of Lightning's biggest challenges. You can't receive payments without it. Solutions include buying inbound from LSPs, submarine swaps, or using services like Spark that handle this automatically.
Why Channel Size Matters
Your channel size determines the maximum amount you can send or receive in a single payment. It also affects:
- Payment reliability - Larger channels handle bigger payments and have more routing flexibility
- Routing income - If you run a routing node, bigger channels can route more traffic
- Rebalancing frequency - Small channels deplete faster and need more rebalancing
- Capital efficiency - Oversized channels lock up funds unnecessarily
A good rule of thumb: size your channel at 2-3x your expected monthly volume. This provides buffer for payment flow fluctuations without over-committing capital.
Channel Opening Costs
Opening a Lightning channel requires an on-chain Bitcoin transaction. The cost depends on:
- Transaction size - A typical channel open is ~140 virtual bytes (vBytes)
- Network fees - Varies based on mempool congestion, from 1-500+ sat/vB
- Channel reserve - ~1% of channel size must stay locked as a penalty reserve
Opening Cost = ~140 vBytes x Fee Rate (sat/vB)At 10 sat/vB, opening a channel costs about 1,400 sats (~$1.40 at $100k BTC). During high congestion, this can spike to $50+ per channel.
When Does Lightning Make Sense?
Lightning isn't always the best choice. Consider:
- Use Lightning when: You make frequent small payments, need instant settlement, want privacy, or pay the same parties regularly
- Use on-chain when: You make occasional large payments, don't mind waiting for confirmations, or want maximum simplicity
The break-even point depends on your transaction frequency. If you make more than a few payments per month, Lightning typically saves money despite the channel opening cost.
Liquidity Rebalancing
As you use your channel, liquidity shifts. If you mostly send, you'll run out of outbound. If you mostly receive, you'll run out of inbound. Rebalancingmoves liquidity between your channels to restore balance.
Common rebalancing methods:
- Circular rebalancing - Route a payment from yourself to yourself through other nodes
- Submarine swaps - Exchange on-chain Bitcoin for Lightning balance
- Loop In/Out - Services that swap Lightning for on-chain and vice versa
- Peer liquidity ads - Pay other nodes to provide inbound liquidity
Rebalancing has costs - routing fees for circular rebalancing, or on-chain fees for swaps. Factor this into your channel economics.
Frequently Asked Questions
How big should my Lightning channel be?
Size your channel at 2-3x your expected monthly payment volume. This provides headroom for payment flow without over-allocating capital. For most personal users, 500k-2M sats is plenty. Routing nodes and businesses may need 10M+ sats.
What is inbound liquidity?
Inbound liquidity is the capacity to receive payments on Lightning. It's the Bitcoin balance on the remote side of your channel. Without inbound liquidity, you cannot receive Lightning payments even if your channel is open.
How much does it cost to open a Lightning channel?
Channel opening requires an on-chain Bitcoin transaction of ~140 vBytes. At current average fees of ~10-20 sat/vB, this costs 1,400-2,800 sats ($1.50-$3). During high congestion, costs can exceed $20-50 per channel.
Can I close my channel anytime?
Yes. Either party can initiate a cooperative close (both agree, fast and cheap) or a force close (unilateral, requires waiting period and higher fees). Your funds return to an on-chain address when closed.
Why do I need both inbound and outbound liquidity?
Outbound lets you send. Inbound lets you receive. Most users need both. A channel with only outbound (your funds) can send but not receive. A channel with only inbound (their funds) can receive but not send.
What happens if my channel partner goes offline?
If your channel partner is temporarily offline, you can't route payments through that specific channel. Your funds remain safe. If they disappear permanently, you can force-close the channel to recover your funds on-chain after a timelock.
Should I open multiple channels?
Multiple channels improve routing success, privacy, and redundancy. Connect to well-connected nodes for best results. However, each channel has opening costs and ties up capital. Balance connectivity with efficiency.
What is channel reserve?
Channel reserve is a small percentage (~1%) of the channel capacity that both parties must keep locked. This ensures there's always something at stake to discourage cheating. You can't spend your reserve.
Build with Bitcoin
Spark is a Bitcoin L2 for developers. Instant payments, stablecoins, and programmable money - all on Bitcoin.