How Are Liquidity Pool Tokens Taxed? A Complete Guide
Key Takeaways
- Depositing tokens into a liquidity pool to receive LP tokens is likely a taxable event; establish cost basis at the FMV of tokens deposited.
- LP tokens earn trading fees as passive income; fees are ordinary income when withdrawn.
- Withdrawing liquidity (redeeming LP tokens) is a taxable event; calculate gain/loss as FMV of tokens received minus cost basis of LP tokens.
- Impermanent loss is not deductible until you actually withdraw; only realized losses can be claimed.
- Multi-token pools follow the same principles but involve tracking more assets.
What Are Liquidity Pool Tokens?
Liquidity Pool (LP) tokens represent your ownership share in a liquidity pool on a decentralized exchange. When you deposit two tokens (like ETH and USDC) into a Uniswap pool, you receive LP tokens as a receipt.
These LP tokens serve two purposes:
- They represent your claim on the underlying tokens in the pool
- They entitle you to your share of trading fees collected by the pool
LP tokens are themselves tradeable assets. You can transfer them, sell them, or use them as collateral in lending protocols. This flexibility creates additional tax complexity.
The IRS has not issued specific guidance on LP tokens, but most tax professionals treat them as a distinct asset class with their own cost basis and holding period. For a broader overview, see our complete guide to crypto taxes.
Are LP Tokens a Taxable Event at Deposit?
This is the most debated question in DeFi tax. The IRS has not provided authoritative guidance on whether depositing tokens into a liquidity pool triggers a taxable swap.
Two views exist:
The conservative view (widely recommended): Depositing Token A and Token B to receive LP tokens is a taxable exchange. You gave up your original tokens and received a new asset (the LP token). This is treated as a swap.
Under this approach, your cost basis in the LP tokens is the combined FMV of the two tokens deposited. If you deposit $5,000 of ETH and $5,000 of USDC, your LP token cost basis is $10,000.
This typically doesn't recognize an immediate gain or loss (since the LP token is worth what you contributed), but it establishes the crucial baseline for future tax calculations.
The minority view: Providing liquidity is not a taxable event because you still maintain the same economic exposure; you're just holding it in LP token form rather than as individual tokens.
For tax compliance, the conservative approach is strongly recommended. It's better to recognize a cost basis upfront than to face IRS questions later about whether you should have.
Tracking LP Token Cost Basis
Once you've established a cost basis in LP tokens, you must track it carefully. Here's what you need:
For each deposit into a liquidity pool:
- Deposit date
- Token A: quantity and FMV
- Token B: quantity and FMV
- LP token: quantity received
- Combined FMV of both tokens (your LP token cost basis)
Example: On January 1, you deposit 1 ETH (worth $2,000) and 2,000 USDC into a Uniswap pool and receive 10 LP tokens. Your LP token cost basis is $4,000 ($2,000 + $2,000), so each LP token has a $400 basis.
If you make multiple deposits at different times, you'll have multiple LP token positions with different cost bases. This is critical for calculating gains/losses when you eventually withdraw.
Many LP providers make multiple deposits over time, accumulating LP tokens from different dates. You must track each batch separately, as their holding periods and cost bases differ.
LP Tokens and Fee Income
While you hold LP tokens, the liquidity pool generates trading fees. These fees are collected in the underlying tokens (ETH and USDC, for example).
From a tax perspective, these fees are ordinary income when you withdraw them from the pool, following similar principles to crypto staking taxes. You must report the FMV of the fees at the time of withdrawal.
The fees gradually accumulate in the pool; your share grows proportionally. When you withdraw liquidity, you receive both your original deposited tokens plus the accumulated fees.
Example: You deposit $10,000 in liquidity and earn $500 in fees over a year. When you withdraw, you get back $10,500 in tokens. The $500 in fees is ordinary income; the $10,000 in original liquidity is treated as a withdrawal of your LP tokens.
The cost basis in the fee tokens is their FMV at withdrawal. Any future appreciation is a capital gain or loss.
Withdrawing Liquidity and Capital Gains
When you redeem LP tokens for the underlying assets, you trigger a taxable disposition. Calculate your gain or loss:
Gain/Loss = FMV of Tokens Received - Cost Basis of LP Tokens
Let's say your LP token cost basis is $10,000 and you withdraw when those LP tokens are worth $10,800. You have a $800 capital gain.
The holding period determines the character: if you held the LP tokens under a year, it's short-term capital gain (taxed as ordinary income rates). Over a year, it's long-term capital gain (preferential rates).
One complexity: you may receive back a different ratio of tokens than you deposited. If you deposited 50% ETH and 50% USDC but withdraw 45% ETH and 55% USDC (due to trading in the pool), the token quantities differ, but the total FMV is what matters for your gain/loss calculation.
Impermanent Loss and Tax Deductions
Impermanent loss is a real economic loss that happens when the price ratio of two tokens in a pool diverges significantly. If you provide liquidity to an ETH/USDC pool and ETH drops 40% in value, you'll end up with more ETH and less USDC than you'd have if you just held them.
From a tax perspective, this is not deductible until realized. Impermanent loss is an unrealized loss while you still hold the LP tokens.
The loss becomes "realized" (and potentially deductible) only when you withdraw from the pool and receive less value than you put in.
Example impermanent loss scenario:
- You deposit 5 ETH (worth $10,000) and $10,000 USDC; cost basis is $20,000
- ETH drops 40%; your 5 ETH are now worth $6,000
- You withdraw when your LP tokens are worth $19,000
- You realize a $1,000 capital loss ($19,000 received - $20,000 cost basis)
This loss is deductible in the year of withdrawal. It's a capital loss, which can offset capital gains or up to $3,000 of ordinary income.
Multi-Token Pools
Some liquidity pools involve more than two tokens. Balancer pools, for example, can hold five or more tokens. Curve pools maintain multiple stablecoin pairs.
The tax principles are identical, just more complex:
- Depositing multiple tokens to receive LP tokens is a taxable swap (or potentially multiple swaps)
- Your LP token cost basis is the combined FMV of all tokens deposited
- Withdrawing triggers a taxable event based on the total FMV of tokens received versus cost basis
- Impermanent loss still applies; fees still generate ordinary income
With four or five tokens involved, tracking becomes exponentially more difficult. Tax software that can import blockchain data is essential.
How to Track LP Transactions
Accurate tracking requires detailed record-keeping and multiple data points:
At deposit:
- Protocol (Uniswap, Curve, Balancer, etc.)
- Date
- Each token: symbol, quantity, FMV
- LP token: symbol, quantity
- Total FMV (your cost basis)
While holding:
- Monthly or quarterly tracking of LP token value (optional but helpful)
- Any fee accumulation (if you can extract this data)
At withdrawal:
- Date
- LP token quantity withdrawn
- Each token received: symbol, quantity, FMV
- Total FMV of withdrawal
- Fee income (if any)
Tools like FastCryptoTax can import your LP activity from your wallet and automatically calculate cost basis, impermanent loss, fee income, and capital gains. This significantly reduces manual tracking burden.