Yield Farming Explained: Rewards and Real Risks

Yield farming explained: how DeFi protocols pay rewards for providing liquidity, where the yield really comes from, and the real risks behind high APYs.

CCM ResearchCertified Crypto MarketOct 3, 20264 min read

Yield farming is the practice of depositing crypto into decentralized finance (DeFi) protocols, usually liquidity pools or lending markets, to earn rewards in the form of fees, interest or newly issued tokens. Farmers often move funds between protocols to chase the highest return. The yields can look attractive, but they come with real risks, including smart-contract failures, impermanent loss and reward tokens that lose value.

Yield farming took off during the "DeFi summer" of 2020, when protocols began handing out governance tokens to users. Today it ranges from relatively simple stablecoin lending to complex leveraged strategies. This guide explains where the returns actually come from and what can go wrong.

How Yield Farming Works

Most yield farming falls into a few categories:

Providing liquidity to a DEX

Decentralized exchanges rely on liquidity pools: smart contracts that hold pairs of tokens so traders can swap between them. When you deposit both tokens, you receive LP (liquidity provider) tokens representing your share of the pool, and you earn a portion of the trading fees.

Lending

On lending protocols, you deposit assets that borrowers can take out against collateral. Borrowers pay interest, which flows to lenders. Rates change with supply and demand.

Liquidity mining

To attract deposits, protocols often pay extra rewards in their own token on top of fees or interest. You may need to "stake" your LP tokens in a farm contract to receive them. This is where many of the eye-catching APYs come from. See also: Protocol-Owned Liquidity Explained.

Yield aggregators and vaults

Some protocols automate the process: they move deposits between strategies, harvest rewards and reinvest them. This saves effort and gas but adds another layer of smart-contract risk.

Where the Yield Really Comes From

SourceExampleSustainability
Trading feesShare of each swap in a DEX poolDepends on real trading volume
Borrower interestInterest on a lending marketDepends on real borrowing demand
Token emissionsNewly minted protocol tokensOften declines; dilutes holders
Incentives from partnersA project paying for liquidityTemporary by design
LeverageBorrowing to farm moreAmplifies both gains and losses

A useful question to ask about any farm: who is paying me, and why? If the only answer is "the protocol mints new tokens," your return depends on someone else buying those tokens later. Related reading: Real Yield in DeFi Explained.

APR vs APY

  • APR (annual percentage rate) is the simple yearly rate.
  • APY (annual percentage yield) assumes rewards are reinvested and compounded.

Both are snapshots based on current conditions. If more people deposit, your share of rewards drops. If the reward token falls 50%, the dollar value of your yield halves. Treat any displayed rate as an estimate that can change daily.

The Real Risks

  1. 1Smart-contract risk. Bugs or exploits can drain a protocol. Audits reduce but do not eliminate this risk.
  2. 2Impermanent loss. When the prices of the two tokens in a pool diverge, LPs can end up with less value than if they had simply held the tokens. Our guide to impermanent loss shows the math.
  3. 3Reward-token collapse. Farmers often sell rewards immediately, pushing the token price down. High emissions can turn a large APY into a loss.
  4. 4Liquidations. Leveraged strategies can be wiped out quickly in a sharp market move.
  5. 5Rug pulls and admin keys. Some farms are designed to steal deposits or give developers the power to withdraw funds. See fake DeFi yield farms for warning signs.
  6. 6Stablecoin depegs. Even "safe" stablecoin farms can lose money if a stablecoin loses its peg.
  7. 7Gas costs and complexity. On expensive networks, fees for entering, harvesting and exiting can consume small positions entirely.

A Pre-Farming Checklist

Before depositing, work through these questions:

  • Is the protocol established, with a track record and public audits from reputable firms?
  • Can admin keys change contracts or move user funds? Is there a timelock?
  • What share of the APY comes from fees versus token emissions?
  • How liquid is the reward token? Could you sell it without crashing the price?
  • What happens to your position if one token drops 50%?
  • Have you verified the official website and contract addresses rather than following links from social media?
  • Is the amount small enough that losing it would not hurt your finances?

Tracking positions in a portfolio tracker helps you see your actual returns after fees and price moves, not just the advertised rate.

Common Mistakes

  • Chasing the highest APY without understanding where it comes from.
  • Ignoring impermanent loss on volatile pairs.
  • Leaving reward tokens unsold until they are worth very little, or selling everything without considering taxes.
  • Approving unlimited token spending to unknown contracts and never revoking it.
  • Forgetting that tax treatment of farming rewards differs by country.
  • Measuring success in reward tokens instead of in the value of your whole position, including fees and price changes.

Bottom line

Yield farming can earn genuine returns from trading fees and lending interest, but many headline yields are paid in inflationary tokens and come bundled with smart-contract, market and scam risks. Start with established protocols, understand exactly who pays your yield, keep position sizes modest and treat unusually high APYs as a reason for more caution, not less. For more background, browse our DeFi articles.

Frequently asked questions

What is yield farming in crypto?

Yield farming is depositing crypto into decentralized finance protocols, such as liquidity pools or lending markets, to earn rewards. Rewards usually come from trading fees, interest paid by borrowers, or extra tokens the protocol issues to attract deposits. Farmers often move funds between protocols to chase higher returns.

Where does yield farming yield come from?

Sustainable yield comes from real activity: trading fees paid to liquidity providers and interest paid by borrowers. Much of the advertised yield, however, comes from newly minted reward tokens. If those tokens fall in price, the real return can be far lower than the headline APY.

Can you lose money yield farming?

Yes. You can lose money through smart-contract hacks, impermanent loss, falling reward-token prices, liquidations if you borrowed, and scams or rug pulls. A high APY does not protect you from any of these and often signals higher risk.

What is the difference between APR and APY in yield farming?

APR is the simple annual rate without compounding. APY includes compounding, assuming rewards are reinvested at the same rate. Because DeFi rates change constantly, both figures are estimates based on current conditions, not guarantees.

This article is for education only and isn't financial, legal or tax advice. Crypto is volatile and you can lose money. Check live prices and project details on each coin's page before you act.

Keep reading

More in DeFi →