All articles

Lightning Network: What It Is and How It Works - Complete Guide 2026

Complete guide to Lightning Network: how channels, routing, liquidity, and real-world use cases work. Updated for 2026.

Lightning Network: What It Is and How It Works - Complete Guide 2026

Imagine you want to pay for a coffee with bitcoin. You walk up to the counter, open your app, and the merchant waits. Ten minutes pass. In the meantime, the cappuccino has gone cold and the queue behind you has lost patience.

This is the real problem that drove the creation of Lightning Network - and if you want to understand why Bitcoin can become a currency you spend every day, without waiting for blocks and paying fractions of a cent in fees, this is the article to read.

The Problem with On-chain Payments

Bitcoin is designed to be secure, decentralized, and censorship-resistant. To achieve these goals, Satoshi Nakamoto made precise architectural choices: limited block size, one block every roughly ten minutes, a validation system distributed across thousands of nodes.

The result is an extraordinarily robust network. But not a fast one.

Bitcoin's blockchain processes around 7 transactions per second (tps). For comparison, Visa handles up to 24,000. Even setting aside that comparison - misleading because it compares systems with different goals - the concrete point is that with 7 tps you cannot put all the world's transactions on a single layer.

And it's not just speed. On-chain fees during periods of network congestion can reach considerable amounts: in 2023, with the Ordinals inscription boom, many users paid $30-50 per transaction. Sending someone €5 while paying €30 in fees is economically absurd.

The classic dilemma of any monetary system: base-layer security and decentralization versus scalability and everyday usability. Bitcoin chose not to sacrifice the former on the altar of the latter. Instead, it built a second layer.

This second layer is called the Lightning Network.

What Is the Lightning Network

The Lightning Network (LN) is a second-layer protocol built on top of Bitcoin. It allows bitcoin to be sent and received instantly, with fees of just a few satoshis, without every single transaction having to be recorded on the blockchain.

The first formal proposal dates back to February 2015, when Joseph Poon and Thaddeus Dryja published the whitepaper "The Bitcoin Lightning Network: Scalable Off-Chain Instant Payments". The core idea was elegant: if two people need to make many payments to each other, why not open a "channel" between them, update balances internally, and only record the opening and closing of the channel on the blockchain?

The first production implementation came in March 2018, when ACINQ, Lightning Labs, and Blockstream almost simultaneously launched their versions of the Lightning node. Since then the network has grown significantly: at the start of 2026 it counts tens of thousands of active nodes and a total capacity of several billion satoshis.

How the Lightning Network Works

The Channel Concept

The central mechanism of the Lightning Network is the payment channel. Here's how it works:

Alice and Bob want to make many payments to each other. Instead of recording every transaction on the blockchain, they proceed as follows:

  1. Opening the channel: Alice and Bob jointly create a multisig on-chain transaction, locking a certain amount of bitcoin in a shared address. This is the only transaction that hits the blockchain at this stage. If Alice deposits 0.01 BTC, that is the liquidity available in the channel.

  2. Off-chain payments: From this point on, Alice can send bitcoin to Bob by updating the channel state - without touching the blockchain. Each "update" is actually an exchange of signed transactions describing how to distribute the funds between the two. If Alice sends 0.001 BTC to Bob, the new state records: Alice 0.009 BTC, Bob 0.001 BTC.

  3. Closing the channel: When they decide to close the channel, they broadcast the latest version of the signed agreement to the blockchain. Funds are distributed according to the last valid state.

Everything that happens in between - even thousands of payments - never touches the blockchain. Just two on-chain transactions: opening and closing.

The Routing System

Opening a direct channel with every person you want to transact with is not practical. This is where routing comes in.

The Lightning Network is a graph of interconnected channels. If Alice has a channel with Carol, and Carol has a channel with Bob, Alice can pay Bob through Carol without opening a direct channel. The payment is routed along the available path.

The mechanism that makes this possible is called an HTLC (Hashed Time-Lock Contract): a cryptographic contract that ensures every intermediate node in the path receives its fee only if the payment reaches its destination. If something goes wrong midway, the payment fails and the funds return to the sender. There is no risk of an intermediate node "keeping" the money.

From the sender's perspective, the process is invisible. The app automatically finds the best path among all available channels, factoring in fees, liquidity, and reliability.

The protocol underlying the routing is called onion routing: each node in the path knows only the previous node and the next one, never the entire route. A level of privacy comparable to the structure of Tor.

The Liquidity Problem

This is the most complex part to explain, but fundamental to understanding the practical limits of Lightning.

Every channel has a total capacity and a distribution of liquidity between the two sides. If Alice opened a channel with 0.01 BTC total, and has sent 0.008 BTC to Bob, she now has only 0.002 BTC of outbound liquidity - meaning the maximum amount she can still send through that channel. Bob, on the other hand, has 0.008 BTC of inbound liquidity - meaning he can receive up to 0.008 BTC through that channel.

This creates a non-trivial constraint: to receive bitcoin on Lightning, you need inbound liquidity. To send it, you need outbound liquidity.

Modern wallets solve this problem elegantly through LSPs (Lightning Service Providers). When you open a wallet like Phoenix or Breez, it is the LSP that opens a channel with you and provides you with inbound liquidity. In practice, the problem of channel management becomes invisible to the end user.

Real-world Use Cases for the Lightning Network

Micro-payments and Satoshi Streaming

One of the most interesting applications is value-for-value: a model in which creators receive micro-payments in bitcoin from their listeners/readers directly and instantly.

Breez natively integrates podcast streaming payments: while you listen to a podcast on Breez, the app automatically sends satoshis to the creator at a rate of, say, 10 sat per minute. No intermediary platform, no percentage taken out.

This is only possible on Lightning. On-chain, opening and settling a 10-sat transaction would cost more than the transaction itself.

International Remittances

The average cost of an international remittance is still around 6-7% according to World Bank data. For a migrant worker sending €200 home every month, that means losing €14 in fees.

With Lightning, the same transfer costs a few satoshis and arrives in seconds. Companies like Strike (founded by Jack Mallers) and other services built on Lightning are already eroding the traditional remittance market in corridors such as USA-El Salvador, USA-Mexico, and progressively Europe-Africa.

Trading and Payments on Bitcoin Platforms

LN Markets, the Lightning trading platform, recorded 445% growth in volumes and 640% growth in revenues in 2024 compared to 2023. The reason is simple: instant deposits and withdrawals, no KYC for small amounts, accessible directly from the wallet.

Integration with Large-scale Distribution

The most cited case remains Cash App (Square), which integrated Lightning as early as 2019, allowing its 50 million users (2024 data) to send bitcoin instantly via Lightning. More recently, Nubank in Brazil integrated Lightning for its 100 million customers, and Wallet of Satoshi - despite being custodial - has made Lightning accessible to hundreds of thousands of users in El Salvador and Guatemala.

The Future of the Lightning Network

In 2026 Lightning is mature for everyday use, but not yet "finished". Developers are working on several significant upgrades:

  • BOLT 12 - already partially implemented in Phoenix and other wallets - introduces static offers (a single QR code that can receive multiple payments), asynchronous payments, and better routing privacy.

  • Taproot Channels - an upgrade that makes Lightning channels indistinguishable from normal on-chain transactions, improving privacy and reducing fees.

  • PTLC - replacing HTLCs with more efficient and private contracts that eliminate payment correlation along the route.

  • Widespread splicing - Phoenix was a pioneer, but the goal is for all wallets to implement splicing as standard, eliminating the need to manage multiple channels.

Why Lightning Matters

I'll return to the starting point: the cold coffee.

Bitcoin without Lightning is digital gold. Extraordinary as a store of value, impractical for everyday spending. This is not a criticism - even gold can't be used to pay for coffee.

But Bitcoin aspires to something more: to be money for all of humanity, including the half of the world without access to decent financial services. One billion people without a bank account. Migrant workers losing 7% of their wages in remittances. People in countries with runaway inflation looking for an alternative to the local currency.

For them, Lightning is not an interesting technical feature. It is concrete access to a functioning monetary system.

Meanwhile, Europe is accelerating on the digital euro - a financial surveillance tool dressed up as innovation. On one side, an open, permissionless protocol that anyone can use without asking permission. On the other, a CBDC with holding limits, tracked transactions, and the technical ability to program where and how funds can be spent.

Lightning is the practical answer to the question: "Ok, Bitcoin is sovereign money, but how do I actually use it?"

The answer is: with Phoenix on your phone, a few tens of thousands of satoshis loaded up, and the freedom to pay anyone, anywhere, in seconds.


This article is part of the series of practical guides on Bitcoin. If you want to go deeper on custody of your bitcoin, read the guide on self-custody Bitcoin. To stay up to date on the evolution of the Lightning Network and the Bitcoin landscape, subscribe to Bitcoin Train - the weekly newsletter I have been writing for years.

Have questions about this topic? Book a 30-minute Bitcoin technical consulting session.