Topic Terms

What is Yield Farming in Crypto

Yield farming is a DeFi strategy of deploying cryptocurrency assets across lending protocols, liquidity pools, and other platforms to maximize returns — earning interest, trading fees, and token rewards in exchange for providing liquidity.

Yield farming (also called liquidity mining) is a DeFi strategy in which cryptocurrency holders deploy their assets across various protocols to earn the maximum possible returns — combining interest from lending, trading fees from liquidity provision, and additional governance token rewards distributed by protocols seeking to attract capital. Think of it as aggressively optimizing yield across a portfolio of DeFi instruments, often moving capital between protocols to chase the best rates.

Yield farming became a phenomenon in "DeFi Summer" 2020, when Compound's launch of COMP governance token rewards created an explosion of activity, with some strategies briefly offering four-digit APYs.

How Yield Farming Works

A typical yield farming strategy involves one or more of:

Liquidity Provision (LP): Depositing a pair of tokens (e.g., ETH + USDC) into a DEX liquidity pool like Uniswap or Curve. In return, you receive LP tokens representing your pool share and earn a portion of trading fees generated by the pool.

Staking LP Tokens: Many protocols allow you to stake LP tokens in a separate reward contract, earning additional governance tokens (sometimes called "farming" the native token).

Lending: Depositing assets in lending protocols like Aave or Compound earns interest from borrowers, plus often additional token rewards.

Leveraged Farming: Borrowing against deposited collateral to increase position size and amplify returns — also amplifies loss risk.

Compounding: Automatically reinvesting earned tokens back into the strategy to earn yield on yield.

Yield Farming Returns: APY vs. APR

Returns are quoted as:

  • APR (Annual Percentage Rate): Simple return without compounding
  • APY (Annual Percentage Yield): Compounded return — significantly higher when compounding frequently

During peak DeFi activity (2020–2021), some farms offered:

  • 50–1,000%+ APY in new protocol token rewards (often temporary and unsustainable)
  • 5–20% on stablecoins (historically high versus traditional finance)
  • 3–10% on ETH and major tokens

These high yields have generally compressed. By 2024, sustainable stablecoin yields in established DeFi protocols ran 3–8%, and ETH yields (including staking) ran 3–6%.

Key Risks of Yield Farming

Impermanent Loss (IL)

The most misunderstood risk for liquidity providers. When asset prices change relative to each other after you deposit in a pool, you end up with a different token ratio than you started with — often worth less than simply holding the tokens outside the pool.

Example: You deposit $1,000 of ETH + $1,000 of USDC. ETH doubles in price. The AMM rebalances, leaving you with less ETH and more USDC — you'd have been better off holding ETH outright. The "impermanent loss" is the difference — it's "impermanent" because if prices return to the original ratio, the loss disappears; it becomes permanent when you exit the pool.

Smart Contract Risk

Yield farming involves interacting with multiple smart contracts. Each contract is a potential failure point — code bugs have led to billions in losses across DeFi. More complex strategies with more protocols = more risk layers.

Token Inflation and Reward Decay

Protocol token rewards (the "mining" aspect) often have high initial issuance that declines over time. Many farming tokens were hyperinflationary — early farmers would dump rewards, crashing the token price. Calculating sustainable yield (excluding speculative token appreciation) is critical.

Liquidation Risk

Leveraged farming strategies can be liquidated if collateral values drop. In volatile markets, what appears to be a safe collateral ratio can invert rapidly.

Gas Fees

Frequent rebalancing, compounding, and strategy switching on Ethereum mainnet can consume significant gas fees — reducing or eliminating returns for smaller capital amounts. Layer 2 networks have substantially reduced this problem.

Tools for Yield Farmers

  • DeFiLlama: Tracks protocol TVL and yields across all chains
  • Zapper / Debank: Portfolio dashboards for tracking DeFi positions
  • Yearn Finance: Automated yield optimizer — manages strategies on your behalf
  • Beefy Finance: Autocompounding vaults across multiple chains

Yield farming at its best is sophisticated capital deployment requiring careful risk assessment. At its worst, it's chasing unsustainable incentives and losing principal to impermanent loss, smart contract exploits, and token inflation. Understanding the mechanics before deploying capital — particularly the risks — is essential.