Skip to content
PayableWithCrypto

Learn · Security & privacy

How to Pay with Bitcoin Lightning: A Step-by-Step Guide

Pay a Lightning invoice in seconds for a tiny fee. Learn which wallet to use, how to read an invoice and what to do when a payment fails.

Editorial teamFact-checked against official sources Updated 5 min read

General information, not financial, tax or legal advice.

On this page
  1. 1What you need before checkout
  2. 2Choosing a Lightning wallet
  3. 3Step by step: paying a Lightning invoice
  4. 4Lightning addresses and LNURL
  5. 5When a payment fails
  6. 6Fees in practice
  7. 7Privacy and safety notes
  8. 8Lightning and cards

To pay with Bitcoin Lightning, you need a Lightning-capable wallet with a balance, then you scan or paste the merchant’s Lightning invoice (a QR code or a string starting with lnbc) and confirm. The payment usually settles in seconds with a fee measured in fractions of a cent, which makes Lightning the practical way to spend bitcoin on small and medium purchases.

The steps are simple. Most problems come from picking the wrong kind of wallet or letting an invoice expire.

What you need before checkout

  • A Lightning wallet (custodial or self-custodial; compared below).
  • Bitcoin on Lightning, not just on-chain. Funding the wallet may involve an on-chain deposit, which takes normal block confirmation time.
  • A merchant that accepts Lightning. It is offered by many crypto payment processors and by merchants running BTCPay Server. In our directory, examples include TravelUp, IVPN, Silent Link and gift card shops such as Bitrefill.

Choosing a Lightning wallet

Custodial Lightning wallet or exchange Self-custodial Lightning wallet
Who holds the keys The provider You (via a seed phrase)
Setup effort Minimal; sign up and deposit Install, back up seed phrase; channels often managed automatically
Upfront costs Usually none beyond withdrawal fees Possible fee for opening a channel or a swap when you first fund it
Payment reliability Usually high; provider handles liquidity Usually good on modern wallets; very large payments can fail
Privacy Provider sees every payment and usually requires KYC Better; your node pays directly
Risk Provider can freeze, fail or exit a market Lose the seed phrase and you lose the funds

Several large exchanges have added Lightning deposits and withdrawals in some regions, which is a simple way to start if you already have an account. If you plan to keep a balance on Lightning, a self-custodial wallet removes the counterparty risk; follow our seed phrase backup guide when you set it up.

Step by step: paying a Lightning invoice

  1. At checkout, choose Bitcoin and then Lightning. Some processors show one combined QR code that works for both on-chain and Lightning wallets; others make you pick.
  2. Check the amount and timer. The checkout locks a price for a limited time. Have your wallet open before you click pay.
  3. Scan the QR code with your wallet, or copy the invoice text (starting with lnbc on mainnet) and paste it into the wallet’s send screen.
  4. Read the confirmation screen. The amount is encoded in the invoice, so your wallet should show the same sats amount as the checkout. It should also show the description or merchant name if the invoice includes one, and the estimated fee.
  5. Confirm. Most payments complete in a few seconds. The checkout page should update to “paid”.
  6. Keep the proof. Your wallet stores a payment hash and “preimage”, which proves you paid. Screenshot or note it if you might need support.

Anatomy of an invoice

Lightning invoices follow the BOLT 11 standard. Useful things to know:

  • The prefix shows the network: lnbc for bitcoin mainnet, lntb for testnet. A testnet invoice at a real shop is a red flag.
  • The amount is usually encoded inside the invoice, which prevents typos.
  • Each invoice has an expiry. If none is set, the standard default is one hour, but merchants commonly set much shorter windows to match their price lock.
  • Each invoice is meant to be paid once. Do not reuse an old one from your history.

Lightning addresses and LNURL

Some services show a Lightning Address, which looks like an email address (name@domain.com). Under the Lightning Address spec, your wallet looks up the domain and fetches a fresh invoice automatically, so you can type an amount yourself. It is convenient for tips and person-to-person payments. Check the address carefully; a typo sends to whoever owns that name, or fails.

LNURL codes work similarly and power features like “withdraw” QR codes and login. Only scan LNURL codes from sources you trust, just as you would with any payment link.

When a payment fails

Lightning payments either complete or fail cleanly. A failed attempt leaves your balance where it was, although a payment can occasionally show “pending” for a while before resolving.

Error or symptom Likely cause What to do
“No route found” Not enough liquidity along available paths, often for larger amounts Retry after a minute; try a smaller amount; or pay on-chain
“Invoice expired” Price lock ran out Refresh the checkout for a new invoice
“Insufficient balance” with funds visible Funds are on-chain, or channel reserve is held back Move funds to Lightning, or send slightly less
Payment pending for a long time A routing node along the path is slow Wait; do not pay the same invoice again from a different wallet
Checkout says unpaid after wallet says paid Merchant system delay Contact the merchant with the payment hash and preimage

Merchants using BTCPay Server or a payment processor can look payments up by invoice, so the details from your wallet are what support needs.

Fees in practice

Lightning routing fees are set by the nodes along your path, typically a small base fee plus a proportional fee. For typical retail amounts that usually adds up to well under a cent, though large payments pay proportionally more. The costs that surprise people come from elsewhere:

  • Self-custody setup. Opening a channel or receiving your first payment can involve an on-chain transaction, priced at whatever bitcoin’s on-chain fees are that day.
  • Exchange withdrawals. Exchanges set their own Lightning withdrawal fee, sometimes a flat amount.
  • Swaps. Moving between on-chain and Lightning through a swap service carries a fee.

Fund your Lightning wallet once with a sensible amount rather than topping up repeatedly. More fee tactics are in how to reduce crypto transaction fees.

Privacy and safety notes

  • Lightning payments are not broadcast to the public blockchain, but the receiver and any custodial wallet involved still see them. See how to pay with crypto privately.
  • Custodial Lightning wallets are bank-like accounts: convenient for spending money, not for savings.
  • Lightning invoices are hard for clipboard malware to fake convincingly because the amount and payee are encoded, but you should still check the amount and description on the confirmation screen.

Lightning and cards

If a shop does not accept Lightning, some crypto cards let you spend bitcoin anywhere cards are accepted, and you can check in each card app whether bitcoin deposits over Lightning are supported or only on-chain. Compare options in crypto cards for bitcoin, and read the bitcoin spending guide for on-chain versus Lightning trade-offs. The Lightning Network glossary entry explains how channels work under the hood.

Frequently asked questions

Can I pay a Lightning invoice from a regular bitcoin wallet?
Only if the wallet supports Lightning. A wallet that handles on-chain bitcoin only cannot pay an invoice starting with lnbc. Some exchange apps and multi-asset wallets support both, and some swap services can pay a Lightning invoice for you from an on-chain transaction, for a fee.
How much does a Lightning payment cost?
Routing fees for typical retail payments are usually a tiny fraction of the amount, often less than a cent. Self-custody wallets may also charge for opening channels or swaps, and exchanges set their own Lightning withdrawal fees, so check the fee preview before confirming.
What happens if a Lightning payment fails?
A failed Lightning payment does not move your funds; the wallet simply reports that no route was found or the invoice expired. You can retry, ask the merchant for a fresh invoice, or pay on-chain instead if the checkout offers it.
Is Lightning more private than on-chain bitcoin?
Generally yes, because individual Lightning payments are not recorded on the public blockchain. But custodial wallets see everything you do, and the merchant still sees your order details, so Lightning is not anonymous.
Why does my Lightning invoice say expired?
Invoices carry an expiry time, and merchants often set short windows because the bitcoin price is locked for that period. Once it passes, wallets refuse to pay. Generate a new invoice at checkout and pay promptly.

Keep learning

Compare cards Find a store