Tax Rules · United States

DeFi Tax Rules: What Traders Need to Know

Understand how the IRS taxes DeFi activity — token swaps, yield farming, staking rewards, and liquidity pools — and which rules are settled law vs.

Buy Now - ₹6,599 for Lifetime Buy Now - $159 for Lifetime

7-day money-back guarantee

Quick Answer

DeFi Tax Rules require US traders to report every on-chain token swap as a taxable disposal, staking rewards as ordinary income when received (Rev. Rul. 2023-14), and yield farming rewards as.

Key Rules

01

Every Token Swap Is a Taxable Disposal

Under IRS Notice 2014-21, crypto is property. Swapping ETH for USDC on Uniswap, or WBTC for ETH on Curve, is a disposition of the outgoing token. Capital gain or loss equals fair market value of proceeds minus cost basis of the token given up.

02

Staking Rewards Are Ordinary Income at Receipt

Revenue Ruling 2023-14 (July 2023) settled this: staking rewards are ordinary income in the tax year received, valued at FMV on the date the reward is credited. This applies regardless of whether the validator withdraws the rewards or leaves them staked.

03

Yield Farming Creates Two Taxable Events

Reward tokens (COMP, CRV, AAVE) are ordinary income at receipt. When those tokens are later sold, a separate capital gain or loss event occurs. The cost basis of the sold tokens equals the income amount previously reported.

04

Liquidity Pool Deposits: Disputed Treatment

The IRS has not issued definitive guidance on LP deposits. The 'disposal' interpretation treats the exchange of tokens for LP tokens as a taxable swap. The 'contribution' interpretation treats it as a non-taxable exchange. Practitioners are divided; the position you take should be documented and defensible.

05

HIFO Accounting Is Legal and Can Reduce Tax

Specific identification methods including HIFO (highest-in, first-out) are permitted for crypto. By selecting the highest-cost lots first, traders can legally minimize realized gains on disposals. With hundreds of DeFi transactions, manual lot tracking invites errors — crypto tax software is effectively required.

06

Wash Sale Rule Does Not Apply to Crypto

IRC §1091 explicitly covers 'stock or securities.' As of 2025, the IRS has not extended the wash sale rule to crypto. A trader can harvest a $15,000 ETH loss on December 30 and repurchase ETH immediately — no 30-day waiting period required.

Practical Examples

A trader swaps 1 ETH (cost basis $1,800) for 3,500 USDC when ETH is worth $3,500. The disposal generates a $1,700 capital gain, reportable in the year of the swap — even though the trader received stablecoins, not cash.

A validator earns 0.5 ETH in staking rewards when ETH is worth $2,000. The $1,000 FMV is ordinary income in that tax year. Later, the 0.5 ETH sells for $2,600 — generating an additional $600 capital gain (proceeds minus the $1,000 basis established at receipt).

A trader deposits 10 ETH into a Uniswap v2 pool at $3,500/ETH ($35,000 FMV), with a cost basis of $22,000. Under the disposal interpretation, the $13,000 gain is recognized at deposit. After 6 months, $1,200 in UNI rewards are earned — ordinary income at receipt. ETH falls to $2,800 and the trader withdraws. Each step is a separate taxable event, even if the position 'broke even' in dollar terms.

Who This Applies To

US taxpayers engaging in DeFi — token swaps, yield farming, staking, and liquidity pool activity

How JournalPlus Helps

JournalPlus lets DeFi traders log every on-chain transaction with cost basis, FMV at time of trade, and holding period — the exact data needed to calculate capital gains and ordinary income. The trade log exports to CSV formats compatible with Koinly, TokenTax, and CoinTracker, so year-end tax reconciliation starts from clean, organized data rather than a wallet address dump. For traders managing LP positions, JournalPlus supports tagging deposit and withdrawal events separately, so the disposal and receipt legs are tracked in sequence rather than collapsed into a single net result.

DeFi Tax Rules are the patchwork of IRS guidance that governs how decentralized finance activity — swaps, staking, yield farming, and liquidity provision — is taxed in the United States. No single regulation covers DeFi comprehensively; instead, traders must apply IRS Notice 2014-21 (crypto as property), Revenue Ruling 2023-14 (staking income), and IRC §1091 (wash sale inapplicability) to a category of transactions the IRS has only partially addressed.

Who This Applies To

DeFi tax rules apply to any US taxpayer who interacts with decentralized protocols — including automated market makers like Uniswap and Curve, lending platforms like Aave and Compound, liquid staking protocols like Lido, and yield aggregators. There are no minimum thresholds: a single $50 ETH-to-USDC swap is a taxable event. The rules apply regardless of whether tokens are held on a hardware wallet, a software wallet, or connected to a DEX through a browser extension.

US traders with DeFi activity who also hold positions in traditional markets should be aware that the wash sale rule that constrains stock and options tax-loss harvesting does not carry over to their crypto positions — a significant planning asymmetry.

Key Rules

Every Token Swap Is a Taxable Disposal

IRS Notice 2014-21 established that cryptocurrency is property, not currency. Every time you exchange one token for another — swapping ETH for USDC, WBTC for ETH, or stablecoins across protocols — you dispose of the outgoing token at its current fair market value. Capital gain or loss equals FMV of proceeds minus cost basis of the outgoing token. This applies even when the transaction feels like a routine portfolio rebalance. A trader who swaps 1 ETH (cost basis $1,800) for USDC when ETH is worth $3,500 recognizes a $1,700 capital gain in that tax year.

Staking Rewards Are Ordinary Income at Receipt

Revenue Ruling 2023-14, issued in July 2023, resolved a heavily contested question: staking rewards are ordinary income at fair market value on the date received, not when withdrawn or sold. This overrode the position implied by the Jarrett v. United States settlement (2022), where the government briefly refunded taxes on unreported staking income. A validator staking 32 ETH who earns 0.5 ETH in rewards when ETH is at $2,000 must report $1,000 of ordinary income. Ordinary income from staking is taxed at rates from 10% to 37% depending on the trader’s bracket — not at the lower capital gains rates.

Yield Farming Creates Two Tax Events

Yield farming reward tokens — COMP, CRV, AAVE, UNI — are ordinary income when credited to the wallet, valued at FMV on receipt. That same FMV becomes the cost basis for the tokens. When the reward tokens are later sold, a second event occurs: capital gain or loss based on sale proceeds minus that established basis. A trader who receives $800 worth of CRV tokens and later sells them for $1,400 reports $800 of ordinary income in year one and $600 of capital gain in year two. Failing to establish basis at receipt — a common error — results in either overpaying tax or understating gain on the sale.

Liquidity Pool Deposits: Settled vs. Unsettled

This is the most contested area in DeFi taxation. The IRS has not ruled on whether depositing tokens into a liquidity pool (Uniswap, Curve, Balancer) constitutes a taxable disposal or a non-taxable contribution. The disposal interpretation holds that LP token receipt is a swap — the deposited tokens are disposed of at FMV. The contribution interpretation treats it as a non-taxable exchange of form, similar to moving cash between accounts. Both views have professional support; neither has IRS confirmation. Traders should document their chosen position and apply it consistently.

HIFO Accounting Reduces Taxable Gains Legally

Specific identification of crypto lots — including HIFO (highest-in, first-out) — is permitted under IRS rules. By selling the highest-cost lots first, traders maximize the cost basis applied to each disposal, minimizing realized gains. On a portfolio with 200+ DeFi transactions and multiple purchases at different prices, manual lot tracking is error-prone. Crypto tax software (Koinly, TokenTax, CoinTracker) applies HIFO automatically to every transaction in the wallet history.

Wash Sale Rule Does Not Apply to Crypto

IRC §1091 restricts tax-loss harvesting for stocks and securities by disallowing losses if the same or substantially identical security is purchased within 30 days before or after the sale. The statute explicitly covers “stock or securities” — and as of 2025, the IRS has not extended this to cryptocurrency. A DeFi trader can sell ETH at a $15,000 loss on December 30, repurchase ETH on December 31, and claim the full $15,000 deduction. Legislation to close this gap has been proposed but not enacted. See the wash sale rule for crypto for current status.

Practical Examples

Uniswap LP Position with Multiple Taxable Events

A trader deposits 10 ETH into a Uniswap v2 ETH/USDC pool. Cost basis is $2,200/ETH ($22,000 total). ETH is worth $3,500 at deposit ($35,000 FMV). Under the disposal interpretation, depositing triggers a $13,000 capital gain immediately. Over 6 months, the pool generates $1,200 in UNI governance tokens — ordinary income at receipt. ETH falls to $2,800, and the trader withdraws, receiving 9.2 ETH plus $3,100 USDC due to impermanent loss. The withdrawal is a second disposal event. Using HIFO, the withdrawn ETH is assigned the highest-cost lots to minimize gain. Total taxable events: (1) deposit gain of $13,000, (2) UNI ordinary income of $1,200, (3) withdrawal gain or loss on the redeemed position. A trader who tracks only the net dollar result and ignores events 1 and 3 faces a significant underreported tax liability.

Tax-Loss Harvesting Without Wash Sale Constraints

A DeFi trader holds 5 ETH purchased at $4,000/ETH ($20,000 basis). ETH drops to $2,800. On December 28, the trader sells all 5 ETH for $14,000, realizing a $6,000 capital loss. On December 29, the trader repurchases 5 ETH at $2,800. The $6,000 loss is fully deductible — no 30-day restriction applies. If the trader had done this with a stock, the wash sale rule would disallow the loss. This asymmetry makes year-end tax-loss harvesting more powerful for crypto than for traditional securities.

Staking Double Taxation Structure

A validator stakes 32 ETH and earns 2 ETH in staking rewards over the year. ETH is worth an average of $2,200 when rewards are received — $4,400 of ordinary income, taxed at the validator’s marginal rate (up to 37%). The 2 ETH now has a cost basis of $4,400. If ETH rises to $3,500 and the validator sells the reward ETH, an additional $2,200 capital gain is realized. If the holding period exceeds one year, that gain qualifies for long-term rates (0%, 15%, or 20%), plus the Net Investment Income Tax of 3.8% for taxpayers above $200,000 (single) or $250,000 (married).

How JournalPlus Helps with Compliance

Accurate DeFi tax reporting depends on having a complete transaction log with cost basis and FMV at the time of each event — not just a wallet export showing current balances. JournalPlus lets crypto traders log every swap, staking receipt, and LP interaction with the relevant price data attached, creating a structured audit trail rather than a raw list of transactions.

For tax-conscious traders, JournalPlus exports to CSV formats that integrate directly with Koinly, TokenTax, and CoinTracker. Rather than importing a full wallet history and trusting the tax software’s interpretations, traders can review each event in JournalPlus first — flagging disputed LP transactions, confirming staking income amounts, and verifying lot assignments before data moves to the tax platform.

The trade log supports tagging by transaction type (swap, staking reward, LP deposit, LP withdrawal, airdrop), which maps directly onto the ordinary income vs. capital gain distinction the IRS requires. Traders tracking a DeFi-focused portfolio can filter by type at year end and reconcile each category independently rather than combing through hundreds of undifferentiated rows.

Disclaimer

This content is for educational purposes only and does not constitute legal, tax, or financial advice. DeFi taxation involves significant unsettled areas — including liquidity pool treatment and governance token airdrops — where the IRS has not issued definitive guidance. Tax laws and IRS interpretations change frequently. Consult a qualified tax professional or attorney for advice specific to your situation before making tax elections or reporting decisions.

Frequently Asked Questions

Is every DeFi swap taxable in the US?

Yes. Under IRS Notice 2014-21, cryptocurrency is property. Any token-to-token swap — ETH to USDC on Uniswap, WBTC to ETH on Curve — is a taxable disposal of the outgoing token. Capital gain or loss is calculated as the FMV of what you received minus the cost basis of what you gave up.

Are staking rewards taxable when received or when sold?

When received. Revenue Ruling 2023-14 (July 2023) established that staking rewards are ordinary income at their fair market value on the date they are credited. A separate capital gain or loss event occurs when those rewards are eventually sold, using the income FMV as the cost basis.

Does the wash sale rule apply to crypto and DeFi tokens?

No, as of 2025. IRC §1091 applies to “stock or securities,” and the IRS has not extended it to cryptocurrency. DeFi traders can sell tokens at a loss and immediately repurchase the same tokens to claim the full loss deduction — the 30-day waiting period required for stocks does not apply.

Is providing liquidity to Uniswap or Curve taxable?

It depends on which tax interpretation applies, and the IRS has not ruled definitively. The disposal interpretation treats the exchange of tokens for LP tokens as a taxable swap at deposit and again at withdrawal. The contribution interpretation treats LP deposits as non-taxable exchanges. Both positions have professional support, but neither has IRS confirmation.

What tax forms do DeFi traders need to file?

DeFi traders typically report capital gains and losses on Form 8949 and Schedule D, and ordinary income from staking or yield farming on Schedule 1 or Schedule C if trading qualifies as a business. Beginning with tax year 2025, Form 1099-DA requires custodial wallets and certain DEX front-ends to report directly to the IRS, narrowing the compliance gap that existed for anonymous DeFi activity.

This content is for educational purposes only and does not constitute legal, tax, or financial advice. DeFi tax rules involve significant unsettled areas where the IRS has not issued definitive guidance. Tax laws change frequently. Consult a qualified tax professional or attorney for advice specific to your situation.

Frequently Asked Questions

Is every DeFi swap taxable in the US?

Yes. Under IRS Notice 2014-21, cryptocurrency is property. Any token-to-token swap — including ETH to USDC on Uniswap or WBTC to ETH on Curve — is a taxable disposal of the outgoing token. Capital gain or loss is calculated as the FMV of what you received minus the cost basis of what you gave up.

Are staking rewards taxable when received or when sold?

When received. Revenue Ruling 2023-14 (July 2023) established that staking rewards are ordinary income at their fair market value on the date they are credited. A separate capital gain or loss event occurs when those rewards are eventually sold, using the income FMV as the cost basis.

Does the wash sale rule apply to crypto and DeFi tokens?

No, as of 2025. IRC §1091 applies to 'stock or securities,' and the IRS has not extended it to cryptocurrency. DeFi traders can sell tokens at a loss, immediately repurchase the same tokens, and claim the full loss deduction — the 30-day waiting period required for stocks does not apply.

Is providing liquidity to Uniswap or Curve taxable?

It depends on which tax interpretation applies, and the IRS has not ruled definitively. The 'disposal' interpretation treats the exchange of tokens for LP tokens as a taxable swap at deposit and again at withdrawal. The 'contribution' interpretation treats LP deposits as non-taxable exchanges. Both positions have professional support, but neither has IRS confirmation. Document your position clearly.

What tax forms do DeFi traders need to file?

DeFi traders typically report capital gains and losses on Form 8949 and Schedule D, and ordinary income from staking or yield farming on Schedule 1 (other income) or Schedule C if trading is a business. Beginning with tax year 2025, Form 1099-DA requires custodial wallets and certain DEX front-ends to report directly to the IRS.

Stay Compliant With Your Journal

JournalPlus helps you maintain the records you need for tax reporting and regulatory compliance.

Buy Now - ₹6,599 for Lifetime Buy Now - $159 for Lifetime

7-day money-back guarantee

SSL Secure
One-Time Payment
7-Day Money-Back