Skip to content
Prices
  • BTC$81,476▲ 0.50%
  • ETH$2,416▲ 0.46%
  • BNB$715.39▼ 0.61%
  • XRP$1.30▲ 0.24%
  • SOL$103.87▲ 0.73%
  • TRX$0.3343▼ 0.03%
  • HYPE$79.02▼ 0.13%
  • DOGE$0.0798▲ 0.14%
  • LINK$12.03▼ 1.83%
  • ADA$0.2221▼ 0.15%
  • AVAX$9.86▼ 0.72%
BitcoinExplainers

What is the Lightning Network? Bitcoin payments explained

The Lightning Network lets you send bitcoin in seconds for tiny fees using payment channels. Learn how it works, which wallets to use, and the risks to know.

· · 6 min read

Share
An orange Athena Bitcoin ATM indoors in El Zonte, El Salvador, the 'Bitcoin Beach' town known for Lightning payments (illustrative photo)
Image: Karlalhdz / Wikimedia Commons, CC BY-SA 4.0

The Lightning Network is a payment network built on top of Bitcoin that lets people send bitcoin almost instantly and for very low fees. Instead of recording every coffee purchase on the Bitcoin blockchain, Lightning moves payments through channels between users and only touches the blockchain when a channel is opened or closed.

This explainer covers how Lightning works, how it compares with ordinary on-chain transactions, how to start using it and what can go wrong. It is educational, not investment advice. If you don't own any bitcoin yet, start with how to buy bitcoin.

Why Bitcoin needs a second layer

Bitcoin's base layer adds a block about every 10 minutes, and each block has limited space. When many people want to transact, they bid against each other with fees, so a small payment can cost more to send than it is worth, and you may wait for confirmation. That trade-off keeps the base layer secure and easy to verify, but it is not ideal for buying a snack.

Lightning, first described in a 2015 paper by Joseph Poon and Thaddeus Dryja, solves this by moving most activity off the main chain while still using bitcoin as the money and the blockchain as the final court of appeal.

How a payment channel works

  1. Opening. Two parties lock bitcoin into a shared 2-of-2 multisignature address with an on-chain transaction. That amount is the channel's capacity.
  2. Paying. Each payment is a new, signed agreement on how the locked funds are split between the two sides. These updates are exchanged directly between the parties — nothing is broadcast to the blockchain, so they are instant and nearly free.
  3. Closing. When either side is done, the latest balance is settled on-chain. A cooperative close is quick and cheap; a force close (if one side is unresponsive) works too, but funds are time-locked for a while.

What stops cheating? If someone tries to publish an old, more favourable balance, the other party can use a penalty mechanism to claim the funds in the channel. That is why your node — or a watchtower service — needs to keep an eye on the blockchain.

Routing: paying people you have no channel with

You don't need a channel with every shop. Lightning finds a path across connected channels, so your payment can hop through several nodes to reach the recipient. Each hop is secured with a hash-locked contract (HTLC): either the whole payment arrives, or none of it moves. Routing nodes can charge small fees for forwarding.

To get paid, the recipient usually shares an invoice — a string or QR code beginning with lnbc — or a reusable code such as a Lightning address or a BOLT 12 offer. Amounts are typically shown in satoshis (1 BTC = 100 million sats).

Lightning vs on-chain bitcoin

On-chain bitcoinLightning Network
Speed~10 min per block; more for extra confirmationsUsually seconds
FeesVary with demand for block spaceTypically tiny; channel open/close costs an on-chain fee
Best forSavings, large transfers, cold storageEveryday and small payments, tips, streaming
Wallet typeCan be fully offline (cold storage)Hot wallet; node must be online to receive
RecordEvery transaction on the public blockchainOnly channel opens and closes on-chain
General trade-offs; exact fees and times depend on network conditions and your wallet.

Who runs Lightning

Lightning is an open protocol defined by shared specifications called BOLTs. Several independent implementations follow them, including LND (Lightning Labs), Core Lightning (Blockstream), Eclair (ACINQ) and the Lightning Development Kit. They interoperate, much like different email apps can message each other. Like any software, they need updates — for example, Eclair just shipped a patch against a browser-based attack on its node API.

How to start using Lightning

  • Custodial apps. Many exchanges and wallets let you send and receive over Lightning while they hold the coins. This is the easiest route, but it is not your keys — the same trade-off as keeping coins on an exchange (see centralized vs decentralized exchanges).
  • Self-custodial mobile wallets. These manage channels for you behind the scenes and give you a recovery phrase. Some charge a fee for opening a channel or for inbound liquidity.
  • Running your own node. Maximum control and privacy, but you must manage channels, liquidity, backups and security yourself.

Try a small amount first, write down any recovery phrase offline, and never type it into a website.

Risks and limitations

  • Hot-wallet risk: keys sit on an internet-connected device. Keep only spending money on Lightning; move savings to cold storage, such as a hardware wallet.
  • Liquidity: to receive, a channel needs inbound capacity; large payments can fail if no route has enough funds.
  • Being online: a self-hosted node needs to monitor channels (or rely on a watchtower) to stop outdated-state cheating.
  • On-chain fees still matter: opening and closing channels costs regular Bitcoin fees, which can be high when the network is busy.
  • Scams: fake "Lightning wallet" apps and phishing invoices exist. Download wallets from official sources only — see how to spot crypto scams.

Frequently asked questions

Is the Lightning Network a separate cryptocurrency?

No. Lightning moves ordinary bitcoin. There is no separate Lightning token; channels are funded and settled in BTC on the Bitcoin blockchain.

Is Lightning safe?

The protocol has run on Bitcoin's mainnet since 2018, but Lightning wallets are hot wallets and software can have bugs. Use well-known wallets, keep them updated, hold only small amounts and back up your recovery phrase offline.

Can I send bitcoin from Lightning to a normal Bitcoin address?

Yes, many wallets offer swaps between Lightning and on-chain bitcoin, usually for a fee. Exchanges that support Lightning also let you deposit or withdraw either way.

Why did my Lightning payment fail?

Common reasons are an expired invoice, a route without enough liquidity for the amount, or the recipient being offline. Try a smaller amount or a fresh invoice.

This article is for information only and is not financial advice. Crypto assets are volatile; do your own research. Read our disclaimer

Share

More from Bitcoin

View all →

Read next