TL;DR: Yield farming means putting your crypto to work in DeFi protocols to earn returns — through lending, providing liquidity, staking, or more complex strategies. Returns can be high, but so can the risks.

What is yield farming?

In traditional finance, you deposit money in a savings account and earn interest. The bank lends your money to borrowers, takes a cut, and passes some of the interest back to you. Simple enough.

Yield farming is the DeFi equivalent — but instead of one bank, you have hundreds of protocols competing for your deposits. You move your crypto to wherever the best returns are. Lending platforms, liquidity pools, staking protocols, automated vaults — each offers a different type of return for a different type of risk.

The term "yield farming" comes from the idea of actively cultivating the best yields across the DeFi landscape, much like a farmer rotating crops for the best harvest. Some people simply deposit and wait. Others constantly move capital between protocols chasing the highest rates.

For a broader introduction to the DeFi ecosystem, see What Is DeFi? and DeFi Explained.

How does yield farming work?

The basic mechanics follow a consistent pattern regardless of the specific strategy:

  1. You deposit tokens into a protocol — this could be a lending platform, a liquidity pool on a decentralized exchange, or an automated vault.
  2. The protocol uses your tokens — it lends them out to borrowers, uses them to facilitate trades, or deploys them in other strategies.
  3. You earn rewards — these can take the form of interest from borrowers, trading fees from swaps, governance tokens from the protocol, or a combination of all three.
  4. Some protocols offer extra incentives — on top of the organic yield, protocols often distribute their own tokens as additional rewards to attract deposits. This is called liquidity mining.

The key insight is that DeFi protocols need liquidity to function. Lending platforms need deposits to lend. DEXs need token pairs to facilitate trades. Protocols are willing to pay for that liquidity, and yield farming is how you earn those payments.

Types of yield farming strategies

Lending and borrowing

The simplest form of yield farming. You deposit tokens — often stablecoins like USDC or DAI — into a lending protocol like Aave, Compound, or Morpho. Borrowers pay interest to use your tokens, and you earn a share of that interest.

Typical rates for stablecoin lending range from 2-8% APY depending on market demand. When borrowing demand is high, rates go up. When it is low, rates fall. This is one of the most straightforward strategies because the yield comes from real economic demand.

Liquidity provision

You add tokens to a liquidity pool on a decentralized exchange like Uniswap, Curve, or Raydium. The pool uses your tokens to facilitate trades, and you earn a share of the trading fees.

The risk here is impermanent loss — if the price of one token in your pair moves significantly relative to the other, you can end up with less value than if you had simply held the tokens. For a deep dive, see What Is Impermanent Loss? and Liquidity Pools.

Staking

You lock tokens to help secure a blockchain network or protocol, earning rewards in return. Examples include staking ETH through Lido to receive stETH, or staking SOL through Jito to receive JitoSOL. These receipt tokens continue earning rewards and can be used elsewhere in DeFi.

For a complete guide, see What Is Staking?.

Vault strategies

You deposit tokens into auto-compounding vaults offered by protocols like Yearn or Beefy. These vaults automatically harvest rewards, sell them, and reinvest the proceeds — optimizing your yield without manual intervention. The vault handles the complexity; you simply deposit and let it work.

Recursive borrowing (looping)

An advanced strategy: you deposit tokens as collateral, borrow against them, deposit the borrowed tokens again, borrow again, and repeat. Each loop amplifies your exposure and your yield — but also amplifies your liquidation risk. A small price movement in the wrong direction can unwind the entire position.

Points farming

A newer trend popular from 2024 through 2026. You provide liquidity or use specific protocols to earn "points" — off-chain rewards that may convert to token airdrops in the future. The yield is speculative: you are betting that the points will eventually be worth something. Some participants have earned significant airdrops this way; others have earned nothing.

Liquidity mining

When a protocol distributes its own governance tokens as extra rewards to users who deposit liquidity. The tokens are an incentive to attract capital. Compound popularized this model in 2020 with COMP token rewards.

Recursive borrowing

Depositing, borrowing against the deposit, depositing the borrowed amount, and borrowing again — repeating to amplify yield exposure. Also called "looping." Multiplies both returns and liquidation risk.

Impermanent loss

The difference in value between holding tokens in a liquidity pool versus simply holding them in your wallet. Occurs when token prices in the pool diverge. Called "impermanent" because it reverses if prices return to their original ratio — but in practice, that often does not happen.

Vault strategies

Automated smart contracts that take deposits, deploy them across DeFi protocols, harvest rewards, and reinvest — all without manual intervention. Yearn and Beefy are the most well-known vault protocols.

APR vs APY

APR (Annual Percentage Rate) is the simple interest rate without compounding. APY (Annual Percentage Yield) includes the effect of compounding. A 100% APR compounded daily becomes roughly 171.5% APY. Always check which one a protocol is advertising.

Where do the yields come from?

This is the most important question any yield farmer should ask. Yields are not magic — every return has a source. Understanding that source tells you whether the yield is sustainable or a ticking time bomb.

  • Borrower interest (real demand) — Someone is paying to borrow your tokens. This is real economic activity and the most sustainable source of yield.
  • Trading fees (real volume) — Traders are swapping through the pool your tokens sit in. More volume means more fees. This is also real and sustainable, as long as volume persists.
  • Token incentives and emissions (protocol subsidies) — The protocol is printing its own token and giving it to you as a reward. This is a subsidy to attract liquidity. It works in the short term but dilutes the token supply over time. Not sustainable long-term unless the protocol generates real revenue.
  • Points and airdrop speculation — You are earning points that might convert to tokens someday. The yield exists only if the eventual airdrop is valuable. This is the most speculative source — essentially betting on future value that may never materialize.

The golden rule of yield farming: If you cannot identify where the yield comes from, you might BE the yield. Unsustainable incentive programs eventually end, and when they do, deposits flee and token prices collapse.

Risks of yield farming

Yield farming can be lucrative, but the risks are real and varied. Understanding them is essential before committing capital. For a comprehensive framework, see Understanding Risk in DeFi.

  • Smart contract risk — Every DeFi protocol runs on smart contracts. If there is a bug or vulnerability, an attacker can drain funds. Even audited protocols have been exploited.
  • Impermanent loss — For liquidity pool positions, price divergence between tokens in the pair can reduce the value of your position below what you would have earned by simply holding.
  • Liquidation risk — For leveraged strategies like recursive borrowing, a price drop can trigger liquidation, causing you to lose a significant portion of your deposit.
  • Token price risk — If you are earning rewards in a volatile governance token that drops 90%, your impressive APY is worthless in dollar terms.
  • Rug pulls and protocol failures — Smaller or unaudited protocols may have malicious developers who drain the contracts, or the project may simply fail and shut down.
  • Gas costs eating into returns — On networks like Ethereum, transaction fees can be significant. If you are farming a small amount, gas costs can consume your entire yield.
  • Complexity risk — More layers mean more things that can break. A strategy that involves staking, then lending the receipt token, then using that as collateral, depends on every layer working correctly. One failure cascades through the entire stack.
  • Regulatory risk — The regulatory landscape for DeFi is evolving. Activities that are permissible today may face restrictions in the future, potentially affecting access to protocols or the value of governance tokens.

APR vs APY: what the numbers really mean

DeFi protocols love to show big numbers. Understanding what those numbers actually represent is critical.

  • APR (Annual Percentage Rate) is the simple rate without compounding. If you earn 1% per month, your APR is 12%.
  • APY (Annual Percentage Yield) includes the effect of compounding. That same 1% per month, compounded, becomes approximately 12.68% APY.

But here is what the headline numbers often hide:

  • A 100% APR does not mean you will double your money if the reward token drops 80% in value over the year.
  • Always check: is the yield paid in stablecoins, in ETH, or in a volatile governance token? The denomination matters enormously.
  • Historical yields are not guarantees. A pool showing 50% APY today may show 5% next week if deposits flood in or incentives end.
  • Auto-compounding vaults show APY. Manual strategies typically show APR. Comparing them directly is misleading.

For more on how these metrics work, see DeFi Metrics.

The DeFi Summer of 2020 — and what happened after

Yield farming as a mainstream activity began in June 2020, when Compound launched COMP token mining. Users who lent and borrowed on Compound received COMP tokens as rewards on top of their regular interest. The returns were extraordinary, and a wave of protocols followed suit.

What followed became known as DeFi Summer:

  • Yields of 1,000%+ APY were common across new protocols
  • Billions of dollars flooded into DeFi in a matter of weeks
  • New protocols launched daily, each offering higher incentives to attract deposits
  • The total value locked (TVL) in DeFi exploded from under $1 billion to over $10 billion

But most of those yields were unsustainable token emissions. Protocols were printing governance tokens and distributing them freely. When the initial excitement faded:

  • Many governance tokens dropped 95%+ from their peaks
  • Protocols that relied purely on token incentives saw deposits vanish overnight
  • Several projects turned out to be rug pulls
  • Users who farmed and held governance tokens often ended up worse off than those who simply held ETH

The industry matured significantly since then. Yields in 2026 are lower than the DeFi Summer peaks, but they are more real — increasingly backed by actual borrowing demand, trading volume, and sustainable protocol revenue rather than pure token emissions.

How CleanSky helps

Yield farming often means having positions spread across multiple protocols and chains. Keeping track of what you are earning — and what risks you are exposed to — gets complicated fast.

  • See all your yield-generating positions across protocols and chains — lending deposits, LP positions, staked tokens, and vault deposits in one unified view.
  • Track what you are earning and where — CleanSky shows your accumulated rewards, current rates, and historical performance across every position.
  • Identify concentrated risk — see if too much of your capital is in a single protocol, chain, or strategy type.

See all your DeFi yields in one place. CleanSky automatically discovers your yield farming positions across protocols and chains — and shows you exactly what you are earning and where your risk is concentrated.

Try CleanSky Free →

Keep learning

DeFi Explained

Understand the full landscape of DeFi services, from lending to derivatives.

Liquidity Pools

How liquidity pools work, how fees are earned, and what to watch for.

What Is Staking?

How staking works, typical reward rates, and the difference between native and liquid staking.

What Is Impermanent Loss?

The hidden cost of providing liquidity, explained with clear examples.

Understanding Risk

Smart contract risk, liquidation risk, and other risks every DeFi user should understand.

DeFi Metrics

How APR, APY, and TVL are calculated, and what they really tell you.