Yield Farming

A DeFi strategy where users move crypto between protocols to earn rewards like interest, fees, or governance tokens.

Yield farming is a decentralized finance (DeFi) strategy where users deploy cryptocurrency into on-chain protocols to earn returns. Those returns can come from lending interest, trading fees from liquidity pools, or incentive rewards such as governance tokens. Because opportunities vary by protocol and over time, “farmers” often move funds across platforms to target the best risk-adjusted yield.

How yield farming works in DeFi

Most yield farming revolves around smart contracts that pool user deposits and distribute rewards according to predefined rules. A common path starts with providing liquidity to a decentralized exchange pool, for example depositing two assets into an automated market maker so traders can swap between them. In exchange, the liquidity provider earns a share of transaction fees and may receive additional token incentives, sometimes called liquidity mining.
Another approach is lending, where users supply assets to a money market protocol and earn interest paid by borrowers. More advanced strategies combine several steps, such as depositing liquidity provider (LP) tokens into a “farm” contract to earn extra rewards, then reinvesting those rewards to compound returns.

Strategies and key risks

Yield farming ranges from relatively straightforward single-asset lending to complex multi-protocol loops. Higher advertised yields often reflect higher risk. Smart contract vulnerabilities can lead to loss of funds, and protocol governance changes can alter reward schedules. Liquidity provision introduces impermanent loss, where price movements between the pooled assets can leave providers worse off than simply holding. Farmers also face liquidation risk when leverage is used, plus network fee costs and token reward volatility.

Yield farming matters because it helps bootstrap DeFi liquidity and lending markets, making decentralized trading and borrowing more efficient. At the same time, understanding its mechanics and risks is essential for evaluating whether a given yield is sustainable and appropriate for a user’s risk tolerance.