Back to blog
March 31, 20267 min readBlockchain Smart Tax

Lightning Network and Taxes: Channels, Payments, and Routing Fees

How are Lightning Network transactions taxed? Channel opens, closes, payments, routing fees, and CSV imports from Phoenix, Zeus, BlueWallet, and Alby.

lightningbitcointax-guideguide

The Lightning Network is Bitcoin’s most widely used Layer 2 scaling solution, enabling fast, cheap payments by moving transactions off the main blockchain. But the IRS does not care whether your transaction happened on-chain or off-chain — it is still taxable if it meets the criteria.

Here is how Lightning Network activity is treated for US tax purposes, and what you need to track.

Opening a Lightning Channel

When you open a Lightning channel, you lock Bitcoin into a 2-of-2 multisig address on the Bitcoin blockchain. This is an on-chain transaction that creates the channel.

Tax treatment: Opening a channel is generally not a taxable event. You are moving your own Bitcoin into a smart contract you control — similar to transferring between wallets. However, the on-chain transaction fee you pay to open the channel is a disposal of a small amount of BTC, which has its own gain or loss.

Closing a Lightning Channel

When you close a channel (cooperatively or force-close), your Bitcoin balance is settled back to the blockchain. If you received Lightning payments while the channel was open, you will end up with a different amount of BTC than you started with.

Tax treatment:

  • The channel close itself is not taxable — it is simply moving funds back on-chain.
  • However, any gains or losses from payments made or received while the channel was open may be taxable (see below).
  • The on-chain fee for the closing transaction is a small BTC disposal.

Sending Lightning Payments

When you send a Lightning payment to buy goods or services, you are disposing of Bitcoin. This is a taxable event, just like spending BTC on-chain.

Example:

  • You bought 0.01 BTC at $500 (your cost basis)
  • You send 0.01 BTC via Lightning to pay for a $650 purchase
  • Your capital gain is $650 - $500 = $150

Yes, even buying a coffee with Lightning creates a taxable event. The gain or loss is the difference between the fair market value of the BTC at the time of payment and your cost basis.

Receiving Lightning Payments

How receiving Lightning payments is taxed depends on why you received them:

  • Payment for goods or services — This is ordinary income, taxable at the fair market value of the BTC when received. If you are a freelancer paid via Lightning, this is self-employment income.
  • Tips or donations — Generally treated as gifts (not taxable to the recipient) unless they are payment for services. Nostr zaps for content you created are likely income.
  • Reimbursements or transfers from yourself — Not taxable, but you need to track that the BTC retains its original cost basis.

Routing Fees (Node Operators)

If you run a Lightning node and route payments for others, the routing fees you earn are ordinary income. This is true regardless of the amount — even a few satoshis per routed payment.

Key considerations for node operators:

  • Each routing fee is income at fair market value when earned.
  • Volume can be high — An active routing node may process thousands of payments per month, each generating a small fee.
  • Channel rebalancing costs — On-chain fees and service fees paid to rebalance channels are potentially deductible business expenses if you operate your node as a business.
  • Capital investment — The BTC you lock in channels is your capital. When you eventually close channels, any gain or loss on that BTC is a capital gain or loss, separate from your routing income.

The Record-Keeping Challenge

Lightning’s biggest tax challenge is that transactions happen off-chain. Unlike on-chain Bitcoin transactions, Lightning payments are not recorded on a public blockchain. Your wallet or node keeps local records, but if you lose that data, the transactions are gone.

This means:

  • You cannot sync Lightning transactions from a blockchain explorer like you can with on-chain wallets.
  • You must export transaction data from your wallet software while you still have access to it.
  • If you switch wallets or reinstall, export your history first.

Wallet-Specific Export Formats

Different Lightning wallets export data in different formats:

  • Phoenix Wallet — CSV export available in Settings. Includes payment type, amount, fees, and timestamps.
  • Zeus — Exports transaction history as CSV from the app settings.
  • BlueWallet — Export transactions from the wallet detail screen.
  • Alby — Browser extension with CSV export from the transaction history page.
  • LND (command line) — Use lncli listpayments and lncli listinvoices to export JSON, then convert to CSV.
  • CLN / Core Lightning — Use lightning-cli listpays and lightning-cli listinvoices.

How BlockchainSmartTax Helps

We support Lightning Network transaction imports via CSV from the most popular wallets:

  • Phoenix, Zeus, BlueWallet, and Alby — Upload your CSV export and we parse and classify every transaction automatically.
  • Automatic classification — Payments sent are classified as disposals, payments received as income (or transfers, depending on context), and routing fees as income.
  • Channel open/close tracking — On-chain channel transactions that appear in your Bitcoin wallet sync are correctly identified and linked to your Lightning activity.
  • Cost basis continuity — BTC moved into Lightning channels retains its original cost basis. When you spend it via Lightning, the gain or loss is calculated against that basis.
  • Fee tracking — Both on-chain fees (channel opens/closes) and Lightning routing fees paid are tracked and included in your cost basis calculations.

Lightning is growing fast, and the tax obligations are real even for small amounts. Create your free account and import your Lightning history before you lose access to it.

Ready to calculate your crypto taxes?

Import your wallets in under 2 minutes. 10,000 free transactions during beta.

Get Started Free