What is Yield Farming? Complete DeFi Guide
Yield farming is a DeFi strategy where users earn rewards by providing liquidity, lending crypto, or staking assets across various protocols.
What is Yield Farming?
Yield farming is a DeFi strategy where users earn rewards by deploying their crypto assets across various protocols — providing liquidity to AMM pools, lending on money markets, staking governance tokens, or layering multiple protocols together for compound returns. The "yield" comes from a combination of trading fees, lending interest, protocol incentive emissions, and token rewards.
Yield farming exploded in popularity during the 2020 "DeFi Summer" when Compound launched COMP token incentives. At peak, some yield farms offered triple-digit annualized returns — though these often compressed quickly as more capital arrived. By 2024-2025, yield farming has matured into a more sustainable practice with realistic 5-20% APYs across major protocols.
How Does It Work?
A typical yield farming workflow:
1. Asset selection: Choose what crypto you want to farm with (ETH, USDC, BTC, etc.). 2. Protocol selection: Identify protocols offering competitive yields for that asset. 3. Deposit: Connect wallet, deposit assets into the chosen protocol. 4. Reward accrual: Earn rewards continuously — sometimes auto-compounded, sometimes claimable. 5. Strategy layering (advanced): Use yield-bearing positions as collateral for additional yield. 6. Exit: Withdraw original principal plus accumulated rewards.
Common yield sources:
- Trading fees: From AMM liquidity pools (typically 0.05%-0.3% per trade). - Lending interest: From lending platforms like Aave and Compound (3-15% APY). - Liquid staking rewards: ETH staking via Lido (3-4% APY). - Token incentives: Protocols paying their governance token to attract liquidity. - Restaking rewards: EigenLayer-style additional yield on already-staked ETH.
History and Evolution
Pre-DeFi yield farming was modest — early Bitcoin lending platforms offered single-digit yields. The first true DeFi yields came from MakerDAO's CDP fees and Compound's lending market.
The watershed moment was Compound's COMP token launch in June 2020. Compound began distributing COMP to all users (lenders and borrowers), creating "yield" up to 100%+ APY at peak. Within weeks, Curve, Yearn, Synthetix, and dozens of other protocols launched similar programs. Yearn's yvDAI vault popularized automated yield optimization. Total Value Locked across DeFi grew from $1B to $15B in three months.
By 2021-2022, "degen yield farming" became infamous — chasing 1,000%+ APYs on obscure forked protocols, often resulting in rugpulls and exploits. The 2022 bear market eliminated most unsustainable yields and refocused the industry.
By 2024-2025, yield farming has matured. Protocols like Pendle (yield trading), EigenLayer (restaking), and Ethena (synthetic dollar yield) offer sophisticated strategies. Aggregators like Yearn V3, Beefy, and Convex automate complex multi-protocol farming. Sustainable yields typically range from 5% (large stablecoin pools) to 30%+ (newer protocols with token incentives).
Key Concepts
- APY vs APR: APY assumes compounding; APR is the simple annual rate. - Impermanent loss: A risk for liquidity providers when token prices diverge. - Liquidity mining: Token rewards distributed to liquidity providers. - Auto-compounders: Vaults that automatically reinvest rewards for compounding. - Sustainability: Yields above 20% should be examined carefully — often unsustainable token emissions.
Practical Example
A user with 10,000 USDC wants to earn yield while maintaining stablecoin exposure. They split their position across three strategies:
1. 3,000 USDC into Aave at 4.5% APY (battle-tested lending). 2. 3,000 USDC into a Curve stablecoin pool at 6% APY (trading fees + CRV incentives). 3. 4,000 USDC into Pendle's stablecoin yield strategy at 12% APY (yield tokenization).
Their blended APY is roughly 8% — significantly better than the 3-4% available from solo lending, with diversified protocol risk. Over a year, their $10,000 grows to approximately $10,800 in rewards plus principal. Compared to the 0% interest rates of major banks, this kind of yield is one of the clearest demonstrations of DeFi's value proposition.
Related Terms and Next Steps
Yield farming sits at the heart of DeFi. Continue exploring the DeFi ecosystem broadly, AMM mechanics that power many farms, liquidity pools that anchor strategies, stablecoins used in stable yield strategies, and DEX trading that generates fees.
[Related: defi] [Related: amm] [Related: liquidity-pool] [Related: stablecoin] [Related: dex]