Get your DeFi tax lots right

Before you submit your return, you need to prove exactly when you bought, sold, or swapped each token. The IRS treats DeFi activity the same as centralized exchanges: every transaction is a taxable event. If you cannot identify the cost basis of a token when you sell it, the IRS will assume you acquired it for its full market value on the day of disposal, which can inflate your tax bill significantly.

Start by exporting transaction history from every wallet and protocol you used. This includes liquidity pool deposits, staking rewards, and governance token airdrops. Many users forget that receiving a token is income, and selling it later is a capital gain. Without a clear record of the initial value, you cannot calculate the correct gain or loss. Use a crypto tax software that supports DeFi protocols to link your wallets. This generates a consolidated CSV file, but you must verify the data against your on-chain history.

Next, organize your records by tax lot. A tax lot is a specific batch of tokens with a unique acquisition date and cost. If you bought 100 ETH at different times, each purchase is a separate lot. When you sell, you must specify which lot you are selling. The IRS allows First-In, First-Out (FIFO) by default, but you can often choose Specific Identification to minimize taxes. Keep your transaction logs for at least three years from the date you file. If the IRS audits you, you need to show the exact chain of custody for every token involved in your yield farming and staking activities.

Work through the steps

DeFi Tax Lot Optimization works best as a clear sequence: define the constraint, compare the realistic options, test the tradeoff, and choose the path with the fewest hidden costs. That order keeps the advice usable instead of decorative. After each step, pause long enough to check whether the recommendation still fits the reader's actual situation. If it depends on perfect timing, unusual access, or a best-case budget, include a simpler fallback.

DeFi tax lots
1
Define the constraint
Name the space, budget, timing, or skill limit that shapes the DeFi Tax Lot Optimization decision.
DeFi tax lots
2
Compare realistic options
Use the same criteria for each option so the tradeoff is visible.
DeFi tax lots
3
Choose the practical path
Pick the option that still works after cost, maintenance, and fallback needs are included.

Fix common mistakes

Even with new reporting tools, DeFi traders frequently misreport yield farming and staking activity. These errors trigger IRS audits or result in overpayment. The following sections outline the most frequent pitfalls and how to correct them before filing.

Ignoring LP Token Basis Adjustments

Providing liquidity generates LP tokens, which represent your share of the pool. Many traders treat the initial deposit as the only cost basis, ignoring the tokens received. This understates your cost basis and inflates your reported gains. When you eventually exit the pool, you must calculate the basis of the LP tokens based on the fair market value of the assets deposited at that time. Reinvesting rewards also changes your basis; track these adjustments meticulously to avoid double-taxed gains.

Misclassifying Airdrops and Staking Rewards

Staking rewards and airdrops are ordinary income at the time of receipt, not capital gains. A common mistake is recording them as zero-cost assets. You must record the fair market value in USD at the exact moment you gain control of the tokens. This establishes your cost basis for future sales. If you sell the reward tokens immediately, the gain is technically zero, but the initial income must still be reported. Failing to do so creates a mismatch that tax software cannot reconcile.

Overlooking Impermanent Loss as a Tax Event

Impermanent loss is an economic concept, not a taxable event. However, many traders confuse the reduction in asset value with a realized loss. You cannot deduct unrealized impermanent loss from your taxes. You only realize a gain or loss when you sell the assets or close the liquidity position. Calculating your true PnL requires comparing the value of assets withdrawn against the original cost basis of the deposited assets, adjusted for any rewards earned and claimed.

Mixing Up Wash Sale Rules

The IRS has not explicitly ruled on whether wash sale rules apply to crypto assets, but the trend suggests they may. To be safe, assume they do. If you sell a token at a loss and buy it back within 30 days, you may not be able to claim that loss immediately. This is particularly relevant for yield farmers who rebalance positions frequently. Avoid buying back the same asset within the wash sale window to preserve your deduction. Consult a tax professional to determine if specific DeFi tokens qualify under current interpretations.

Defi tax lots 2026: what to check next

New reporting rules make DeFi tax planning more complex than ever. Below are answers to the most common questions about 2026 crypto tax lots and yield farming.