DeFi Taxes US 2026 – Complete Guide to Every DeFi Tax Event
If you've been active in DeFi, your tax situation is almost certainly more complex than you think. Swaps are taxable. LP deposits might be taxable. Yield farming rewards are definitely income. I'm going to walk through every major DeFi activity and what it means for your taxes.
The Core IRS Principle: Every Disposal Is Taxable
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 every crypto token as property. Exchange one for another, deposit tokens into a protocol, receive tokens from a protocol – each of those may be a taxable event. Simple buy-and-hold investing might generate one or two events a year. Active DeFi can generate hundreds. That’s the core challenge.
DEX Token Swaps
Every swap on Uniswap, Curve, SushiSwap, or any other DEX is a taxable crypto-to-crypto trade. You dispose of the token you give up (capital gain or loss based on your cost basis) and receive a new token at current market value (your new basis). Even USDC-to-USDT swaps are technically taxable events – the gain is near zero but the event exists.
Liquidity Pool (LP) Taxes
LP positions are the most complex DeFi tax situation:
- Depositing into a pool: Most practitioners treat this as a taxable disposal – you’re exchanging your tokens for LP tokens
- Holding LP tokens: Trading fee accumulation may be taxable income as it accrues or when withdrawn
- Withdrawing: Returning LP tokens for underlying assets is another potential taxable exchange
- Impermanent loss: Not directly deductible until you exit. It shows up in the cost basis of tokens received on withdrawal
Yield Farming and Liquidity Mining
Protocol reward tokens – governance tokens, incentive tokens, whatever the protocol pays – are ordinary income at fair market value when received. That receipt value becomes your cost basis. When you later sell those reward tokens, capital gains apply on any further appreciation.
Lending and Borrowing
Lending on Aave, Compound, or similar:
- Depositing crypto for receipt tokens (aETH, cETH, etc.): May be a taxable disposal
- Interest earned: Ordinary income when received or accrued
- Borrowing against collateral: Not taxable – loans are not income
- Liquidation: Forced sale of collateral at liquidation price – taxable capital gains event
Staking in DeFi vs Protocol Staking
DeFi staking (locking tokens in smart contracts) creates the same income event as exchange staking – rewards are ordinary income at fair market value. Liquid staking derivatives like stETH and rETH may also trigger taxable exchanges when obtained.
NFT DeFi (Lending Against NFTs)
Pledging an NFT as collateral for a DeFi loan doesn’t trigger a taxable disposal – you’re not transferring ownership. If the NFT gets liquidated to repay the loan, that’s a taxable sale of the NFT at the liquidation price.
Tracking DeFi Transactions
DeFi activity is on-chain. Connect your wallet address to crypto tax software and it imports everything automatically from Ethereum, Solana, BNB Chain, and other supported networks. Manual DeFi tracking in a spreadsheet is not realistic for anyone with more than a handful of transactions.
Gas Fees as Tax Deductions
ETH gas fees and other native token fees can be handled two ways: added to the cost basis of assets acquired (increasing basis, reducing future gain) or treated as an investment expense deduction. The right treatment depends on the transaction type. Keep records of all gas fees paid – they add up across hundreds of DeFi interactions.
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.