Crypto Tax Guide: How to Report Your DeFi Gains and Losses
If you have been active in DeFi — swapping tokens, staking, providing liquidity — you probably have taxable events you have not reported yet. You are not alone. Most crypto holders do not realize how quickly DeFi activity adds up from a tax perspective, and the IRS has made it clear: crypto is property, every transaction potentially counts, and “I did not know” is not a defense. This crypto tax guide walks you through exactly what you owe, what records you need, and the tools that make filing manageable — even if your wallet history looks like a Jackson Pollock painting.
Why Crypto Tax Reporting Is Different From Regular Investing
With a regular brokerage account, your broker sends you a 1099 at year-end. Done. Crypto does not work that way — your exchange or DeFi protocol is not legally required to track your cost basis across wallets, and most do not. You are responsible for your own records.
The bigger difference is what counts as a taxable event. In DeFi, that list is longer than most people expect:
- Token swaps — Trading ETH for USDC on Uniswap is a taxable sale of ETH. Every swap is a disposal, triggering a capital gain or loss.
- Staking rewards — Rewards are treated as ordinary income when received, based on the token fair market value at that moment. When you later sell those tokens, that is a second taxable event.
- LP (liquidity provider) fees — Fees earned from providing liquidity are income. The tokens you receive as rewards are taxable at receipt.
- Airdrops — If you receive free tokens, the IRS treats them as ordinary income at fair market value on receipt. Yes, even if you did not ask for them.
- Wrapping and unwrapping tokens — Wrapping ETH into wETH is likely a taxable swap, though the guidance here is still developing. Most tax software treats it as a taxable event to be safe.
The bottom line: if you did anything in DeFi last year, assume you have taxable events. The question is how many and how much.
What Records You Need for DeFi Tax Reporting
Good DeFi tax reporting starts with good records. Here is what you actually need to gather:
- Your wallet addresses — Every wallet you used during the tax year, including hardware wallets, MetaMask, Coinbase Wallet, and others.
- Transaction history CSVs — Most centralized exchanges (Coinbase, Kraken, Binance) let you export a CSV of all trades, deposits, and withdrawals. Download these first.
- Blockchain transaction records — For on-chain DeFi activity, pull your history from Etherscan (Ethereum), BscScan (BNB Chain), or similar block explorers. Export every transaction for the tax year.
- Cost basis — This is the price you paid for each token, including any fees to acquire it. If you bought ETH at ,800 and sold it (via a swap) when it was worth ,200, your gain is ,400. Without cost basis records, the IRS can treat your entire sale proceeds as gains.
- Fair market value at time of each event — For staking rewards and airdrops, you need the token price at the exact moment you received them. Tax software handles this automatically if you give it the transaction data.
Do not panic if this sounds like a lot. The tools below do the heavy lifting once you feed them your wallet addresses and exchange CSVs.
Crypto Tax Guide to the Best Tools: Koinly, CoinTracking, and TaxBit
There are three tools that dominate the crypto gains and losses reporting space for DeFi users. None of them are perfect, but each has a clear use case.
Koinly is the easiest starting point for most people. Connect your wallets and exchanges, and Koinly pulls the transaction data automatically via API or imported CSV. It supports 700-plus integrations, handles DeFi protocols including Uniswap, Aave, and Compound, and generates IRS Form 8949 and Schedule D. The free tier covers your first 25 transactions — enough to see if your data is importing cleanly before you commit. Paid plans start around 9 per year for up to 100 transactions. The interface is clean and the customer support is responsive. If you are new to crypto tax software, start here.
CoinTracking has been around since 2012 and is the power-user option. It supports more cost basis accounting methods (FIFO, LIFO, HIFO, average cost) and has more granular reporting for complex DeFi positions. The learning curve is steeper, and the interface feels dated, but if you have been in DeFi for multiple years with thousands of transactions across many protocols, CoinTracking handles edge cases that simpler tools miss. Pricing starts around 0.99 per month for the Pro plan.
TaxBit positioned itself as the enterprise-grade option and has strong integrations with major US exchanges. It is a solid choice if most of your activity was on centralized exchanges with some DeFi mixed in. The DeFi support is improving but still lags behind Koinly for complex on-chain activity. TaxBit free tier has become more limited in recent years — check current pricing before committing.
Bottom line: For most DeFi users doing their own taxes, Koinly is the best starting point. Power users with complex multi-year histories should evaluate CoinTracking.
How to Report Crypto Taxes: The Step-by-Step Filing Workflow
Once your tax software has processed your transactions, here is how to report crypto taxes at filing time:
- Import your data — Connect wallets via API or upload CSVs from exchanges and block explorer exports. Review the imported transactions for errors (missing cost basis, duplicate transactions, misclassified events are common).
- Review and reconcile — The software will flag transactions it cannot classify. Work through these manually. A few hours of cleanup here saves headaches later.
- Export Form 8949 — This form lists every capital gain and loss transaction. Your tax software generates this automatically. It is what reports your crypto trading activity to the IRS.
- Transfer totals to Schedule D — Schedule D summarizes your total short-term gains (held under 1 year, taxed as ordinary income) and long-term gains (held over 1 year, taxed at lower capital gains rates). Most software exports this too.
- Report staking and airdrop income — Ordinary income from staking and airdrops goes on Schedule 1 (Additional Income) as other income. Your tax software should flag these separately.
- File with your return — Attach Form 8949 and Schedule D to your 1040. If you use TurboTax or H and R Block, most crypto tax software integrates directly for import.
Common Mistakes in Crypto Gains and Losses Reporting
Before you hit submit, check yourself against these common errors:
- Not reporting staking income — Staking rewards are taxable as ordinary income when received, even if you do not sell them. The IRS issued guidance on this in 2023. Do not skip it.
- Using the wrong cost basis method — FIFO (first in, first out) is the default, but HIFO (highest in, first out) can significantly reduce your tax bill in many cases by matching your sales against your highest-cost purchases first. You must choose your method consistently. Switching year-to-year creates problems. Talk to a CPA if your situation is complex.
- Ignoring gas fees — Gas fees paid to execute transactions can be added to your cost basis (reducing your gain) or treated as a capital loss, depending on the context. Not tracking gas fees consistently means you are probably overpaying taxes.
- Forgetting wallet-to-wallet transfers — Moving ETH from Coinbase to MetaMask is NOT a taxable event, but many people incorrectly record it as a sale. This creates phantom gains. Make sure your tax software correctly identifies transfers versus trades.
- Assuming small amounts do not matter — Every swap matters. Fifty dollars of ETH traded for another token is still a taxable disposal. The amounts are small but they add up, and the IRS has been increasingly aggressive about matching on-chain data to tax filings.
The Takeaway
DeFi tax reporting is genuinely complex, but it is manageable with the right approach: get your records together, run them through good tax software, and review the output before you file. The worst thing you can do is ignore it. The IRS has blockchain analytics tools and has been issuing John Doe summonses to exchanges. The question is not whether they will find unreported crypto income — it is when.
Start small, start now, and get a CPA involved if your situation has more than a few hundred transactions or involves significant amounts. This crypto tax guide gives you the framework — a professional gives you the peace of mind.
Ready to get your crypto taxes sorted? Start with Koinly free tier — it handles the first 25 transactions free. Import your wallet, see what you are actually dealing with, and go from there. No reason to guess when the software can tell you exactly where you stand.