The Lightning Network is a Layer 2 payment system built on top of Bitcoin that enables instant, nearly-free transactions by routing payments through pre-funded channels between participants. Instead of recording every coffee purchase on the Bitcoin blockchain (slow and expensive), Lightning settles thousands of payments off-chain and only touches the blockchain to open or close channels.

What Is the Lightning Network?

3 min read

The short version

Bitcoin on-chain is like sending a wire transfer for every purchase. Lightning is like running a tab at a bar: you open a tab (channel), buy drinks all night (instant payments back and forth), and settle the final balance at the end (close channel on-chain). The individual drinks never hit your bank statement, only the net result. This makes Bitcoin usable for small, frequent payments.

How It Works

How Lightning works: Payment channels: two parties lock Bitcoin in a 2-of-2 multisig on-chain (opening a channel). They can then send payments back and forth instantly by exchanging signed balance updates without broadcasting to the blockchain. Either party can close the channel at any time, settling the final balance on-chain. Routing: you do not need a direct channel with everyone. Payments route through intermediary nodes. If Alice has a channel with Bob, and Bob has a channel with Carol, Alice can pay Carol through Bob. Each hop takes milliseconds and charges a tiny fee (typically 1-10 satoshis, under $0.01). Capacity: each channel has a fixed capacity (the amount locked when opened). The total network capacity is ~5,000 BTC ($300M+) across ~60,000 channels. Fees: opening a channel costs one on-chain transaction (~$2-10). Routing payments costs 0.01-0.5% (fractions of a cent for typical payments). Closing costs another on-chain transaction. Speed: payment confirmation in under 3 seconds (typical: 500ms). Compare to 10-60 minutes for on-chain Bitcoin confirmation. Use cases: point-of-sale payments (El Salvador Bitcoin adoption uses Lightning), micropayments (streaming sats for content), tips, gaming transactions, and machine-to-machine payments.

Paying for coffee with Lightning

You walk into a coffee shop in El Salvador that accepts Bitcoin via Lightning. Your coffee costs $4.50. On your phone (Wallet of Satoshi, Phoenix, or Breez app), you scan the shop QR code. The app finds a route through the Lightning Network from your node to the shops node (typically 2-4 hops). You confirm. In 800 milliseconds, the payment settles. The shop sees the payment instantly. Fee paid: 2 satoshis ($0.001). Compare to on-chain: you would wait 10+ minutes for one confirmation and pay $1-5 in miner fees for a $4.50 coffee. Or compare to a credit card: instant for the buyer, but the merchant pays 2.5% ($0.11) and waits 2-3 days for settlement. Lightning: instant for both parties, near-zero fee, and final settlement.

What People Get Wrong

  • Lightning replaces Bitcoin

    Lightning is built ON Bitcoin. It uses real Bitcoin locked in on-chain channels. It extends Bitcoin capabilities (speed, micropayments) without changing the base protocol. Lightning cannot exist without Bitcoin, and Bitcoin is more useful with Lightning.

  • You need to run a node to use Lightning

    Non-custodial mobile wallets (Phoenix, Breez, Zeus) manage channels automatically. You download the app, receive a small on-chain deposit, and the wallet opens channels for you behind the scenes. The UX is similar to Venmo. Running your own node is optional (gives more control and earning potential from routing fees).

  • Lightning is not secure because transactions are off-chain

    Lightning uses signed Bitcoin transactions that either party can broadcast to the blockchain at any time. If your counterparty tries to cheat (broadcast an old channel state), your wallet automatically broadcasts a penalty transaction that claims all their funds. The security comes from the fact that cheating is punishable and provable using the same Bitcoin blockchain.

Sources & Further Reading

Questions People Also Ask

How do I get started with Lightning?
Fastest path: download Phoenix Wallet (iOS/Android). It is non-custodial and handles channels automatically. Send a small amount of Bitcoin to it (on-chain, the wallet converts to Lightning balance). You can now send and receive Lightning payments instantly. Total setup: 2 minutes.
Can Lightning handle large payments?
Individual channel capacity limits how much can flow through one path. For large payments ($1,000+), the network may split across multiple paths (multi-path payments). The network handles most payments under $10,000 well. For very large amounts ($100K+), on-chain Bitcoin is more appropriate. Lightning is optimized for frequent small-to-medium payments.
Do merchants adopt Lightning?
Growing rapidly. El Salvador (legal tender since 2021, thousands of merchants), major platforms (Cash App, Strike, Fold), some online retailers (Bitrefill for gift cards), and tipping platforms (Nostr ecosystem). Adoption is strongest in regions with high remittance needs and weak banking infrastructure.

More in Ecosystem Deep Dives

See all →
Was this page helpful?

Page last checked