Glossary
What Is the Lightning Network? Fast Bitcoin Payments Explained
Definition
Lightning Network: The Lightning Network is a bitcoin layer 2 that routes payments through off-chain payment channels, settling to the Bitcoin blockchain only when channels open or close.
On this page
The Lightning Network is a payment network built on top of Bitcoin. Instead of recording every payment on the blockchain, users open payment channels funded with bitcoin and pass signed balance updates back and forth off-chain. Payments can hop across several channels to reach the recipient, so you can pay a merchant you have no direct channel with. Payments usually complete in seconds, and routing fees are typically tiny.
How it works
The original Lightning Network paper by Joseph Poon and Thaddeus Dryja describes the core mechanism:
- Open a channel. Two parties lock bitcoin in a 2-of-2 multisignature output on the Bitcoin blockchain. This is an on-chain transaction with a normal network fee.
- Update balances off-chain. Each payment is a new signed commitment transaction reflecting the new split. Older states are penalised if anyone tries to broadcast them.
- Route across channels. Hash time-locked contracts (HTLCs) let a payment pass through intermediate nodes without trusting them: either everyone along the route is paid or no one is.
- Close the channel. The final balance is settled on-chain.
Payments are requested with an invoice, encoded under the BOLT 11 specification. It carries the amount, a payment hash, a description and an expiry. If no expiry is specified, BOLT 11 sets the default at 3,600 seconds. When you pay, you receive the preimage of the payment hash, which acts as cryptographic proof of payment.
Why Lightning matters when paying with crypto
Speed fits a checkout. On-chain bitcoin waits for confirmations, often 10 minutes or more. Lightning payments settle in seconds, which suits shops, cafés and digital goods. Several crypto payment gateways offer Lightning alongside on-chain bitcoin.
Fees suit small amounts. For a few dollars, an on-chain fee during busy periods can be a large share of the payment. Lightning routing fees are usually small fractions of that. Our Lightning payment guide covers how to pay step by step, and Bitcoin spending options lists where bitcoin is accepted.
Exact amounts, no underpayment. The invoice fixes the amount, so you cannot accidentally send too little the way you can when typing an on-chain amount by hand.
Limits and pitfalls
- Liquidity. A channel can only send what is on your side of it and receive what is on the other side. Large payments can fail to find a route. Many wallets handle this automatically, but very large amounts may still be better on-chain.
- Custodial wallets. Many beginner Lightning wallets are custodial: the provider holds your bitcoin. That is convenient, but you take on counterparty risk and possibly identity checks. Compare with self-custody.
- Expired invoices. Paying an invoice after it expires fails, and you need a fresh one. Merchants often set short windows; see invoice expiry.
- Backups. Self-custodial Lightning wallets need channel backups as well as a seed phrase. Losing them can make funds hard to recover.
- On-chain costs at the edges. Opening and closing channels, or swapping between on-chain and Lightning, costs an on-chain fee.
Lightning vs on-chain at a glance
| On-chain bitcoin | Lightning | |
|---|---|---|
| Settlement | In blocks, ~10 min average | Seconds |
| Fee | Varies with block demand | Usually small routing fee |
| Amount entry | You type or scan an amount | Fixed by the invoice |
| Public record | Every payment on-chain | Only channel opens and closes |
| Best for | Larger or infrequent payments | Small, frequent payments |
Practical tips
- Scan the merchant’s QR code and check that the amount and description match before paying.
- Use a wallet that supports Lightning addresses or LNURL if you pay the same recipient often.
- Keep only spending money in a custodial Lightning wallet.
- If an invoice expires, ask the checkout for a new one rather than sending on-chain to an old address.
- For privacy considerations, see how to pay with crypto privately.
Frequently asked questions
Do I need a special wallet for Lightning?
Why does a Lightning invoice expire?
Can I pay a Lightning invoice from an exchange?
Is Lightning private?
Sources
- Lightning Network paper (Poon and Dryja)
- BOLT 11: Invoice protocol for Lightning payments
- Lightning Labs docs: Lightning Network overview
Facts were checked against these pages on the date shown above. Terms change; confirm on the official page before acting. General information, not financial, tax or legal advice. See our methodology.