Skip to content

DeFi Taxes: How Decentralized Finance Is Taxed (2026)

Last updated: April 3, 2026 15 min read

Key Takeaways

  • DeFi taxes depend on the transaction type: swaps and LP exits trigger capital gains, while yield farming, staking rewards, and airdrops generate ordinary income.
  • The IRS applies Notice 2014-21 to DeFi — crypto is property, and every disposal is a taxable event.
  • Congress repealed the IRS DeFi broker reporting rule in April 2025, but your DeFi transactions are still fully taxable.
  • CoinTracking imports DeFi data from 300+ protocols, categorizes every transaction, and generates ready-to-file tax reports.

DeFi moved over $100 billion in daily volume at its 2024 peak. Every swap, every liquidity deposit, every yield farming reward — the IRS considers most of it taxable. The catch? The IRS has published almost no DeFi-specific guidance. It applies the same property rules from Notice 2014-21 that govern standard crypto trades — and when those rules collide with DeFi's complexity, things get messy fast.

This guide covers how decentralized finance taxes actually work in 2026: what's taxable, what isn't, how to calculate your gains and losses, and how to file correctly. The framework is the same whether you hold one protocol or twenty — and it starts with the IRS property rule.


What Is DeFi and Why Does It Matter for Taxes?

Decentralized finance is financial services — trading, lending, borrowing, yield generation — built on blockchain smart contracts rather than banks or brokers. Platforms like Uniswap, Aave, Compound, Curve, and MakerDAO let you trade tokens and earn yield without a centralized intermediary.

That's exactly what creates the tax problem. Traditional financial institutions issue 1099 forms. DeFi protocols generally don't — and after Congress repealed the IRS DeFi broker reporting requirements in April 2025, they're not required to. So tracking, calculating, and reporting your DeFi activity falls entirely on you.

DeFi activity flows through crypto wallets that interact directly with smart contracts. One address can execute hundreds of swaps, LP deposits, reward claims, and governance votes in a single year. Each one is potentially a separate taxable event.


How the IRS Taxes DeFi: The Property Rule

The IRS has no dedicated DeFi guidance. What it has is Notice 2014-21, which established that cryptocurrency is property — not currency — for US federal tax purposes. That single classification drives almost every DeFi tax outcome.

When you own property and dispose of it — sell it, trade it, exchange it — you recognize a gain or loss. In DeFi, "dispose" covers more situations than most traders expect. Swapping ETH for DAI on Uniswap is a disposal of ETH. Depositing tokens into a liquidity pool and receiving LP tokens may be a disposal. Receiving yield farming rewards is income. The IRS reinforced this framework in Rev. Rul. 2023-14, confirming that staking rewards are taxable when received. Most CPAs apply the same logic to yield farming, governance token distributions, and DeFi airdrops.

One honest caveat: for genuinely ambiguous transactions — certain LP deposits, token wrapping, cross-chain bridges — there are both conservative and aggressive tax positions. This guide covers the most widely accepted professional interpretations, but complex situations call for a qualified CPA. And if you want to calculate your DeFi taxes accurately, this property framework is where you start.


DeFi Tax Rates: Capital Gains vs. Ordinary Income

DeFi activity splits into two federal tax buckets. Knowing which one applies matters — a lot.

Capital gains apply when you dispose of a token you already owned: a swap, a trade, an LP withdrawal. The rate depends on your holding period:

  • Short-term (held less than 1 year): taxed at ordinary income rates (10%–37%)
  • Long-term (held more than 1 year): taxed at preferential rates (0%, 15%, or 20%)

Ordinary income applies when you receive new tokens — yield farming rewards, staking distributions, airdrops, governance tokens, lending interest. Fair market value at receipt sets both the income amount and your cost basis going forward.

Here's a quick reference:

DeFi Activity Tax Type When?
Token swap (ETH → USDC) Capital gain/loss At time of swap
Yield farming rewards Ordinary income When tokens received
Staking rewards Ordinary income When tokens received
LP token withdrawal gains Capital gain/loss At time of withdrawal
Governance tokens received Ordinary income When tokens received
Airdrop received Ordinary income When tokens received
Borrowing crypto (collateralized) Not taxable N/A
Interest earned from lending Ordinary income When received

The long-term/short-term distinction is the biggest lever most DeFi users underuse. Holding governance tokens for over a year before selling cuts the tax rate significantly. The cost basis method you use — FIFO, LIFO, or HIFO — determines which lots you're selling first and directly affects your realized gains. For a deeper look at tax loss harvesting strategies, those apply here too.


Token Swaps and DeFi Taxable Events

Every token swap in DeFi is a disposal. That's the rule most people miss when they're actively trading on DEXs — and it's the one that tends to generate the most surprise at tax time.

When you swap 1 ETH (bought for $1,000) for 2,500 USDC when ETH is trading at $2,500, you've:

  • Sold 1 ETH at $2,500
  • Recognized a $1,500 capital gain
  • Acquired 2,500 USDC with a cost basis of $2,500

It doesn't matter that you never converted to dollars. The IRS treats the exchange as a sale and a purchase — two separate events. Do that dozens of times in a year and the recordkeeping burden alone becomes substantial.

Wrapped Tokens (wBTC, wETH)

Wrapping a token — converting ETH to wETH, or BTC to wBTC — is treated by most tax professionals as a taxable event. You're exchanging one token for another, even if they represent the same underlying asset. The IRS hasn't ruled on wrapping specifically. Conservative approach: recognize a gain or loss at wrap time, using the fair market value of the original token.

Bridging Tokens Across Chains

Moving tokens across chains (ETH from Ethereum mainnet to Polygon or Arbitrum) typically involves burning on one chain and minting on another. Most CPAs treat this as a taxable swap. The IRS hasn't issued a definitive ruling. Until it does, the safe approach is to recognize the disposal at bridge time.

Gas Fees: Tax Deductions and Cost Basis

Gas fees aren't wasted from a tax perspective. Per the Stanford Journal of Blockchain Law's analysis of DeFi taxation, transaction costs can generally:

  • Be added to the cost basis of tokens you're buying (reducing future gain)
  • Be subtracted from proceeds when selling (reducing current gain)
  • Potentially be deducted as a business expense in some cases

Gas fees on wallet-to-wallet transfers sit in a grey area. Track every fee anyway — it adds up, and it's deductible somewhere.


Liquidity Pool Taxes and LP Tokens Explained

Liquidity pools are the most tax-complex part of DeFi. When you deposit tokens into a pool on Uniswap, Curve, or Balancer, you receive LP tokens representing your share. Here's how the three stages typically play out.

Depositing into the pool. The IRS hasn't issued specific guidance on whether receiving LP tokens is a taxable exchange. Most CPAs take the conservative position: it's a disposal of the deposited tokens at their fair market value on deposit date. If you deposited ETH worth $3,000 that you bought for $1,500, you may recognize a $1,500 gain right then.

Earning trading fees. As traders use the pool, fees accumulate in your position. These are generally treated as ordinary income — either as they accrue or when explicitly claimed.

Withdrawing from the pool. When you redeem LP tokens for the underlying assets, you recognize a capital gain or loss based on your cost basis in the LP tokens (the fair market value at deposit, adjusted for fees earned).

Yield Farming Taxes

Yield farming adds another layer: stake your LP tokens in a protocol to earn additional reward tokens. Those rewards are ordinary income at fair market value when received. Sell them later, and any appreciation triggers a capital gain.

Real example: You earn 10 UNI tokens worth $5 each — $50 in ordinary income recognized immediately. You hold for 8 months, then sell at $8 each. You also recognize a $30 short-term capital gain (held under one year). That's two separate tax events from one farming position. Yield farming generates income events constantly, which is why tracking staking and liquidity rewards manually fails at scale.

Impermanent Loss: Is It Tax Deductible?

This is the most misunderstood DeFi tax topic. Here's the clear answer.

Impermanent loss (IL) is not an immediately deductible tax loss. Not while your tokens are in the pool. It only becomes relevant when you exit. At withdrawal, compare:

  • Your cost basis in the LP tokens (what you originally deposited)
  • The fair market value of what you received back

If you get back less than you put in (after factoring in fee income), that's a realized capital loss — deductible against your capital gains from other transactions.

Example: You deposit 1 ETH ($3,000) + 3,000 USDC. Due to price divergence, you withdraw 0.8 ETH ($2,400) + 3,600 USDC — still $6,000 total. Your cost basis was $6,000. Zero gain, zero loss. If pool fees also earned you $200 over the same period, that $200 is ordinary income. The gain/loss on the LP position and the fee income are tracked separately.


DeFi Lending and Borrowing: What's Taxable?

DeFi lending protocols — Aave, Compound, MakerDAO — let you earn interest on deposited assets or borrow against your holdings. The tax treatment depends on which side of the transaction you're on.

If you are the lender:

  • Depositing crypto as collateral: Not a taxable event (similar to pledging stock as collateral for a margin loan)
  • Interest earned: Ordinary income when received or accrued

If you are the borrower:

  • Taking out a crypto-backed loan: Not taxable — borrowing isn't a disposition
  • Trading with borrowed funds: Gains from those trades are taxable
  • Repaying the loan: Not taxable
  • Forced liquidation: A taxable disposal. The protocol sells your collateral — you recognize capital gain or loss based on your cost basis vs. the liquidation value

That last point catches people off guard. Buy ETH at $1,500. Get liquidated when ETH hits $2,800. You owe capital gains tax on the $1,300 gain — even though you didn't choose to sell. The liquidation triggered by the protocol counts as a disposal by you.

A note on interest deductibility for borrowers: If you borrow against your crypto and use the funds for investment purposes (buying more crypto, for instance), the interest you pay may be deductible as investment interest expense under IRC Section 163. However, deducting investment interest is limited to your net investment income for the year, and any excess carries forward. If you use borrowed funds for personal expenses, the interest is generally not deductible. This is an area where working with a CPA familiar with crypto can make a meaningful difference.

DeFi Staking Rewards

Staking rewards earned through DeFi protocols (Lido, Rocket Pool, Eigenlayer) are ordinary income at fair market value when received — consistent with Rev. Rul. 2023-14. For the full breakdown, see our guide on staking taxes.

DeFi Airdrops and Protocol Rewards

Receiving airdropped tokens from a DeFi protocol is a taxable event: ordinary income at fair market value on the date of receipt. When you later sell those tokens, you recognize a capital gain or loss relative to that basis.

There's one unsettled question: if you receive an airdrop that's locked or unvested, some CPAs argue income isn't recognized until the tokens are accessible. The IRS hasn't ruled on this. Proceed with caution.

Governance Token Taxes

Receiving governance tokens — UNI, COMP, AAVE — as compensation for protocol participation is ordinary income at fair market value when received. Voting on governance proposals doesn't create a taxable event. But selling governance tokens later triggers a capital gain or loss relative to the income basis you established when you received them.

DeFi Index Protocols and Automated Portfolios

DeFi index protocols — such as Index Coop (which operates the DeFi Pulse Index, DPI) and Set Protocol — hold baskets of tokens on your behalf and automatically rebalance them. The tax treatment of these protocols is more nuanced than standard swaps:

  • Buying an index token (like DPI) — likely treated as acquiring a basket of underlying assets, potentially triggering a taxable swap from ETH/USDC into each underlying token. The IRS hasn't issued specific guidance, but this is the conservative interpretation most practitioners apply.
  • Rebalancing events — when the index automatically adjusts its composition, the underlying swaps may be taxable disposal events — even though you didn't initiate them directly.
  • Yield-bearing index products — some index tokens accrue value over time (similar to rETH). The same income recognition question that applies to rebasing tokens applies here.

If you hold any index protocol tokens, document your entry price and track any yield distributions. These are among the most complex DeFi positions to account for correctly.


The 2025 DeFi Broker Rule: What Changed

In December 2024, the IRS finalized regulations requiring DeFi "brokers" — front-end interface operators, protocol developers — to issue Form 1099-DA to users. The industry pushed back hard.

In April 2025, Congress used the Congressional Review Act to nullify these regulations. President Trump signed the repeal on April 10, 2025. Per RSM's analysis, the rules "have no legal force or effect" and have been removed from the Code of Federal Regulations.

But here's what the headlines missed: the repeal eliminated the reporting obligation, not the tax liability. Every DeFi swap, every yield farming reward, every LP exit is still fully taxable under existing property rules. You're still responsible for tracking and reporting your DeFi transactions. The only thing that changed is that no one is handing you a 1099 to make it easier.

Tax-Loss Harvesting in DeFi

DeFi positions can also be used for tax-loss harvesting — but the mechanics are more complex than with centralized exchange positions.

When a DeFi position (LP token, yield-bearing token, index product) is sitting at a loss relative to your cost basis, you can sell or withdraw it to realize the loss. That loss offsets capital gains the same way a standard crypto loss would. The wash sale rule doesn't apply to crypto in the US, so repurchasing the same position immediately is legal.

The challenge is tracking cost basis accurately. LP tokens involve two or more underlying assets, each with their own cost basis. Removing liquidity creates a disposal event for each underlying token at current FMV. If you also received yield during the holding period, that yield has its own cost basis from the income recognition date.

A crypto tax calculator that supports DeFi on-chain imports is effectively required for this — manual tracking across multiple positions and protocols isn't feasible for anyone with more than a handful of transactions. For a full walkthrough of the harvest strategy itself, see our crypto tax loss harvesting guide.


How to Report DeFi Taxes: Forms and Filing

DeFi touches multiple blockchains, protocols, and wallets simultaneously. Reporting it correctly takes several IRS forms working together.

Form 8949 is where every crypto disposal goes — each swap, LP exit, governance token sale, and airdrop sale listed individually. Proceeds, cost basis, dates, gain or loss. The IRS Form 8949 instructions require accuracy at the transaction level, which means one row per trade.

Schedule D summarizes your short-term and long-term totals from Form 8949 and flows into Form 1040.

Schedule 1 (Form 1040) handles DeFi income that isn't capital gains — yield farming rewards, staking income, airdrops, and lending interest. These appear as "Other Income."

Schedule C applies only if your DeFi activity constitutes a trade or business — unusual for most individual users, but potentially applicable to professional yield farmers or node operators. Schedule C income also triggers self-employment tax.

The practical reality: active DeFi generates thousands of transactions in a year, every one of which needs to appear on Form 8949. Manual tracking breaks down fast. Tools that import your DeFi transaction data directly from on-chain sources automate the gain/loss calculation and transform a multi-day project into something manageable. For broader context on crypto tax filing, see our US crypto tax guide.

Outside the US, DeFi tax rules vary significantly by country — LP deposits, staking rewards, and airdrops are all treated differently under different jurisdictions. Check the applicable country guide for your situation.

A note on state taxes: Federal reporting is only part of the picture. Most US states with an income tax follow the federal treatment of crypto as property, but a handful have unique rules. California, for example, taxes capital gains as ordinary income with no preferential long-term rate — a detail that significantly affects DeFi traders in high-income brackets. New York, Texas, and Florida each handle crypto income differently. Check your state's tax authority for specifics.

Recordkeeping for DeFi: Because DeFi protocols don't issue 1099s, you are the authoritative source for every transaction. Keep records of: the date of every transaction, the tokens involved, the fair market value in USD at the time of the transaction, your cost basis for each asset, and the fees paid. Blockchain explorers like Etherscan and Solscan let you export transaction history, but interpreting DeFi interactions — especially LP deposits, reward claims, and multi-step swaps — requires specialized crypto tax software.


How CoinTracking Helps With DeFi Taxes

DeFi tax reporting is where spreadsheets fall apart. CoinTracking has been tracking crypto since 2012, long before most DeFi protocols existed — and today supports over 300 exchanges and protocols, including direct on-chain wallet imports.

For DeFi specifically:

  • Import directly from your wallet address — connect your Ethereum, Solana, BSC, or other wallet and CoinTracking pulls every transaction automatically
  • Transaction categorization — swaps, LP deposits and withdrawals, staking rewards, airdrops, and lending positions are identified and labeled
  • Gain and loss calculations — using FIFO, LIFO, HIFO, or average cost, CoinTracking computes your exact taxable gain or loss per transaction
  • Ready-to-file reports — Form 8949, Schedule D, and country-specific reports, used by over 1.6 million users worldwide

Start Tracking Your DeFi Taxes Free Connect your wallet and let CoinTracking handle the complexity — from your first swap to your tax report. Get Started Free →


Frequently Asked Questions

DeFi taxes are the federal (and state) tax obligations from decentralized finance activity — token swaps, yield farming, liquidity pool participation, lending, borrowing, and receiving governance tokens or airdrops. The IRS treats cryptocurrency as property, so most DeFi transactions involving a disposal trigger capital gains, while earning new tokens through DeFi generates ordinary income.
Yes. All DeFi activity is subject to US tax law. The IRS treats cryptocurrency as property under Notice 2014-21 — trading, swapping, or earning tokens through DeFi creates taxable income or capital gains. The 2025 repeal of the IRS DeFi broker reporting rule changed nothing about your tax liability. It only removed the obligation for DeFi protocols to issue 1099 forms.
Yield farming rewards are ordinary income at their fair market value when received. When you later sell those reward tokens, you recognize a capital gain or loss based on the difference between the sale price and the value at receipt. Sell within one year and short-term capital gains rates apply. Hold longer than a year and you qualify for long-term rates.
Not directly — and not immediately. Impermanent loss doesn't generate a tax deduction while your tokens are still in the pool. It crystallizes into a realized capital loss only when you withdraw. At that point, if the fair market value of what you receive is less than your cost basis in the LP position, you have a deductible capital loss.
Yes. Receiving governance tokens as compensation for protocol participation is ordinary income at fair market value when received. Selling them later triggers a capital gain or loss based on that income basis.
No — not under current rules. Congress repealed the IRS DeFi broker reporting requirements in April 2025, so DeFi protocols and self-custodial wallets aren't required to issue 1099-DA forms. But you remain legally responsible for tracking and reporting your own DeFi transactions.
Use Form 8949 for capital gains and losses from swaps and LP exits. Report ordinary DeFi income — yield farming, staking, airdrops — on Schedule 1 as "Other Income." Consolidate capital gains on Schedule D, which feeds into Form 1040. Crypto tax software like CoinTracking automates this by pulling your on-chain data directly.
Borrowing crypto against collateral is generally not a taxable event. Lending and earning interest is taxable as ordinary income when received. Forced liquidation of your collateral is a taxable disposal — you recognize capital gain or loss based on your cost basis vs. the liquidation value, whether you chose to sell or not.

Start Tracking Your Crypto Taxes Today

Experience why 2.2 million users trust CoinTracking — sign up today for a seven-day free trial!

4.6 on Trustpilot 4.7 on ProvenExpert 2.2M+ users