Skip to content

Bitcoin

Lightning network basics, without a claim that it solves every fee problem

What the Lightning Network is, how payment channels let bitcoin move off-chain, where it works well, its practical limits and risks, and why it is not a universal fix for fees.

Lightning striking over a dark landscape at night

The Lightning Network is a system built on top of bitcoin that allows payments to move quickly and, often, with very low fees, without recording each payment on the blockchain. It is sometimes described as the solution to bitcoin’s fee and speed problems. It helps in many situations, but it has its own trade-offs and limits. This guide explains the basics.

It is educational only. Bitcoin and related systems carry risks, including loss of funds.

The basic idea: payment channels

Lightning uses payment channels. Two parties lock bitcoin into a shared on-chain arrangement. They can then send payments back and forth by updating balances between themselves, without broadcasting each update to the blockchain. When they are done, the final balances are settled on-chain.

Only the opening and closing of the channel need on-chain transactions. Everything in between happens off-chain.

Routing payments

You do not need a direct channel with everyone you pay. Lightning can route payments through a network of channels. If you have a channel with one party, and that party has a channel with another, a payment can pass through intermediaries. Routing nodes may charge small fees.

Where Lightning works well

  • Small, frequent payments, such as tips, small purchases, or streaming payments.
  • Fast settlement, with payments often completing in seconds.
  • Low fees for payments that would be expensive on-chain relative to their size.

Practical limits

Channel capacity. A channel can only carry payments up to the amount locked in it, and routes depend on available capacity along the path. Large payments may fail to route.

Liquidity. To receive payments, a channel needs capacity on your side to accept funds. Managing this “inbound liquidity” can be confusing.

On-chain fees still matter. Opening and closing channels requires on-chain transactions. When on-chain fees are high, these steps become expensive.

Online requirements. In self-custodial Lightning wallets, the wallet or a service on your behalf may need to be online to receive payments and to watch for certain kinds of misbehavior.

Payment failures. Routes can fail, requiring retries.

Custodial and non-custodial Lightning wallets

Some Lightning wallets are custodial: a company holds the funds and manages channels, and the app shows a balance. These are easy to use but carry custodial risks such as company failure or freezes.

Non-custodial wallets give you control of keys and channels, with more complexity. Many simplify channel management automatically, sometimes with help from service providers.

Backups and recovery

Lightning wallets require backups beyond a seed phrase in some designs, because channel state matters. Losing channel information can complicate recovery. Read the wallet’s documentation on backups carefully.

Security considerations

Lightning involves “hot” funds, keys on connected devices, to sign channel updates. Keeping large amounts in Lightning channels increases exposure. Many people use Lightning only for spending amounts.

Invoices

Lightning payments typically use invoices: codes or QR codes that specify an amount and destination and often expire after a set time. Paying an expired invoice will fail. Always obtain a fresh invoice from the recipient.

Not a cure for every fee problem

Lightning reduces costs for many small payments but does not eliminate on-chain fees, especially for opening and closing channels. For large or infrequent transfers, on-chain transactions may be simpler. Lightning is one tool among several.

Taxes and records

In the US, spending bitcoin via Lightning is generally treated like any other disposal of bitcoin for tax purposes. Keeping records of Lightning payments can be harder because they are not on the blockchain; wallet exports help.

Getting started carefully

1. Start with small amounts. 2. Choose a reputable wallet and read its documentation. 3. Understand whether it is custodial or non-custodial. 4. Learn how backups work. 5. Expect occasional payment failures and retries.

Privacy on Lightning

Lightning payments are not recorded individually on the blockchain, which can offer more privacy than on-chain payments in some respects. However, channel openings and closings are public, routing nodes see some information about payments that pass through them, and custodial wallet providers can see all of their users’ activity. Lightning changes the privacy picture rather than making payments private by default.

Lightning and merchants

Some merchants and payment processors accept Lightning payments alongside on-chain bitcoin. For small purchases, Lightning can avoid waiting for confirmations and paying higher on-chain fees. If a payment fails, the merchant’s invoice usually stays open for a short period, allowing a retry. Check the merchant’s refund policy, since refunds over Lightning may require you to provide a new invoice.

Channel closures

Channels can be closed cooperatively, when both parties agree, or unilaterally, when one party closes without the other. Unilateral closures may involve waiting periods before funds become spendable on-chain and can cost more in fees. Understanding that funds in a channel are not always instantly available on-chain helps avoid surprises when you need to move money back to regular bitcoin.

Watchtowers

Some Lightning setups use watchtower services that monitor the blockchain on your behalf and respond if a channel partner tries to settle using an outdated balance. They reduce the need for your own device to stay online, at the cost of relying on another service.

Common questions

What is the Lightning Network?

A system on top of bitcoin that uses payment channels to move payments off-chain quickly and often cheaply.

Does Lightning eliminate bitcoin fees?

No. Opening and closing channels requires on-chain transactions, and routing fees may apply.

Can Lightning handle large payments?

Large payments may fail if channels along the route lack capacity.

Are Lightning wallets custodial?

Some are, and some are non-custodial. Check before using one.

Keep reading

Note: Risk warning: bitcoin prices can swing sharply, and lost keys, scams, or platform failures can mean permanent loss. This article is educational only. It is not investment, tax, or legal advice, and it is not a price prediction or an offer to buy or sell anything. Consider your own circumstances and, where needed, a qualified professional.