Skip to content
PayableWithCrypto

Glossary

What Is the Lightning Network? Fast Bitcoin Payments Explained

Editorial teamFact-checked against official sources Last updated 3 min read

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
  1. 1How it works
  2. 2Why Lightning matters when paying with crypto
  3. 3Limits and pitfalls
  4. 4Lightning vs on-chain at a glance
  5. 5Practical tips
  6. 6Common questions

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:

  1. 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.
  2. 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.
  3. 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.
  4. 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

  1. Scan the merchant’s QR code and check that the amount and description match before paying.
  2. Use a wallet that supports Lightning addresses or LNURL if you pay the same recipient often.
  3. Keep only spending money in a custodial Lightning wallet.
  4. If an invoice expires, ask the checkout for a new one rather than sending on-chain to an old address.
  5. For privacy considerations, see how to pay with crypto privately.

Frequently asked questions

Do I need a special wallet for Lightning?
Yes, your wallet must support Lightning. Custodial Lightning wallets are simplest to start with but hold your funds for you; self-custodial Lightning wallets manage channels on your device and need more care with backups.
Why does a Lightning invoice expire?
The BOLT 11 specification lets each invoice set an expiry, and if none is set the default is 3,600 seconds. Merchants often use shorter windows because the invoice fixes a bitcoin amount for a fiat price.
Can I pay a Lightning invoice from an exchange?
Some exchanges support Lightning withdrawals, often by pasting the invoice. Check the exchange's withdrawal options; if it only supports on-chain bitcoin, you cannot pay a Lightning-only invoice from it.
Is Lightning private?
Lightning payments are not published on the blockchain, which reveals less than an on-chain payment. Channel opens and closes are on-chain, and the invoice and routing nodes can see some details, so it is more private but not anonymous.

Sources

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.

Related terms

Compare cards Find a store