DeFi Taxes: Complete Guide to Taxing DeFi Activities in 2026

June 16, 2026
🏷️ crypto-tax 🏗️ defi 🏷️ yield-farming

DeFi creates complex tax situations. Swapping tokens, providing liquidity, yield farming, and borrowing all have different tax treatments.

Here’s the complete breakdown of DeFi taxes.

DeFi tax treatment for swaps, liquidity pools, yield farming, and borrowing

DeFi Activities and Tax Treatment

Token Swaps (Uniswap, SushiSwap)

EventTaxable?Treatment
Swap ETH for USDCYesCapital gains on ETH
Swap USDC for ETHYesCapital gains on USDC
Swap same pegged tokensYesStill taxable
Each swap = a saleAlwaysTreat as disposing of old token

Example: Swap 1 ETH ($2,500) for 2,500 USDC

Providing Liquidity (LP Tokens)

EventTaxable?Treatment
Add liquidity (deposit tokens)Usually noNo disposal
Receive LP tokensNoNot income
Remove liquidity (withdraw)YesCapital gains on tokens
Earn trading feesYesIncome at receipt
Impermanent lossNot until realizedOnly when withdrawing

Yield Farming

EventTaxable?Treatment
Stake LP tokensNoNo disposal
Receive farm tokensYesIncome at FMV
Sell farm tokensYesCapital gains
Compound rewardsYesIncome each time

Airdrops

EventTaxable?Treatment
Receive airdropYesIncome at FMV
Sell airdropYesCapital gains
Unclaimed airdropNoNot until claimed

Borrowing Against Crypto

EventTaxable?Treatment
Borrow against collateralNoNot a taxable event
Pay interestNoNot deductible (personal)
LiquidatedYesTreated as sale of collateral
Repay loanNoNo tax event

Country-Specific Rules

ActivityUSUKCanada
Token Swaps0-20% LTCG18-28% CGT50% taxable
Yield Farming10-37% income20-45% income100% income
Liquidity PoolsVariesVariesVaries
AirdropsOrdinary incomeIncome taxIncome at FMV
BorrowingNot taxableNot taxableNot taxable
LiquidationTaxable saleTaxable disposalTaxable disposition

Record-Keeping for DeFi

You need to track:

Data PointWhy
Date/timeTo determine short vs long-term
Transaction typeSwap, LP, farm, borrow
Tokens involvedBoth sides of the transaction
AmountsToken amounts and USD value
Gas feesFor cost basis calculation
Wallet addressesFor audit trail

DeFi Tax Software

Not all tax software handles DeFi well. Here’s what works:

SoftwareDeFi SupportChainsPrice
KoinlyExcellent300+$49-279
CoinTrackerGood100+$59-599
TokenTaxGoodMajor chains$65-799
ZenLedgerGood20+$49-999
AccointingGood100+$49-299

Common DeFi Tax Mistakes

MistakeWhy It’s Wrong
Ignoring token swapsEvery swap is taxable
Not tracking LP positionsWithdrawals are taxable
Forgetting airdropsIncome when received
No records of gas feesNeeded for cost basis
Treating DeFi as tax-freeAll crypto is taxable

Summary

Key PointTakeaway
SwapsAlways taxable (capital gains)
Liquidity poolsTaxable when withdrawing
Yield farmingIncome at receipt
AirdropsIncome at FMV
BorrowingNot taxable (until liquidated)
Track everythingUse DeFi-compatible tax software
📚 Found this helpful? Share it with someone who's new to crypto. This question was sourced from BitcoinTalk community discussions.
This content is for educational purposes only. Not financial advice. Do your own research before investing.