Skip to main content
boxmining
Menu

Bitcoin Lightning Network Explained: How It Works in 2026

Michael GuMichael Gu
9 min read
1 views
Bitcoin
Lightning network explained – is it Bitcoin 2.0?
Contents

What is the Bitcoin Lightning Network?

The Lightning Network is a payment protocol built on top of Bitcoin. It lets users make many BTC payments without recording every payment as a separate transaction on the Bitcoin blockchain. Channel-opening and closing transactions use Bitcoin's base layer, while intermediate balance updates happen offchain.

Lightning is not “Bitcoin 2.0,” a new blockchain or a separate coin. It uses bitcoin, denominated in satoshis, and is designed for fast payments. It trades some of the simplicity of an ordinary onchain transaction for payment-channel liquidity, routing and wallet-management requirements.

QuestionCurrent answer
Is Lightning a separate cryptocurrency?No. Lightning payments transfer BTC.
Are payments recorded individually on Bitcoin?No. Channel funding and settlement are onchain; routine channel updates are offchain.
Are Lightning payments free?Not necessarily. Routing nodes may charge a base fee and a proportional fee.
Are payments instant?Successful payments commonly settle in seconds, but routing can fail or require retries.
Can anyone receive immediately?A wallet needs suitable inbound liquidity, often arranged automatically by its provider or Lightning service provider.
Is Lightning custodial?The protocol is not inherently custodial. Wallets can be custodial, self-custodial or use an assisted self-custody model.

How does the Lightning Network work?

  1. Open or use a channel: a payment channel is funded by a Bitcoin transaction. At its core, a traditional channel is a two-of-two contract between two participants.
  2. Update balances offchain: the participants exchange signed commitment transactions representing the latest allocation of the channel's bitcoin. These updates do not need a new block confirmation each time.
  3. Route through other nodes: a payer does not need a direct channel with every recipient. A payment can cross several connected channels, provided each hop has enough liquidity in the required direction.
  4. Settle atomically: hashed timelock contracts, or HTLCs, make a routed payment complete across its path or fail without leaving only part of it paid.
  5. Close when needed: the parties can cooperatively close a channel, or either party can force-close it and settle the latest enforceable state on Bitcoin.

Routing information is onion-encrypted. An intermediate node learns the adjacent nodes needed to forward a payment, rather than the complete route, although Lightning should not be treated as perfect anonymity: timing, channel and network-level analysis can still leak information.

Lightning fees, speed and liquidity

“Fast and low-fee” is more accurate than “instant and free.” A routing node can set its own fee policy, commonly combining a base amount with a proportional amount. A multi-hop payment can therefore include a fee from each forwarding hop. A wallet normally finds a route and enforces a maximum fee before sending.

Channel capacity is directional. Outbound liquidity is the balance available for sending; inbound liquidity is the balance available for receiving. A channel can have ample total capacity but still be unable to carry a payment in one direction. Modern implementations use route scoring, retries and multi-part payments to improve reliability, but large or poorly connected payments may still fail.

Bitcoin aims for a block about every ten minutes on average, but actual intervals vary. An onchain transaction can also wait longer if its fee is not competitive. Lightning avoids waiting for a new block for every routine payment, though opening, closing and force-closing channels still depend on Bitcoin confirmations and onchain fees.

Lightning wallets and custody models

The 2018 view that Lightning was mainly command-line software is no longer accurate. Mobile and desktop wallets now provide QR-code invoices and ordinary graphical interfaces. The more important question is who controls the keys and channels:

  • Custodial wallet: the provider controls the bitcoin and channel infrastructure. This is often simple, but the user takes provider, withdrawal and account-freeze risk.
  • Self-custodial wallet: the user controls the keys. The wallet may run its own channels or connect to a Lightning service provider for inbound liquidity and reliable connectivity.
  • Node wallet: the user operates a full Lightning node and manages peers, channel backups, liquidity and uptime. This provides more control but creates more operational responsibility.

Before funding a wallet, check whether it is custodial, how recovery works, whether it supports onchain withdrawal, what fees it charges, and whether receiving a payment requires a channel or service fee.

Benefits and limitations

Potential benefits

  • Fast BTC payments without waiting for a new block for every transfer.
  • Typically small routing fees, including amounts below one satoshi internally.
  • Less demand for base-layer block space when many payments share channel-opening and closing transactions.
  • Payments can be routed without a direct channel between sender and recipient.
  • Onion routing reveals less route information to each intermediary than a transparent end-to-end path would.

Risks and trade-offs

  • Liquidity risk: a payment can fail when a route lacks spendable capacity in the required direction.
  • Custody risk: custodial wallet balances are claims on a provider, not bitcoin controlled by the user's own keys.
  • Backup risk: a seed alone may not restore live channel state in every implementation. Follow the wallet or node software's channel-recovery instructions.
  • Online-monitoring risk: channel participants must detect an attempt to settle an obsolete state. Watchtowers can monitor and broadcast a remedy while a node is offline.
  • Force-close cost: a unilateral close uses block space, can incur a high onchain fee and may delay access to funds.
  • Hot-wallet risk: Lightning funds are commonly kept in software connected to the internet, so it is prudent to limit balances.
  • Privacy limits: onion routing helps, but it does not eliminate traffic analysis, probing or information revealed to wallet providers.

Original 2018 Lightning Network explainer (archived)

The author-written article below is preserved for historical context. Its descriptions of free payments, fixed ten-minute confirmation waits, funds being handed to the network and command-line-only access are superseded by the current explanation above.

The Lightning Network promises free transactions on the Bitcoin network that can be confirmed instantly. This is exactly what is needed for Bitcoin to gain mass-adoption and move away from fear of major congestion (transaction cost exceeded more than $100 USD the network peak in January 2018). 

It’s hard to understand because it breaks what we normally understand of the Bitcoin network. Bitcoin network is limited to 10-minute blocks – that is transactions take up to 10 minutes to confirm, and a high fee is required to guarantee a confirmation on the next block.

Regular Bitcoin Transactions

When we send Bitcoin and broadcast a transaction we need to wait for confirmations that only come every 10 minutes. The block groups all the transactions that are announced and puts it into a ledger called the blockchain. You get one confirmation for each block that forms after the transaction, so if you want to wait for 3 confirmations, you must wait for 30 minutes. In contrast, the Lightning Network promises instant transactions.

How the Lightning Network Works

The Lightning Network works by creating payment channels off the blockchain. This means that you don’t need to wait for the 10 minutes to confirm each block. However you do have to deposit a certain number of bitcoins so now you’re proving ownership of these bitcoins. You’re effectively handing over these bitcoins to the network a little bit like that and it works with multi-signature wallets. There are failsafe protocols in place, so if something happens and the transaction fall through, you are still protected.

Lightning Networks Explained (Segwit advantage)

Watch on YouTube

The concept works kind of like a tab at a bar. You can maybe put down a few thousand dollars and create a tab and every time you buy a drink, instead of paying directly with visa or cash every time, you can use your tab. This cuts down a lot on the fees with using visa for each transaction and this likewise can be applied to bitcoin and the blockchain transaction fees.

Current State of the Lightning Network

Lightning Network right now it mostly commands prompt based so it’s like we’re still quite far from a good wallet and good user-friendly graphical interface. Right now it’s mostly kind of the text command based and there have been tests of the Lightning Network over international regions. We’re at a stage where we know that the concept works but we’re still developing the software and making sure that it works very well and securely. Recent hacks of the Party Wallet has shown us that software stability and robustness is absolutely vital. As a result, development on lightning has been quite slow because it’s highly complicated and any bug in the code would maybe be quite catastrophic. On top of that, a good user-friendly interface is also vital.

Frequently asked questions

What is the Bitcoin Lightning Network?

It is a payment protocol built on Bitcoin that uses payment channels to update BTC balances offchain, while using Bitcoin transactions to fund and settle those channels.

Is Lightning Network the same as Bitcoin?

Lightning is a protocol layered on Bitcoin, not a replacement blockchain. Its payments use bitcoin, but routine channel updates are not individually written to Bitcoin's blockchain.

Does Lightning Network have its own coin?

No. There is no official Lightning coin or LN token. Lightning transfers BTC, usually measured in satoshis.

Are Lightning payments free?

Not necessarily. Each forwarding node can set routing fees, and wallets or service providers may charge additional channel, liquidity or service fees.

How fast is a Lightning payment?

A successful payment commonly completes in seconds without waiting for a new Bitcoin block. It can take longer or fail if the wallet cannot find a route with sufficient liquidity.

What are inbound and outbound liquidity?

Outbound liquidity is channel balance available to send; inbound liquidity is balance on the remote side that can move toward you when receiving. Both are directional.

Do I need to run a Lightning node?

No. Consumer wallets can abstract node and channel operations. Running a node provides more control but requires managing liquidity, backups, software updates and uptime.

Is Lightning Network custodial?

The protocol supports self-custody, but some Lightning wallets are custodial. Check who controls the keys and whether the balance can be recovered independently of the provider.

Can a Lightning payment fail?

Yes. A route can lack liquidity, a node can be offline, an invoice can expire or the sender's fee limit can be too low. Wallets often retry through another route.

Is Lightning Network safe?

Lightning uses enforceable Bitcoin contracts, but it introduces wallet, channel-state, liquidity, hot-key and custody risks. Keep balances proportionate and follow the selected wallet's backup process.

Sources

Share

Found this useful?

Share it with someone who'd want to read it.

Related