DeFi Taxes in the US 2026 – Complete IRS Guide for DeFi Users
DeFi has created entirely new types of crypto activity – and the IRS is paying attention. This guide explains how every major DeFi activity is taxed in the US, from simple swaps to complex yield farming strategies.
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 treats DeFi transactions using the same property rules as all crypto: any time you dispose of (sell, trade, spend) cryptocurrency, it's a taxable event. DeFi creates dozens of ways this can happen without you realizing it.
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)
This is one of the most complex DeFi tax areas:
- Adding liquidity: IRS has not issued clear guidance. Conservative approach: treat as a taxable exchange of your tokens for LP tokens
- LP tokens received: Your cost basis = value of tokens deposited
- Removing liquidity: Treat as selling LP tokens – taxable event
- Impermanent loss: NOT a deductible loss (only realized losses count)
- Trading fees earned: Taxable income when received (or when you remove liquidity)
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.