DeFi Tax Reporting Guide: How to Report Swaps, Staking, and LP Income
How Are DeFi Transactions Taxed?
DeFi transactions are fully taxable under existing IRS rules. Token swaps on decentralized exchanges trigger capital gains or losses, while staking rewards, yield farming income, and airdrops are taxed as ordinary income at fair market value when received. Although Congress repealed the DeFi broker reporting requirement in April 2025, your obligation to report these transactions remains unchanged.
The DeFi Broker Reporting Repeal
On April 10, 2025, President Trump signed S.J.Res.3 into law (Public Law 119-7), using the Congressional Review Act to overturn the Treasury Department's DeFi broker reporting rule. The original rule, finalized in December 2024 under IRC Section 6045, would have required DeFi front-ends and protocols to issue Form 1099-DA to users and the IRS.
The repeal means:
- DeFi protocols will not issue 1099 forms for the foreseeable future
- The IRS cannot propose a substantially similar rule without new congressional authorization, per CRA provisions
- Your tax obligations are completely unaffected — the repeal only removes the reporting burden from protocols, not from individual taxpayers
This creates a significant responsibility gap. Centralized exchanges will issue 1099-DA forms starting in 2025 under the Infrastructure Investment and Jobs Act (Public Law 117-58, Section 80603), but DeFi users must self-report every transaction. The IRS still has blockchain analytics tools and can trace on-chain activity back to individuals.
Types of Taxable DeFi Events
DEX Swaps
Every token swap on a decentralized exchange — Uniswap, SushiSwap, Jupiter, Raydium, or any other — is a taxable disposal. Under IRS Notice 2014-21, cryptocurrency is property, so swapping one token for another is treated identically to selling one stock and buying another.
Example: You swap 2 ETH (cost basis $3,000 each) for 10,000 USDC on Uniswap.
- Proceeds: $10,000 (the fair market value of USDC received)
- Cost basis: $6,000 (2 ETH at $3,000 each)
- Capital gain: $4,000
The gain is short-term or long-term depending on how long you held the ETH before the swap.
Gas fees paid for the swap transaction may be added to your cost basis or treated as a selling expense, reducing your taxable gain. The IRS has not issued definitive guidance on gas fee treatment, but treating them as transaction costs is the most conservative and widely accepted approach.
Staking Rewards
Per IRS Revenue Ruling 2023-14, staking rewards are taxable as ordinary income at the fair market value of the tokens at the time you receive them — specifically, when you gain "dominion and control" over the rewards. For most proof-of-stake networks, this is when the rewards are credited to your wallet.
Key points:
- Staking rewards are ordinary income, not capital gains
- Tax is owed when received, regardless of whether you sell
- Your cost basis for future sales equals the fair market value at receipt
- When you later sell staked tokens, you pay capital gains tax on any appreciation above that cost basis
For the 2025 tax year, ordinary income rates range from 10% to 37% depending on your tax bracket (per IRS Revenue Procedure 2024-40). For high-income taxpayers, staking income may also be subject to the 3.8% Net Investment Income Tax under IRC Section 1411.
Liquidity Pool Deposits and Withdrawals
Providing liquidity to an automated market maker (AMM) like Uniswap V3 or Curve involves complex tax considerations:
Depositing tokens into a pool: When you deposit tokens and receive LP tokens in return, this may constitute a taxable event. The IRS has not issued specific guidance on LP token mechanics, but the prevailing conservative interpretation treats the deposit as a taxable exchange — you are disposing of your tokens and receiving a new asset (LP tokens) in return.
Receiving LP rewards: Trading fees and incentive tokens earned through providing liquidity are ordinary income at fair market value when received.
Withdrawing from a pool: When you burn LP tokens and receive underlying assets back, this is likely a taxable event. Your proceeds are the fair market value of the tokens received, and your cost basis is the fair market value of the LP tokens when you acquired them.
Impermanent loss: If the pool rebalances and you withdraw fewer tokens than you deposited (in terms of one asset), the "impermanent loss" is realized upon withdrawal. This is factored into the capital gain/loss calculation — your proceeds at withdrawal reflect the reduced token amount. There is no special IRS deduction for impermanent loss; it is embedded in your disposal calculation.
Yield Farming
Yield farming — depositing tokens into protocols to earn rewards — creates two tax events:
- Rewards received: Ordinary income at fair market value when claimed or auto-compounded
- Selling/swapping rewards: Capital gain or loss based on cost basis (FMV at receipt) vs. sale price
If rewards auto-compound (are automatically reinvested), each compounding event may be a separate taxable income event. The frequency of compounding — hourly, daily, or per-block — determines how many individual income events you have. This is one reason DeFi tax tracking is so challenging.
Airdrops
Airdrops are taxable as ordinary income at the fair market value when you gain dominion and control over the tokens. Per IRS Revenue Ruling 2019-24, Q&A 31-32, receiving cryptocurrency through an airdrop triggers ordinary income if you have the ability to dispose of, transfer, or otherwise use the tokens.
If an airdrop requires you to claim tokens (versus tokens appearing automatically in your wallet), the taxable event generally occurs at the time of claiming — when you gain dominion and control.
If the airdropped tokens have no established fair market value at the time of receipt (common with new or obscure tokens), you should make a reasonable good-faith estimate. Keep documentation of how you arrived at your valuation.
Wrapping and Unwrapping
Wrapping a token (e.g., ETH to WETH) is a gray area. The IRS has not issued specific guidance, but two reasonable positions exist:
- Non-taxable: Wrapping is analogous to depositing dollars into a bank — the underlying asset has not changed, so no taxable event occurs
- Taxable: You are disposing of one asset (ETH) and receiving a different asset (WETH), triggering capital gains
The conservative approach is to treat wrapping as a taxable event with minimal or zero gain (since the values are pegged). Many tax practitioners treat same-chain wrapping as non-taxable but recommend documenting the position taken.
Cross-Chain Bridges
Bridging tokens between chains (e.g., ETH on mainnet to ETH on Arbitrum) raises similar questions to wrapping. The IRS has not provided direct guidance. The two interpretive positions:
- Non-taxable transfer: You are moving the same asset between networks, similar to transferring between wallets
- Taxable exchange: You are swapping one token for a different representation on another chain
Most tax practitioners treat same-asset bridges as non-taxable transfers, but you should document your position and apply it consistently.
How to Track Cost Basis for DeFi
DeFi cost basis tracking is significantly more complex than centralized exchange tracking. Here is a practical approach:
1. Record Every On-Chain Transaction
Use blockchain explorers (Etherscan for Ethereum and EVM chains, Solscan for Solana) to export your complete transaction history. Every swap, approval, deposit, withdrawal, claim, and bridge must be captured.
2. Identify the Fair Market Value at Each Event
For each taxable event, you need the fair market value of the tokens involved at the exact time of the transaction. Sources include:
- CoinGecko or CoinMarketCap historical price data
- DEX pool prices at the time of the swap
- Block-level price data from on-chain oracles
3. Categorize Each Transaction
Classify every transaction as one of:
- Capital event: Swap, LP deposit/withdrawal, bridge (gain/loss calculation needed)
- Income event: Staking reward, farming reward, airdrop (ordinary income at FMV)
- Non-taxable: Wallet-to-wallet transfer, token approval, failed transaction
4. Apply Your Cost Basis Method Consistently
Per IRS FAQ Q39 and Revenue Ruling 2019-24, you must apply your chosen cost basis method consistently on a per-asset basis. If you use FIFO for ETH, you should use FIFO for all ETH disposals during the tax year.
5. Use Software
Given the volume and complexity of DeFi transactions, manual tracking is impractical for most users. A crypto tax calculator with DeFi support can parse on-chain transactions, categorize events, and apply cost basis methods automatically. dTax supports blockchain indexers for Ethereum (5 EVM chains) and Solana, with address validation to ensure accurate import.
Reporting DeFi on Your Tax Return
DeFi income and gains are reported on the same IRS forms as any other crypto activity:
- Capital gains/losses: Form 8949 (each disposal) and Schedule D (summary)
- Ordinary income (staking, farming, airdrops): Schedule 1, Line 8z (miscellaneous income) or Schedule C if you operate as a business
- Digital asset question: Answer "Yes" on Form 1040 if you had any DeFi activity during the year
Remember: the DeFi broker reporting repeal does not change your reporting obligations. You must answer the digital asset question truthfully and report all taxable events.
FAQ
Are DEX swaps taxable?
Yes. Every token swap on a decentralized exchange is a taxable disposal under IRS Notice 2014-21. Swapping Token A for Token B is treated as selling Token A (triggering capital gain or loss) and purchasing Token B (establishing new cost basis). This applies regardless of whether a 1099 is issued. The repeal of the DeFi broker rule (Public Law 119-7) only removed the reporting obligation from protocols — your personal tax obligation is unchanged.
How do I report staking rewards?
Report staking rewards as ordinary income at the fair market value on the date you receive them (gain dominion and control), per IRS Revenue Ruling 2023-14. Include this income on Schedule 1, Line 8z of your Form 1040 for occasional staking, or on Schedule C if staking is part of a trade or business. When you later sell the staked tokens, calculate capital gain or loss using the fair market value at receipt as your cost basis. Keep records of the date received, quantity, and fair market value for each reward event.
What about bridging tokens between chains?
The IRS has not issued specific guidance on cross-chain bridges. The prevailing tax practitioner view is that bridging the same asset (e.g., ETH on Ethereum to ETH on Arbitrum) is a non-taxable transfer, similar to moving tokens between wallets. However, if the bridge converts your asset into a different token (e.g., native ETH to a wrapped representation), it could be treated as a taxable exchange. Document your position, apply it consistently, and consult a tax professional if the amounts are material. As IRS guidance evolves, the treatment may be clarified.