Home / Wiki / L / Lightning Network: Opening a Channel

Lightning Network: Opening a Channel

Cryptocurrency and Digital AssetsUpdated 05 Nov 2026

Opening a channel on the Lightning Network is the step in which two nodes lock bitcoin into a shared on-chain output so that they can then pay each other many times without touching the blockchain. The funding transaction is an ordinary Bitcoin transaction that sends coins to an address controlled jointly by both parties. Once it is confirmed, the two nodes hold a payment channel and can begin trading balance updates off-chain.

Opening a channel is the entry point to Lightning: without at least one channel, a wallet cannot send or receive. It is followed by the work of routing payments across the network and managing channel liquidity. The message flow is defined in BOLT #2 of the open Lightning specifications, and the cost of opening is the on-chain transaction fee, which rises and falls with demand for block space.

01

Opening a channel in plain terms

Think of two friends who eat lunch together every day. Instead of settling up after each meal, they each put some cash into a jar with two locks, one key each, and keep a running tally on a sheet of paper that both sign after every lunch. The jar can only be opened if both agree, or by one of them showing the latest signed tally.

Opening a Lightning channel is setting up that jar. It costs a small fee to buy and lock the jar, but after that the friends can update the tally as often as they like for almost nothing. Only when they stop eating together do they open the jar and split the money according to the last tally.

02

How a channel is opened

The standard opening is single-funded: one party, the funder, puts in all the bitcoin. The steps run roughly as follows:

  1. The two nodes connect and agree on terms such as channel size, the reserve each side must keep, fee rates and the maximum number of pending payments.
  2. The funder builds a funding transaction that pays into a 2-of-2 multi-signature output, meaning both nodes must sign to spend it.
  3. Before broadcasting, both sides sign the first commitment transaction, which records the opening balances and lets the funder recover the coins if the other node disappears.
  4. The funder broadcasts the funding transaction to the Bitcoin Blockchain.
  5. After an agreed number of confirmations, both nodes treat the channel as open and, if it is public, announce it to the network.

The funding output is a normal unspent transaction output (UTXO). Waiting for confirmations matters because Bitcoin has probabilistic finality: until enough blocks are built on top, the funding transaction could in theory be reversed.

03

Choices made at opening

Several decisions taken when the channel opens shape how useful it will be:

  • Channel size. Capacity is fixed at opening and limits the largest payment the channel can carry. Older software capped channels at about 0.168 BTC; since 2020 most implementations allow larger "wumbo" channels by agreement.
  • Who funds it. In a single-funded channel all the balance starts on the funder's side, so the funder can send but not yet receive. Dual-funded channels, added to the specification more recently, let both sides contribute at opening.
  • Public or private. A public channel is announced and can route payments for others; a private channel is used only by its owners.
  • Which peer. A well-connected, reliable peer gives better reach for routing than a small, often-offline one.

Some services offer zero-confirmation channels, where the channel is usable before the funding transaction confirms. This is faster but relies on trusting the peer that funded it not to double-spend.

04

Custody, keys and backups

A channel is held by the keys of a running node, so the owner's private key must stay online and protected, unlike coins held in cold storage. A self-custody Lightning wallet opens channels in the user's name, often to a Lightning service provider, while a custodial wallet hides channels entirely and simply credits an account. The wallet's seed phrase alone is not enough to restore channel state, so most node software also keeps a static channel backup that lets the owner ask peers to close channels and return funds after a data loss.

Running these channels day to day, including monitoring for cheating attempts, is part of running a Lightning node, a task many users hand to a dedicated node operator.

05

Closing and the on-chain footprint

A channel touches the chain twice: once when it opens and once when it closes. A cooperative close, where both nodes sign a final transaction, is cheap and fast. A force close, used when a peer is unresponsive, publishes the latest commitment transaction and makes the closing party wait for a time-lock before spending its funds. If someone tries to publish an old, more favourable state, the other side can claim the entire channel balance as a penalty.

Between those two moments, every payment is off-chain, which is why one opening fee can support thousands of payments. This trade-off, a single on-chain transaction to unlock many off-chain ones, is the core idea behind Lightning as a Layer 2 network on Bitcoin mainnet. Channel sizes and balances are counted in satoshis.

Last updated 05 Nov 2026