[ Learn ]

How crypto taxes work when you swap one token for another

Swapping ETH for a new token feels like one move, but tax authorities see two. Here's how the taxable event works and how to calculate what you owe.

EXPLAINER·4 min read·Updated August 26, 2026

You open a DEX, swap 1 ETH for 3,000 USDC, and move on. No bank account touched, no fiat hit your wallet. Does the IRS care? Yes, and the reason trips up more traders than any other part of crypto tax.

Is swapping one token for another a taxable event?

In the US and most jurisdictions, yes. The IRS treats crypto as property, not currency, and trading one piece of property for another is a disposal. It doesn't matter that no dollars ever hit a bank.

Swapping ETH for USDC is legally two events stacked into one transaction:

  • You sell ETH for its fair market value in USD at the moment of the swap
  • You immediately use those dollars to buy the new token

The IRS taxes the first leg. The second leg just sets your new cost basis.

How do you actually calculate the gain or loss?

You need three numbers: what you paid for the ETH, what it was worth when you swapped it, and how long you held it.

Say you bought 1 ETH for $1,800 eight months ago. Today you swap it for 3,000 USDC when ETH trades at $3,000.

  • Proceeds: $3,000 (fair market value at swap time)
  • Cost basis: $1,800 (what you originally paid)
  • Gain: $1,200, taxed as short-term since you held under a year

That $1,200 gets added to your ordinary income for the year. If you'd held past 12 months, it would qualify for long-term capital gains rates instead, usually 0%, 15%, or 20% depending on your bracket.

Your new cost basis in the 3,000 USDC is $3,000, the value at the time you acquired it. That number matters the next time you spend or swap it.

What about swap fees and slippage?

Gas fees and DEX fees usually add to your cost basis or reduce your proceeds, which lowers your taxable gain slightly. A $15 gas fee on that ETH-to-USDC swap effectively makes your proceeds $2,985 instead of $3,000.

  • Track gas paid in USD at the time of the transaction, not the token's current price
  • Slippage isn't a separate line item; it's baked into whatever price you actually received
  • Failed transactions that still cost gas may be deductible depending on your jurisdiction's rules

None of this is optional bookkeeping. If you swap tokens 200 times a year across three chains, you have 200 potential taxable events, each needing its own cost basis and holding period.

Does this apply to every kind of swap?

Mostly, yes, with a few edge cases worth knowing:

  • Stablecoin-to-stablecoin swaps (USDC to USDT) are still technically taxable disposals, even though the gain or loss is usually near zero
  • Wrapping a token (ETH to WETH) is a gray area; some tax software treats it as a non-taxable event since you hold an economically identical asset, but guidance isn't uniform
  • Liquidity pool deposits that swap your tokens for LP tokens are generally taxable, since you're disposing of the original assets
  • Wash sale rules, which block claiming a loss if you rebuy the same asset within 30 days, currently don't apply to crypto in the US, though that could change

What should you check before your next swap?

The tax bill isn't the reason to avoid swapping, it's the reason to track basis as you go instead of reconstructing it in April.

  • Log the USD value of every token at the moment you acquire and dispose of it
  • Note the acquisition date so you know if a future sale is short or long-term
  • Use a crypto tax tool that reads wallet addresses directly, since manual spreadsheets fall apart past a few dozen trades
  • Check your specific country's rules; some, like Germany, exempt gains on assets held over a year regardless of amount

A swap that takes three seconds on-chain can take three lines on a tax form. Knowing the mechanism before you trade beats guessing after.

DisclosureEducational content, not financial advice. Stack and Story holds no position in the assets discussed. Do your own research.

Understand crypto. Decide for yourself.

The free 5-Minute Crypto Cheat Sheet, then one calm briefing every Sunday.

Free · Independent · Unsubscribe anytime · Privacy