In this guide
→ The Core Rule: Every Disposal Is Taxable→ Staking Rewards→ Yield Farming and Liquidity Mining→ Token Swaps on DEXs→ NFT Sales→ Gas Fees→ Bridging and Cross-Chain Activity→ Tracking and Software
The Core Rule: Every Disposal Is Taxable
The IRS treats cryptocurrency as property. Every time you dispose of it, sell, swap, use to pay for something, or transfer it out of a wallet as part of an exchange, you realize a capital gain or loss based on the difference between your cost basis and the fair market value at the time of disposal. This rule applies to every DeFi interaction that moves tokens, which means a single afternoon of DeFi activity can generate dozens of taxable events.
Staking Rewards
Staking rewards are taxable as ordinary income at the time you receive them. The fair market value of the tokens at the moment they hit your wallet is your income. That amount also becomes your cost basis in the new tokens. When you later sell those staking rewards, any gain or loss is calculated from the value on the day you received them, not from zero.
The IRS clarified this treatment in Revenue Ruling 2023-14, ending a period of uncertainty after the Jarrett v. United States case (where the government initially agreed to refund taxes on unsold staking rewards, then reversed position). The current rule: recognize income on receipt, regardless of whether you sell. Frequent liquid staking (Lido, Rocket Pool) can generate daily reward accruals, each creating a small income recognition event. Crypto tax software that pulls from blockchain data handles this automatically; manual tracking is impractical for high-frequency rewards.
Yield Farming and Liquidity Mining
Yield farming rewards follow the same income treatment as staking: taxable as ordinary income when received. Each distribution, however frequent, creates an income recognition event. Providing liquidity to an AMM pool (Uniswap, Curve, Balancer) also creates events at two points: when you deposit tokens into the pool and receive LP tokens, and when you exit the pool by redeeming LP tokens for the underlying assets.
Depositing tokens to receive LP tokens is generally treated as a property swap: a taxable disposition of the original tokens, with the LP tokens as the received asset. Exiting the pool is a second taxable event. The net position can be complicated by impermanent loss, which is the divergence between what you deposited and what you receive on exit due to price movements in the pool. Impermanent loss is a realized loss at exit and can offset gains, but the calculation requires knowing the exact values at both deposit and withdrawal.
Token Swaps on DEXs
Swapping ETH for USDC on Uniswap is a taxable event, not a non-taxable exchange. You are disposing of ETH at its current value and receiving USDC. The gain or loss on the ETH disposal is reportable. The same applies to every token swap on a DEX, every aggregator route that passes through intermediate tokens, and every swap-based purchase using a crypto debit card.
Users who actively use DeFi across multiple chains can accumulate thousands of swap events in a year. At $0.01 gain per swap, these events may not matter materially. At $50–$100 gains per swap during a bull market, the aggregate tax liability is significant and easy to underestimate without complete transaction data.
NFT Sales
NFT sales are capital gains events. Your cost basis is what you paid to acquire the NFT plus gas fees paid to purchase it. Your proceeds are the sale price minus gas fees paid to sell. The holding period (less than or more than one year) determines whether the gain is short-term or long-term. NFTs held for artistic or collectible purposes may be classified as collectibles, which are taxed at a maximum 28% federal rate rather than the standard 20% long-term capital gains rate. This classification is still being clarified by guidance, but the conservative position is to treat high-value NFTs as potential collectibles.
Creating and selling NFTs as an artist may generate self-employment income rather than capital gains, depending on the facts and circumstances. If you are consistently creating and selling NFT art as a business activity, that income belongs on Schedule C and is subject to self-employment tax as well as ordinary income tax rates.
Gas Fees
Gas fees paid for a transaction are generally added to the cost basis of the acquired asset (for purchases and swaps) or deducted from proceeds (for sales). On a swap, the gas fee paid is part of the cost of acquiring the new token. On an NFT sale, the gas fee reduces your net proceeds. Tracking gas fees manually is tedious; crypto tax software pulls them from blockchain data and applies them correctly.
Gas fees paid on failed transactions are a loss: you paid ETH and received nothing. These are deductible as investment-related expenses, though the deductibility of investment expenses was suspended federally from 2018 through 2025 under the Tax Cuts and Jobs Act. Verify current treatment in the year you file.
Bridging and Cross-Chain Activity
Bridging a token from Ethereum to Arbitrum using an official bridge may or may not be a taxable event depending on the structure. If the bridge issues wrapped tokens (e.g., you receive WETH on Arbitrum rather than ETH), the IRS position is unclear but conservative practitioners treat it as a disposition of ETH and acquisition of WETH. Unofficial bridges and cross-chain swaps that pass through intermediate tokens are more clearly taxable.
Tracking and Software
No manual tracking system handles DeFi activity accurately at scale. The transaction volume, the complexity of LP token accounting, and the multiple taxable events per DeFi session require software that reads directly from the blockchain. Koinly is among the strongest options for DeFi portfolio tracking, handling staking rewards, LP positions, and cross-chain activity across most major protocols. Connect your wallet addresses, review the imported transactions, and flag any that require manual reclassification before generating your Form 8949.
Even with software, complex DeFi portfolios often require manual review of specific transactions, particularly unusual protocol interactions and multi-step strategies. The software handles 80–90% of the work automatically; the remainder requires a user who understands how their positions were structured.
Real-Time Record-Keeping: Why Year-End Reconstruction Fails
The most common DeFi tax problem is not complexity; it is timing. Users who are active in DeFi throughout the year and attempt to reconstruct their transaction history in March or April routinely discover that historical USD price data is incomplete. On-chain transaction data is permanent, but the dollar values that convert token amounts to taxable income depend on price feeds at the exact moment of each transaction. Some aggregators retain this data indefinitely; others purge or limit access to older records. Importing two years of Ethereum wallet activity in April and finding price data gaps for specific DeFi events is a common scenario that delays filing and may require estimated values with disclosure.
The practical fix is to connect your wallet addresses and exchange accounts to crypto tax software at the start of the tax year, not at filing time. A monthly reconciliation takes fifteen minutes and catches classification errors while the context is still fresh. Waiting until Q1 of the following year means resolving errors in transactions from eight or ten months prior, often without the documentation or memory to make the correction obvious. For high-frequency DeFi users, the difference between maintaining a live connection year-round and attempting year-end reconstruction can mean twenty hours of manual work versus two.

Marko Jambrek
Licensed architect in Zagreb, 30 years of practice (Vastu + sustainable design). Writes about AI tools through a lens of order and long-term value, tests before recommending.
Like this approach?
Weekly picks of vetted guides. No spam.
