DeFi Swaps: When Crypto Trades Trigger CGT

Every token swap in DeFi is a taxable event under Australian law. But the complexity varies enormously between a simple swap and entering a liquidity pool. Here's how the ATO treats each scenario.

Simple Swap Liquidity Pool Entry
CGT events Two (dispose + acquire) Multiple (dispose tokens, acquire LP, earn yield, withdraw)
Complexity Straightforward High
Ongoing income None Yield farming rewards (ordinary income)
Impermanent loss Not applicable Not a capital loss until realised
Record keeping Transaction hash + values Entry, exit, all reward distributions

Every Swap Is a Disposal

When you swap Token A for Token B on a decentralised exchange, the ATO treats this as two events: you disposed of Token A (triggering a capital gain or loss) and acquired Token B (with a new cost base at market value).

Swap: ETH to USDC

You bought 1 ETH for $3,000. You swap it when ETH is $4,500:

  • Disposal proceeds: $4,500
  • Cost base: $3,000
  • Capital gain: $1,500
  • USDC cost base: $4,500

Swap: USDC to SOL

You swap $4,500 USDC for SOL:

  • USDC disposal: $4,500 - $4,500 = $0 gain
  • SOL cost base: $4,500
  • Two CGT events from two swaps

Liquidity Pools: Multiple Tax Events

Entering a liquidity pool is more complex. The ATO treats the deposit of tokens as a disposal, and you receive LP tokens with a new cost base. The full sequence of tax events is:

  • Deposit: Disposing of your tokens into the pool (CGT event for each token deposited)
  • LP token receipt: Acquiring LP tokens with a cost base equal to the value of deposited assets
  • Yield/fees earned: Rewards received are likely ordinary income at market value when received
  • Withdrawal: Disposing of LP tokens and acquiring the underlying tokens back (another CGT event)

Yield Farming Income

Rewards earned from providing liquidity or farming are treated similarly to staking rewards: they are ordinary income at the AUD market value when you receive them.

  • Trading fee rewards distributed by the pool
  • Governance token incentives (e.g., bonus tokens for LPs)
  • Auto-compounding rewards (each compounding event is a taxable receipt)

Impermanent Loss Is NOT a Capital Loss

Impermanent loss describes the difference between holding tokens versus providing them as liquidity. It is an economic concept, not a tax event. You cannot claim impermanent loss as a deduction while your tokens remain in the pool.

A capital loss is only realised when you actually withdraw from the pool and receive fewer tokens (in AUD value) than your LP token cost base. At that point, the loss is a normal capital loss that can offset gains.

ATO Data Matching and Compliance

The ATO has data-matching programs with Australian crypto exchanges and is expanding its blockchain analytics capabilities. Key compliance points:

  • On-ramps and off-ramps: Every fiat-to-crypto and crypto-to-fiat transaction is reported to the ATO
  • Exchange data sharing: Centralised exchanges provide transaction data directly
  • Blockchain analysis: The ATO is investing in tools to trace on-chain DeFi activity
  • Self-assessment: You are responsible for reporting all DeFi activity, even if not automatically reported

Open the crypto tax app

Track DeFi swaps, LP entries, yield farming income, and calculate CGT across all your wallets.

Open Crypto Tax Calculator

Frequently Asked Questions

Is swapping one crypto for another a taxable event in Australia?

Yes. The ATO treats every crypto-to-crypto swap as a disposal of the first asset and an acquisition of the second. You must calculate the capital gain or loss on the asset you disposed of, using its AUD market value at the time of the swap.

How are DeFi liquidity pool tokens taxed?

Adding tokens to a liquidity pool is treated as a disposal of those tokens (CGT event). You receive LP tokens in return, with a cost base equal to the market value of the assets you deposited. Removing liquidity is another disposal of the LP tokens.

Is impermanent loss tax deductible?

No. Impermanent loss is an economic concept, not a realised tax event. You can only claim a capital loss when you actually withdraw from the pool and the value of tokens received is less than the cost base of your LP tokens.

Does the ATO track DeFi transactions?

The ATO has data-matching programs with centralised exchanges and is expanding blockchain analytics capabilities. While on-chain DeFi is harder to track directly, on-ramps and off-ramps to fiat are monitored. Accurate self-reporting is essential.

Where to go next