We use cookies

We use essential cookies to run the site, and optional cookies for analytics. We never sell your data. Cookie Policy · Privacy Policy

How DeFi is taxed

DeFi is where crypto tax gets genuinely hard: a single strategy can fire dozens of taxable events across lending, liquidity, swaps, and rewards — and the rules are still settling. This guide covers the general principles and how CryptaTax untangles it from your on-chain history.

Calculate my DeFi taxes

General information, not tax advice. DeFi treatment is evolving, often lacks specific guidance, and varies by country — this is a good area to get professional advice and verify against your country's guidance.

The general principles

Most DeFi tax questions come down to two: is this a disposal (capital gains) or is this income?

  • Token swaps — generally a disposal of the token you give up, so a capital gain or loss (except in countries that don't tax crypto-to-crypto, like France and Poland).
  • Providing/withdrawing liquidity — depositing into or withdrawing from a pool may be a taxable exchange (e.g. swapping tokens for an LP token), depending on jurisdiction.
  • Yield, rewards, and liquidity-mining incentives — usually ordinary income at their value when received.
  • Lending — interest earned is usually income; the loan principal itself typically isn't a disposal.
  • Wrapping (e.g. ETH → WETH) — may be a taxable exchange in some jurisdictions.
  • Impermanent loss — generally doesn't reduce your tax until you actually withdraw and realise it.

Because these depend heavily on country, the same action can be taxable in one place and not another.

How countries differ

  • United States — providing liquidity is often treated as a taxable exchange, yield is income, and wrapping may be a taxable exchange. US crypto tax →
  • France & Poland — crypto-to-crypto swaps aren't taxable, which changes how many DeFi legs are treated; tax often arises on cashing out to fiat. France → · Poland →
  • United Kingdom — DeFi follows HMRC's framework, where lending and liquidity may be disposals and rewards may be income or capital depending on the arrangement. UK crypto tax →

How CryptaTax handles DeFi

  • Ingests your on-chain DeFi activity across protocols and chains
  • Classifies each leg — swap, liquidity add/remove, lending, yield, wrap, bridge — according to your jurisdiction's treatment automatically
  • Separates capital gains from income so each lands in the right place
  • Tracks cost basis through complex, multi-step strategies

Capital gains report → · Income report → · Import your wallets →

Calculate my DeFi taxes

FAQ

Is DeFi taxable?

Yes, generally, though treatment is unsettled and varies by country. Swaps and some liquidity moves can be disposals; yield and lending interest are usually income.

Is providing liquidity a taxable event?

In many countries it can be. Depositing tokens for an LP token may be treated as a taxable exchange. It depends on your jurisdiction.

How is yield farming taxed?

Rewards and incentives are usually ordinary income at their value when you receive them, with a capital gain or loss when you later sell them.

Does wrapping ETH to WETH trigger tax?

It may, in some jurisdictions, if treated as a taxable exchange. Treatment is not settled everywhere.

Can CryptaTax handle complex DeFi?

Yes. It ingests your on-chain activity and classifies each leg per your country's rules, separating gains from income.