Article

What Is the Lightning Network? Bitcoin Payments Explained

July 15, 2026 · Proofoftech Blogger

The Lightning Network is a payment network built around Bitcoin that lets people update balances without recording every payment as a separate transaction on Bitcoin’s blockchain. Bitcoin still handles the opening and final settlement of a Lightning channel, while Lightning handles the payments made before that channel is closed.

That arrangement can make small Bitcoin payments faster and cheaper. It also introduces a different set of practical concerns, including channel liquidity, online wallet security, routing and the difference between custodial and self-custodial Lightning services.

Bitcoin is the settlement layer; Lightning is a payment network built around bitcoin committed to channels.
Bitcoin is the settlement layer; Lightning is a payment network built around bitcoin committed to channels.

TL;DR: What is the Lightning Network?

The Lightning Network uses payment channels to let people exchange Bitcoin payments away from the main blockchain and settle the final result back to Bitcoin later.

A channel starts with an on-chain Bitcoin transaction. The people using it can then update who owns how much of the channel balance by exchanging signed information. Those updates do not each need their own place in a Bitcoin block. When the channel closes, the final balance can be settled through another Bitcoin transaction.

Payments can also move across several connected channels. You do not need a direct channel with every shop, friend or service you want to pay, provided the network can find a route with enough available liquidity.

How is Lightning different from Bitcoin’s blockchain?

Bitcoin’s blockchain is a shared public transaction history checked by full nodes and extended by miners. Lightning is a network of payment channels whose participants exchange balance updates between themselves.

An ordinary Bitcoin transaction is broadcast to the network, confirmed in a block and stored as part of Bitcoin’s history. It consumes block space. Its fee depends partly on how much demand exists for that limited space.

A Lightning payment usually updates balances inside one or more channels. The details are handled by the wallets and nodes involved in the route. Bitcoin’s blockchain remains available for opening channels, closing channels and enforcing the latest valid channel state if the participants disagree.

This division gives the two systems different jobs:

  • Bitcoin provides the base asset, transaction rules, proof-of-work settlement and protection against double-spending.
  • Lightning provides payment channels and routing for repeated Bitcoin payments.
  • A Bitcoin transaction changes ownership directly on the blockchain.
  • A Lightning payment changes how Bitcoin already committed to channels can be claimed.

Lightning therefore depends on Bitcoin. It does not replace Bitcoin’s blockchain or create a separate coin.

Lightning routes payments across connected channels, while Bitcoin records channel funding and final settlement. Diagram source shown in image: TheBlockPro.com.
Lightning routes payments across connected channels, while Bitcoin records channel funding and final settlement. Diagram source shown in image: TheBlockPro.com.

The running-tab analogy

A neighborhood cafe offers a running tab to regular customers. Before using it, you place $100 in a sealed cash drawer shared with the cafe. The opening balance is written on a receipt that both sides accept: you own $100 of the drawer and the cafe owns $0.

You buy a $4 coffee. Instead of taking money out of the drawer immediately, you and the cafe sign a new receipt showing $96 for you and $4 for the cafe. Another purchase changes the signed balance to $90 and $10. The cash stays locked while the latest agreed receipt records who can claim it.

At closing time, the drawer is opened and paid out according to the newest valid receipt. The public cash register would see the original deposit and the final payout. It would not need a separate entry for every coffee.

In this comparison:

  • The sealed drawer is the Bitcoin locked into a payment channel.
  • The opening and closing entries are Bitcoin blockchain transactions.
  • Each signed receipt is a new channel state.
  • Buying coffee is a Lightning payment.
  • The latest valid receipt determines the final channel balance.

The analogy has limits. Real Lightning channels use Bitcoin transactions, cryptographic signatures, revocation rules and time locks. Nobody relies on a cafe employee to choose the correct receipt. The protocol gives participants a way to enforce the valid state through Bitcoin.

How does a Lightning channel work?

A Lightning channel commits Bitcoin to an on-chain funding transaction and allows the channel participants to update their balances without broadcasting every update.

Suppose Alice and Bob open a channel funded with 500,000 satoshis. The starting balance might assign all 500,000 sats to Alice. If Alice pays Bob 40,000 sats, their wallets create a new valid state assigning 460,000 sats to Alice and 40,000 sats to Bob.

They may update that balance many times. Each newer state replaces the earlier one for normal operation. The channel can close cooperatively when both sides agree, usually producing a straightforward settlement transaction. A participant can also force-close through Bitcoin when cooperation is unavailable.

The protocol discourages someone from broadcasting an obsolete state that gives them an old balance. Lightning’s commitment and revocation design allows the honest participant to respond within a defined time window. This is one reason self-custodial Lightning wallets or nodes need reliable state management and, in some setups, monitoring through a watchtower.

How can Lightning pay someone without a direct channel?

Lightning can route a payment through connected channels between the sender and receiver.

Suppose you have a channel with Alice, Alice has one with Bob, and Bob has one with a shop. A payment can travel across that route even though you never opened a channel directly with the shop. Each channel updates only if the entire payment succeeds.

Lightning commonly uses hashed time-locked contracts, usually shortened to HTLCs, to coordinate these routed payments. The receiver reveals information that allows the connected transfers to complete. If the conditions are not met before the deadlines, the payments can unwind instead of leaving one participant paid while another is stuck.

Routing is one reason Lightning feels more like a network than a single tab. Your wallet may try several possible paths. A route can fail because a channel has insufficient liquidity, a node is offline, fees are too high or the path no longer works by the time the payment is attempted.

What does Lightning liquidity mean?

Lightning liquidity is the spendable or receivable capacity available on the correct side of a channel.

If your side of a channel holds 100,000 sats, you may be able to send up to that amount, subject to channel reserves and routing conditions. After you spend most of it, more of the balance sits on the other side. Your ability to receive may improve while your ability to send decreases.

This creates two practical terms:

  • Outbound liquidity is the amount you can send through your channels.
  • Inbound liquidity is the amount others can send to you through available routes.

A new self-custodial Lightning node does not automatically have useful inbound liquidity. Someone who wants to receive payments may need another participant to open a channel toward them, use a service that provides inbound capacity, spend some existing channel balance first or rebalance channels.

A wallet may hide much of this work. That convenience does not remove the underlying capacity limits.

Are Lightning payments instant and free?

Lightning payments can settle within seconds and often cost less than an on-chain Bitcoin transaction, but neither result is guaranteed.

A payment needs a working route. Nodes along that route may charge a small base fee, a fee based on payment size or both. The sender normally sees the total before approving the payment. A route can fail and require another attempt.

Channel opening and closing still use Bitcoin transactions and therefore pay on-chain mining fees. When block space is expensive, opening a small channel may not make economic sense. Lightning becomes more useful when the same channel supports many payments because the opening cost can be spread across repeated use.

The network is well suited to smaller, frequent payments where waiting for an on-chain confirmation would be inconvenient. A large payment may be harder to route because enough liquidity must exist across every channel in the path.

A simplified comparison of direct on-chain payments and Lightning payments.
A simplified comparison of direct on-chain payments and Lightning payments.

Accuracy note: The image uses “always low fee” and “instant transfer” as shorthand. In practice, Lightning fees, route availability and completion speed are not guaranteed.

Is Lightning private?

Lightning usually reveals less information on Bitcoin’s public blockchain than making every payment on-chain, but it should not be treated as perfect anonymity.

An outside blockchain observer can see channel-related Bitcoin transactions without seeing a complete public list of the payments that happened inside the channel. Routing nodes still learn information needed to forward payments. The sender knows the destination, and the receiver knows the payment arrived. Wallet providers, custodial services and other infrastructure may also collect account, network or transaction data.

Privacy depends on wallet design, routing behavior, network observation and the services involved. Readers who need strong privacy should examine the exact wallet and threat model rather than assume that every Lightning payment is invisible.

Do you need to run a Lightning node?

You can use Lightning without operating a full routing node, although the amount of control you retain depends on the wallet.

A custodial Lightning wallet manages channels and Bitcoin for you. It can feel simple because the provider handles liquidity, backups and routing. The provider also controls the funds and may impose account limits, identification requirements or withdrawal restrictions.

A self-custodial Lightning wallet gives you control of the wallet keys. Some self-custodial wallets manage channels automatically, while advanced users may run their own Lightning node and choose peers, fees and liquidity policies.

Running a node requires more work. You may need dependable storage, backups, uptime, channel management and enough on-chain Bitcoin to open channels. A routing node also needs liquidity placed where other users can make use of it. Merely turning on a node does not guarantee routing income.

A RaspiBlitz Bitcoin and Lightning node running on compact hardware.
A RaspiBlitz Bitcoin and Lightning node running on compact hardware.

What happens if a Lightning node goes offline?

A Lightning payment generally cannot pass through an offline node at that moment. Existing channel funds do not disappear simply because a node loses its internet connection.

A self-custodial user still needs to protect channel state and come back online within relevant dispute windows if an old state is broadcast. Wallet implementations may use watchtowers to monitor the blockchain and respond to certain cheating attempts while the user’s own node is unavailable.

Recovery is more complicated than restoring an ordinary on-chain wallet from a seed phrase. The exact procedure depends on the Lightning wallet. Follow that wallet’s backup instructions and test the recovery process with a small amount before treating it as dependable storage.

What are the main Lightning risks?

Lightning changes the payment experience, but it does not remove risk.

The main practical concerns include:

  • Custodial risk when a service controls the Bitcoin.
  • Loss of channel-state data or an incomplete wallet backup.
  • Insufficient inbound or outbound liquidity.
  • Failed routes, offline nodes and temporary payment problems.
  • On-chain fees when channels must open or close.
  • Software bugs or operational mistakes.
  • Privacy leakage through wallet providers, routing behavior or network observation.

Keep payment-sized balances in Lightning unless you have a clear reason and the technical experience to do more. Bitcoin held in an on-chain cold wallet has a different purpose from Bitcoin kept online for frequent payments.

When does Lightning make sense?

Lightning is useful when you want to make smaller Bitcoin payments quickly and expect to transact more than once.

Examples include buying goods, sending tips, paying online services, moving small amounts between compatible wallets and accepting frequent customer payments. The savings become easier to understand when one channel supports many transactions.

An ordinary on-chain transaction may be the better choice for long-term cold storage, a large final settlement or a payment where speed matters less than direct blockchain confirmation. The choice depends on the amount, urgency, fee environment, custody model and your ability to manage Lightning safely.

If you want to understand why Bitcoin can enforce the opening and closing transactions, read Proof of Tech’s guide to blockchain consensus.

FAQ

Does Lightning use real Bitcoin?

Yes. Lightning channels hold and transfer claims to actual bitcoin committed through Bitcoin transactions. Lightning does not require a separate token.

Is Lightning a sidechain?

No. A sidechain has its own blockchain and consensus rules. Lightning uses payment channels tied directly to Bitcoin transactions and does not maintain a separate global blockchain.

Can a Lightning payment be reversed?

A successfully completed Lightning payment generally cannot be reversed through a normal chargeback process. Confirm the invoice and amount before paying.

Can I receive Lightning payments immediately after installing a wallet?

It depends on the wallet. Custodial and managed wallets may handle receiving capacity for you. A self-managed node needs inbound liquidity and a working route to receive payments.

Do Lightning payments appear on the Bitcoin blockchain?

Individual Lightning payments usually do not appear as separate blockchain transactions. Channel opening, cooperative closing, force-closing and related enforcement transactions can appear on-chain.

Is the Lightning Network safe for beginners?

Beginner-friendly wallets can make Lightning easy to use, but the custody and recovery model still matters. Start with a small amount, understand who controls the keys and follow the wallet’s backup instructions.

What should you remember about Lightning?

The Lightning Network gives Bitcoin a payment layer based on funded channels and signed balance updates. It can make repeated small payments faster and cheaper while Bitcoin remains the final settlement system.

Remember the running tab. The blockchain records the funded drawer and its final payout. Lightning handles the signed updates made while the tab is open. Real software adds routing, cryptographic enforcement and liquidity management, but the basic difference stays the same.

Ask yourself what you are trying to do. Long-term savings, frequent spending and running a payment service have different requirements. Use the Bitcoin and Lightning setup that matches your purpose, technical comfort and tolerance for custody risk.

Disclaimer: The content on this blog is provided for general informational and educational purposes only and does not constitute financial, investment, legal or tax advice. Bitcoin and Lightning software may involve financial and technical risk. Verify wallet custody, backup and recovery procedures before depositing funds. The author and blog assume no responsibility for losses arising from reliance on this content.

What should beginners check before relying on Lightning?

Beginners should check whether the Lightning wallet is custodial or self-custodial, how backups work, what fees are shown, and whether the wallet can receive as well as send. Most bad Lightning decisions come from assuming every wallet works the same way.

Start with small amounts. Send a tiny payment. Receive a tiny payment. Learn what an invoice looks like. Learn what an expired invoice looks like. Check whether your wallet gives you a recovery phrase, a cloud backup, a node connection, or an account login.

If the wallet is custodial, treat it like a spending wallet, not your life savings. If the wallet is self-custodial, learn the backup model before you put meaningful value inside. Lightning can involve channel states and wallet-specific recovery details, so do not assume your normal on-chain seed phrase habits cover every wallet design.

This is normal Bitcoin thinking: use the tool that matches the risk. A pocket wallet and a home safe solve different problems. Lightning can be a good pocket-wallet payment tool. Cold storage still has its place.

Practical wrap-up

Lightning is useful when you understand what it is trying to do. It gives Bitcoin a payment layer for fast, smaller transfers by using channels instead of placing every small payment directly into the next block.

That does not make on-chain Bitcoin obsolete. It makes the choice more practical. Sometimes you want a quick spending payment. Sometimes you want base-layer settlement. Sometimes you want cold storage. Sometimes you want a small wallet you can use without thinking about miner fees every time.

Ask yourself what the payment is for, how much value is involved, and what would hurt if something went wrong. Then choose the setup that matches the job.

Disclaimer: The content on this blog is provided for general informational and educational purposes only and does not constitute financial, investment, legal, or tax advice. Cryptocurrency and Bitcoin investments are highly volatile and involve substantial risk. Mitigate your own risk with your own management practices. Always conduct your own research and consult a qualified professional before making financial decisions. Past performance does not guarantee future results. The author and blog assume no responsibility for losses arising from reliance on this content. Any opinions expressed are the author’s own, and any holdings, sponsorships, or affiliate relationships are disclosed where applicable.

Sources

Continue with these related Proof of Tech guides: