Yield Farming: How to Earn Returns in DeFi
Yield farming is the practice of deploying cryptocurrency across DeFi protocols to earn returns. At its simplest, it’s depositing stablecoins into a lending protocol for 5% APY. At its most complex, it involves multi-layer strategies with leverage, incentive harvesting, and constant rebalancing.
The key question isn’t “how much yield?” but “where does the yield come from?” Understanding the source determines whether the yield is sustainable or a ticking time bomb.
Where Yield Comes From
Sustainable Yield Sources
These yields come from real economic activity and can persist long-term:
| Source | How It Works | Typical APY | Risk |
|---|---|---|---|
| Lending interest | Borrowers pay interest to use your capital | 2–10% | Low (smart contract risk) |
| Trading fees | DEX traders pay fees, distributed to LPs | 5–30% | Medium (impermanent loss) |
| Staking rewards | Protocol pays for network security | 3–15% | Low (slashing, lock-up) |
| Protocol revenue | Real business income shared with token holders | 1–10% | Low-medium |
Unsustainable Yield Sources
These yields are subsidized and will decrease or disappear:
| Source | How It Works | Typical APY | Risk |
|---|---|---|---|
| Token emissions | Protocol prints tokens and gives them to users | 50–1000%+ | High (token dumps) |
| Growth subsidies | VC money subsidizing user acquisition | 20–100%+ | High (stops when funding runs out) |
| Ponzi mechanics | New deposits fund old withdrawals | 100–10000%+ | Extreme (collapse is certain) |
The golden rule: If you can’t identify where the yield comes from, you ARE the yield. Your capital is being used to pay earlier depositors, and you’ll be left holding the bag when the music stops.
Yield Farming Strategies
Strategy 1: Simple Lending
Deposit assets into a lending protocol. Borrowers pay interest. You earn that interest.
Platforms: Aave, Compound, Spark (MakerDAO)
Example:
- Deposit 10,000 USDC into Aave on Arbitrum
- Current supply APY: 6%
- Annual earnings: $600
- Risk: Smart contract exploit (low for established protocols)
This is the “savings account” of DeFi. Low yield, low effort, low risk (relative to DeFi).
Strategy 2: Liquidity Provision
Deposit token pairs into DEX pools. Earn trading fees.
Platforms: Uniswap, Curve, PancakeSwap
(See the Liquidity Pools article for full details)
Strategy 3: Staking + Liquid Staking
Stake ETH via Lido (earn ~4% staking APY), then use the stETH in other DeFi protocols for additional yield.
Layered approach:
ETH → Lido → stETH (4% APY)
stETH → Aave → Collateral (borrow USDC at 5%)
USDC → Curve → LP (earn 3-5% fees)
Total: ~4% staking + earned from borrowed capital
This is a leveraged strategy — if ETH drops significantly, your Aave position can get liquidated. Higher returns, higher risk.
Strategy 4: Auto-Compounding Vaults
Vaults automatically harvest reward tokens, sell them, and reinvest the proceeds — compounding your returns without manual effort.
Platforms: Yearn Finance, Beefy Finance, Convex
How it works:
- You deposit tokens into a vault
- The vault deploys them to the optimal strategy
- Earned rewards are automatically harvested and reinvested
- Gas costs are shared across all vault depositors
- Vault charges a performance fee (typically 10–20% of profits)
Advantage: Gas savings (one harvest transaction for all depositors), optimal compounding frequency, strategy managed by professionals.
Strategy 5: Points Farming
A newer meta: protocols distribute “points” instead of tokens, which may convert to tokens at a future airdrop.
How it works:
- Deposit into a protocol offering points (e.g., EigenLayer, Blast, various L2s)
- Accumulate points based on deposit size and duration
- Hope that points convert to valuable tokens at TGE (Token Generation Event)
Risk: Points have no guaranteed value. The token might be worth a lot, a little, or nothing. You’re essentially providing free liquidity on the promise of future reward.
Evaluating Yield Opportunities
The Yield Sustainability Checklist
Before depositing into any yield opportunity:
-
Where does the yield come from?
- Real activity (fees, interest) → Sustainable
- Token emissions → Decaying, sell pressure
- “Trust us” → Run away
-
How long has the protocol existed?
- 2+ years without exploit → Higher confidence
- 6-12 months → Moderate confidence
- New (< 3 months) → Highest risk, highest potential reward
-
Has the code been audited?
- Multiple audits by top firms (Trail of Bits, OpenZeppelin, Spearbit) → Good
- Single audit → Acceptable
- No audit → Very risky
-
What’s the TVL trend?
- Stable or growing → Healthy protocol
- Rapidly declining → Users are leaving (possible red flag)
- Sudden spike from incentive program → Unsustainable
-
What’s the real APY after all costs?
- Subtract: gas fees, impermanent loss, reward token depreciation, vault fees
- Many “100% APY” opportunities yield 10–20% after real costs
APY vs. Reality
Advertised: 200% APY
Breakdown:
Base trading fees: 15% APY (sustainable)
Token incentive emissions: 185% APY (unsustainable)
After 3 months, incentives reduce:
Token incentive drops to: 40% APY
Token price drops 60%: 16% APY effective
New real APY: 31% (15% fees + 16% incentives)
After 6 months:
Incentives end: 0% APY
Remaining: 15% APY from fees only
The “200% APY” was real for early depositors who harvested and sold reward tokens immediately. Latecomers who held reward tokens watched them depreciate.
Risk Management for Yield Farming
Diversify Across Protocols
Don’t put all your yield farming capital in one protocol. If it gets exploited, you lose everything. Spread across 3–5 established protocols.
Diversify Across Chains
A chain-wide exploit (bridge hack, consensus failure) would affect all protocols on that chain. Distribute across Ethereum, Arbitrum, Base, and other L2s.
Set Exit Triggers
Define in advance when you’ll exit:
- TVL drops below $X
- Yield drops below X%
- Smart contract concern arises
- Protocol governance makes concerning changes
Monitor Your Positions
DeFi isn’t passive in the way a bank savings account is. Monitor:
- Protocol health (TVL, governance proposals)
- Position health (collateral ratios if borrowing)
- Yield trends (decreasing yield may signal exodus)
- Approval exposure (revoke unnecessary token approvals)
Insurance
DeFi insurance protocols (Nexus Mutual, InsurAce) offer coverage against smart contract exploits. Premiums are typically 2–5% annually. Worth considering for large positions.
Tax Implications
Yield farming creates complex tax situations:
| Event | Tax Treatment (Most Jurisdictions) |
|---|---|
| Depositing into pool | May be a taxable disposal |
| Earning fees | Income at fair market value |
| Harvesting reward tokens | Income at fair market value when received |
| Selling reward tokens | Capital gain/loss from income basis |
| Withdrawing from pool | May be a taxable disposal |
| Compounding (reinvesting) | Each reinvestment may be a taxable event |
Keep meticulous records. Use DeFi-capable tax software (Koinly, CoinTracker, DeBank for tracking).
Key Takeaways
- Yield comes from three sources: real economic activity (sustainable), token emissions (temporary), or Ponzi mechanics (unsustainable)
- Advertised APY rarely reflects real returns — subtract fees, IL, token depreciation, and gas costs
- Auto-compounding vaults (Yearn, Beefy) simplify the process but add smart contract risk layers
- Diversify across protocols, chains, and strategy types — no single position should be catastrophic if lost
- The highest yields carry the highest risks — 100%+ APY almost always comes from token emissions that decrease over time
- Tax tracking for yield farming is complex — record every deposit, harvest, and withdrawal
FAQ
Q: Can I yield farm with $100? A: On Ethereum mainnet, gas fees make it impractical. On L2s (Arbitrum, Base) or alternative chains (Solana), you can start with $100. But small positions take proportionally longer to offset any gas costs or minimum harvest thresholds.
Q: What’s the safest yield farming strategy? A: Lending stablecoins (USDC, USDT) on established protocols (Aave, Compound) on L2 networks. Typical APY: 3–8%. Low impermanent loss risk, no volatile asset exposure, multiple audits.
Q: How often should I compound/harvest? A: Depends on gas costs and farm APR. Formula: optimal harvest interval = sqrt(2 × gas_cost / (principal × daily_rate)). For a $10,000 position earning 20% APY on Arbitrum (gas ~$0.05), daily compounding is optimal. On Ethereum mainnet (gas ~$5), weekly or less frequent.
Q: Is yield farming dead? A: The “DeFi summer” yields of 1000%+ APY are gone. But sustainable yields of 5–20% remain across established protocols. The yields are more realistic now — which is actually healthier.