DeFi Taxes in the US 2026 – Complete IRS Guide for DeFi Users
DeFi is where crypto tax reporting gets genuinely complicated. A single afternoon of yield farming on Curve, Uniswap, and Aave can generate dozens of taxable events — most of which you'd never notice without digging into the transaction logs. Here's how the IRS views each type of DeFi activity.
The IRS and DeFi: The Core Principle
Calculate Your Crypto Taxes Automatically
Import your transactions and get a complete tax report in minutes – no manual spreadsheets needed.
Start for free →The IRS applies the same property rules to DeFi as to everything else in crypto: any time you dispose of cryptocurrency — sell it, trade it, spend it — it's a taxable event. The problem with DeFi is that disposals happen constantly, often automatically, and often invisibly.
DEX Swaps (Uniswap, Sushiswap, Curve)
- Every token swap on a DEX = taxable disposal of the token you're giving up
- Gain/Loss = FMV of token received − Cost basis of token given
- Applies to: ETH → USDC, DAI → WBTC, any token-to-token swap
- Gas fees paid: Add to cost basis of received token
- Aggregator swaps (1inch, Paraswap): Same rules apply
Liquidity Pool Provision (Uniswap V2/V3, Curve)
Liquidity pools are genuinely the messiest area in DeFi tax. The IRS hasn't issued definitive guidance, so practitioners are working from general property principles:
- Adding liquidity: No clear IRS guidance — conservative approach is to treat it as a taxable exchange of your tokens for LP tokens
- LP tokens received: Cost basis = value of tokens deposited
- Removing liquidity: Taxable event — treated as selling LP tokens
- Impermanent loss: NOT deductible — only realized losses count
- Trading fees earned: Taxable income when received or when you exit the position
Yield Farming and Liquidity Mining Rewards
- Farming rewards (COMP, UNI, CRV, etc.) = ordinary income when received
- Value = FMV of tokens at receipt in USD
- Cost basis of farming rewards = income amount recognized
- Later sale of farming rewards: Capital gain/loss (with new holding period from receipt date)
Lending Protocols (Aave, Compound)
- Depositing collateral: Likely not taxable (you retain ownership through aTokens/cTokens)
- Interest earned: Taxable ordinary income as it accrues (aTokens grow automatically)
- Borrowing: Not a taxable event (taking a loan)
- Repaying loan: Not taxable
- Liquidation: Your collateral is disposed at liquidation price = taxable capital event
Staking on DeFi Protocols
- ETH staking on Lido, Rocket Pool: Staking rewards = ordinary income when received
- stETH/rETH received: The IRS has not clarified if stETH receipt is a taxable event – conservative approach is to treat the daily rebasing as income
- Ethereum network staking (solo): Rewards are ordinary income upon receipt per Revenue Ruling 2023-14
Cross-Chain Bridges
- Bridging ETH from Ethereum to Polygon/Arbitrum: Most practitioners treat as non-taxable (same asset, different wrapper)
- Receiving a different token when bridging: Potentially taxable exchange
- Bridge hacks (lost funds): Potential theft loss – complex treatment
DeFi Record-Keeping Requirements
DeFi creates hundreds of micro-transactions. You need:
- Every wallet address used across all chains
- Timestamps and USD values at exact transaction time
- Gas fees for every transaction (they affect cost basis)
- Protocol-specific data (Uniswap V3 position NFT IDs, etc.)
Automate DeFi Tax Tracking
CoinTaxReporting supports all major DeFi protocols:
- Automatic wallet import for Ethereum, Polygon, Arbitrum, Optimism, BSC, Solana
- Smart classification of swaps, LP deposits/withdrawals, farming rewards
- Historical USD pricing for all tokens at transaction time
- IRS-compliant Form 8949 output
Related Resources
Generate Your Crypto Tax Report
Import your transactions and get an audit-ready PDF report in minutes.
Start for free →Disclaimer: This article is for general informational purposes only and does not constitute tax advice. For individual tax advice, consult a licensed tax professional.