Yield farming is the practice of deploying crypto assets into DeFi protocols to earn rewards. Sometimes called "liquidity mining," it is the DeFi equivalent of earning interest on a savings account — except yields can range from 3% to over 100% APY depending on the risk level. This guide explains how yield farming works, the different strategies available, how to evaluate opportunities, and the significant risks you need to understand before participating.
What is Yield Farming?
Yield farming is the process of depositing crypto assets into DeFi smart contracts to earn returns. These returns come from multiple sources:
- Trading fees: When you provide liquidity to a DEX pool, you earn a percentage of every trade that goes through that pool.
- Interest payments: When you lend your assets on protocols like Aave or Compound, borrowers pay interest that is distributed to lenders.
- Token emissions: Protocols distribute their governance tokens to users who provide liquidity, incentivizing usage and bootstrapping liquidity.
- Protocol revenue: Some protocols share actual revenue (from fees, liquidations, etc.) with token holders and stakers.
The term "yield farming" comes from the agricultural metaphor: you "plant" your crypto assets in a protocol and "harvest" the rewards. Sophisticated farmers move their capital between protocols and strategies to maximize returns, similar to rotating crops for optimal yield.
How Yield Farming Works
The basic yield farming flow involves depositing assets into a protocol and earning rewards over time:
Basic Yield Farming Flow:
1. Deposit assets into a DeFi protocol
└── Example: Deposit 1,000 USDC into Aave lending pool
2. Protocol puts your assets to work
└── Aave lends your USDC to borrowers
└── Borrowers pay interest (e.g., 5% APY)
3. You earn rewards
└── Interest: 5% APY = ~$50/year on $1,000
└── Token incentives: Aave may also distribute AAVE tokens
└── Combined yield: 5% + 3% AAVE rewards = 8% APY
Advanced LP Farming Flow:
1. Provide liquidity to a DEX pool
└── Deposit ETH + USDC into Uniswap ETH/USDC pool
└── Receive LP tokens representing your share
2. Stake LP tokens in a reward contract
└── Protocol distributes reward tokens to LP stakers
└── Earn trading fees + bonus token rewards
3. Compound rewards
└── Sell reward tokens → buy more ETH + USDC
└── Add liquidity → stake more LP tokens
└── Repeat for compound growthAPR vs APY: Understanding Yield Metrics
DeFi platforms display yields using two metrics that can look very different for the same underlying return:
APR (Annual Percentage Rate):
Simple interest, no compounding
Formula: APR = (reward / principal) * (365 / days)
Example: Earn 10 USDC on 100 USDC in 30 days
APR = (10 / 100) * (365 / 30) = 121.67%
APY (Annual Percentage Yield):
Includes compound interest
Formula: APY = (1 + APR/n)^n - 1
Where n = number of compounding periods per year
APR = 100%, compounded:
Annually (n=1): APY = 100.00%
Monthly (n=12): APY = 161.30%
Weekly (n=52): APY = 169.26%
Daily (n=365): APY = 171.46%
Continuously: APY = 171.83% (e^1 - 1)
Key insight: High APR with frequent compounding = much higher APY
50% APR daily compounding ≈ 64.8% APY
100% APR daily compounding ≈ 171.5% APY
200% APR daily compounding ≈ 634.9% APYWhen evaluating farms, always check whether the displayed rate is APR or APY. A farm advertising 200% APY sounds impressive, but the underlying APR might be a more modest 70% that requires daily compounding to achieve. Auto-compounding vaults (Yearn, Beefy) handle compounding automatically.
Yield Farming Strategies
Yield farming strategies range from conservative to aggressive, each with different risk-reward profiles:
1. Lending (Low Risk)
Deposit assets into lending protocols (Aave, Compound) to earn interest from borrowers. Stablecoins typically yield 3–8% APY. No impermanent loss risk. Your only exposure is smart contract risk on battle-tested protocols.
2. Stablecoin LP Farming (Low-Medium Risk)
Provide liquidity to stablecoin pairs on Curve (USDC/USDT/DAI). Minimal impermanent loss since all tokens target the same peg. Yields come from swap fees plus CRV token incentives. Typical yield: 5–15% APY.
3. Blue-Chip LP Farming (Medium Risk)
Provide liquidity to major token pairs (ETH/USDC, WBTC/ETH) on Uniswap or Curve. Higher yields from trading fees and incentives (10–30% APY), but exposed to impermanent loss from price movements. Best for pairs you are comfortable holding long-term.
4. Leveraged Farming (High Risk)
Borrow against your deposits to farm with more capital than you own. For example: deposit ETH, borrow USDC, LP with ETH/USDC, use LP tokens as collateral to borrow more. This amplifies both yields and losses. Liquidation risk if prices move against you.
5. Vault Strategies (Variable Risk)
Auto-compounding vaults (Yearn, Beefy, Convex) automatically reinvest rewards to maximize APY. You deposit once and the vault handles claiming rewards, selling tokens, and redepositing. This saves gas costs and time, but adds a layer of smart contract risk from the vault contract itself.
6. Fixed-Rate and Points Farming (Variable Risk)
Newer strategies involve Pendle Finance (separating yield into principal and yield tokens for fixed-rate exposure) and points farming (providing liquidity to earn protocol points that may convert to future token airdrops). These strategies require understanding tokenomics and speculative risk.
DeFi Yield Comparison
Here is a comparison of common yield farming strategies and their typical risk-reward profiles:
| Strategy | Typical APY | Risk Level | Key Risks |
|---|---|---|---|
| Stablecoin lending (Aave) | 3–8% | Low | Smart contract risk |
| ETH staking (Lido) | 3–5% | Low | Slashing, smart contract risk |
| Stablecoin LP (Curve) | 5–15% | Low-Medium | Depeg risk, smart contract risk |
| Blue-chip LP (Uniswap V3) | 10–30% | Medium | Impermanent loss, price volatility |
| Auto-compound vault (Yearn) | 5–20% | Medium | Strategy risk, vault contract risk |
| New token incentive farms | 50–500% | High | Token inflation, rug pulls, IL |
| Leveraged farming | 30–100%+ | Very High | Liquidation, amplified IL |
Popular Yield Farming Platforms
Yearn Finance
Yearn automates yield optimization through "vaults." You deposit a single asset, and Yearn's strategy contracts automatically deploy your capital across multiple protocols, compound rewards, and rebalance positions. Yearn pioneered the concept of DeFi yield aggregation and remains one of the most trusted vault platforms.
Convex Finance
Convex boosts Curve Finance yields by aggregating CRV tokens from users. Instead of locking CRV yourself (which requires a 4-year commitment for maximum boost), you deposit Curve LP tokens into Convex and receive boosted CRV rewards plus CVX tokens. Convex controls a massive portion of all locked CRV, making it the most efficient way to earn Curve yields.
Beefy Finance
A multi-chain auto-compounder that supports hundreds of farming strategies across 20+ blockchains. Beefy handles reward claiming, selling, and redepositing automatically. It is particularly popular on L2 networks and alternative L1s where gas costs for manual compounding would eat into yields.
Pendle Finance
Pendle introduced yield tokenization — splitting yield-bearing assets into Principal Tokens (PT) and Yield Tokens (YT). This allows users to lock in fixed yields (buy PT at a discount), or speculate on future yield changes (buy YT). Pendle has become a key platform for fixed-rate DeFi strategies and points farming.
EigenLayer (Restaking)
A newer paradigm that lets staked ETH (via Lido stETH, Rocket Pool rETH, etc.) be "restaked" to secure additional protocols. This compounds the yield: base staking yield + restaking rewards from multiple actively validated services. Additional slashing risk applies.
Yield Farming Risks
Yield farming is not free money. Every source of yield comes with corresponding risks:
Impermanent Loss
The most common risk for LP farmers. When the price ratio of tokens in your pool changes, you end up with less value than simply holding. A 2x price change causes ~5.7% impermanent loss; a 5x change causes ~25.5%. This loss becomes permanent when you withdraw.
Smart Contract Risk
Every DeFi protocol you interact with is an additional layer of smart contract risk. A yield farming strategy might involve interacting with 3–4 different contracts (DEX, lending protocol, vault, reward distributor). A bug in any one of them could result in total loss of deposited funds.
Rug Pulls
Malicious protocols designed to attract deposits and then drain them. Common patterns include: admin keys that can withdraw all funds, contracts with hidden mint functions that can inflate the reward token to zero, and migration contracts that redirect funds. Stick to audited, established protocols.
Token Inflation / Death Spiral
Many high-APY farms pay rewards in their own governance token. These tokens are continuously minted and distributed, creating constant sell pressure. If the price of the reward token falls faster than you earn it, your real yield is negative despite a high displayed APY. When farmers dump rewards, the price drops further, causing more farmers to exit — a death spiral.
Liquidation Risk
Leveraged farming positions can be liquidated if collateral values drop below the required threshold. Flash crashes or oracle issues can trigger cascading liquidations. Never use leverage you do not fully understand.
Critical rule: If a yield looks too good to be true, it almost certainly is. Sustainable DeFi yields come from real economic activity (trading fees, borrowing interest). Yields of 100%+ that come purely from token emissions are not sustainable and will eventually collapse. Always ask: "Where does the yield come from?"
Real Yield vs Token Emissions
A crucial distinction in yield farming is the source of your returns:
| Aspect | Real Yield | Token Emissions |
|---|---|---|
| Source | Protocol revenue (fees, interest) | Newly minted governance tokens |
| Sustainability | Sustainable if protocol has users | Temporary, decreases over time |
| Paid in | ETH, USDC, or fee tokens | Protocol's own token |
| Typical APY | 3–20% | 50–1,000%+ |
| Example | Uniswap trading fees, Aave interest | CRV rewards, farm token rewards |
The "real yield" movement in DeFi emphasizes protocols that distribute actual revenue to participants rather than inflating a token supply. Protocols like GMX (distributing ETH/AVAX from trading fees) and Lido (staking rewards in ETH) exemplify this approach. Long-term sustainable farming focuses on real yield sources.
Getting Started with Yield Farming
- Start with lending: Deposit USDC or DAI into Aave on Ethereum or an L2 (Arbitrum, Optimism). This is the simplest strategy with no impermanent loss.
- Try a stablecoin pool: Provide liquidity to a Curve stablecoin pool (3pool: USDC/USDT/DAI). Low impermanent loss risk, steady returns.
- Use auto-compounders: Deposit your Curve LP tokens into Convex or Beefy to auto-compound rewards and boost yields.
- Monitor your positions: Track yields and impermanent loss using DeFiLlama, Zapper, or DeBank. Yields change constantly.
- Account for gas costs: On Ethereum mainnet, gas costs can eat into yields for smaller positions. Consider Layer 2 networks for lower costs.
- Never overexpose: Start with small amounts. Never put all your crypto into a single farm or protocol.
Frequently Asked Questions
Is yield farming still profitable in 2025?
Yes, but yields have normalized significantly since "DeFi Summer" of 2020. Sustainable yields on stablecoin strategies typically range from 3–10% APY, while more aggressive strategies can offer 15–50% APY with proportionally higher risk. Focus on real yield (fees and revenue) rather than token emission-based rewards.
What is the difference between APR and APY?
APR is the simple interest rate without compounding. APY includes compound interest, which reinvests earned rewards. For example, 100% APR compounded daily equals approximately 171.5% APY. Many DeFi protocols show APY, which looks more attractive but requires active or automated compounding to achieve.
What is impermanent loss and how does it affect farming?
Impermanent loss occurs when providing liquidity to AMM pools and the price ratio of deposited tokens changes. For a 2x price change, impermanent loss is approximately 5.7%. Trading fees must exceed this loss for LP farming to be profitable. The loss becomes permanent when you withdraw.
How do I avoid yield farming scams?
Key red flags include: unaudited smart contracts, anonymous teams, unsustainably high APY (1,000%+ with no clear yield source), contracts where the admin can drain funds, and tokens with no real utility. Stick to established protocols (Aave, Curve, Convex, Yearn), verify contracts on Etherscan, and never invest more than you can afford to lose.
What is the safest yield farming strategy for beginners?
The safest approach is lending stablecoins (USDC, DAI) on Aave or Compound. This avoids impermanent loss entirely and exposes you only to smart contract risk on battle-tested protocols. Yields are modest (3–8% APY) but predictable. As you gain experience, explore stablecoin LP pairs on Curve or use auto-compounders like Yearn.
Tools for Yield Farmers
Analyze farming transactions with our developer tools. Use the Gas Fee Calculator to determine if gas costs eat into your farming yields, or the ETH Unit Converter to calculate precise token amounts. Decode farming transactions with our Calldata Decoder.
Related Guides
- What is DeFi? — The ecosystem that enables yield farming
- What is Staking? — Earn yield by securing the network
- What is a DEX? — Where liquidity pools and farming happen
- What is a Smart Contract? — The code that powers farming protocols
- How Gas Fees Work — Gas costs that eat into farming yields