Calculate taxes on DeFi liquidity pool positions: entry swap (capital gain/loss), LP rewards (ordinary income), impermanent loss, and exit event. Step-by-step tax timeline.
DeFi Liquidity Pool Tax Guide
Providing liquidity on protocols like Uniswap, Curve, or Balancer creates multiple taxable events. Unlike simply holding crypto, every LP interaction is potentially taxable. The IRS has not issued definitive guidance on LP positions, but the conservative treatment (followed by most tax professionals) is as described below.
Three-Event Tax Model
Event 1 β ENTRY: Depositing tokens = disposing of Token A & B
Gain/Loss = FMV at deposit β Cost Basis (for each token)
LP tokens received carry a cost basis = total FMV deposited
Event 2 β HOLD: Rewards received = ordinary income at FMV when received
Cost basis of reward tokens = FMV at receipt
Event 3 β EXIT: Redeeming LP tokens = disposing of LP position
Gain/Loss = Exit FMV β LP token cost basis (entry FMV)
Impermanent loss realized only at exit, included in capital loss calculation
Example
Entry: Deposit ETH (basis $5,000, FMV $7,000) + USDC (basis $4,000, FMV $5,000)
Entry gain: ($7,000 β $5,000) + ($5,000 β $4,000) = $3,000 capital gain
LP cost basis established: $12,000 (entry FMV)
Hold: Receive $2,400 in trading fees β $2,400 ordinary income
Exit: Receive tokens worth $14,000 β Exit gain = $14,000 β $12,000 = $2,000 gain
Frequently Asked Questions
Is entering a liquidity pool a taxable event?
Yes, entering a liquidity pool is generally a taxable event under current IRS guidance. When you deposit tokens into a liquidity pool and receive LP tokens in return, the IRS likely treats this as a disposition of the original tokens β triggering capital gain or loss based on the difference between the FMV of LP tokens received and your cost basis in the deposited tokens. Some tax professionals argue this is a like-kind exchange (not taxable), but without clear IRS guidance, the conservative approach is to treat LP entry as taxable.
How are liquidity pool rewards taxed?
Liquidity pool rewards (trading fees, governance tokens, reward emissions) are taxed as ordinary income at their fair market value when received. This is consistent with IRS guidance on crypto staking and mining income. The FMV when received becomes your cost basis for those reward tokens. If you later sell reward tokens at a higher price, you owe capital gains tax on the difference. If prices fall, you may have a capital loss.
What is impermanent loss and is it tax-deductible?
Impermanent loss (IL) is the difference between holding tokens vs. providing liquidity, caused by price divergence between the pooled tokens. IL is "impermanent" while you stay in the pool, but becomes a realized loss when you exit. The IRS does not recognize impermanent loss as a deductible loss while inside the pool. When you exit (withdraw), you receive the actual current token amounts, and the difference between the exit value and entry basis determines your realized capital gain or loss on the LP token position.
What are the tax consequences of exiting a liquidity pool?
Exiting a liquidity pool is a taxable event: you dispose of LP tokens and receive the underlying tokens. The gain or loss is the difference between (a) the FMV of tokens received on exit and (b) your cost basis in the LP tokens (which equals the FMV of tokens deposited on entry, adjusted for any additional purchases of LP tokens). Impermanent loss is only realized and potentially deductible at exit. The holding period of LP tokens determines whether any gain is short-term or long-term.
How should I track my DeFi liquidity pool positions for taxes?
You should record: (1) Date and FMV of each token deposited (entry event); (2) LP tokens received and their implied FMV; (3) All rewards received with FMV at receipt dates; (4) Date and FMV of LP tokens at exit; (5) Tokens received on exit with their FMV. Tools like Koinly, CoinTracker, TaxBit, or TokenTax can import transactions from your wallet address and calculate gains, losses, and income automatically. Keep records for at least 3β7 years.