How Is Yield Farming Taxed? Income, Capital Gains, and Reporting

Yield farming is taxed twice under U.S. federal law: once as ordinary income when a protocol pays you rewards, and again as a capital gain or loss when you later swap, sell, or withdraw those tokens. That two-layer structure is the core of how yield farming is taxed, and it applies whether the rewards come from a liquidity pool, a lending market, or a governance token distribution. Because almost every action inside a DeFi protocol is a separate taxable event, the reporting is heavier than it is for someone who just buys and holds.

Rewards Are Ordinary Income the Moment You Can Use Them

The IRS treats digital assets as property.1Internal Revenue Service. Notice 2014-21 When a protocol distributes tokens to you, you owe income tax on the fair market value of those tokens at the moment you gain the ability to sell, transfer, or otherwise use them.2Internal Revenue Service. Rev. Rul. 2023-14 Whether you actually cash out doesn’t matter. The trigger is dominion and control: once you can access the tokens, the IRS considers you to have received income.3Internal Revenue Service. Internal Revenue Bulletin 2023-33

Revenue Ruling 2023-14 uses staking rewards as its example, but the same logic runs through liquidity pool rewards, lending interest, and airdropped governance tokens. Earn $5,000 worth of tokens through a pool and the full $5,000 is taxable at your ordinary income rate, even if the tokens sit in your wallet untouched.

Federal ordinary income rates run from 10% to 37% for 2026.4Internal Revenue Service. Federal Income Tax Rates and Brackets Farming rewards stack on top of your wages and other income, so a productive year can push you into a higher bracket. Skipping the reporting has its own cost: a failure-to-pay penalty of 0.5% per month on the unpaid amount, capped at 25%.5Internal Revenue Service. Failure to Pay Penalty

Capital Gains and Losses When You Swap, Sell, or Withdraw

The second tax layer hits when you dispose of tokens. Swapping one token for another, selling for stablecoins, or cashing out to fiat are all taxable dispositions. Your gain or loss is the difference between the token’s cost basis and its value at the time of the swap or sale.6Internal Revenue Service. Publication 544 – Sales and Other Dispositions of Assets

For tokens you received as rewards, the cost basis is the fair market value you already reported as income. Earn rewards worth $1,000, sell them later for $1,500, and you owe tax on the $500 gain. If the price fell to $800 first, you have a $200 capital loss.

Holding period sets the rate. Tokens held a year or less generate short-term gains, taxed at your ordinary income rate. Tokens held longer than a year qualify for long-term capital gains rates of 0%, 15%, or 20%, depending on your income.7Internal Revenue Service. Topic No. 409, Capital Gains and Losses Because yield farming involves frequent swaps, most gains end up short-term.

When losses for the year exceed gains, you can deduct up to $3,000 of the excess against ordinary income ($1,500 if married filing separately). Anything beyond that carries forward indefinitely.7Internal Revenue Service. Topic No. 409, Capital Gains and Losses The carry-forward matters in the years after a bad one.

Pool Deposits, Wrapped Tokens, and Impermanent Loss

The IRS hasn’t issued specific guidance on whether depositing tokens into a liquidity pool and receiving LP tokens in return counts as a taxable swap. The conservative position, which most crypto tax software uses by default, treats the deposit as a taxable disposition of your original tokens and an acquisition of new LP tokens at fair market value. Until the IRS clarifies, reporting it as a swap is the safer approach.

Wrapping carries the same ambiguity. Converting ETH to wETH to enter a pool may or may not be a taxable event under current guidance. The aggressive approach treats it as a non-event since the underlying asset is effectively unchanged, but that approach also means you can’t claim a loss if the token’s value dropped.

Impermanent loss is the third wrinkle. When you provide liquidity to an automated market maker, the pool rebalances your token holdings as prices shift, so you may withdraw with more of one token and less of the other than you deposited. Impermanent loss is not a separate deductible event. It shows up in the tax math at withdrawal, when the tokens you receive back have a different composition and value than what you put in, and the difference flows into your gain or loss calculation at that point.

The Wash Sale Rule Generally Doesn’t Apply

Federal wash sale rules stop investors from selling stock at a loss and immediately repurchasing it to claim the deduction. The statute applies to “stock or securities.”8Office of the Law Revision Counsel. 26 U.S. Code 1091 – Loss From Wash Sales of Stock or Securities Because the IRS treats cryptocurrency as property rather than a security, the rule generally does not apply to spot crypto transactions. You can sell a token at a loss and buy it back the same minute without losing the deduction.

Two caveats. Crypto exposure held through exchange-traded funds or other securities products is subject to wash sale rules. And Congress has considered extending the rule to digital assets in several draft tax bills since 2021, though none had been enacted as of early 2026. Check current law before building a tax-loss harvesting strategy around this.

Other Taxes That Can Stack on Top

Net Investment Income Tax

High earners face an extra 3.8% net investment income tax on top of ordinary income and capital gains rates.9Office of the Law Revision Counsel. 26 U.S. Code 1411 – Imposition of Tax It applies to the lesser of your net investment income or the amount your modified adjusted gross income exceeds $200,000 for single filers, $250,000 for joint filers, or $125,000 for married filing separately. Yield farming rewards and token-sale gains both count as investment income here, so a strong farming year can push you across the line.

Self-Employment Tax

Most yield farmers are earning passive investment income, which is not subject to the 15.3% self-employment tax. But if the activity looks more like a business than a passive investment, with high frequency, significant time commitment, and profit-driven intent, the IRS could treat it as a trade or business. The rewards would then go on Schedule C rather than Schedule 1, and Social Security and Medicare taxes would apply on top of income tax. There’s no bright line for crypto, so professional advice is worthwhile at scale.

Quarterly Estimated Payments

Yield farming income has no tax withheld at the source, so you probably need to make quarterly estimated payments to avoid an underpayment penalty. The IRS expects estimated payments when you’ll owe $1,000 or more after subtracting withholding and refundable credits.10Internal Revenue Service. 2026 Form 1040-ES

The 2026 quarterly due dates are:

  • First quarter: April 15, 2026
  • Second quarter: June 15, 2026
  • Third quarter: September 15, 2026
  • Fourth quarter: January 15, 2027

You avoid the underpayment penalty by paying at least 90% of your current-year tax liability through estimated payments, or 100% of your prior-year tax (110% if your adjusted gross income exceeded $150,000).10Internal Revenue Service. 2026 Form 1040-ES The prior-year safe harbor is often easier for farmers because crypto income is unpredictable, and basing payments on last year’s known number removes the guesswork.

Losses From Hacks and Rug Pulls

Losing funds to a protocol exploit or rug pull doesn’t automatically produce a deduction. Personal casualty and theft losses for individuals have been sharply limited since 2018, with deductions generally restricted to federally declared disasters.11Office of the Law Revision Counsel. 26 U.S. Code 165 – Losses A smart contract exploit isn’t one.

There is a path if you held the tokens as an investment rather than for personal use and the loss resulted from an act that qualifies as theft under your state’s criminal law. You can potentially deduct it under IRC Section 165(c)(2) as a loss from a for-profit transaction. Supporting the deduction means showing criminal conduct like fraud, an intent to profit when you acquired the tokens, and no reasonable prospect of recovering the funds. Filing a report with law enforcement helps. The deduction is capped at your cost basis in the lost tokens, not their peak value or any promised returns.

The Ponzi scheme safe harbor under Revenue Procedure 2009-20 rarely fits DeFi losses because it requires a named lead figure who has been formally charged.12Internal Revenue Service. Help for Victims of Ponzi Investment Schemes Anonymous rug pullers usually don’t clear that bar.

Records and Cost Basis

The IRS requires records sufficient to establish every position on your return, and yield farming generates more records per dollar than almost any other investment activity.13Internal Revenue Service. Digital Assets For each transaction you need the date, the token, the amount, and the USD fair market value at the exact time it happened. That covers every reward claim, deposit, withdrawal, and swap.

Gas fees on successful transactions are generally added to the cost basis of the tokens acquired, or treated as a cost of the sale, which reduces your taxable gain. Failed transactions work differently: if you pay gas and the transaction reverts, you’ve disposed of the gas tokens and received nothing back. That’s a short-term capital loss with zero proceeds, reportable on Form 8949.

Block explorers hold the raw on-chain data, but reconstructing hundreds of transactions by hand is brutal. Crypto tax software imports wallet history, tags transactions, and calculates gains and losses across protocols and chains. Without something like it, miscalculating basis is likely, and if you can’t substantiate your basis at all, the IRS can treat it as zero, which turns your entire sale proceeds into taxable gain.

Reporting Yield Farming on Your Tax Return

Every taxpayer must answer the digital asset question on Form 1040 about whether they received, sold, exchanged, or otherwise disposed of any digital asset during the year. If you did any yield farming, the answer is yes.14Internal Revenue Service. Determine How to Answer the Digital Asset Question

Ordinary income from rewards goes on Schedule 1 (Form 1040), line 8v, which is designated for digital assets received as ordinary income.15Internal Revenue Service. 2025 Schedule 1 (Form 1040) Capital gains and losses from swaps and sales go on Form 8949, which captures each transaction’s basis, proceeds, and result. Totals flow to Schedule D.16Internal Revenue Service. Instructions for Form 8949 (2025)

Starting with the 2025 tax year, centralized exchanges and certain brokers must issue Form 1099-DA reporting digital asset transaction proceeds.17Internal Revenue Service. About Form 1099-DA, Digital Asset Proceeds From Broker Transactions If you get one, the IRS gets a copy, and any discrepancy with your return gets flagged. DeFi protocols and non-custodial wallets generally don’t issue 1099-DAs, so for those transactions the entire reporting burden is yours.