Uniswap Tax Guide: Swaps, Liquidity Pools, and UNI Token
How Uniswap transactions are taxed. Covering V2 and V3 swaps, liquidity pool positions, LP fees, UNI governance token, and how to import Uniswap history.
Uniswap Is a DEX — Your Taxes Are Your Responsibility
Uniswap is a decentralized exchange protocol. It has no central entity to issue you a 1099 form. Every transaction you make on Uniswap is recorded on the Ethereum blockchain (or Arbitrum, Optimism, Base, Polygon for V3 deployments) — permanently visible — and your tax obligation follows the same rules as any other crypto disposal.
Uniswap Swaps: Taxed as Crypto-to-Crypto Exchanges
Every Uniswap swap is a taxable event. When you swap ETH for USDC:
- You are disposing of ETH at its current fair market value
- Proceeds = the USD value of USDC received at the moment of the swap
- Cost basis = what you paid for the specific lot of ETH you're selling
- Gain or loss = proceeds minus cost basis
This is exactly how the IRS treats any crypto-to-crypto trade (Notice 2014-21). It doesn't matter that you used a smart contract instead of a centralized exchange — the economic substance is the same.
Multi-hop routes: Uniswap's router often routes swaps through multiple pools (e.g., WBTC → WETH → USDC). Each "hop" is technically a separate disposal event, though tax software typically treats the overall swap from input token to output token as a single transaction.
Gas Fees on Uniswap Swaps
ETH spent on gas for a Uniswap swap is a taxable disposal of ETH (small amounts), plus it reduces the proceeds from the token you sold (it's a selling expense). Track gas costs — they add up over many DeFi transactions and can meaningfully reduce your taxable gains.
Uniswap V2 Liquidity Pools
Adding liquidity to a V2 pool (e.g., ETH/USDC LP) is generally treated as a taxable disposal of both tokens at their current fair market value. You receive LP tokens in return — those LP tokens have a cost basis equal to the FMV of what you deposited.
When you remove liquidity (burn LP tokens for the underlying assets), it's another taxable disposal of the LP tokens. The underlying tokens you receive have a new cost basis equal to their FMV at withdrawal. Any fee income earned while in the pool is generally not separately taxable as it accrues — it's reflected in the growing value of your LP position.
Uniswap V3: Concentrated Liquidity and Position NFTs
Uniswap V3 replaced fungible LP tokens with NFT positions representing your concentrated liquidity range. The tax treatment is similar to V2:
- Minting a V3 position = disposal of both tokens at current FMV (taxable)
- Collecting fees via the "Collect" function = these are newly recognized income events in V3, unlike V2 where fees just grew within the position. Collected fees are likely ordinary income when collected.
- Burning the position (removing liquidity) = disposal of the NFT position at FMV of assets received (taxable)
V3 fee collection creates more frequent taxable income events than V2 — if you actively manage V3 positions and collect fees regularly, each collection is a potential income event.
UNI Governance Token
The September 2020 UNI retroactive airdrop was ordinary income at FMV on the date you claimed it (~$3.30/UNI at launch). If you claimed the 400 UNI airdrop, you had $1,320 in ordinary income in 2020. Your cost basis in UNI is that $1,320 ($3.30/UNI). Any subsequent UNI sales generate capital gains or losses relative to that basis.
For UNI received through liquidity mining programs or other distributions, the same rule applies: ordinary income at FMV when received, with that value as your cost basis.
Importing Uniswap Transactions for Tax Reporting
Uniswap doesn't provide a transaction export. To get your Uniswap history for tax purposes:
- Note your Ethereum wallet address (the one you connect to Uniswap)
- Import that address into Blockchain Smart Tax — it reads the full on-chain transaction history, classifies each Uniswap swap, LP entry, exit, and fee collection, and generates the correct gain/loss calculations
- All Uniswap V2 and V3 activity across Ethereum, Arbitrum, Optimism, Base, and Polygon is supported
Track Uniswap and DEX Taxes Automatically
Blockchain Smart Tax reads directly from the blockchain and automatically classifies uniswap and dex 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 →