What Is Yield Farming?
Yield farming is the practice of deploying crypto assets into DeFi protocols to earn a return — in the form of interest, trading fees, or newly minted tokens. It's the on-chain equivalent of putting money to work, but with significantly different mechanics (and risk profiles) compared to traditional savings accounts or bond markets.
At its core, yield farming takes advantage of the fact that DeFi protocols need liquidity to function. They incentivize providers by sharing revenue and sometimes issuing governance tokens as additional rewards.
How Liquidity Pools Work
A liquidity pool is a smart contract holding reserves of two or more tokens. When a trader wants to swap Token A for Token B, they interact with the pool rather than a human counterparty. The pool's pricing algorithm — most commonly the constant product formula (x × y = k) — automatically adjusts prices based on the ratio of tokens in the pool.
Liquidity providers (LPs) deposit an equal value of both tokens and receive LP tokens representing their share of the pool. These LP tokens can be staked further in "farms" to earn additional rewards — creating the layered return structure that gave yield farming its name.
Where Returns Come From
| Return Source | How It Works | Typical Form |
|---|---|---|
| Trading Fees | A percentage of each swap is distributed to LPs | More LP tokens / base assets |
| Lending Interest | Borrowers pay interest on loans | Continuously accruing balance |
| Protocol Rewards | Native tokens distributed as incentives | Governance/reward tokens |
| Staking Rewards | Validators/delegators share block rewards | Native chain token |
Understanding Impermanent Loss
Impermanent loss (IL) is the most misunderstood risk in liquidity provision. It occurs when the price ratio of your deposited tokens changes after you enter the pool. The AMM algorithm rebalances the pool automatically, meaning you end up holding more of the depreciating token and less of the appreciating one — compared to simply holding both tokens in your wallet.
The loss is called "impermanent" because it disappears if prices return to your entry ratio. However, if you withdraw while prices have diverged, the loss becomes permanent. IL is most severe in volatile, uncorrelated token pairs and least severe in stable pairs (e.g., USDC/USDT).
Types of Yield Strategies
Stable Yield (Lower Risk)
- Lending stablecoins (USDC, DAI, USDT) on established money markets.
- Providing liquidity in stablecoin pools (Curve's 3pool, for example).
- Staking liquid staking tokens (stETH, rETH) to earn ETH staking yield.
Volatile Yield (Higher Risk)
- Providing liquidity in ETH/token pairs on Uniswap or similar DEXs.
- Participating in new protocol liquidity mining programs for boosted token rewards.
- Leveraged yield strategies that amplify both gains and risks.
APY vs. APR: What the Numbers Mean
APR (Annual Percentage Rate) is the simple annual return without compounding. APY (Annual Percentage Yield) accounts for compounding — reinvesting earnings to generate returns on returns. Many DeFi dashboards display APY, which assumes you compound at a specific frequency. Always check the underlying assumptions when comparing yields across protocols.
Practical Tips Before You Start
- Start with stablecoin pools to eliminate price volatility while learning the mechanics.
- Calculate net yield after gas costs — frequent small transactions can be unprofitable on Ethereum mainnet.
- Diversify across protocols to reduce smart contract risk concentration.
- Monitor your positions regularly; APYs fluctuate as TVL and token prices change.
- Understand the token emission schedule of any farming reward — high inflation can erode token value quickly.
Yield farming can be a powerful tool for generating returns on idle crypto assets — but only when approached with a clear understanding of the mechanics and an honest accounting of all associated risks.