Yield Farming

IntermediateCrypto & Digital Assets2 min read

Quick Definition

A DeFi strategy of moving cryptocurrency between protocols to maximize returns from lending, liquidity provision, and reward token incentives.

What Is Yield Farming?

Yield farming (also called liquidity mining) is a DeFi investment strategy where users deploy cryptocurrency across various protocols to maximize returns. Yield farmers earn rewards from multiple sources: interest from lending, trading fees from providing liquidity, and governance token incentives distributed by protocols to attract capital. The practice became synonymous with the "DeFi Summer" of 2020 when protocols began distributing governance tokens to liquidity providers.

Yield farming strategies range from simple to highly complex. A basic strategy might involve depositing stablecoins into a lending protocol like Aave to earn 3-8% APY. More advanced strategies involve providing liquidity to DEX pools (earning trading fees plus incentive tokens), leveraged yield farming (borrowing to amplify positions), or auto-compounding through yield aggregators like Yearn Finance that automatically reinvest rewards. Some farmers "chain" multiple protocols together, using receipt tokens from one protocol as collateral in another.

While advertised APYs can be astronomical (sometimes exceeding 1,000%), yield farmers must account for several risks that can erode or eliminate returns: impermanent loss when providing liquidity to volatile trading pairs, smart contract exploits (billions lost to DeFi hacks), token reward depreciation as farmed tokens are sold, gas costs that can exceed yields for small positions, and rug pulls where malicious protocol developers drain funds. Experienced yield farmers meticulously calculate risk-adjusted returns rather than chasing the highest headline APY.

Yield Farming Example

  • 1During DeFi Summer 2020, Compound distributed COMP governance tokens to users who lent and borrowed on the platform. Some yield farmers earned 100%+ APY by recursively lending and borrowing — depositing USDC, borrowing USDC against it, depositing the borrowed USDC, and repeating to maximize COMP rewards.
  • 2A yield farmer deposits ETH-USDC into a Uniswap liquidity pool earning 15% APY in trading fees, then stakes the LP receipt token in a farm earning an additional 30% APY in reward tokens — but must carefully monitor for impermanent loss if ETH's price moves significantly.