In this guide
What yield farming is
Yield farming is the practice of depositing crypto into DeFi protocols to earn returns. Those returns come from trading fees, interest payments, and token rewards. It's called "farming" because you're planting your assets and harvesting yields.
The concept exploded in the "DeFi Summer" of 2020 when Compound started distributing its COMP token to users. Suddenly, lending crypto on Compound didn't just earn interest. It also earned COMP tokens. People were earning 100%+ APY when you added both together. Naturally, billions poured in.
Those wild days are mostly over. APYs have settled to more sustainable levels. But yield farming remains one of the primary ways to earn passive income in crypto, and it's still more lucrative than anything in traditional finance if you know what you're doing.
The basic idea: protocols need liquidity to function. DEXes need tokens in their pools for people to trade. Lending protocols need deposits for borrowers. You provide that liquidity and get paid for it. Simple in theory. The details are where it gets tricky.
Liquidity pools explained
A liquidity pool is a collection of tokens locked in a smart contract. On a DEX like Uniswap, each trading pair has its own pool. The ETH/USDC pool contains both ETH and USDC. When someone swaps ETH for USDC, they're trading against this pool.
To provide liquidity, you deposit both tokens in the pair at the current ratio. If ETH is $3,000, you'd deposit $3,000 worth of ETH and $3,000 worth of USDC (a 50/50 split by value). The protocol gives you LP (Liquidity Provider) tokens representing your share of the pool.
Every time someone trades through the pool, they pay a fee (usually 0.3% on Uniswap V2, variable on V3). That fee gets distributed to all liquidity providers proportional to their share. If you own 1% of the pool, you get 1% of the fees.
A busy pool with $10 million in liquidity generating $50,000 in daily trading fees produces about 0.5% daily return, or roughly 180% APY for liquidity providers. But most pools aren't that active. A typical stablecoin pair might generate 5-15% APY from fees alone.
Uniswap V3 introduced "concentrated liquidity," where you can provide liquidity within a specific price range instead of across all prices. This is more capital efficient (higher returns per dollar deposited) but requires active management. If the price moves outside your range, you earn nothing until it comes back.
Impermanent loss
This is the concept that trips up most new yield farmers. It's confusing at first, but understanding it is non-negotiable if you're going to provide liquidity.
Impermanent loss (IL) happens when the price ratio between your two deposited tokens changes. The pool automatically rebalances to maintain its pricing formula, which means you end up with more of the cheaper token and less of the expensive one.
Example: You deposit $5,000 ETH + $5,000 USDC into a pool. ETH doubles in price. If you'd just held, you'd have $10,000 ETH + $5,000 USDC = $15,000. But the pool rebalanced, and your position is now worth about $14,142. You "lost" $858 compared to just holding. That's impermanent loss.
It's called "impermanent" because if ETH returns to its original price, the loss disappears. But in practice, prices rarely return to exactly where they started. The more volatile the pair, the worse IL gets. A 2x price change causes about 5.7% IL. A 5x change causes 25.5%.
For IL to be worth it, the fees you earn need to exceed the impermanent loss. High-volume pools with volatile pairs can generate enough fees. Low-volume pools usually can't. Stablecoin-to-stablecoin pools have almost zero IL since prices barely move relative to each other.
Common strategies
Stablecoin farming: Lowest risk. Provide liquidity to stablecoin pairs (USDC/USDT, USDC/DAI) or lend stablecoins on Aave/Compound. Returns: 3-10% APY. Minimal impermanent loss. This is the "savings account" of DeFi.
Blue-chip LP farming: Provide liquidity for established pairs like ETH/USDC or BTC/ETH. Moderate impermanent loss risk. Returns: 5-20% APY from fees plus any token incentives. Good if you're bullish on both assets anyway.
Incentivized farming: New protocols distribute their tokens to attract liquidity. You provide LP and stake it to earn the protocol's governance token on top of trading fees. Returns can be 50-200%+ APY initially, but they always decline as more liquidity arrives and the incentive tokens often lose value.
Recursive farming (looping): Deposit collateral, borrow against it, deposit the borrowed amount, borrow again. This amplifies your position and yield. It also amplifies your risk. If your collateral drops in value, the entire position can get liquidated. Only for experienced DeFi users.
Auto-compounding vaults: Protocols like Yearn and Beefy auto-compound your yields, reinvesting earnings back into the farming position. This saves gas fees and maximizes compound interest. A 20% APR becomes ~22% APY with daily compounding. Set it and forget it.
Real yield numbers
Let's cut through the marketing. Here are realistic yields you can expect as of early 2026:
Lending stablecoins (Aave, Compound): 3-8% APY. This fluctuates with borrowing demand. During bull markets when people borrow aggressively, rates push higher.
Stablecoin LP (Curve): 5-12% APY including CRV token rewards. The real workhorse of conservative DeFi farming.
ETH/stablecoin LP: 8-20% APY on established DEXes. Higher on Layer 2s where gas costs don't eat your profits.
New protocol incentives: 50-500%+ APY that rapidly decays. These are temporary. The tokens you farm often drop in value faster than you can earn them.
The rule of thumb: If it sounds too good to be true, it won't last. Sustainable real yield from actual economic activity (trading fees, lending interest) is 5-15%. Anything above that is likely subsidized by token emissions that dilute value.
Risks ranked by severity
1. Smart contract risk (catastrophic): The protocol gets hacked and funds are drained. This has happened to dozens of protocols. Even audited ones. You could lose everything. Mitigation: stick to battle-tested protocols (Aave, Uniswap, Curve) and don't put all your funds in one place.
2. Rug pulls (catastrophic): The team behind a protocol intentionally steals user funds. More common with new, unaudited protocols. Mitigation: research the team, check if contracts are verified and audited, be skeptical of anonymous teams offering insane APYs.
3. Impermanent loss (moderate): Your LP position underperforms simply holding the tokens. Especially painful during major price moves. Mitigation: use stablecoin pairs, or only provide liquidity for tokens you're happy to hold regardless.
4. Token depreciation (moderate): You farm a governance token but its price drops faster than you earn it. Your impressive APY means nothing if the token goes from $10 to $0.50. Mitigation: sell farming rewards regularly rather than accumulating.
5. Gas fees eating profits (annoying): On Ethereum mainnet, complex DeFi transactions cost $10-50. If you're farming with $500, gas fees destroy your returns. Mitigation: use Layer 2s (Arbitrum, Base) where fees are pennies.
Getting started safely
1. Start with lending stablecoins on Aave (on Arbitrum or Optimism for low fees). Deposit USDC, earn interest. Zero impermanent loss risk. This teaches you DeFi mechanics without complex exposure.
2. Graduate to a stablecoin LP pool on Curve. USDC/USDT or similar. Minimal price risk, steady returns around 5-10% APY.
3. Try a blue-chip LP (ETH/USDC) with a small amount. Monitor for impermanent loss versus fees earned. Track your performance using tools like DeBank or Zapper.
4. Only after you understand IL, gas costs, and protocol mechanics should you explore higher-yield opportunities.
Use DeFi dashboards like DeBank (debank.com), Zapper (zapper.fi), or DefiLlama (defillama.com) to track your positions across protocols and chains. They'll show you exactly what you're earning and what your portfolio looks like.
The bottom line
Yield farming can generate real returns, but the highest yields always come with the highest risks. Start boring, start small, and gradually increase complexity as you learn. The people who survive in DeFi are the patient ones, not the ones chasing 10,000% APY on some protocol nobody's heard of.
Related reading: DeFi basics, staking, and crypto security.