DeFi Lending and Taxes: Yield Farming, Staking, and Interest
Bill Rice
Fintech Consultant · 15+ Years in Lending & Capital Markets
February 27, 2026
# DeFi Lending and Taxes: Yield Farming, Staking, and Interest
DeFi lending generates income. The IRS expects you to report it. But figuring out exactly what you owe — and when — is one of the most complicated areas in crypto taxation.
When you supply assets to a lending protocol, you earn interest. When the protocol rewards you with governance tokens, that is additional income. When you reinvest those rewards into liquidity pools, yield farms, or leveraged lending strategies, every step creates potential tax obligations.
This guide covers how DeFi lending income is taxed in the United States, including interest earnings, governance token rewards (COMP, AAVE, etc.), yield farming, liquidity provider positions, gas fee deductions, and the record-keeping challenges that make DeFi taxes uniquely difficult.
Important: This article focuses on US federal tax treatment. Tax laws vary by jurisdiction and are actively evolving. This is educational content — not tax advice. Consult a qualified tax professional for guidance specific to your situation.
The Basics: How the IRS Views DeFi Income
The IRS treats cryptocurrency as property (IRS Notice 2014-21). Income received in crypto is taxed just like income received in dollars — at fair market value when received.
For DeFi lending, there are two primary tax categories:
- Ordinary income — Interest, rewards, and other yield earned through DeFi activities. Taxed at your marginal income tax rate (10% to 37% for federal taxes).
- Capital gains/losses — Triggered when you dispose of (sell, exchange, or trade) crypto assets. Taxed at short-term or long-term capital gains rates depending on holding period.
Most DeFi lending activity generates ordinary income first (when you earn it) and capital gains later (when you sell or swap it).
Interest Earned from Lending Protocols
When you supply USDC to Aave or Compound and earn interest, that interest is ordinary income, taxable in the year it is received.
When Is Interest "Received"?
This is where it gets complicated. DeFi interest accrues continuously — with every block on Ethereum. There is no annual statement, no 1099 form, and no clear moment when you "receive" the income.
The conservative approach (and the one most tax professionals recommend) is to treat interest as received when it is credited to your account — which, in DeFi, is essentially continuously. However, the practical approach for most taxpayers is:
- Track interest accrual at regular intervals (daily, weekly, or at least monthly).
- Record the fair market value of the interest at the time it accrues.
- Report the total as ordinary income for the tax year.
Rebasing vs. Non-Rebasing Tokens
The mechanism by which interest is credited affects how you track it:
- Rebasing tokens (like Aave's aTokens) — When you deposit USDC into Aave, you receive aUSDC. The balance of aUSDC in your wallet increases over time as interest accrues. Each increase is a receipt of income.
- Non-rebasing/value-accruing tokens (like Compound III's base tokens or wrapped staking tokens) — The number of tokens stays the same, but the exchange rate between your deposit token and the underlying asset increases. Income is realized when you withdraw and receive more of the underlying asset than you deposited.
The tax treatment may differ depending on the mechanism. With rebasing tokens, income arguably accrues with each balance increase. With value-accruing tokens, the income may not be realized until withdrawal. There is no definitive IRS guidance on this distinction. Consult a tax professional for the approach that best fits your situation.
Governance Token Rewards (COMP, AAVE, etc.)
Many DeFi lending protocols distribute governance tokens to users as incentives. When you supply assets to Compound and receive COMP tokens, or supply to Aave and receive AAVE tokens, those rewards are ordinary income at the fair market value when received.
The Tax Trigger
- When you claim rewards — If the protocol requires you to manually claim governance tokens, the income is realized when you claim them.
- When rewards are auto-distributed — If rewards are automatically sent to your wallet, the income is realized when they arrive.
- Unclaimed rewards — Rewards that are allocated to you but that you have not yet claimed present a gray area. The conservative position is to treat them as income when they become claimable. Some taxpayers take the position that income is realized only upon claiming.
Example
You supply $50,000 USDC to Compound for six months and earn:
- $1,200 in USDC interest (rebasing, accrued over the period).
- 150 COMP tokens distributed over the same period, with an average fair market value of $45 each when received.
Your ordinary income from this activity:
- USDC interest: $1,200
- COMP rewards: 150 x $45 = $6,750
- Total ordinary income: $7,950
This $7,950 is taxed at your marginal income tax rate. If you are in the 24% federal bracket, that is approximately $1,908 in federal tax — before you sell a single token.
When You Later Sell the COMP
If you sell those 150 COMP tokens later:
- Cost basis: $6,750 (the fair market value when you received them — which you already paid income tax on).
- Proceeds: Whatever you sell them for.
- Capital gain/loss: Proceeds minus $6,750.
- Short-term or long-term: Based on how long you held the COMP tokens after receiving them.
This means governance token rewards are effectively taxed twice — once as ordinary income when received, and again as capital gains when sold (if the price has increased). If the price decreases, you can realize a capital loss.
Yield Farming: The Tax Complexity Multiplier
Yield farming involves deploying assets across multiple DeFi protocols to maximize returns. A typical yield farming strategy might look like:
- Supply ETH and USDC to a Uniswap liquidity pool, receiving LP tokens.
- Stake those LP tokens in a yield farm to earn reward tokens.
- Claim the reward tokens and sell them for more ETH and USDC.
- Redeposit to compound returns.
Every step in this process has potential tax implications.
Step 1: Providing Liquidity
When you deposit two assets into a liquidity pool and receive LP tokens, there is a question of whether this constitutes a taxable exchange.
The dominant position among tax professionals is that depositing assets into a liquidity pool in exchange for LP tokens is a taxable event — you are exchanging your ETH and USDC for a new asset (the LP token). This triggers capital gains or losses on the deposited assets based on their cost basis.
Some taxpayers argue that providing liquidity is more akin to a deposit (not a disposal) and should not be taxable until withdrawal. The IRS has not provided definitive guidance on this specific question.
Step 2: Earning Trading Fees
As a liquidity provider, you earn a share of the trading fees generated by the pool. These fees are typically embedded in the value of your LP tokens — the LP tokens become worth more over time as fees accrue.
- If fees accrue within the LP token (value-accruing model), income may be recognized upon withdrawal.
- If fees are distributed separately, they are ordinary income when received.
Step 3: Impermanent Loss
Impermanent loss (IL) occurs when the price ratio between the two tokens in your liquidity pool changes. If one token appreciates significantly relative to the other, you end up with more of the cheaper token and less of the expensive one — resulting in a lower total value than if you had simply held both tokens.
Tax treatment of impermanent loss is genuinely unclear:
- IL is not a discrete, separately reportable event. It is embedded in the value of your LP position.
- The loss is realized when you withdraw from the pool — the proceeds from withdrawing are compared to your cost basis for the LP tokens.
- If the IL-adjusted withdrawal value is less than your cost basis, you have a capital loss.
Step 4: Staking LP Tokens
Staking LP tokens in a yield farm to earn additional reward tokens may or may not be a taxable event depending on whether the staking is treated as a disposal of the LP token. This is another area without clear IRS guidance.
Step 5: Reward Tokens
Reward tokens earned from yield farming are ordinary income at the fair market value when received — the same treatment as governance token rewards from lending protocols.
Step 6: Selling or Reinvesting Rewards
Selling reward tokens triggers capital gains or losses. Reinvesting reward tokens into another protocol is likely a taxable exchange.
Bottom line: A single yield farming cycle can generate five or more separate taxable events. This is why yield farming is a record-keeping challenge of the highest order.
Liquidity Provider (LP) Tax Tracking
LP positions are among the most difficult DeFi transactions to track for tax purposes.
The Challenge
- Constant rebalancing: AMM (Automated Market Maker) pools continuously rebalance as trades occur. Your position's composition changes with every swap.
- Fee accrual: Trading fees accrue continuously and are embedded in the LP token's value.
- Multiple assets: LP positions involve at least two tokens, each with its own cost basis.
- Concentrated liquidity (Uniswap V3): Positions that go "out of range" stop earning fees and become 100% one asset. This adds another layer of complexity.
Practical Approach
Most crypto tax software handles LP positions by:
- Recording the deposit — Noting the assets deposited, their fair market values, and the LP tokens received.
- Recording the withdrawal — Noting the assets received back, their fair market values, and the LP tokens burned.
- Calculating the gain or loss — Comparing the total value received at withdrawal to the total cost basis of assets deposited.
This simplified approach may not capture every nuance (like ongoing fee accrual), but it provides a reasonable approximation for tax reporting purposes.
Gas Fees: Are They Deductible?
Gas fees (transaction fees paid to the Ethereum network) are a real cost of DeFi activity. Their tax treatment depends on how they are classified:
Gas Fees as Part of Cost Basis
Gas fees paid when acquiring an asset (e.g., the gas fee for a swap that buys ETH) can generally be added to the cost basis of the acquired asset. This increases your cost basis and reduces your eventual capital gain.
Gas Fees as Part of Proceeds
Gas fees paid when selling or disposing of an asset can generally be deducted from the proceeds, reducing your capital gain.
Gas Fees for DeFi Activities
Gas fees paid for actions like:
- Approving a token for use in a protocol
- Depositing into or withdrawing from a lending protocol
- Claiming rewards
- Interacting with governance
These fees are less clear. They may be:
- Investment expenses — Under current tax law (post-Tax Cuts and Jobs Act of 2017), miscellaneous itemized deductions for investment expenses are suspended for individuals through 2025. The status from 2026 onward depends on whether Congress extends or modifies this provision.
- Part of cost basis — If the gas fee is directly associated with acquiring or disposing of an asset, it may be includable in the cost basis or deductible from proceeds.
Track all gas fees. Even if their deductibility is uncertain in the current year, the rules may change, and having the records is essential.
Staking Rewards vs. Lending Interest: Tax Differences
While both generate ordinary income, there are nuances:
Staking Rewards
- The IRS has stated that staking rewards are taxable income when received (Revenue Ruling 2023-14).
- For validators, there is a legal argument (tested in the Jarrett v. United States case) that staking rewards should be treated as newly created property and taxed only upon sale. The Jarrett case resulted in a refund from the IRS, but the IRS has not changed its general guidance. The case does not establish binding precedent for all taxpayers.
- Staking rewards from liquid staking (receiving wstETH, rETH, etc.) add complexity because the reward mechanism is embedded in the token's value appreciation.
Lending Interest
- Lending interest is more straightforwardly treated as ordinary income.
- The analogy to traditional interest income is clearer, and there is less legal ambiguity.
- However, the continuous accrual model and lack of traditional reporting (no 1099-INT) creates practical challenges.
DeFi-Specific Tax Challenges
No Tax Forms
DeFi protocols do not issue 1099 forms. There is no K-1, no W-2, no annual statement. You are responsible for tracking every transaction and calculating your own tax liability.
Cross-Chain Complexity
If you lend on Aave on Ethereum, bridge assets to Arbitrum, farm on a DEX there, and bridge back, each bridge transaction may itself be a taxable event (the IRS may treat bridging as a disposal and reacquisition). This multiplies the tracking burden.
Protocol Hacks and Losses
If a protocol you are using is exploited and you lose funds:
- Theft losses were deductible under prior tax law but are currently limited for individuals (the Tax Cuts and Jobs Act suspended personal casualty and theft loss deductions except for federally declared disasters through 2025).
- You may be able to claim a capital loss if you can establish that the stolen assets have become worthless (effectively a sale at $0 proceeds). This requires demonstrating that the assets are permanently unrecoverable.
- Documentation is critical — Record the hack, the amounts lost, and any recovery efforts.
Token Migrations and Forks
When a protocol upgrades and issues new tokens (e.g., migrating from an old governance token to a new one), the tax treatment depends on whether the migration is a like-kind exchange (unlikely to qualify under current law), an airdrop (taxable as income), or a non-taxable token swap. The answer often varies by the specific circumstances.
Record-Keeping Best Practices
Given the complexity, disciplined record-keeping is essential.
What to Track
For every DeFi transaction, record:
- Date and time (including the block number and transaction hash)
- Protocol and chain
- Action taken (deposit, withdraw, claim, swap, bridge, etc.)
- Assets involved — type and quantity
- Fair market value at the time of the transaction (in USD)
- Gas fees paid
- Any tokens received (interest, rewards, LP tokens, etc.)
Tools
- Crypto tax software — Koinly, CoinTracker, TokenTax, and ZenLedger all support DeFi transaction parsing. They connect to wallets and blockchain data to automatically categorize transactions.
- Portfolio trackers — DeBank and Zapper provide historical DeFi position data that can supplement tax records.
- Spreadsheets — For complex positions that tax software cannot parse, manual tracking in a spreadsheet may be necessary.
- Export regularly — Do not wait until April. Export and reconcile your transaction data quarterly.
Limitations of Tax Software
Current crypto tax software is imperfect. Common issues include:
- Misclassified transactions — Software may incorrectly categorize deposits as sales, or fail to match LP token deposits with withdrawals.
- Missing protocols — Newer or smaller protocols may not be supported.
- Cross-chain gaps — Bridged transactions may appear as outflows on one chain and unrelated inflows on another.
- Inaccurate pricing — Fair market values for low-liquidity tokens may be wrong or missing.
Always review the output of tax software before filing. Use it as a starting point, not a final answer.
Upcoming Regulatory Changes
Several developments are shaping the future of DeFi taxation:
Broker Reporting Rules
The Infrastructure Investment and Jobs Act of 2021 expanded the definition of "broker" for crypto tax reporting purposes. The Treasury Department has been working on implementing regulations that would require DeFi protocols (or their front-end operators) to report transactions to the IRS.
The final rules, their scope, and their effective date are still being determined. If implemented broadly, they could require DeFi front-ends to collect user information and issue 1099-DA forms — fundamentally changing the anonymous nature of DeFi interaction.
Form 1099-DA
The IRS introduced Form 1099-DA (Digital Asset Proceeds from Broker Transactions) for reporting digital asset disposals. Centralized exchanges are beginning to issue these forms. Extension to DeFi platforms depends on the final broker reporting rules.
Global Coordination
The OECD's Crypto-Asset Reporting Framework (CARF) establishes international standards for crypto tax reporting. Countries adopting CARF will exchange information about crypto transactions across borders, making it harder to avoid reporting obligations by using platforms in other jurisdictions.
Practical Tips for DeFi Taxpayers
- Track as you go. Do not try to reconstruct a year of DeFi activity in March. Log transactions regularly.
- Use consistent accounting methods. Choose FIFO, LIFO, or specific identification for determining cost basis and apply it consistently. Switching methods mid-year can create problems.
- Separate wallets by purpose. Using different wallets for different DeFi activities (one for lending, one for yield farming, one for trading) makes tracking dramatically easier.
- Document your methodology. If you make judgment calls about ambiguous tax treatment (e.g., whether providing liquidity is a taxable event), document your reasoning. If the IRS questions your return, a well-documented position is much easier to defend.
- Set aside money for taxes. DeFi income is not taxed at source. If you earn $10,000 in DeFi yield, you may owe $2,400 to $3,700 in federal tax (depending on your bracket). Set this aside as you earn it — do not spend your pre-tax earnings.
- Hire a crypto-experienced CPA. General tax preparers often lack DeFi expertise. Seek a CPA or tax attorney who specifically works with crypto clients. The American Institute of CPAs (AICPA) and crypto-specific directories can help you find qualified professionals.
- File even if your records are imperfect. A good-faith effort to report is far better than failing to file. If your records are incomplete, do the best you can and retain a professional to help.
Bottom Line
DeFi lending taxes are complicated because DeFi does not fit neatly into existing tax frameworks. Interest accrues continuously with no tax forms. Governance tokens are income when received and capital assets when sold. Yield farming can generate five or more taxable events in a single strategy cycle. And the IRS expects you to report all of it.
The complexity is not an excuse to ignore your obligations. The IRS is investing heavily in crypto enforcement, and the regulatory landscape is moving toward more reporting and transparency.
Track your transactions, use tax software as a starting point, consult a qualified professional, and report in good faith. The cost of proper compliance is far less than the cost of an IRS audit.
Disclaimer: This article is for educational and informational purposes only and does not constitute financial, investment, or tax advice. Tax laws are complex and vary by jurisdiction. Always consult a qualified tax professional or CPA experienced in cryptocurrency taxation for guidance specific to your situation.
*Bill Rice is a fintech consultant with over 15 years of experience in the lending industry. He writes about crypto lending, DeFi, and digital asset strategies at CryptoLendingHub.com.*
Bill Rice
Fintech Consultant · 15+ Years in Lending & Capital Markets
Fintech consultant and digital marketing strategist with 15+ years in lending and capital markets. Founder of Kaleidico, a B2B marketing agency specializing in mortgage and financial services. Contributor to CryptoLendingHub where he brings traditional finance expertise to the evolving world of crypto lending and asset tokenization.
Risk Disclaimer: Crypto lending involves significant risk. You may lose some or all of your assets. Past performance is not indicative of future results. This content is for educational purposes only and does not constitute financial advice. Always do your own research.
Stay Ahead of the Market
Weekly insights on crypto lending rates, platform reviews, and tokenization trends. Free, no spam.