Topic guide

What Is Yield Farming? How It Works, Where the Yield Comes From and the Risks

Illustration of tokens flowing through lending, liquidity, and staking mechanisms around a central vault
On this page

Yield farming definition

Yield farming is the practice of putting crypto assets to work in decentralized finance (DeFi) protocols to earn a return. Farmers lend tokens to borrowers, deposit them into liquidity pools that power decentralized exchanges, or place them in vaults and staking contracts, and are paid in interest, trading fees and reward tokens. Returns are variable, usually quoted as an APY, and carry risks that bank deposits don’t.

The term comes from the idea of “farming” a crop of new tokens. It is also called liquidity mining when the main reward is a protocol’s own token paid out to attract deposits.

How yield farming works

At its simplest, yield farming has four steps:

  1. Connect a self-custody wallet to a DeFi protocol.
  2. Deposit assets into a smart contract: a lending pool, a liquidity pool or a vault.
  3. Receive a receipt token that represents your share, such as an aToken from Aave or an LP token from a DEX.
  4. Earn yield as the protocol pays interest, fees or rewards, then withdraw by returning the receipt token.

Some farmers then take the receipt token and deposit it somewhere else to earn a second layer of yield. This “composability” is what makes DeFi yield possible and also what makes risks stack up.

How a yield farming position flows Self-custodywallet Deposit assetsin a protocol Receive areceipt token Earn yieldand withdraw Depositreceipt tokenelsewhere Second layerof yield Risks stack up
The main path turns a deposit into a receipt token that earns yield and can be redeemed. Reusing that receipt token in another protocol adds a second layer of yield—and another layer of dependency risk.

Where the yield comes from

Every yield farming return traces back to a handful of sources:

Source Who pays Example How durable
Borrower interest People borrowing against collateral Supplying USDC to Aave Lasts as long as borrowing demand
Trading fees Traders swapping on a DEX Providing liquidity on Uniswap or Curve Depends on volume; offset by impermanent loss
Staking rewards The network (issuance and fees) Liquid staking ETH with Lido Set by the protocol; fairly stable
Token incentives The protocol, by issuing new tokens Liquidity mining rewards Temporary; fades as prices fall or emissions end
Strategy returns Mixtures of the above, sometimes leveraged Auto-compounding vaults, Pendle fixed yield Depends on the strategy

Yield dashboards often split a pool’s APY into base yield (interest and fees) and reward yield (incentive tokens). Base yield is what remains when the incentives stop.

Types of yield farming

  • Lending. Supply an asset to a lending market and earn borrower interest, with no impermanent loss. See how to lend your crypto on DeFi.
  • Providing liquidity. Deposit a token pair into a DEX pool as a liquidity provider and earn a share of trading fees, plus incentives in some pools. See how liquidity pool fees work.
  • Staking and liquid staking. Earn network rewards on proof-of-stake tokens while keeping a tradable token. See staking vs. lending.
  • Stablecoin farming. Lend or pool dollar-pegged tokens to earn yield with little price volatility. See which platforms suit stablecoin yield farming.
  • Vaults and aggregators. Let a vault harvest and compound rewards automatically.
  • Fixed yield. Lock in a known rate to maturity using yield-tokenization protocols such as Pendle.
  • Leveraged yield farming. Borrow to enlarge a position, adding liquidation risk.

Our guide to yield farming strategies walks through each one, from simple to advanced.

APR vs. APY

Yield farming rates are quoted two ways:

  • APR is the simple annual rate without compounding: annual return ÷ amount invested × 100.
  • APY assumes rewards are reinvested: APY = (1 + r/n)^n − 1, where r is the APR and n is the number of compounding periods per year.

A 10% APR compounded daily is about 10.5% APY. Many farms advertise APY that only holds if you compound often and the reward token’s price stays flat. Our explainer on what APY means in crypto has worked examples.

What does yield farming pay in 2026?

Rates move daily, so treat these as a snapshot from DefiLlama in mid-November 2026, base yield only:

  • Stablecoin lending and savings on the largest Ethereum markets (Aave V3, Sky’s sUSDS, Spark): roughly 3–4.5%.
  • ETH liquid staking: roughly 1.8–2.7%, with Lido’s stETH about 2.2%.
  • SOL liquid staking: around 5%.
  • Volatile-pair DEX pools and incentive farms: anywhere from low single digits to triple digits, mostly from reward tokens and before impermanent loss.

If a farm pays far above the going lending rate for the same asset, ask what extra risk explains the gap. Check live figures on DefiLlama Yields before acting on any number.

Mid-November 2026 yield snapshot Lower quoted APY Higher quoted APY ETH liquid staking 1.8–2.7% Stablecoin lending 3–4.5% SOL liquid staking around 5% Volatile-pair pools and incentive farmsLow single digits to triple digitsMostly reward tokens; before impermanent loss
The established base-yield categories clustered in a relatively narrow band in this snapshot. Volatile-pair and incentive farms could quote far more, but mostly through reward tokens and before impermanent loss.

A short history

Lending protocols and DEX liquidity pools existed before 2020, but yield farming took off in June 2020 when Compound started distributing its COMP governance token to borrowers and lenders. Other protocols copied the model, and the resulting “DeFi summer” saw advertised APYs in the hundreds or thousands of percent, mostly paid in new tokens. Many of those tokens later lost most of their value. Since then, yields have shifted toward “real yield” from fees, interest and staking, along with fixed-rate products and yield-bearing stablecoins.

Risks of yield farming

  • Smart contract exploits. DefiLlama’s hacks database records about $1.2 billion taken from DeFi protocols in 2026 as of mid-November.
  • Impermanent loss when the prices of pooled tokens diverge.
  • Reward-token collapse that wipes out a headline APY.
  • Depegs of stablecoins or liquid staking tokens.
  • Liquidation on leveraged positions.
  • Dependency risk from oracles, bridges, collateral tokens or vault managers.
  • Rug pulls and scams dressed up as farms.
  • Gas costs that can exceed the yield on small balances.
  • Tax and regulation: rewards are often taxable, and rules keep changing.

Read the full guide to the risks of yield farming and our guide to judging how safe a yield farming platform is.

How to start safely

  1. Choose an asset you are happy to hold for the whole period, often a major stablecoin or ETH.
  2. Use long-running, audited protocols and bookmark their official sites.
  3. Compare base vs. reward APY and check the protocol’s incident history.
  4. Start small, test a withdrawal and watch gas costs; layer 2 networks are cheaper for small amounts.
  5. Avoid leverage until you understand liquidation.
  6. Spread deposits and keep records for taxes.

To compare platforms, see what are the best yield farming platforms. Browse more guides in the yield farming and staking hub. This page explains how yield farming works; it isn’t financial advice.

Frequently asked questions

What is yield farming in simple terms?

Yield farming means lending or depositing your crypto into a DeFi app so others can use it, and getting paid for it in interest, fees or reward tokens. It is similar to earning interest, but with higher and more varied risks.

Is yield farming profitable?

It can be, but returns are variable. Established stablecoin lending paid roughly 3–4.5% in late 2026, and higher yields usually depend on volatile reward tokens, leverage or riskier pools. Gas fees and losses can make small positions unprofitable.

What is the difference between yield farming and staking?

Staking locks a proof-of-stake token to help secure a network and earn protocol rewards. Yield farming is broader: it includes lending, providing liquidity and using vaults, and can include staking as one ingredient.

Is yield farming safe?

No form of yield farming is free of risk. Smart contract hacks, stablecoin depegs, impermanent loss and falling reward-token prices can all cause losses, and there is no deposit insurance.

Is yield farming legit or a scam?

Yield farming itself is a legitimate DeFi activity, but scams use the same language. Fixed daily returns, anonymous teams, unaudited contracts and referral rewards are common red flags.

How is yield farming taxed?

In many countries, rewards are taxed as income when received and disposals trigger capital gains or losses. Rules vary, so check local guidance.

Sources

  1. ethereum.org: Decentralized finance (DeFi)
  2. DefiLlama Yields (live yield farming rates)
  3. DefiLlama: Hacks database
  4. Aave V3 documentation: Overview
  5. Curve documentation
  6. Pendle documentation: Principal Token (PT)

Educational content, not financial advice. DeFi carries risk, including total loss of funds.

Guides about Yield farming

Answers about Yield farming

Community questions about Yield farming

↑↓ to navigate ↵ to open Esc to close