Back to blog
February 15, 20268 min readBlockchain Smart Tax

Impermanent Loss and Taxes: Can You Deduct LP Losses?

Can you deduct impermanent loss on your taxes? Learn what impermanent loss is, how it interacts with LP entry and exit tax events, and how to calculate your true LP gain or loss.

guidedefistrategy

What Is Impermanent Loss?

Impermanent loss (IL) is the opportunity cost of providing liquidity to an automated market maker (AMM) compared to simply holding the tokens. It arises because AMMs maintain a constant ratio between paired tokens — as the price of one token changes relative to the other, the pool automatically rebalances, leaving the LP with less of the appreciated token and more of the depreciated one.

Example: You deposit 1 ETH and 2,000 USDC into a 50/50 pool when ETH is $2,000. If ETH rises to $4,000, arbitrageurs buy ETH from the pool until the ratio reflects the new price. When you exit, instead of having 1 ETH and 2,000 USDC (which would be worth $6,000), you might have 0.707 ETH and 2,828 USDC — worth about $5,656. Compared to just holding, you're down $344. That's impermanent loss.

The loss is "impermanent" because if prices return to the original ratio, the IL disappears. But in practice, prices rarely return exactly, so IL is often permanent for LPs who hold through large price movements.

Is Impermanent Loss Separately Deductible?

No — impermanent loss is not a separate tax deduction. This is perhaps the most misunderstood aspect of LP taxation. IL is not a distinct loss event under the tax code; it's an economic concept that describes the difference between two investment strategies.

The tax law doesn't recognize "impermanent loss" as a category. What it does recognize is the actual realized gain or loss when you exit the LP position. That exit amount already reflects whatever impermanent loss occurred — it's baked into the calculation.

How LP Taxation Actually Works

To understand why IL isn't separately deductible, you need to understand the full LP tax picture:

At LP entry

Most tax professionals treat depositing tokens into an LP as a taxable disposal of both tokens at their current FMV. You recognize gain or loss on each token relative to your cost basis. Your LP tokens (or LP position) receive a cost basis equal to the FMV of everything you deposited.

Example: You deposit 1 ETH (cost basis $1,500, FMV at deposit $2,000) and 2,000 USDC (cost basis = FMV = $2,000). You recognize a $500 capital gain on the ETH at deposit. Your LP token cost basis is $4,000.

During the LP period

Trading fees earned passively within the pool are generally not separately recognized as income while they accrue — they increase the value of your LP position. Separately harvested protocol token rewards (governance tokens, liquidity mining emissions) are ordinary income when claimed.

At LP exit

When you withdraw, you dispose of your LP tokens. The capital gain or loss is the FMV of tokens received minus your LP token cost basis. If you received less value than your cost basis, you have a capital loss. This loss naturally incorporates impermanent loss — it's already reflected in the lower token amounts you received.

The Math: LP Loss vs. Just Holding

Continuing the example: after ETH rises to $4,000, you exit the LP and receive 0.707 ETH and 2,828 USDC (worth $5,656 total). Your LP token cost basis was $4,000.

  • Capital gain on LP exit: $5,656 − $4,000 = $1,656 (long-term if held 12+ months)
  • If you had simply held: 1 ETH ($4,000) + 2,000 USDC ($2,000) = $6,000 → $2,000 unrealized gain on ETH

The LP earned less ($1,656 gain recognized vs. $2,000 unrealized gain from holding). That's the economic impermanent loss at work. But you can't separately deduct the $344 difference — the tax already reflects your actual realized outcome.

LP Losses: When You Actually Lose Money

LPs can realize actual capital losses (not just opportunity cost) when the combined FMV of withdrawn tokens is less than the cost basis of the LP position. This happens most dramatically in:

  • Pools where one token collapses in value (e.g., an LP with a depeg token)
  • Short-term positions where fees don't cover the IL from price divergence
  • Volatile token pairs where IL significantly erodes principal

These are real capital losses, fully deductible against capital gains. They're not "impermanent loss deductions" — they're ordinary capital loss treatment applied to the LP position's realized outcome.

Protocol Differences: Uniswap v3 Concentrated Liquidity

Uniswap v3 concentrated liquidity positions are more complex: fees accrue separately from the LP position and may be recognized as income when collected. The LP position itself (the NFT representing the range position) follows the same entry/exit tax logic — cost basis at deposit, capital gain/loss at withdrawal. IL is more severe outside the price range (when the position is entirely one token), which is fully reflected in the exit FMV calculation.

Tracking LP Tax Events

Blockchain Smart Tax has a dedicated LP tracking module covering 10 protocols across 4 chains. It records your entry cost basis, tracks rewards separately as income, and calculates your precise capital gain or loss on exit — incorporating whatever IL occurred into the final realized number.

Track Liquidity Pool Taxes Automatically

Blockchain Smart Tax reads directly from the blockchain and automatically classifies liquidity pool transactions — swaps, LP entries and exits, staking deposits and rewards, lending positions, and more. No CSV uploads, no manual tagging.

How we compare to other crypto tax platforms:

  • Koinly ($49+/year) — good DeFi support with growing protocol coverage
  • CoinTracker ($59+/year) — strong Ethereum DeFi coverage with growing multi-chain support
  • AwakenTax — strong Solana DeFi auto-classification, but limited to ~20 chains total
  • Blockchain Smart Tax (from $25/year) — DeFi tracking across 550+ chains with automatic wallet discovery, all cost basis methods free, free during beta

Import your DeFi wallets in under 2 minutes — free during beta →

Related Articles

Ready to calculate your crypto taxes?

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

Get Started Free