Home › Blog Videos › How to File DeFi Taxes

How to File DeFi Taxes — Step-by-Step for 2026

DeFi taxes are harder than regular crypto taxes because every interaction with a protocol — a swap, a yield harvest, an LP deposit — can be its own taxable event. Here's exactly how to work through your DeFi tax obligations for 2026.

Get Expert DeFi Tax Help → Count On Sheep Review →

Why DeFi Taxes Are Harder Than Regular Crypto Taxes

When you buy Bitcoin on Coinbase and sell it later, the tax picture is relatively straightforward: you have a cost basis, a sale price, and a capital gain or loss. DeFi doesn't work like that. Every time you interact with a smart contract — whether that's swapping tokens on Uniswap, depositing into a lending protocol, or harvesting yield rewards — the IRS may treat that interaction as a separate taxable event requiring its own cost basis calculation.

The result is that an active DeFi user might have hundreds or thousands of taxable transactions in a single tax year, spread across multiple chains and wallets, with no centralized 1099 form to rely on. That complexity is why many DeFi participants either underreport (often unintentionally) or overpay due to missing cost basis data.

What Counts as a Taxable DeFi Event

Before you can file correctly, you need to know which types of DeFi activity create tax obligations. Here are the most common categories:

  • Swaps and trades: Swapping ETH for USDC, or any token for any other token, is treated as a sale of the token you're giving up. You realize a capital gain or loss equal to the difference between your cost basis in that token and its fair market value at the time of the swap.
  • Adding and removing liquidity: Depositing tokens into a liquidity pool (like Uniswap or Curve) is generally treated as a disposal — you're exchanging your tokens for LP tokens, which is a taxable event. Removing liquidity triggers another taxable event when you receive your tokens back. Any price appreciation during the period is a capital gain.
  • Yield farming and liquidity mining rewards: When you earn token rewards for providing liquidity, those rewards are taxable as ordinary income at the time you receive them, based on their fair market value at that moment. You then establish a cost basis in those reward tokens for any future sale.
  • Staking rewards: Staking rewards (whether from protocol staking or liquid staking) are generally treated as ordinary income when received. The IRS has provided some guidance here, though the treatment of staking rewards on proof-of-stake networks remains a topic of ongoing discussion.
  • Airdrops: Airdropped tokens are taxable as ordinary income when you receive them (or when you first claim them), valued at the fair market value at the time of receipt. If you later sell them, any gain or loss above that basis is a capital gain or loss.

Notable non-taxable events include moving crypto between your own wallets (same owner, no disposal) and, in most interpretations, wrapping a token like ETH into WETH — though this area has nuance and you should verify with a tax professional.

Step-by-Step: How to File Your DeFi Taxes

Step 1

Export Your Complete Wallet Transaction History

Start by pulling a full transaction history for every wallet address you've used in DeFi. Tools like Etherscan (for Ethereum), Arbiscan (for Arbitrum), and Basescan (for Base) let you export CSVs of your on-chain activity. Portfolio trackers like DeBank and Zapper aggregate multi-chain history in one place and can also be useful for getting an overview. Don't forget wallets you used years ago — the IRS doesn't have a statute of limitations on unreported income.

Step 2

Identify Each Transaction Type

Go through your exported history and categorize each transaction: Is it a capital gains event (swap, LP add/remove, wrapping), an income event (yield rewards, staking, airdrop), or a non-taxable transfer? This categorization determines which tax form and income category each transaction falls into. Crypto tax software can help automate this step, but complex DeFi activity often requires manual review to get it right.

Step 3

Calculate Cost Basis for Each Transaction

For each capital gains event, you need your cost basis — what you originally paid (in USD) for the asset you're disposing of. If you received a token as income (yield, airdrop), your cost basis is the fair market value at the time you received it. If you bought it on an exchange, it's your purchase price plus any fees. The IRS allows several cost basis methods (FIFO, HIFO, specific identification), and choosing the right one can significantly affect your tax bill. HIFO (highest in, first out) often minimizes gains but requires good records.

Step 4

Categorize Gains as Short-Term or Long-Term

The tax rate you pay on a capital gain depends on how long you held the asset before selling. Assets held for one year or less are short-term gains, taxed at ordinary income rates (up to 37% federally). Assets held for more than one year are long-term gains, taxed at preferential rates (0%, 15%, or 20% depending on your income). In DeFi, most swaps involve assets held for short periods, so many gains end up being short-term — but always verify the holding period for each position.

Step 5

Report on Form 8949 and Schedule D

In the US, each capital gains event goes on Form 8949 — you'll list the asset, date acquired, date sold, proceeds, cost basis, and gain or loss. Short-term transactions go in Part I; long-term in Part II. The totals flow to Schedule D, which summarizes your overall capital gains and losses and feeds into your Form 1040. DeFi income (yield, staking rewards, airdrops) is reported as ordinary income on Schedule 1. If you used crypto tax software to generate these forms, review the output carefully — automated categorizations for complex DeFi activity are frequently wrong.

Step 6

Consider Specialist Help for Complex Portfolios

If you've been active in DeFi across multiple chains and years, manual reconciliation can take dozens of hours and leave significant room for error. A specialist crypto tax service that understands DeFi — not just a generic CPA — can save time, reduce IRS audit risk, and often identify positions you've overlooked. This is especially true if you've used bridging protocols, participated in multi-step yield strategies, or have years of unreconciled history.

Common DeFi Tax Mistakes to Avoid

  • Forgetting LP add/remove events: Many people track swaps but miss the capital gains triggered by entering and exiting liquidity positions.
  • Not recording income at time of receipt: Yield and staking rewards must be valued at the time you receive them — not when you eventually sell. Tracking only sale proceeds misses the income component entirely.
  • Using zero cost basis on airdropped tokens: If you received tokens as income and reported that income, your cost basis in those tokens is their fair market value at receipt — not zero. Using zero creates a phantom double-taxation problem on future sales.
  • Ignoring multi-chain activity: DeFi on Arbitrum, Base, Polygon, Avalanche, and Solana is just as taxable as Ethereum activity. Cross-chain bridges also create their own taxable events in many interpretations.
Have a complex DeFi portfolio? Get specialist help.

Count On Sheep is a specialist crypto tax reconciliation service built for DeFi, NFT, and multi-chain portfolios. They handle manual reconciliation, edge cases, and high-volume transaction histories that standard software can't manage. They never ask for your seed phrase. Learn more about Count On Sheep →

Get Expert Help with Your DeFi Taxes

If your DeFi history is complicated — multiple chains, years of activity, or liquidity positions you've never reconciled — working with a specialist service is worth the cost. The risk of errors on a complex DeFi return is high, and IRS penalties for underreporting can exceed any fees you'd pay for proper help.

Count On Sheep specializes exactly in this type of work. See our full breakdown in the Count On Sheep review.

Frequently Asked Questions

Do I have to pay taxes on every DeFi transaction?
Most DeFi transactions are taxable events in the US. Swapping one token for another triggers capital gains tax. Earning yield, staking rewards, or liquidity mining rewards is treated as ordinary income at the time of receipt. Adding or removing liquidity can also trigger gains if the token values have changed. Non-taxable events include transferring crypto between your own wallets and, in most interpretations, simply providing liquidity without receiving new tokens — though this area is still evolving.
What form do I use to report DeFi gains in the US?
DeFi capital gains and losses are reported on Form 8949, which then flows to Schedule D of your Form 1040. Each taxable trade or swap is listed individually, including your cost basis and proceeds. DeFi income (yield farming rewards, staking rewards, airdrops) is reported as ordinary income on Schedule 1. If you received DeFi income through a business, Schedule C may apply instead.
What happens if I didn't track my DeFi transactions in prior years?
You still have an obligation to report, but catching up is possible. Start by pulling your complete wallet transaction history from Etherscan or a portfolio tracker like DeBank. A specialist crypto tax service can help reconstruct your history and apply appropriate cost basis methods. Filing amended returns (Form 1040-X) for prior years is often the right approach. Acting proactively is far better than waiting for an IRS notice.

Educational content only — not tax, legal, or financial advice. Tax rules for DeFi are evolving and vary by jurisdiction. Consult a qualified tax professional for advice specific to your situation. This page contains affiliate links to Count On Sheep. If you use our link, CryptoSchool.cc may earn a commission at no additional cost to you.