DeFi Taxes: How Swaps, Staking, Liquidity and Airdrops Are Taxed

Updated

The short answer

DeFi activity is generally taxed on the same principles as other crypto: swaps and spending are disposals, rewards are income when received, and moving coins between your own wallets is not taxable. Complications come from liquidity pools, lending and bridges, where rules are unclear in many countries. Keep full records and confirm treatment with a tax professional.

Tax law was not written with decentralized finance in mind. Many authorities have said little about newer DeFi activity, so the starting point is to apply their general rules for property and income. Where official guidance is thin, professionals disagree, so treat the table below as a framework, not a ruling.

How common DeFi actions are usually treated

Action Common treatment Notes
Swapping on a decentralized exchange Disposal of one token and acquisition of another Gain or loss at the value when you swap. The IRS says exchanging a digital asset for another is a disposition
Paying gas fees Often added to cost or deducted from proceeds; may itself be a small disposal Varies by country. The IRS says paying a fee with digital assets is a disposition
Receiving staking or farming rewards Usually income at their value when received Value then becomes cost basis. The IRS lists mining, staking and similar activities as digital assets received
Adding to a liquidity pool Unclear in many countries; may be a disposal of the tokens deposited Check local guidance
Withdrawing from a liquidity pool May be a disposal of the pool token and acquisition of the underlying tokens Depends on how the position is treated
Lending tokens Interest is generally income; handing over the tokens may or may not be a disposal Depends on whether you keep ownership
Wrapping or bridging tokens Debated: some treat it as a disposal, some as no change in ownership Check local guidance
Receiving an airdrop Often income when you gain control of it Rules differ; see below and what an airdrop is
Moving tokens between your own wallets Not a disposal Record both addresses

Two official examples: United States and Australia

United States. The IRS says digital assets are property. Exchanging one for another is a disposition, transferring between wallets or accounts you own is not, and a transaction fee paid in digital assets is a disposition. The IRS lists mining, staking and similar activities among digital assets received that call for a yes on the Form 1040 question. It does not rule on liquidity pools or bridges on that page.

Australia. The ATO says the money value of staking reward tokens is ordinary income at the time you receive them. Its page on airdrops says that an airdrop received for goods or services is ordinary income at market value, while other airdrops that are not part of an income-producing activity are generally not income on receipt, with a capital gains event possible when you later dispose of them. Treat this as the ATO’s position in summary; read the page for the exact test.

Worked example (illustrative, US-style treatment)

You hold 1 ETH bought for $2,000 and use it in a few steps:

Step What happens Tax result
1. Swap You swap 1 ETH, worth $3,000, for 3,000 USDC on a DEX, paying $12 gas in ETH Disposition: proceeds $3,000, basis $2,000, gain $1,000. If gas is added to basis or taken from proceeds the gain is about $988
2. Lend You lend the USDC and earn 30 USDC over three months Income of $30 when received, and that $30 becomes basis
3. Swap back You swap 3,030 USDC for 1.1 ETH when 1.1 ETH is worth $3,030 Proceeds $3,030, basis $3,030 (the USDC cost basis is $3,000 + $30), gain $0
4. Move to hardware wallet You send the ETH to your own wallet Not a disposition, unless you pay the fee in ETH, which is a small disposition

Total for the year: a $1,000 gain on the first swap, $30 income, and whatever small gains the fees create. A liquidity pool deposit would add a step whose treatment is the unclear part, so a professional’s view is worth having.

Why DeFi is hard to track

Each action is a blockchain transaction, and one strategy can create dozens. Many are in tokens that exchange price feeds do not list, so valuing them takes work. Bridges and wrapped tokens can make a transfer between your own wallets look like a sale. Software tends to ask you to label transactions you did not make through a recognized exchange, which means you will have to review them.

How to prepare

  1. List every wallet address you used, including those on other networks.
  2. Export or import histories so every swap, deposit, withdrawal, reward and fee is captured. Our guide to how to track crypto for taxes walks through this.
  3. Label unclear transactions, such as pool deposits or bridges, and note your reasoning.
  4. Value each event in your local currency at the time it happened.
  5. Be consistent. Where treatment is unclear, choose a reasonable method, apply it the same way each year and keep notes explaining why.
  6. Ask a professional before relying on an unclear position, especially for large amounts.

What can go wrong

Problem What to do
Bridge shows as a sale and a purchase Match the outgoing and incoming transactions and label it a transfer in your records, with your reasoning
Reward token has no price feed Use a documented price source for the time received and keep a note of it
Unknown tokens appear in your wallet They may be scam airdrops; do not interact with them, and record only what you actually control
Missing wallet from an earlier year Rebuild the history from the public address; unmatched transfers inflate gains
Software shows unmatched withdrawals Find the matching deposit before accepting the report

Slippage on a swap changes your proceeds, so your records need the actual amounts received. Token approvals do not create tax, but unlimited approvals to a fake front-end can drain a wallet, and stolen funds create a difficult tax and legal situation. Revoke approvals you no longer need and check the site address before connecting a wallet.

Common questions

Is swapping tokens on a DEX taxable?

Generally yes. In the US the IRS says exchanging a digital asset for another is a disposition, so you work out a gain or loss in dollars. Other countries use similar property or capital gains rules, but check yours.

Are gas fees deductible?

Often they are added to the cost of what you bought or subtracted from proceeds, and this varies by country. In the US, paying the fee in crypto is itself a disposition, so record the fee’s value at the time.

Are liquidity pool rewards income?

Usually, yes, at their value when you receive them, and that value becomes their cost basis. When the tokens are claimable rather than received is a point to settle with a professional where guidance is thin.

Do I owe tax if I never cash out to dollars?

Possibly. Swapping one token for another is generally a disposal even if you never touch bank money, and rewards are income when received.

What we have not confirmed

The ATO pages on crypto assets did not load for us on 23 November 2026, so the Australian airdrop and staking points are from a summary of the page and are not yet confirmed on the page itself. Treatment of liquidity pools and bridges is not settled by the IRS pages we read. Confirm all of it with your tax authority.

For the basics, read how crypto is taxed; the filing steps are in how to file crypto taxes. Tax software such as Koinly lists support for many DeFi protocols, but confirm current coverage for the networks you use. This is general information, not tax advice. Tax rules change, so check with your tax authority or a tax professional before you file.

Sources

  1. irs.gov supports: US treatment of digital assets as property; swaps are dispositions; staking and mining income; own-wallet transfers; records to keep
  2. ato.gov.au supports: ATO guidance on crypto transactions, including DeFi-style activity
  3. ato.gov.au supports: ATO: staking reward tokens are ordinary income when received; airdrop treatment depends on whether they are received for goods or services (summary of the page; not yet confirmed on the page itself)