defi basics
What Is Yield Farming? A Practical Guide for 2026
How yield farming works, where the returns come from, and the four real risks behind every advertised APY. With current examples from across DeFi.
2026-05-13
TL;DR
- Yield farming means depositing crypto into a smart contract and earning a return, usually paid in interest, trading fees, or protocol token rewards.
- The advertised “APY” is rarely a guarantee. It changes daily and rests on assumptions that can break (token price, pool composition, smart-contract integrity).
- The four real risks: smart-contract exploits, impermanent loss, depeg events, and reward-token inflation. We’ll walk through each.
What yield farming actually is
If you’ve heard “8% APY on USDC” and wondered where that money comes from, you’re asking the right question. Yield farming is a category of DeFi (Decentralized Finance) where you lock crypto into an on-chain protocol, and the protocol pays you back over time. There is no central company holding your deposit. It sits in a smart contract that you can verify on-chain.
The returns come from one of three sources, and the source matters more than the headline number:
- Lending interest. You deposit USDC into Aave; someone else borrows it and pays interest; Aave passes most of that interest back to you. This is the cleanest source: straightforward demand and supply for capital.
- Trading fees. You deposit a pair (e.g., USDC + ETH) into a Uniswap pool; traders swap through your liquidity and pay a 0.05% to 0.3% fee per swap; you earn a share of those fees. Higher trading volume means higher returns, but no volume means no return.
- Reward tokens. A protocol pays you in its native governance token (e.g., LDO from Lido, AAVE from Aave). This works while the token has value and the protocol can afford to issue it; it stops working when either condition fails.
Most pools mix sources. A “12% APY” can be 4% real lending interest plus 8% in inflationary token rewards: that’s a very different proposition from 12% pure interest. We surface this breakdown on every pool page; look for “base APY” and “reward APY”.
How does it look in practice?
Take Aave V3 USDC on Ethereum, one of the most-used DeFi pools. You deposit USDC; you receive aUSDC tokens that represent your deposit plus any accrued interest. The interest accrues continuously, not monthly, not daily, but every Ethereum block (~12 seconds). When you want out, you trade your aUSDC back for USDC at the current rate.
The current numbers are visible on our Aave V3 USDC page: base rate, 30-day mean, TVL, predicted trend. The 30-day mean is more important than today’s number, because lending rates fluctuate hour-by-hour with utilization (how much of the pool is currently lent out).
Compare this to a pure liquidity-providing position like Uniswap V3 USDC/ETH 0.05%: you deposit both assets, you earn a share of swap fees, and you’re exposed to impermanent loss (more on this in our impermanent-loss article). The advertised APY is a function of recent trading volume; if the market quiets down, your return drops to near zero, even though your money is still locked in.
The four risks behind every yield
This is the part most beginner guides skip. We won’t.
1. Smart-contract risk
Every DeFi pool is code running on a public blockchain. If the code has a bug, your deposit can be drained, sometimes in a single transaction. This isn’t theoretical. Billions of dollars have been lost to smart-contract exploits since 2020 (Cream Finance, Wormhole, Mango Markets, Curve Finance pools, Nomad bridge, the list keeps growing).
Audits reduce this risk but don’t eliminate it. A protocol audited by three major firms can still get hit; an unaudited protocol almost certainly will. Check the audit count on the protocol’s page on our site, or on the protocol’s official documentation.
2. Impermanent loss (IL)
If you deposit two assets into a liquidity pool, the protocol automatically rebalances them as their prices diverge. The result: when you withdraw, you may have less USD value than if you had simply held the assets in your wallet. This is impermanent loss.
It’s only “impermanent” because if both assets return to their deposit-time price ratio, the loss disappears. In practice, that often doesn’t happen, and the loss becomes permanent at the moment you withdraw. We mark this risk explicitly on every multi-asset pool page.
3. Depeg risk (for stablecoin pools)
Stablecoin pools, like USDC/USDT/DAI in Curve’s 3pool, assume each asset stays close to $1. When that breaks, the pool rebalances into the broken asset. Depositors discover that their “stable” position is now mostly the depegged asset.
This isn’t theoretical either. SVB collapse in March 2023 dragged USDC briefly to $0.87; a Curve pool exploit in July 2023 hit pegged ETH derivatives. If you’re farming stablecoins, treat each underlying asset as a credit risk on the issuer.
4. Reward-token inflation
When a protocol pays you in its own token, the price of that token determines your real yield. If APY is “20%” in token X but token X drops 60% over the year, your real return is negative. Many farms run on this dynamic: high advertised APY masks the fact that early farmers are dumping tokens on later ones.
The simplest tell: how much of the APY is “base” (real interest or fees) versus “reward” (newly minted tokens)? On our pages, look at the breakdown under the headline APY. A pool that’s 80% reward APY is much riskier than the same number coming from 80% base APY.
How to start (sensibly)
If you want to try yield farming with real money, we’d suggest something like this sequence:
- Pick a chain you trust. Ethereum mainnet has the most battle-tested protocols but the highest gas costs. Arbitrum, Base, and Optimism are well-established Layer-2 chains with much cheaper transactions and most of the same protocols. See our chain comparison.
- Pick a stablecoin lending pool to start. Lower risk than LP positions, cleaner mental model. Browse the top USDC pools across chains.
- Use a tiny amount first. Five dollars. Walk through the full deposit-and-withdraw cycle so you understand gas costs, slippage, and how to read your wallet. The expensive lessons are the ones you skip.
- Diversify your protocol exposure. No single pool should hold more than 10-15% of your DeFi allocation. Smart-contract risk is the dominant tail risk; concentration is how you get wiped out.
- Review monthly. APYs drift, protocols deprecate pools, exploits happen. A position you set up in January may need attention by April.
What this site does
We track ~19,000 active DeFi pools across ~95 chains, refreshed hourly from on-chain data. Every pool page shows the current APY broken into base and reward components, the TVL trend, the risk profile (IL exposure, stablecoin status, audit data from the protocol), and similar pools you could compare against.
We don’t recommend pools. We surface the data so you can make an informed decision, and so you can sanity-check the eye-watering APY numbers some sites lead with.
For a deeper dive on protocol-level due diligence, see How to Evaluate a DeFi Protocol Before Depositing. For the IL math specifically, see Impermanent Loss Explained.