Skip to content
Intermediate guide

DeFi Yield Farming explained: APR, APY, liquidity pools and risk

How yield farming works, where returns come from, what impermanent loss means and why high APYs can be dangerous.

14 min readDeFiYield FarmingLiquidityIntermediate

Yield farming means putting crypto to work inside DeFi protocols to earn fees, interest or token incentives

The promise sounds simple: deposit assets, earn yield. The reality is messier. That yield can come from trading fees, borrower interest, protocol subsidies or some combination of all three. Each source has a different risk profile.

That is why yield farming attracts people so quickly and burns beginners just as quickly. A dashboard shows 18% APY and the brain stops asking where the money comes from. Bad move. In DeFi, a high number is not an explanation. It is a question.

If you are completely new to decentralized finance, read DeFi basics and stablecoins first. Yield farming makes much more sense once the plumbing is familiar.

Where yield actually comes from

There are only a few real engines behind yield farming. Most products mix them.

  • Trading fees: liquidity providers earn a share when traders swap through a pool.
  • Borrowing interest: lenders deposit assets and borrowers pay interest to use them.
  • Protocol incentives: a project emits extra tokens to attract liquidity or users.

Those sources are not equally healthy. Trading fees can be organic if real volume exists. Borrow interest can make sense if demand is genuine. Token incentives are the shakiest because they often depend on inflation, speculation and people pretending that emissions are the same thing as sustainable cash flow.

When a farm advertises huge returns, ask what percentage comes from real usage and what percentage comes from freshly printed reward tokens. That single question filters out a lot of nonsense.

Liquidity pools: the engine room of many farms

A liquidity pool is a pot of tokens locked in a smart contract so others can trade against it. Instead of matching every buyer with a seller through a traditional order book, many decentralized exchanges use pools plus an automated pricing formula.

The famous beginner example is an ETH/USDC pool. Liquidity providers deposit both assets into the pool. Traders then swap one for the other. Every swap pays a fee, and that fee is shared among the liquidity providers.

Why does a protocol need your liquidity? Because without it, users cannot trade smoothly. Your capital becomes market infrastructure.

That sounds elegant, and often it is. But once you provide liquidity, you are no longer just holding two coins. You are exposing yourself to pool mechanics, price movement between the two assets and smart contract risk.

APR vs APY: same alphabet, different math

Beginners mix these up constantly.

Metric What it means What it ignores or assumes
APR Annual percentage rate without compounding Does not assume you reinvest rewards
APY Annual percentage yield with compounding Assumes rewards are reinvested over time

Example: A farm shows 12% APR. If you simply leave rewards untouched, that is roughly the return rate before price changes and fees. If the same strategy shows 12.7% APY, that extra 0.7% comes from the assumption that you keep harvesting and compounding.

The catch: compounding is not free. Every harvest can cost gas, and the reward token itself can fall in price while you are feeling clever about your spreadsheet. APY is useful math, but it is not a promise.

The main types of yield farming

1) DEX liquidity provision

You deposit two assets into a decentralized exchange pool, for example ETH and USDC on Uniswap. In return, you earn part of the swap fees. Some protocols may add token incentives on top.

This is the most recognizable form of yield farming and also the one most tied to impermanent loss, which we will cover below.

2) Lending and borrowing protocols

On protocols such as Aave, you can deposit assets and earn lending yield when borrowers pay interest. Sometimes the protocol adds bonus rewards to bootstrap activity.

This is often easier to understand than liquidity provision because you are not pairing two assets in one AMM pool. Risk still exists: smart contract failure, bad collateral events, stablecoin problems and governance mistakes all matter.

3) Stablecoin farms

Some users prefer stablecoin strategies because they want yield without holding a volatile pair. That can reduce price swings, but it does not eliminate risk. Stablecoins can depeg, protocols can fail and yields can collapse once incentives dry up.

4) Layered and looped strategies

More advanced users stack yield sources: deposit a token, receive a receipt token, use that token elsewhere, then borrow against it or restake it. This can juice returns and complexity at the same time. Beginners should treat these strategies like power tools: useful in expert hands, expensive in careless ones.

Impermanent loss: the risk that surprises almost everyone

Impermanent loss happens when the relative price of the two assets in your liquidity pool changes. The pool automatically rebalances, so when one asset rises sharply, you end up holding less of the winner and more of the laggard than you would have if you had simply held both outside the pool.

Example:

  • You deposit $1,000 of ETH and $1,000 of USDC into an ETH/USDC pool.
  • ETH later doubles in price while USDC stays flat.
  • The pool rebalances because traders arbitrage the price difference.
  • When you withdraw, you own less ETH and more USDC than at the start.

You still may have more dollars than when you entered, especially if fees were strong. But you can still end up with less value than if you had simply held the original ETH and USDC. That gap is impermanent loss.

Why "impermanent"? Because if prices move back toward the original ratio, the loss can shrink. But many people withdraw while the divergence still exists, which turns the paper effect into a real one. In practice, plenty of farmers learn that the word impermanent sounds much friendlier than the experience feels.

The real risk list: not just impermanent loss

Smart contract risk

Yield farming lives inside code. If the contract has a vulnerability, funds can be drained. Audits help, but audited does not mean invincible. Attackers only need one exploitable mistake.

Oracle and pricing risk

Many DeFi systems depend on external price feeds. If an oracle fails or is manipulated, liquidations and bad debt can spread quickly.

Reward token risk

A farm may pay you in a newly issued governance token. If the market starts dumping that token faster than you can sell it, the headline APY becomes cosmetic. Real return can sink to zero or worse.

Stablecoin depeg risk

Stablecoin pools feel safer because price swings look smaller. But if one coin in the pool loses its peg, the pool can fill you with the weaker asset. That is not a theoretical edge case. It has happened before.

Governance and platform risk

Admin keys, protocol upgrades, bad incentives or reckless governance votes can change a strategy quickly. DeFi is code, but it is also people, and people do reckless things when number-go-up culture takes over.

How to read a farm page without getting hypnotized by APY

When you open a farm, slow down and check the following:

  1. Which assets are deposited? Volatile pair or stable pair?
  2. Where does the yield come from? Fees, interest, token emissions?
  3. What chain are you on? Gas costs matter.
  4. What is the TVL? Not a guarantee, but can indicate whether the strategy is already crowded or tiny.
  5. What happens if one asset crashes or depegs?
  6. Can you exit instantly? Some vaults or strategies have cooldowns or extra steps.

If a page explains the upside in huge font and the mechanics in tiny links, that is a personality test. Fail it and keep your money.

A cautious first test with real money

If you want to learn by doing, keep the first experiment extremely small.

  1. Use a reputable protocol with a long track record.
  2. Start on a single chain you understand.
  3. Pick a simple strategy such as lending a major stablecoin or a small stable pair.
  4. Deposit an amount small enough that a total loss would be annoying, not damaging.
  5. Track every step: deposit fee, approval, claimed rewards, withdrawal process.

That last step matters because DeFi rewards are often eaten by invisible frictions. A strategy can look great on a dashboard and mediocre once gas, swaps and taxes are counted. If you are in Germany, pair this with our tax guide. Frequent harvesting creates records whether you like it or not.

Beginner mistakes that get expensive fast

  • Chasing the highest APY: the highest number is often the weakest product.
  • Ignoring the reward token: a 40% APY paid in a collapsing token is not impressive.
  • Skipping wallet hygiene: DeFi needs secure wallet habits. Read wallet basics.
  • Using money you cannot lock up mentally: if you panic over normal volatility, you are probably overexposed.
  • Not understanding the exit path: many users learn how to leave only when they want out fast.

Quick answers to common questions

Is yield farming the same as staking?

No. Staking usually refers to helping secure a proof-of-stake network. Yield farming is broader and often means using DeFi protocols to earn returns from liquidity provision, lending or incentives.

What is the least confusing beginner strategy?

Usually lending a major stablecoin on a reputable protocol. Not risk-free, but simpler than volatile liquidity pools or looped vault strategies.

If APY is high, does that mean the strategy is good?

Not at all. A high APY can signal temporary incentives, inflated token rewards or fragile risk. Start by asking what can break.

Next steps

The best follow-up is DeFi basics, stablecoins and scam protection. Yield farming can be useful when you understand the machine. Without that, it is usually just a fast way to discover how many ways a nice-looking dashboard can mislead you.

Related coins to explore

Want to go deeper? Open these coin pages to see market data and AI insights.

Related guides

These guides cover similar topics and make good next reads.

Ready to put this into practice?

The Crypto Profile Finder helps you explore an educational profile category based on your answers.

Continue learning

Crypto portfolio rebalancing: when to do it and how to avoid overtrading

Next guide →
Editorial Team

CoinVett Team

The CoinVett editorial team combines crypto market expertise with AI-powered analysis tools.

This website only uses technically necessary cookies. No tracking, no analytics.