Skip to content
LearnBitcoin

LearnGlossary

Lightning Network

A layer-2 system on top of Bitcoin enabling fast, low-fee payments through off-chain channels, settling on-chain only when necessary.

The Lightning Network is a payment layer built on top of Bitcoin. It enables instant, low-fee payments by routing them through a network of pre-funded payment channels, only settling on the base chain when channels open or close.

The mechanics, simplified:

  1. Open a channel. Two parties lock coins in an on-chain Bitcoin output that needs both their signatures (a 2-of-2 multisig in a standard channel, one combined key in a Taproot channel), funded by one or both. This is a normal on-chain transaction, pays a normal fee.
  2. Transact off-chain. The two parties exchange signed "balance updates" - cryptographically valid claims about the current allocation of channel funds. These updates are not broadcast; they live only between the two participants.
  3. Route through the network. Most channels aren't between you and your final recipient directly. The Lightning Network is a mesh of channels; payments hop through intermediate nodes using Hash Time-Locked Contracts (HTLCs) so that each hop is atomic - the whole payment succeeds, or none of it does.
  4. Close the channel. The normal close is one both parties sign, and it pays each side at once. Either party can also close alone at any time by broadcasting the latest signed state. That usually costs more in on-chain fees and locks the closer's own share for a delay agreed when the channel opened: from 144 blocks, about a day, to 2,016, about two weeks, in the defaults of LND, one common implementation. An older state can be broadcast too. The other side can then claim the whole channel, but only if it, or a watchtower acting for it, is watching in time.

What this buys you:

  • Speed. A payment does not wait for a block. The specification calls Lightning a protocol for "fast payments", and the paper that proposed it has "Instant Payments" in its title.
  • Cost. Routing fees are small: by mempool.space's network statistics for mid-2026, the median fee rate among channels was 100 parts per million of the amount, a hundredth of one percent, and the median fixed fee a tenth of a satoshi. Wallets and service providers can charge on top of that. You can actually use Bitcoin for micropayments.
  • Privacy. Lightning payments are not broadcast on the public chain. Only channel opens and closes appear; the payments in between are between the participants and the routing nodes.
  • Scalability. Each channel supports unlimited transactions between its two parties without bloating the base chain.

Limitations are real:

  • Liquidity. A channel can only route as much as it has on the relevant side. Inbound liquidity is a real concept and a real problem for new nodes. A new wallet has none: its first incoming payment needs a channel opened to it, and a service that opens one takes the cost out of that payment. It does not ask you to send money first.
  • Online requirement. Nodes must be online to send, receive, and (importantly) watch for fraud attempts from a channel counterparty.
  • Operational complexity. Running your own Lightning node requires more attention than just holding Bitcoin. The seed words alone may not bring channel money back: LND needs its channel backup file as well. Custodial Lightning wallets take the work away and, as with custodial on-chain wallets, trade self-custody for convenience.

Lightning is how Bitcoin scales without putting every payment on the base layer. It needed one change there first: the paper that proposed Lightning made the design conditional on a fix for transaction malleability, which SegWit supplied. The base layer optimizes for settlement security across decades; Lightning optimizes for instant payments. The two are complementary by design.

A note on BOLT-12 offers. The legacy invoice format is BOLT-11 - single-use, point-in-time payment requests. BOLT-12 ("offers") is the modern successor. An offer is reusable, because each payer's wallet uses it to request a fresh invoice over Lightning, and blinded paths let the recipient keep its node hidden. It was merged into the Lightning specification in September 2024, without the built-in recurring payments of earlier drafts.

As of November 2026 Core Lightning, eclair and LDK support offers natively. LND's released versions do not, though work has started in its development branch, and the separate LNDK project, still experimental, adds offers to an LND node.

See Lightning Channel for the building block, and Lightning routing for how a payment finds its way.

Key takeaways

  • Solves high on-chain fees and slow confirmations for everyday payments
  • Uses payment channels to batch transactions off-chain
  • Relies on a global network of LN nodes interconnected by routes

On the mailing list

The topic timeline: Lightning and payment channels (132 threads).

The lightning-dev mailing list, June 2015 to March 2024: 4,272 messages in 783 threads. Read it in the archive.

Corrected

  • Was: The entry said Lightning is how Bitcoin scales without changing the base layer. It said either party can close a channel at any time by broadcasting the latest state, after which the funds are distributed: 'Done.'

    Now: Lightning needed one change to the base layer first: the paper that proposed it made the design conditional on a fix for transaction malleability, which SegWit supplied. A close that both parties sign pays each side at once. Closing alone usually costs more in on-chain fees and locks the closer's own share for a delay agreed when the channel opened, from 144 blocks (about a day) to 2,016 (about two weeks) in LND's defaults. An older state can be broadcast too, and the other side can then claim the whole channel only if it, or a watchtower acting for it, is watching in time. The entry now says so. The Spanish edition carries the same correction. Details

  • Was: The entry's note on BOLT 12 offers said they support recurring payments.

    Now: Offers were merged into the Lightning specification in September 2024 without the built-in recurring payments of earlier drafts. An offer can be reused because each payer's wallet uses it to ask for a fresh invoice. Details

Sources (16)

External references (3)

Related terms (36)

Published . Revised . Two corrections logged for this page.

Edit this page on GitHub