Yield farming was one of the ideas that put decentralized finance, or DeFi, on the map. It promises something simple and seductive: put your crypto to work and earn a return, without a bank, broker or middleman.

But the eye-watering APYs you see advertised come with real risk. In this guide, we explain how yield farming works, where the returns actually come from, and how to approach it without getting burned.

What Is Yield Farming?

Yield farming is the practice of lending or locking up your crypto in DeFi protocols to earn rewards. Those rewards typically come in the form of trading fees, lending interest, or newly issued governance tokens.

Think of it as the crypto equivalent of earning interest on savings, except you provide liquidity to decentralized markets instead of depositing at a bank.

How Yield Farming Works

Most yield farming happens through liquidity pools. A pool is a smart contract that holds two or more assets so that traders can swap between them. When you add your tokens to a pool, you become a liquidity provider (LP) and earn a share of the fees.

On top of trading fees, protocols often reward LPs with their native token. This extra "incentive" is usually what pushes advertised yields into the hundreds of percent.

Liquidity Pools Explained

Common Yield Farming Strategies

Understanding APY and APR

APR is the simple annualized rate you earn, while APY accounts for compounding — reinvesting rewards back into the position. Because compounding can happen constantly in DeFi, advertised yields are usually shown as APY, which is always higher than the equivalent APR.

MetricMeaningBest For
APRSimple annualized return without compoundingComparing base rates
APYAnnualized return including compoundingEstimating real growth

Be skeptical of triple-digit APYs. They usually reflect temporary token incentives, not sustainable returns, and the reward token can lose value faster than you earn it.

The Risks of Yield Farming

  1. Impermanent loss — your deposited assets can lose value relative to simply holding them.
  2. Smart contract risk — a bug or exploit can drain the protocol.
  3. Rug pulls — anonymous teams can vanish with user funds.
  4. Token inflation — reward tokens can crash as supply floods the market.
  5. Regulatory risk — rules around DeFi are still evolving.

Impermanent Loss, Explained

Impermanent loss happens when the price of the assets in your pool changes relative to each other. The pool constantly rebalances, and the more the prices diverge, the more value you lose compared with just holding the tokens.

The loss is "impermanent" because it only becomes permanent if you withdraw while prices are diverged. If prices return to their original ratio, the loss disappears. Stablecoin pairs carry almost no impermanent loss, which is why they are popular for cautious farmers.

How to Get Started Safely

Frequently Asked Questions

Is yield farming the same as staking?

Not exactly. Staking secures a proof-of-stake network and earns block rewards, while yield farming provides liquidity or lending to earn fees and incentives.

Can I lose money yield farming?

Yes. Impermanent loss, token crashes, smart contract bugs and rug pulls can all cause losses, even when the advertised APY is high.

What is a safe APY to expect?

Sustainable yields on established stablecoin pools are often in the single digits. Anything much higher usually carries meaningful extra risk.

Conclusion

Yield farming can be a powerful way to earn passive income, but the highest yields always come with the highest risk. Understand where the returns come from, start with stablecoins on established protocols, and never chase APY blindly. Done carefully, yield farming can put idle crypto to work — done recklessly, it can destroy it.