Do You Owe More Taxes on DeFi Staking, Swaps, and Pools?
DeFi taxes apply to every reward you earn, every swap you execute, and every token you receive from liquidity pools or airdrops. The IRS treats decentralized finance activity as taxable events the moment value changes hands. Staked coins that earn rewards create ordinary income. DEX swaps trigger capital gains tax. Liquidity pool deposits are trades; rewards are income; withdrawals are dispositions. Most traders underestimate DeFi taxes because on-chain transactions happen instantly with no paper trail or 1099 reminder. This guide walks you through what counts, how to calculate it, and what mistakes to avoid.
Taxable DeFi Events: The Complete List
Not all DeFi interactions trigger tax. Moving coins between your own wallets is free. Approving a contract to spend your tokens is free. But the moment you receive or exchange value, the tax clock starts.
Staking Rewards
Every reward you earn from staking is ordinary income on the day it lands in your wallet. If you stake 10 ETH and earn 0.5 ETH over a year, record the date and fair market value for each payout (some networks pay daily, weekly, or monthly). Your original 10 ETH keeps its original cost basis; the new 0.5 ETH has a basis equal to its market value on the day received.
Decentralized Exchange (DEX) Swaps
Swapping token A for token B is a taxable sale of A and a taxable purchase of B. You realize a capital gain or loss on A when the trade settles. If you bought 100 USDC at $1 each and swapped for 0.05 ETH worth $200, your gain is $100. The gain is long-term if you held the USDC over one year, short-term otherwise. The 0.05 ETH now has a $200 basis with a new one-year holding clock.
Liquidity Pool Deposits and Withdrawals
Depositing two tokens into a pool is a sale of both at their fair market value at the moment of deposit. You receive LP tokens with their own cost basis (the total you put in) and holding period. Staking LP tokens for yield creates income events. Withdrawing is a sale of LP tokens—another disposition. If the pool gained value, you owe capital gains tax. If it lost value from impermanent loss, you face a problem: impermanent loss is not tax-deductible. You only recognize realized loss when you actually withdraw at a lower value than you paid.
Governance Tokens and Airdrops
Any token you receive for free is ordinary income at its market value on the day received. This applies even if you never sell it. The coin now has a cost basis equal to that fair market value.
How to Calculate Your DeFi Tax Liability: Step by Step
- Export all transactions. Download your history from every DEX, staking platform, pool aggregator, and wallet. Most have an export button or CSV download. Use block explorers (Etherscan, Polygonscan, etc.) if needed.
- Classify each transaction. Label as staking reward, DEX swap, liquidity deposit, liquidity withdrawal, airdrop, or transfer. Mark transfers to your own wallet as "ignore."
- Record date, amount, and fair market value. For each taxable event, note the date (in UTC), token quantity, and price in USD at that moment. For rewards and airdrops, use the closing price on the day received. For swaps, use the executed price from the exchange.
- Calculate gain or loss. For each token sold, swapped, or withdrawn: subtract cost basis from proceeds. If you bought 1 ETH for $3,000 and sold for $3,500, your gain is $500.
- Assign holding periods. Over one year equals long-term (lower tax rates). Under one year equals short-term (ordinary income rates).
- Aggregate by tax year. Sum all short-term gains, all short-term losses, all long-term gains, and all long-term losses for January 1 through December 31. Net short-term against short-term. Net long-term against long-term.
- Report on Form 8949 and Schedule D. Enter transactions on Form 8949. Schedule D summarizes totals and calculates your overall capital gain or loss for the year.
Five Common DeFi Tax Mistakes
- Forgetting staking rewards are income, not capital gains. Staking rewards are taxed as ordinary income at fair market value when received. Missing one monthly payout compounds over a year.
- Assuming transfers between your own wallets are taxable. They are not. Sending from an exchange to a hardware wallet or between your wallets triggers no tax. If your software shows a disposition for a transfer, override it.
- Using the wrong price for the transaction date. If you swapped at 3 p.m. UTC, use that moment's price, not the daily open or close. Block explorers show executed prices; use those instead of external feeds that may differ by minutes.
- Assuming impermanent loss is deductible. It is not. Only realized loss when you withdraw at lower value is taxable. Plan for taxes on pool gains even if you haven't exited yet.
- Mixing cost-basis methods. Use FIFO, specific identification, or LIFO consistently across the entire year. Do not use different methods for different holdings. The IRS does not allow retroactive changes without formal approval.
Edge Cases You Will Encounter
Flash loans: If you borrow and repay in one transaction with no remaining position, it is not taxable. If you kept bought tokens using borrowed funds, only those tokens are taxable.
Wrapped tokens: Wrapping ETH to wETH is a taxable swap. You realize gain or loss on the original token. wETH has a new basis equal to its market value at the moment of wrapping.
Yield-bearing tokens: When yield accrues (like aEth on Aave), you recognize income on the day credited to your wallet, not when it compounds. Track each accrual event.
Time-locked rewards: Each unlock is a separate income event. Record the date and price for each release as it vests.
Maintain Your Records for Seven Years
The IRS expects you to keep records for at least seven years. Export data regularly from each platform. If a platform shuts down or changes its export policy, you will wish you had a backup. Store exports in multiple locations: cloud storage, external drive, etc.
Use a tool to pull all DeFi data into one place, standardize the format, and auto-calculate gains and losses. For simple setups under 15 transactions per tax year, a spreadsheet or Hodl1099's free tier works. For hundreds of swaps and pool interactions, a comprehensive tracking tool saves time and reduces errors.
Use the same cost-basis method, the same dates, and the same price source throughout the year. When you file, attach a summary showing your sources, methods, and calculations. This makes defending your return far easier if the IRS asks questions.
Related guides
- Do You Owe Tax on Staking Rewards Even If Locked?
- Is Transferring Crypto Between Wallets Taxable? Here's What Counts
- FIFO vs HIFO: Which Crypto Cost Basis Method Saves Taxes?
Questions people ask
What is considered a taxable DeFi event?
Any transaction where you receive value: staking rewards earned, tokens from swaps or liquidity pools, governance tokens airdropped, or proceeds when withdrawing pools or closing positions. The IRS treats most DeFi activity the same as crypto trading. Timing, cost basis, and holding period all matter for calculating whether gains are short-term or long-term.
How do I report DeFi rewards like staking on my tax return?
Staking rewards are ordinary income at fair market value on the day received. Record the amount and date, then report on Schedule 1. When you later sell those tokens, that sale is a separate capital gain/loss event. Tools like Hodl1099 automate this two-step process to ensure you don't miss either part.
Does impermanent loss reduce my taxable gain from liquidity pools?
No. Impermanent loss is not deductible as a realized loss on your return. Only when you actually withdraw from a pool at lower value can you claim a loss. If you exit at breakeven or profit, you owe tax on the gain regardless of price swings while you were pooled.
Why does my cost basis look wrong when I transfer coins between wallets?
Transfers between your own wallets are not taxable events and should show no gain or loss. If your tax software shows a disposition for a transfer, that data is incorrect. Override it. The coin's cost basis doesn't change when you move it; it stays the same until you actually sell.
Know your numbers before the IRS asks
Hodl1099 rebuilds cost basis wallet by wallet from your Coinbase, Kraken, Crypto.com, Gemini and Robinhood exports, shows short- and long-term gains and unrealized losses per lot, and exports a Form 8949-style report. Free for 15 transactions; a full tax year starts at $19.99. Record-keeping, not tax advice.
Get your free 15-transaction reportGet your free 15-transaction report
Free for 15 transactions per tax year; a full year starts at $19.99. Record-keeping, not tax advice.
Get your free 15-transaction report →