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:
- 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.
- 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.
- 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.
- 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
Related chapters
- Bitcoin Units
- The Supply Schedule
- Lightning Routing
- The Block Size War
- Privacy on Bitcoin: What Works and What Doesn't
- Rat Poison, Tulips and a Pet Rock: Everything Bitcoin's Been Called (so far)
- Which Coins Does Your Wallet Spend?
- The Time Warp: How Lying About the Time Could Break Bitcoin's Difficulty
- The Crash Course: Andreas Antonopoulos's 2013 Bitcoin Lesson, Retold
- Where to Go Next
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)
- BOLT #12 - Negotiation Protocol for Lightning Payments (offers)
- BOLTs PR #798 - Offers (merged September 2024)
- Bitcoin Optech - Offers (topic page and implementation history)
- LND 0.22.0 release notes (in development) - first BOLT 12 code
- LNDK - standalone daemon that adds BOLT 12 offers to LND (experimental)
- Joseph Poon and Thaddeus Dryja - The Bitcoin Lightning Network: Scalable Off-Chain Instant Payments (January 14, 2016): the design is conditional on a signature change that addresses malleability
- BIP 141 - Segregated Witness: fixes transaction malleability, which lets chains of unconfirmed transactions be built without trust, as the Lightning Network needs
- BOLT 0 - Lightning is a protocol for making fast payments with Bitcoin using a network of channels
- BOLT 2 - a mutual close, unlike a unilateral one, gives both nodes their funds immediately and can cost less in fees; to_self_delay is how long a node waits for its own funds after closing alone
- BOLT 5 - a node that publishes its own commitment transaction has to wait to claim its funds; if a node publishes an outdated one, the other node can claim all the funds in the channel
- LND - sample-lnd.conf: the delay it asks of a channel partner by default runs from 144 to 2,016 blocks, scaled to the size of the channel
- LND documentation - watchtowers: a second line of defense when a node is offline or unable to respond at the time of a breach
- LND documentation - recovery: getting funds back takes the 24-word seed and the channel backup file as well
- bLIP 52 (LSPS2) - a channel opened in response to an incoming payment lets a wallet with no channels start receiving, with the cost of the inbound liquidity deducted from the first payment received
- mempool.space API - Lightning network statistics: in its latest record, dated July 13, 2026, the median channel fee rate was 100 parts per million and the median base fee 100 millisatoshis, a tenth of a satoshi (read November 16, 2026; the record this address serves changed during that day)
- Lightning specification - extension BOLT, Simple Taproot Channels (merged May 4, 2026): the funding output becomes a taproot output with a MuSig2 key
External references (3)
Related terms (36)
- Atomic Multi-Path Payment (AMP)
- Audiobook Model (Lightning)
- Autopilot (Lightning)
- BOLT
- BOLT 11
- Bridge Node (Lightning)
- Churn (Lightning)
- Core Lightning (c-lightning)
- Custodial Lightning Wallet
- Delayed Payment Channel
- Eltoo
- Escrowed Lightning Channel
- Fraudulent Channel Close
- Gossip Protocol (Lightning)
- HTLC (Hashed Time-Locked Contract)
- HTLC Invoice
- HTLC Preimage Manager
- Jamming Attack (LN)
- Jammed HTLC Detector
- Lightning Channel
- Lightning Channel Capacity
- Lightning Channel Splicing
- Lightning Invoice
- Lightning Network Daemon (lnd)
- Lightning Node
- Lightning Payment
- Lightning Probe
- Lightning Refund Invoice
- Lightning Routing
- Lightning Sphinx
- Micropayment
- Off-Chain
- Onion Routing (Lightning)
- Payment Channel
- Submarine Swap
- Wumbo Channels (Lightning)
Published . Revised . Two corrections logged for this page.
Edit this page on GitHub