Quick answer
Yield farming means putting your crypto to work in DeFi protocols to earn a return — typically by providing liquidity to AMMs (getting trading fees), lending assets (getting interest), or staking LP tokens to earn governance token rewards. Advertised APYs can look extraordinary but often include rapidly depreciating reward tokens. The main risks are impermanent loss, smart contract exploits, and 'mercenary capital' dynamics that crash reward tokens.
Where DeFi yield comes from
Before chasing yield, it is worth understanding where it actually comes from. Sustainable yield in DeFi generally comes from one of three sources:
- Trading fees
- When you provide liquidity to an AMM (Uniswap, Curve, Balancer), you earn a share of every swap that passes through your liquidity pool. On a busy pair, these fees can be meaningful. On quiet pools, they may be negligible. This is genuine economic activity — you earn because you are providing a useful service.
- Interest from borrowers
- When you lend on Aave, Compound, or Morpho, borrowers pay interest. This interest is passed to lenders (minus a protocol fee). The rates are determined by supply and demand — high borrowing demand = high rates. Again, this is real economic yield backed by overcollateralised loans.
- Protocol token emissions
- Many protocols emit their own governance tokens as additional rewards to attract liquidity. A protocol might pay 50% APY, but if 40% of that comes from token emissions, you are being paid in newly created tokens that may not hold their value. This is not zero — governance tokens can be valuable — but it is meaningfully different from fee revenue.
How liquidity provision works
- 01
Choose a liquidity pool
Pick a trading pair — for example, ETH/USDC on Uniswap v3. You will deposit both assets in the pair, which traders will swap between. You earn a share of every swap fee.
- 02
Deposit both assets
In most AMMs you deposit both tokens at the current price ratio. On Uniswap v3, you choose a price range for your liquidity — concentrated liquidity earns more fees but requires active management.
- 03
Receive LP tokens
The protocol mints LP tokens representing your share of the pool. These tokens are the proof of your position — keep them safe. Returning them to the protocol lets you withdraw your share.
- 04
Earn fees as trades occur
Every swap through your pool pays a fee (e.g., 0.3% on Uniswap v2 standard pools). Your share of accumulated fees grows over time. Check the pool's trading volume — fees are proportional to volume.
- 05
Stake LP tokens for extra rewards
Many protocols offer additional rewards for staking your LP tokens — this is liquidity mining. Stake your Uniswap LP tokens into the Uniswap staking contract or a yield aggregator, and receive governance token rewards on top of trading fees.
Impermanent loss: the yield farmer's biggest hidden risk
Impermanent loss (IL) is what happens when the price ratio of your two deposited assets changes while they are in a pool. The AMM rebalances your position continuously — buying more of the falling asset and selling the rising one. This means you end up with more of the asset that fell and less of the asset that rose compared to if you had simply held both.
Impermanent loss is only fully 'realised' when you withdraw. If the price ratio returns to where it started, IL disappears — hence 'impermanent'. But if you withdraw when the ratio is very different from your entry, the loss is real.
| ETH price change since entry | Impermanent Loss (ETH/USDC pool) |
|---|---|
| No change | 0% |
| +25% | -0.6% |
| +50% | -2.0% |
| +100% (2x) | -5.7% |
| +200% (3x) | -13.4% |
| -50% | -5.7% |
| -75% | -20.0% |
For a stablecoin/stablecoin pool (USDC/USDT), there is almost no impermanent loss because the price ratio never changes. For volatile pairs like ETH/altcoin, impermanent loss can easily exceed the trading fees earned — meaning you would have done better just holding both assets.
This is why Curve Finance (which specialises in stable pairs) became so dominant — correlated asset pools have low impermanent loss, making LP positions genuinely profitable over time.
Always calculate the break-even point before providing liquidity to a volatile pair. You need trading fee income to exceed impermanent loss to profit from LP provision.
Evaluating yield: real vs illusory
- Check what percentage of the APY comes from protocol token emissions vs actual fee revenue — fee revenue is sustainable, emissions may not be
- Look at the emission token's market cap and daily emission rate — if emissions are large relative to market cap, selling pressure will drive the price down
- Check the pool's 24-hour trading volume — fee income = volume × fee rate × your pool share
- Understand the lock-up period — some protocols require you to lock LP tokens for weeks or months, removing your ability to exit if conditions change
- Research the protocol's audit history and the team behind it — higher APYs on unknown protocols are often the result of missing collateral that will be exploited
Yield aggregators: automating the strategy
Yield aggregators like Yearn Finance, Beefy Finance, and Convex Finance automate yield farming strategies. You deposit a single asset, and the aggregator handles staking, compounding, and optimising across protocols.
Yearn vaults automatically compound earnings and shift capital to the highest-yielding strategies. Convex (built on Curve) has become the dominant layer for Curve LP optimisation — Convex controls a large portion of Curve's governance power (veCRV), allowing it to boost rewards for its depositors beyond what ordinary LPs receive.
Frequently asked questions
Is 1000% APY sustainable?
Almost never. Extremely high APYs are almost always composed predominantly of newly created governance token emissions. These tokens are being created out of thin air — when farmers receive them and sell, the price drops, which lowers the APY, which causes more farmers to leave, which further drops the token price. This 'death spiral' has played out with hundreds of DeFi protocols. Sustainable yields in mature protocols typically range from 3–20% depending on risk level.
What is 'rug pull' in yield farming?
A rug pull is when the team behind a protocol drains the liquidity pool or treasury and disappears with the funds. It is the DeFi equivalent of a scam project. Signs include: anonymous teams, unaudited contracts, tokens with no liquidity unlock timescales, extremely high APYs with no clear source, and contracts where the team retains admin keys that can drain funds. Stick to well-known, audited protocols to avoid this risk.
Do I need a lot of capital to yield farm?
High gas fees on Ethereum mainnet make small positions uneconomical — you might spend $30–50 in gas to enter a position that earns $10/month. Layer 2 networks (Arbitrum, Optimism, Base) have dramatically lower fees and make smaller positions viable. Alternatively, stable and proven pools on L2s can be accessed with as little as $100–500 in capital where fees are a few cents rather than tens of dollars.
What is 'auto-compounding' and why does it matter?
Compounding means reinvesting your earnings to earn returns on your returns. Manually compounding a yield farming position requires paying gas fees every time you harvest and reinvest — on mainnet, this makes frequent compounding prohibitively expensive. Auto-compounding aggregators (Beefy, Yearn) pool user capital so compounding costs are shared — they harvest and reinvest multiple times per day, significantly boosting effective APY for all depositors.
What is a 'farm and dump' dynamic?
Many early yield farming protocols attracted 'mercenary capital' — large holders who would enter a protocol purely to farm the governance token, immediately sell it, and move on to the next high-yield opportunity. This dumps the governance token price, destroying the protocol's APY and making it unattractive to all except the next wave of mercenaries. Protocols have tried to address this with vote-escrow locking (veCRV model), requiring farmers to lock tokens for 4 years to receive maximum rewards — aligning long-term holders with the protocol's health.