DeFi Taxes Explained: Staking, Lending & Liquidity Pools
⚡ Key Takeaways
- Staking rewards are taxable as ordinary income when received, at fair market value
- Lending interest (Aave, Compound) is ordinary income—taxed when you receive it
- Adding/removing liquidity can trigger capital gains; LP rewards are income
- Token swaps (even within DeFi protocols) are taxable dispositions
- Impermanent loss isn’t directly deductible—it factors into your final gain/loss when you exit
Decentralized finance (DeFi) has opened up new ways to earn yield on your crypto—staking, lending, liquidity pools, yield farming. But the IRS hasn’t issued specific guidance for most DeFi activities, leaving many investors confused about their tax obligations.
Here’s what we know based on existing IRS rules and how they apply to common DeFi scenarios.
What is DeFi?
Decentralized Finance (DeFi) refers to financial services built on blockchain networks that operate without traditional intermediaries like banks. Common DeFi activities include lending crypto for interest, providing liquidity to trading pools, staking tokens to secure networks, and yield farming across multiple protocols.
Staking Rewards: How They’re Taxed
Staking involves locking up your cryptocurrency to help secure a proof-of-stake blockchain network. In return, you earn rewards—additional tokens. The IRS treats these rewards as taxable income.
🥩 Staking Tax Events
Taxable
- Receiving staking rewards (ordinary income)
- Selling staking rewards (capital gains)
- Trading rewards for other crypto
Not Taxable
- Staking your tokens (no disposition)
- Unstaking tokens you own
- Holding unrealized gains on rewards
📊 Staking Example
You stake 10 ETH. Over the year, you earn 0.5 ETH in rewards.
When you receive each reward, you owe income tax on its fair market value at that moment.
If ETH is worth $3,000 when you receive 0.5 ETH: $1,500 taxable income
Your cost basis in that 0.5 ETH is now $1,500. If you later sell it for $2,000, you have a $500 capital gain.
⚠️ The Jarrett Case
A 2024 court case (Jarrett v. IRS) raised questions about whether staking rewards should be taxed at receipt or only when sold. However, the IRS has not changed its position. Until official guidance changes, treat staking rewards as taxable income when received to stay safe.
Crypto Lending: Interest Income
Platforms like Aave, Compound, and centralized alternatives let you lend your crypto and earn interest. The tax treatment is straightforward: interest earned is ordinary income.
| Activity | Tax Treatment | When Taxed |
|---|---|---|
| Depositing crypto to lend | Not taxable (you still own it) | — |
| Receiving interest payments | Ordinary income | When received |
| Withdrawing your principal | Not taxable | — |
| Selling interest tokens | Capital gain/loss | When sold |
💡 Track Interest Carefully
Many DeFi lending platforms accrue interest continuously (sometimes in rebasing tokens like aTokens). You may need to calculate the fair market value of interest received daily or at regular intervals. Crypto tax software can help automate this.
Liquidity Pools: The Most Complex
Providing liquidity to automated market makers (AMMs) like Uniswap, SushiSwap, or Curve is one of the most tax-complex DeFi activities. Multiple taxable events can occur:
Adding Liquidity
When you deposit two tokens into a liquidity pool, you receive LP (liquidity provider) tokens in return. The IRS hasn’t provided clear guidance, but the conservative approach is to treat this as a taxable exchange—you’re disposing of your original tokens.
Earning LP Rewards
Trading fees and token rewards you earn as a liquidity provider are taxable income when received, valued at fair market value.
Removing Liquidity
When you withdraw from a pool, you exchange your LP tokens back for the underlying assets. This may trigger capital gains based on the difference between your cost basis in the LP tokens and the value of what you receive.
📊 Liquidity Pool Example
You provide $5,000 ETH + $5,000 USDC to a Uniswap pool. You receive LP tokens.
Potential tax event #1: Disposing of ETH/USDC for LP tokens (capital gains on any appreciation)
Over 6 months, you earn $500 in trading fees (paid in LP tokens).
Tax event #2: $500 ordinary income when fees accrue
You withdraw and receive $4,500 ETH + $6,200 USDC (impermanent loss occurred).
Tax event #3: Capital gain/loss on LP token disposition
What About Impermanent Loss?
Impermanent loss occurs when the price ratio of your deposited tokens changes compared to when you deposited them. It’s called “impermanent” because it only becomes permanent when you withdraw.
Impermanent Loss and Taxes
Impermanent loss is not directly deductible as a loss. Instead, it’s factored into your capital gain/loss calculation when you exit the pool. If you withdraw less value than you put in (after accounting for rewards), that reduced amount is reflected in your final gain/loss calculation.
Yield Farming and Token Swaps
Yield farming—moving assets between protocols to maximize returns—can generate dozens or hundreds of taxable events. Every token swap, every reward claim, every position change may be taxable.
🌾 Common Yield Farming Tax Events
Taxable
- Swapping tokens (capital gains)
- Claiming farming rewards (income)
- Harvesting and compounding
- Receiving airdrops or bonuses
Not Taxable
- Approving token spending
- Failed transactions
- Moving tokens between your wallets
- Gas fees (but may add to cost basis)
⚠️ Gas Fees Matter
Gas fees paid to execute DeFi transactions can generally be added to your cost basis (when buying) or subtracted from proceeds (when selling), reducing your taxable gain. Keep records of all gas paid—it adds up quickly in DeFi.
Record-Keeping for DeFi
DeFi tax compliance requires meticulous records. For every transaction, you need:
- Date and time: Exactly when the transaction occurred
- Transaction type: Swap, stake, claim, deposit, withdrawal, etc.
- Tokens involved: What you sent and what you received
- Fair market value: USD value at the time of transaction
- Gas fees paid: In both native token and USD
- Protocol used: Uniswap, Aave, Curve, etc.
- Wallet addresses: Your addresses and contract addresses
💡 Use Crypto Tax Software
Manual tracking of DeFi activity is nearly impossible at scale. Tools like Koinly, CoinTracker, and TokenTax can import on-chain data, categorize transactions, and calculate your taxes. Some specialize in DeFi—look for support for the specific protocols you use.
Frequently Asked Questions
Yes. The IRS treats staking rewards as ordinary income, taxable at the fair market value when you receive them. This applies whether you’re staking ETH, SOL, or any other proof-of-stake cryptocurrency. You’ll owe income tax when you receive the rewards, plus capital gains tax if you later sell them for more than your cost basis.
Liquidity pool activities can trigger multiple tax events: adding liquidity may be a taxable swap, LP token rewards are ordinary income when received, and removing liquidity may trigger capital gains. The complexity depends on the specific protocol, but generally you owe income tax on rewards and capital gains tax on any appreciation.
Interest earned from lending crypto (on platforms like Aave or Compound) is taxable as ordinary income when received. The principal you lend is not taxed, but the interest payments are. If you later sell the interest tokens for more than their value when received, that triggers additional capital gains.
Impermanent loss is tricky. It’s not directly deductible because it’s not a realized loss until you withdraw from the pool. When you do withdraw, your actual gain or loss is calculated based on the value of tokens received versus your original cost basis. The “impermanent loss” gets factored into your final capital gain/loss calculation.
Yes. The IRS requires reporting of all taxable events, regardless of whether you converted to USD. Token swaps, receiving staking rewards, and earning lending interest are all reportable events even if you never touched fiat currency. Not reporting because you “stayed in crypto” is not a valid defense.
Disclaimer: This article is for informational purposes only and does not constitute tax, legal, or financial advice. DeFi tax rules are evolving and the IRS has not issued specific guidance for many activities. Bugaboo Bookkeeping is not a CPA firm. Consult a licensed tax professional for advice specific to your situation.
DeFi Taxes Overwhelming You?
We specialize in crypto and DeFi tax preparation. Let us handle the complexity.
Schedule a Free ConsultationOr call: 253-353-2040