Blockchain · Explainer
How the Bitcoin Lightning Network Works
The Bitcoin Lightning Network moves payments through off-chain channels, then uses Bitcoin’s base layer to open or settle them. Learn how routing, liquidity, fees and wallet choices affect a payment before you send one.
By the SkyBitcoins editorial team · Updated

What is the Bitcoin Lightning Network used for?
The Bitcoin Lightning Network is a payment system built on top of Bitcoin. It lets people send bitcoin through payment channels without recording every individual payment on the Bitcoin blockchain. The channel’s final balance can later be settled on-chain.
That design can make everyday payments faster and reduce the need to pay a separate Bitcoin transaction fee for each payment. But Lightning is not a different coin or a replacement for Bitcoin’s base layer: payments are still denominated in bitcoin, and the blockchain is used to establish or settle channels.
Think of it as a network of connected payment channels. If you and a shop have a channel, you can pay it directly. If you do not, your payment may travel through other channels and nodes to reach the shop.
Lightning is useful when the recipient supports it and you value quick, frequent payments. It is less straightforward than a conventional bank transfer: funds must be available on the right side of a route, and wallet design affects who controls your bitcoin. Before sending, check whether you are paying on-chain or with Lightning; the two payment methods are not interchangeable.
How does a Lightning payment channel work?
A payment channel begins with an on-chain Bitcoin transaction that locks funds into a shared arrangement between two participants. The channel’s participants can then update their respective balances by exchanging signed transactions or equivalent payment-state updates. These updates happen off-chain, so they do not each need to be broadcast to Bitcoin miners.
For example, if Alice and Bob fund a channel, Alice might initially have most of the channel balance. When she pays Bob over Lightning, their latest channel state reflects less for Alice and more for Bob. The funds have not moved as a new on-chain transaction; instead, both sides have updated the enforceable balance of the channel.
Either participant can eventually close the channel and settle its latest valid state on Bitcoin. Cooperative closing is agreed by both sides. If a participant disappears or disagrees, the other may be able to close unilaterally using the channel’s rules, though that can involve waiting periods and on-chain fees.
Opening and closing channels therefore connect Lightning to Bitcoin’s base layer. They are not required for every payment, but they matter for getting funds into or out of channel arrangements.
How does Lightning route a payment?
You can pay someone without a direct channel if a connected route exists through other Lightning participants. Nodes along that route temporarily forward the payment, each using channel capacity between itself and the next node. The network searches for a route that can carry the requested amount.
Lightning uses conditional payments, commonly described through hash time-locked contracts (HTLCs), to coordinate forwarding. In simplified terms, the recipient provides a secret linked to the payment. The sender’s payment is released along the route when the recipient claims it with that secret; time limits help protect participants if the payment does not complete.
A route is not guaranteed. A channel may have enough total bitcoin but too little spendable balance in the direction your payment needs to go. A node may also be offline, or the amount may exceed a channel’s capacity or a wallet’s limits. Your wallet might try another route or ask you to try a smaller amount.
This is why a Lightning payment is not quite like sending an email through a fixed address. The network needs a workable path with the right liquidity at the time of payment. A successful route usually settles quickly, but route discovery and retries can affect the experience.
What fees can you pay on Lightning?
Lightning does not have one network-wide fee schedule. A routed payment may include a base fee and a fee that varies with the amount forwarded. Individual nodes set their own forwarding policies, and the wallet may select a route based on its estimated cost and availability. The amount can be small, but it is not guaranteed to be zero.
There may also be Bitcoin on-chain fees when a channel is opened or closed. Those costs depend on the transaction and conditions on Bitcoin at the time; they are separate from the fee for routing a Lightning payment. Some wallets or services cover channel management costs, while others may pass costs to you or apply their own terms. Check the wallet’s current fee display before confirming.
| Payment action | Possible cost |
|---|---|
| Pay through Lightning | Routing fee, if charged |
| Open a channel | Bitcoin transaction fee; possible service fee |
| Close a channel | Bitcoin transaction fee; possible service fee |
If a payment fails, the funds are generally not completed to the recipient, but wallet handling and any fees shown can vary. Review the final confirmation carefully, especially for larger payments. A quoted fee is more useful than assuming Lightning always costs less.
Why do channel liquidity and wallet choice matter?
Liquidity is the bitcoin available in a channel in the direction a payment needs to travel. A channel can be open and still be unable to forward your payment because its balance is mostly on the wrong side. For an outgoing payment, your wallet needs access to enough capacity along a route from you to the recipient.
New users may receive bitcoin over Lightning more easily if their wallet or provider has arranged inbound liquidity. Receiving is not always as simple as generating an address: the wallet needs a way to make incoming capacity available. Some services manage channels for you; self-managed setups may require more technical work or additional costs.
Wallet choice also changes your responsibilities:
- Custodial wallet: A provider holds or controls the keys. Setup can be simpler, but you rely on the provider to process payments and safeguard access.
- Non-custodial wallet: You control the keys or recovery data. This gives you more direct control, but losing backups or mishandling recovery can put funds at risk.
- Self-operated node: You manage more of the channel infrastructure and liquidity yourself. This can offer greater control, but it requires ongoing setup and maintenance.
Before funding a wallet, find out who controls the keys, how recovery works, whether receiving is supported, and what happens if the service becomes unavailable.
How do you make a Lightning payment safely?
Use Lightning only if the recipient or checkout supports it. A Lightning invoice is not an ordinary Bitcoin address, and sending an on-chain transaction to a Lightning invoice—or trying to pay an invoice through the wrong network—can fail or put funds at risk.
A careful first payment looks like this:
- Choose a wallet. Check whether it is custodial or non-custodial, what recovery method it uses, and whether it supports Lightning payments and receiving.
- Fund it through the intended method. Confirm whether you are depositing on-chain or receiving over Lightning. Follow the wallet’s instructions for the selected network.
- Get the recipient’s payment details. This may be an invoice or another supported Lightning payment request. Confirm the amount and recipient where your wallet displays them.
- Check the total before approving. Review the payment amount, any fee and any invoice expiry shown by the wallet.
- Send and verify. Wait for the wallet to report success, then check with the recipient if the payment matters.
For an unfamiliar recipient, start with a small amount when practical. Do not share wallet recovery words or approve a request you do not understand. Keep your backup information private and follow the wallet’s own recovery guidance.
What can go wrong when you use Lightning?
Lightning’s speed and low typical payment costs do not remove Bitcoin’s or wallet providers’ risks. Payments may fail because of unavailable routes, insufficient channel liquidity, connectivity issues or incompatible payment details. A recipient might need to issue a fresh invoice if the previous one expires.
A payment may also reveal less information than an on-chain transaction, but Lightning is not perfectly private or anonymous. Payment data and routing metadata can be visible to some participants, and wallets or custodial providers may have their own records. Do not treat Lightning as a guarantee of secrecy.
Keep these practical limits in mind:
- Custody risk: With a custodial wallet, you depend on the provider’s availability and controls. With self-custody, you must protect keys and recovery information.
- Channel management: Opening and closing channels use Bitcoin transactions and can be affected by network fees and conditions.
- Compatibility: Payment formats and wallet features can differ. Confirm the recipient supports the exact method you plan to use.
- Amount and availability: Wallets, channels and services may impose limits or lack enough liquidity for a particular payment.
For a large transfer, verify the wallet’s limits, recovery process, recipient details and settlement options first. If you need a durable Bitcoin blockchain record, consider whether an on-chain transaction better fits the purpose.
What Lightning mistakes should you avoid?
A few avoidable assumptions cause many Lightning payment problems. Check the network and payment details before you confirm rather than relying on a familiar-looking wallet screen.
Mistakes to avoid:
- Confusing Lightning with on-chain Bitcoin. They use different payment details and processes. Select the method the recipient actually supports.
- Assuming every payment is free. Routing fees can apply, and channel operations may involve on-chain fees. Read the quote and wallet terms.
- Assuming an open channel guarantees payment. The route still needs enough directional liquidity, and nodes must be reachable.
- Treating an invoice as permanent. Invoices may expire or be limited to a specified amount. Request a new one if needed.
- Ignoring custody and backup. A simple wallet can still involve provider risk; a self-custody wallet can still be lost through poor backup practices.
- Sending a large amount before checking. Confirm the recipient and method, and use a small test payment where sensible.
Lightning works best when you understand which wallet holds the funds, how the payment will travel and what fees are shown. If a payment fails, avoid repeatedly approving new requests without checking whether the earlier attempt settled. Confirm its status in the wallet and with the recipient before trying again.
Frequently asked questions
Are Lightning payments instant?
Lightning transactions are designed to settle much faster than ordinary on-chain Bitcoin transactions because each payment does not need its own block confirmation. In practice, speed depends on the route, available channel liquidity and the wallets involved.
How much does it cost to use Lightning?
There is no single Lightning fee. A payment may incur a routing fee set by the nodes that carry it, while opening or closing a channel can also require an on-chain Bitcoin transaction fee.
Do I need to run a Lightning node?
No. A Lightning wallet can be custodial, meaning a provider controls the funds, or non-custodial, meaning you control the keys. Check the wallet’s custody model, backup process and recovery options before depositing bitcoin.
Can a Lightning invoice be reused?
A Lightning invoice generally specifies an amount and payment details, and may expire. Some wallets and services also support reusable payment methods, but compatibility depends on the sender and receiver.
When should I use Lightning instead of on-chain Bitcoin?
Lightning is suited to smaller, frequent payments where speed and lower per-payment costs matter. For large transfers or situations where you need a Bitcoin blockchain transaction, compare the wallet’s limits, fees and settlement options before choosing.
Mentioned in this guide
dApps in this guide
Lightning Network can make Bitcoin payments faster and cheaper, but wallet custody, channel liquidity and variable fees shape the experience.
Keep reading
Related guides
Blockchain · Explainer
What Is Bitcoin, and Why Does It Matter for Web3?
Bitcoin is a peer-to-peer payment network and digital asset, not a complete web3 platform. Learn how it works, where it fits in web3, and what to check before using it.
Blockchain · Chain guide
What Is a Layer 2 Blockchain? A Practical Guide
A Layer 2 (L2) handles some blockchain activity away from a Layer 1, aiming to make transactions faster or cheaper while relying on the main chain in a specific way. Learn how the main designs work, what they cost, and what to check before moving funds.
Blockchain · Explainer
What Is a Layer 2 in Crypto? A Practical Guide
A layer 2 processes transactions away from a base blockchain to ease congestion, then relies on that base chain in some way. Learn how rollups work, what fees and risks to expect, and how to choose a network.
SocialFi and DAOs · Best list
15 Women Pioneering Blockchain: Who They Are and Why It Matters
These 15 builders, investors, educators and advocates helped shape blockchain infrastructure and its public conversation. Use the list to explore different career paths—not as a ranking or an endorsement of any project.
Blockchain · Explainer
How the OP Stack Makes Ethereum More Interoperable
The OP Stack helps Ethereum Layer 2 networks share familiar software and standards, but that does not make every chain or asset instantly interchangeable. Learn what interoperability it enables, what still depends on bridges, and how to move assets more carefully.
Blockchain · Explainer
Why BNB Smart Chain Became a DeFi Hub—and What to Check
BNB Smart Chain became a DeFi hub by combining Ethereum-compatible tools, low transaction costs and a growing set of apps and users. Here’s how that growth happened—and what to weigh before using the chain in 2026.
Blockchain · Explainer
How to Assess Loom Network’s Basechain in 2026
Loom’s “one Basechain” idea was about giving apps a shared blockchain environment, with tools for building app-specific chains as well. Here’s how that design worked, how it differs from a rollup, and what to check before relying on it in 2026.
Blockchain · Explainer
How Blockchain Can Be Used for Data: A Practical Guide
Blockchain can make records verifiable and difficult to alter, but it is rarely the right place to store every file or sensitive detail. Learn what belongs on-chain, how off-chain data can be checked, and when a conventional database is simpler.