Luma Workshop
Tax Software

DeFi LP Tax Treatment

Disclosure: This post contains affiliate links; we may earn a commission at no extra cost to you.

Providing liquidity looks simple from the app: deposit two tokens, get LP tokens back, earn fees. The tax picture underneath is genuinely messier than staking or a simple swap, and the honest answer is that the IRS hasn't issued direct guidance on liquidity pools specifically — so what follows is the current, most-defensible interpretation built from existing crypto tax rules, not a settled rulebook. Talk to a crypto-literate CPA before filing on any of this if your LP activity is significant.

Depositing into the pool is likely a taxable event

When you deposit two tokens into a liquidity pool and receive LP tokens in exchange, the common interpretation treats this as a crypto-to-crypto exchange — you're disposing of your original tokens for a new asset (the LP token), which can trigger a capital gain or loss based on the difference between your original cost basis and the fair market value of what you deposited at that moment. This reasoning leans on the same general exchange-of-property logic (sometimes referenced via the Cottage Savings doctrine) used elsewhere in crypto-to-crypto trade taxation. Your new LP token then carries a cost basis equal to the fair market value of what you put in.

Impermanent loss is not its own deductible event

This is the single most common misunderstanding in DeFi tax questions. Impermanent loss — the paper loss you see when the pool's token ratio shifts away from what you'd have if you'd just held the assets outside the pool — is not a recognized, deductible loss while you're still in the position. It only becomes tax-relevant when you actually withdraw: at that point, you compare what you receive against your LP token's cost basis, and if the value you get back is lower, that shortfall becomes a real, recognized capital loss. Until withdrawal, impermanent loss is just an unrealized mark-to-market number with no tax consequence either way.

Rewards while you're in the pool are ordinary income, not capital gains

Trading fees distributed to liquidity providers, and any additional token incentives (yield-farming rewards on top of base LP fees), are generally treated as ordinary income at fair market value when you receive them or gain control over them — the same “dominion and control” standard that applies to airdrops and staking rewards. That income then becomes the cost basis for those reward tokens specifically, separate from your original LP position's basis.

Withdrawing is the second taxable event

When you exit the pool and redeem your LP tokens for the underlying assets, that redemption is treated as another disposal — you're comparing the fair market value of what you receive back against your LP token's cost basis (established at deposit). If the pool's ratio moved against you and you get back less value than you put in, that's where your impermanent loss finally converts into an actual, recognized capital loss you can use. If the pool performed well beyond fees earned, that's a capital gain on top of the ordinary income you separately recognized from fee/reward distributions along the way.

Why this creates a genuine record-keeping headache

A single LP position can generate: one taxable event at deposit, an ongoing stream of small ordinary-income events every time fees or rewards accrue and become claimable, and one final taxable event at withdrawal — multiplied across every pool you've ever entered and exited, on every chain. Manually reconstructing fair-market-value snapshots for dozens of micro-reward distributions is where most DIY DeFi filers fall behind; this is a case where dedicated crypto tax software that ingests wallet/contract data directly is a genuine time-saver rather than a nice-to-have, since it can match on-chain events to price data automatically instead of you rebuilding a spreadsheet from block explorer exports.

Concentrated liquidity (Uniswap V3-style) adds another wrinkle

Older constant-product pools (classic Uniswap V2-style) spread your liquidity across the entire price curve, but concentrated-liquidity designs let you set a specific price range for your position — and if the market price moves outside that range, your position stops earning fees and effectively converts entirely into whichever single asset is now out of range, sitting idle until price re-enters your band or you manually adjust it. That range-exit event isn't a separate IRS-defined taxable moment on its own, but it does change what you're actually holding and matters for tracking your true cost basis going into an eventual withdrawal — treat each range adjustment or position resize as its own mini version of the deposit/withdrawal pair described above, not as a no-op.

What's still genuinely unsettled

Because the IRS hasn't issued LP-specific guidance, some conservative preparers treat the deposit/withdrawal pair as non-taxable “like-kind” position changes rather than two separate disposals, arguing the economic position is more like a deposit-and-withdrawal than a true sale. This is a real, debated position among crypto CPAs — not a fringe one — but it's not the IRS's stated default either, and taking it should be a deliberate, documented choice made with a preparer, not a default assumption because it's more convenient.

Our pick: Koinly

Comparison: LP tax events at a glance

Event Common treatment What's taxed
Depositing tokens, receiving LP tokens Likely a taxable disposal Capital gain/loss on original tokens vs. their basis
Impermanent loss while still in the pool Not recognized Nothing — unrealized only
Trading fees / yield rewards received Ordinary income on receipt FMV of rewards at time of receipt
Withdrawing / redeeming LP tokens Taxable disposal Capital gain/loss vs. LP token basis

Verdict

Assume both the deposit and the withdrawal are taxable events, and that every fee or reward distribution along the way is ordinary income when you receive it — that's the more defensible, IRS-guidance-consistent default even though it's more paperwork than the “it's all one continuous position” view some preparers argue for. Get a crypto-literate CPA's opinion before filing if your LP volume is material, since this is genuinely one of the least settled corners of crypto tax law.

FAQ

Do I owe tax just for having impermanent loss? No — impermanent loss is unrealized and not deductible until you actually withdraw from the pool and the loss becomes real.

Are LP rewards taxed the same as staking rewards? Functionally yes — both are typically ordinary income at fair market value when you gain control over them, separate from any capital gain/loss on the underlying position.

Is there an IRS ruling specifically on liquidity pools? No — the IRS hasn't issued LP-specific guidance, so current treatment is built by applying existing crypto-to-crypto exchange and income-recognition rules, which is why some preparers take differing positions.

What's the biggest record-keeping mistake people make? Not logging the fair market value at the moment of deposit and at each reward distribution, which makes reconstructing accurate basis nearly impossible months later at filing time.