Tax & Losses

Is Impermanent Loss Tax Deductible? Why It Doesn't Count Until You Exit the Pool

Impermanent loss shows up in your liquidity pool balance long before it shows up on any tax form — and for most people, it never becomes deductible on its own. Here's the actual mechanic, the math behind why it happens, and how it gets folded into your capital gain or loss only when you withdraw.

Providing liquidity to a decentralized exchange pool can leave you with fewer dollars than you put in — or fewer than you’d have if you’d just held the two tokens separately — and neither of those facts is a taxable loss by itself. The gap between “this position underperformed” and “I have a deductible loss” is exactly where impermanent loss lives, and it’s a distinction almost nobody explains before someone deposits into their first pool.

This is general educational information, not tax advice. DeFi tax treatment is less settled than ordinary crypto trading, varies by jurisdiction, and depends on your specific facts. Confirm the current rules where you file before relying on anything here.

What impermanent loss actually is

When you deposit two assets into an automated market maker (AMM) pool — say, ETH and a stablecoin — you’re not just holding both. You’re handing them to a formula that continuously rebalances the ratio between them as the price moves, so the pool can keep offering trades to other users. If the price of one asset moves significantly after you deposit, the AMM has already sold some of your appreciating asset into the depreciating one to keep the pool balanced, whether you wanted that trade or not.

The result: when you withdraw, you typically get back less of the asset that went up and more of the asset that went down, compared to what you’d have if you’d simply held both outside the pool. That shortfall — the gap between “value of the LP position” and “value of just holding” — is impermanent loss. It’s called impermanent because if prices move back to where they were when you deposited, the gap closes. It only becomes a permanent, realized loss if you withdraw while the gap is still open.

The standard textbook example uses this formula for a 50/50 pool, where r is the ratio between the new price and the price at deposit:

IL = 2√r / (1 + r) − 1

Run the numbers for a price that simply doubles (r = 4) and the result is close to −5.7% — regardless of whether the price doubled or was cut in half, since the formula is symmetric around a 2x move in either direction. Concretely: deposit $500 of ETH and $500 of USDC into a pool. A month later ETH has doubled. Withdraw, and you get back roughly $1,414 combined — versus $1,500 if you’d just held the ETH and USDC in a wallet the whole time. You’re up in dollar terms, but you underperformed holding by about 5.7%, or roughly $86 in this example.

That gap is the entire concept. It has nothing to do with fees earned, gas costs, or the pool getting hacked — it’s a structural consequence of how AMMs rebalance, and it happens to some degree any time the two assets in a pool move in price relative to each other.

The size of the problem is bigger than most LPs assume

Impermanent loss is often framed as a minor drag that trading fees comfortably cover. For a lot of real-world pools, that hasn’t held up. A widely cited study on Uniswap by Bancor, a competing decentralized exchange protocol, found that more than half of Uniswap liquidity providers were losing money once impermanent loss was netted against the fees they earned — and that for Uniswap V3 pools specifically, more than 80% of the pools analyzed left liquidity providers worse off than if they’d simply held the underlying assets, despite V3 generating more fee revenue per dollar of liquidity than earlier AMM designs, as reported by Nasdaq. The takeaway isn’t that liquidity provision never works — it’s that “the fees will cover it” is an assumption worth checking against real data for the specific pool and time period, not a given.

Why this generally isn’t deductible while you’re still in the pool

Almost every capital-loss framework is built around a disposal: you sold, swapped, or otherwise gave up an asset for less than your cost basis, and that transaction is the taxable event. The Records You Actually Need to Claim a Capital Loss covers why that transaction-level proof matters generally — the same logic applies here.

While your funds sit in a liquidity pool, you haven’t disposed of anything in the ordinary sense. You hold an LP position (often represented by an LP token) whose underlying value has drifted below what a simple hold would have produced, but the position is still yours, still capable of recovering if prices move back, and still not sold. Tax authorities generally don’t let you deduct a paper shortfall on an asset you still hold — the same principle that keeps an unrealized stock loss non-deductible until you actually sell.

There’s an added wrinkle specific to DeFi: unlike a straightforward stock or spot-crypto sale, the IRS and most other tax authorities have not published specific guidance on how liquidity pool deposits, LP tokens, and withdrawals should be characterized for tax purposes. Practitioners and crypto tax software providers generally apply existing property and disposal rules by analogy rather than pointing to a rule written for this exact situation — which means the “no deduction until withdrawal” position described here is the conservative, defensible reading of general principles, not a settled statute written for AMMs specifically. That gap is one more reason to get a professional’s read on your specific pool structure before you file, rather than assuming your tax software’s default crypto workflow — usually built around ordinary buy/sell transactions — handles LP positions correctly out of the box.

What actually happens when you withdraw

Exiting the pool is the event that matters. At that point, you’re disposing of your LP position (or the underlying tokens it represents) in exchange for whatever the AMM gives you back — and that disposal is measured against your original cost basis, the same as any other sale.

Concretely, most approaches to this work out as:

  1. Cost basis = what you originally deposited into the pool (plus any fees paid to enter, where applicable).
  2. Proceeds = the fair market value of whatever you receive when you withdraw, at the time you withdraw.
  3. Gain or loss = proceeds minus cost basis.

Impermanent loss doesn’t appear anywhere in that calculation as its own line — it’s already expressed in a lower proceeds figure, because the AMM handed you back a less favorable mix of assets than a simple hold would have. If your withdrawal proceeds come in below your original cost basis, you have a realized capital loss you can generally use the same way as any other — including offsetting gains, and carrying forward any excess. Your Crypto Loss Is Bigger Than This Year’s Deduction: The Carryforward Math covers what happens when a loss like this exceeds what you can use in a single year.

If your proceeds come in above your cost basis — which can happen even with meaningful impermanent loss, if the underlying assets appreciated enough to outrun it, as in the $1,414-versus-$1,500 example above — you have a taxable gain, full stop. The fact that you underperformed a hold strategy doesn’t create a loss for tax purposes; only underperforming your own cost basis does.

Fees earned complicate the basis, and often get taxed separately

Most liquidity pools pay LPs a share of trading fees, frequently accruing directly into the position rather than paid out separately. Depending on how a given protocol structures this, fee income can be treated as ordinary income at the time it accrues (similar to the treatment discussed in Are Staking Rewards Taxed Twice?), which would also add to your cost basis in the position — or it can be folded entirely into the value of the LP token with no separate income event until withdrawal, depending on the protocol’s mechanics and how conservatively you want to treat an unsettled area. Either way, don’t assume the fees you earned are simply invisible for tax purposes just because you never see them as a separate transaction — get a specific read on how your protocol structures fee accrual before you file.

A practical way to think about the decision to provide liquidity at all

None of this is an argument that liquidity provision is a bad strategy — fee income has genuinely outrun impermanent loss for plenty of pools, particularly stable-to-stable pairs where the price ratio barely moves and the impermanent loss formula above stays close to zero. The point worth internalizing before you deposit is that a pool between two assets that can move meaningfully against each other carries a real, quantifiable drag that isn’t the same thing as ordinary price risk, and it doesn’t show up as a clean, bookable loss you can use at tax time until you actually exit. If you’re evaluating whether to unwind a pool position that’s underperformed, How to Diversify After a Concentrated Loss covers the broader rebuild math for redeploying capital out of an underperforming position, independent of the tax treatment.

FAQ

If my liquidity pool position is down because of impermanent loss, can I claim that loss this year without withdrawing? Generally no. Impermanent loss lives inside the pool as an unrealized shortfall between what you’d have if you’d just held the two assets and what your LP position is actually worth. Most tax systems only recognize a loss when there’s a disposal — and as long as your funds sit in the pool, you haven’t disposed of anything. If prices move back toward where they were when you deposited, the loss can shrink or disappear entirely, which is the literal reason it’s called “impermanent” rather than a straightforward loss.

When I do withdraw, is the loss reported as one specific line item called “impermanent loss”? No — there’s no dedicated tax category for it. What you report is the difference between your original cost basis (generally what you deposited) and the value of what you receive back when you exit the pool. Impermanent loss is already baked into that number; it’s the reason your exit proceeds are lower than a simple buy-and-hold would have produced, not a separate deduction you claim on top of it.

Does it matter whether I lost money in dollar terms, or just underperformed holding? For tax purposes, generally only the dollar comparison against your cost basis matters — not the comparison against what holding would have earned you. You can walk away from a pool with more dollars than you deposited and still have “lost” to impermanent loss in the sense that you’d have had even more by holding. That’s a real economic loss worth understanding, but it isn’t a tax loss unless your withdrawal proceeds are actually below your cost basis.

Does the wash sale rule or any special DeFi rule apply when I re-enter a pool after withdrawing at a loss? Crypto generally isn’t subject to a wash-sale-style restriction the way stocks are in some jurisdictions, but this is exactly the kind of rule regulators have been actively revisiting, and DeFi-specific guidance is even less settled than ordinary crypto trading rules. Confirm the current treatment in your jurisdiction — see Does the Wash Sale Rule Apply to Crypto? for the mechanics of how that rule works where it does apply.