In DeFi, taxable events include: swapping tokens on a DEX (disposal), providing liquidity (if it involves token conversion), claiming staking or farming rewards (income), removing liquidity at different token ratios than deposit (potential gain/loss), bridging that involves token swaps, and wrapping/unwrapping (jurisdiction-dependent). Simply depositing into a lending protocol or staking without conversion is generally not taxable in most jurisdictions.

What Are DeFi Taxable Events?

4 min read

The short version

Every time you swap one token for another on a DEX, the tax authority sees it the same as selling one asset and buying another. Every time you claim yield (staking rewards, farm rewards, lending interest), that is income at the moment you receive it. DeFi makes this complicated because a single complex transaction can trigger multiple taxable events that traditional finance never has to deal with.

How It Works

DeFi-specific taxable events breakdown: Token swaps (always taxable): swapping ETH for USDC on Uniswap is a disposal of ETH. You owe capital gains tax on any appreciation since you acquired the ETH. This applies even if you never touch fiat. Every swap is a sell followed by a buy. LP deposits (varies by jurisdiction): depositing ETH + USDC into a Uniswap pool. In the US, the IRS has not issued clear guidance. Conservative interpretation: depositing into a pool is a disposal (you exchanged individual tokens for LP tokens). Aggressive interpretation: it is a non-taxable exchange of like-kind. Most tax software treats it as a disposal. LP withdrawals: you receive tokens back at different ratios than deposited (due to impermanent loss or pool rebalancing). The difference between what you deposited and what you withdrew is a capital gain or loss. Claiming rewards (always income): every time you claim SUSHI, CRV, AAVE, or any reward token, that is ordinary income valued at fair market price at the moment of receipt. You then have a cost basis equal to that value for future capital gains calculation when you sell the reward. Staking deposits/withdrawals: depositing ETH into Lido (receiving stETH) may or may not be a taxable event depending on whether it is treated as a swap (ETH for stETH) or a deposit. IRS has not clarified. Conservative treatment: taxable swap. Wrapping (WETH): wrapping ETH to WETH is debated. Most practitioners treat it as non-taxable (functionally identical asset, just in ERC-20 format). Bridging: if the bridge gives you a different token representation (wrapped version), this could be a taxable event. Native bridges that maintain the same token identity are likely non-taxable transfers.

Tax events in a typical week of DeFi activity

Monday: Swap 1 ETH ($3,000) for 3,000 USDC on Uniswap. Taxable: yes. Capital gain = $3,000 minus your cost basis for that ETH. If you bought at $2,000: $1,000 gain. Tuesday: Deposit 3,000 USDC + 1 ETH into Uniswap LP. Taxable: conservative yes (disposed of individual tokens for LP tokens). Cost basis of LP tokens = $6,000. Wednesday: Claim 50 UNI farming rewards (worth $400 at claim time). Taxable: yes, $400 ordinary income. Your cost basis for those 50 UNI is $400. Thursday: Bridge 0.5 ETH from Ethereum to Arbitrum using the official bridge. Taxable: no (same token, same ownership, just different chain). Transfer between your own wallets. Friday: Swap 50 UNI for 0.13 ETH on Arbitrum. Taxable: yes. If UNI is still worth $400 and your basis was $400: zero gain. If UNI rose to $450 since Wednesday: $50 capital gain. Total tax events this week: 4 taxable events generating income or gains that must be tracked and reported.

What People Get Wrong

  • DeFi is untaxable because it is decentralized

    Tax obligations are based on YOUR actions (disposing of assets, receiving income), not on whether a central authority facilitated them. The IRS and most tax authorities make no distinction between CEX and DEX trades. A swap on Uniswap has the same tax treatment as a trade on Coinbase. Decentralization affects enforcement difficulty, not legal obligation.

  • If I do not cash out to fiat, no tax is owed

    Every token-to-token swap is a taxable disposal in the US, UK, EU, Australia, and most major jurisdictions. Converting ETH to USDC is taxable even though USDC is still crypto. The tax event is the disposal of the first asset, not the arrival of fiat in your bank account.

  • Impermanent loss is automatically tax-deductible

    IL is only realized (and reportable) when you withdraw from the pool. While your tokens sit in the pool, IL is unrealized. Upon withdrawal: the difference between what you deposited (in token terms) and what you received back creates a gain or loss. The tax math is complex and best handled by crypto tax software that tracks LP positions.

Sources & Further Reading

Questions People Also Ask

Do I owe tax on unrealized LP gains?
No. While your tokens are in a liquidity pool, any changes in value (from fees accruing or impermanent loss) are unrealized. Tax is owed only when you withdraw (realizing the final gain/loss) or claim reward tokens (income at receipt). Your LP position sitting untouched does not generate a current tax obligation.
How do I track DeFi taxes if I have hundreds of transactions?
Use crypto tax software (Koinly, CoinTracker, TokenTax) that reads your wallet addresses directly from the blockchain. Paste your public address, the software scans all on-chain activity, classifies transactions, and generates tax reports. Manual tracking of DeFi activity is essentially impossible beyond a few dozen transactions.
What about failed transactions?
Failed transactions cost you gas but do not result in a taxable disposal (no asset changed hands). The gas spent on failed transactions may be deductible as a transaction expense in some jurisdictions. Check with a tax professional whether your jurisdiction allows deducting gas on failed transactions as a cost of transacting.

More in Regulation & Tax

See all →
Was this page helpful?

Page last checked