PipeFlare

DeFi Taxes: Staking, Swaps, and Lending

DeFi is taxed under the same property rules as other crypto. Swaps, staking rewards, and lending each trigger tax. Staking is income under Rev. Rul. 2023-14.

Updated July 2026 ยท Educational only, not tax or financial advice

DeFi has no special tax rules โ€” swaps are capital events and staking rewards are ordinary income when you gain control of them (Rev. Rul. 2023-14)

One DeFi session can create dozens of taxable events. Every swap, reward, and reward-claim can be a line on your return. Missing them invites an IRS notice.

See free crypto tax tools โ†’

Topic

Activity type

Why it matters

One DeFi session can create dozens of taxable events. Every swap, reward, and reward-claim can be a line on your return. Missing them invites an IRS notice.

The direct answer

DeFi is taxed under the same crypto tax rules as everything else โ€” there is no special DeFi tax code. This is educational only, not tax or financial advice โ€” consult a tax professional. Because the IRS treats crypto as property under Notice 2014-21, DeFi activity creates two kinds of events: capital events and income events.

Swaps are capital events. When you trade one token for another on a DEX like Uniswap, that is a disposal. You owe tax on any gain in the token you gave up.

Staking rewards are income. Under Rev. Rul. 2023-14, rewards are ordinary income at fair market value when you gain "dominion and control" โ€” meaning you can withdraw or sell them.

Lending, liquidity pools, and yield farming mix both types. Interest and rewards are income; disposing of tokens is a capital event. One busy DeFi week can create dozens of taxable lines. Below we sort them out with IRS sources.

How it works

DeFi taxes work by fitting each on-chain action into one of two IRS buckets: a capital gain/loss event or an ordinary income event. There is no separate DeFi rulebook. The property rules from Notice 2014-21 do the work.

Token swaps are the most common capital event. Trading ETH for a token on a DEX is a disposal of the ETH. Your gain or loss is the token's value received minus your ETH cost basis. Wrapping or bridging tokens may also be treated as disposals, though the IRS has not given firm guidance, so positions vary.

Staking rewards are ordinary income under Rev. Rul. 2023-14. The IRS says the fair market value of rewards is income in the year you gain dominion and control. That is when you can freely withdraw or trade them. This applies whether you stake directly, through an exchange, or via a liquid staking protocol.

Lending and liquidity provision layer income on top of capital events. Interest paid to you is ordinary income. Depositing into and withdrawing from a pool can be disposals depending on the protocol design. Reward tokens are income at fair market value when received.

Because rewards are taxed as income when received, they get a cost basis equal to that income value. When you later sell them, you have a separate capital gain or loss from that basis. So a single reward can be taxed twice โ€” once as income, once as capital gain โ€” but only on the growth after receipt.

Step by step

  1. 1Export full transaction history from every wallet and protocol you used, since DeFi tax reporting depends on complete on-chain records.
  2. 2Classify each action as either a capital event (swaps, disposals) or an income event (staking rewards, interest, reward tokens).
  3. 3For each swap, calculate gain or loss as the value received minus the cost basis of the token you gave up, in US dollars.
  4. 4For staking rewards, record the fair market value on the date you gained dominion and control, per Rev. Rul. 2023-14 โ€” that is ordinary income.
  5. 5Set the cost basis of each reward token equal to the income you reported, so later sales are taxed only on growth after receipt.
  6. 6Track lending interest and liquidity-pool rewards as ordinary income at fair market value when received.
  7. 7Report capital events on Form 8949 and Schedule D, and report income events as other income (or business income) on your return.

When it helps

  • DeFi losses are capital losses that offset gains and up to $3,000 of ordinary income each year, the same as any other crypto property.
  • Rewards taxed as income get a stepped-up cost basis, so later sales are taxed only on the appreciation after you received them.
  • Because crypto has no wash sale rule in 2026, DeFi losses can be harvested and rebought instantly to lower your tax bill.
  • Clear rules exist for the big items โ€” swaps are capital events, staking is income under Rev. Rul. 2023-14 โ€” which makes core planning possible.

Watch-outs

  • A single active DeFi week can create dozens of taxable events, making manual tracking impractical without crypto tax software.
  • Staking rewards are taxed as income when received, even if you never sell and the token later crashes in value.
  • The IRS has not clearly ruled on wrapping, bridging, and some liquidity-pool mechanics, leaving gray areas and audit risk.
  • Rewards can be taxed twice โ€” once as income at receipt, then as capital gain on later sale โ€” which surprises many DeFi users.
  • Gas fees, failed transactions, and thin-market pricing make fair market value and cost basis hard to document accurately.

Common questions

How is DeFi taxed in the US?

DeFi is taxed under the same rules as other crypto, because the IRS treats crypto as property. This is educational only, not tax advice. Swaps and disposals are capital events with gains or losses. Staking rewards, lending interest, and reward tokens are ordinary income at fair market value when you receive them. There is no separate DeFi tax code as of 2026.

Are token swaps on a DEX taxable?

Yes, swapping one token for another on a decentralized exchange like Uniswap is a taxable disposal. You owe capital gains tax on any increase in the token you gave up, measured as the value received minus your cost basis. This is true even though no US dollars changed hands, because the IRS treats crypto as property under Notice 2014-21.

When are staking rewards taxed?

Staking rewards are taxed as ordinary income when you gain dominion and control over them, under IRS Rev. Rul. 2023-14. Dominion and control means you can freely withdraw or sell the rewards. You report their fair market value in US dollars as income on that date. This applies to direct staking, exchange staking, and liquid staking protocols.

Is providing liquidity a taxable event?

It can be. Depositing into or withdrawing from a liquidity pool may be treated as a disposal, depending on how the protocol is structured, and the IRS has not issued firm guidance. Reward tokens and fees you earn are ordinary income at fair market value when received. Because the rules are unsettled, consult a tax professional about your specific protocol.

Can I be taxed twice on staking rewards?

In a sense, yes, but only on the growth. A staking reward is taxed as ordinary income at its value when you receive it. That value becomes your cost basis. If you later sell the reward for more, the increase is a separate capital gain. You are not taxed twice on the same amount โ€” the income value is not taxed again as a gain.

How do I report DeFi on my tax return?

Report capital events like swaps and disposals on Form 8949, then summarize on Schedule D. Report income events like staking rewards, lending interest, and reward tokens as other income, or as business income if the activity rises to a trade or business. Because DeFi can generate many events, most users rely on crypto tax software to build the forms.

Sources

Related guides

Ready to put this into practice?

Exchange sign-up bonuses pay both you and a referrer after a qualifying trade.

See bonuses โ†’