What is Yield Farming?
How It Works in DeFi. From liquidity pools and lending protocols to auto-compounding vaults, learn how yield farming turns idle crypto into passive income -- and what risks to watch for.
What is Yield Farming?
Yield farming is the practice of deploying cryptocurrency into decentralized finance (DeFi) protocols to earn returns. Instead of holding tokens idle in a wallet, yield farmers deposit them into smart contracts that lend, provide liquidity, or stake the assets in exchange for interest, trading fees, and protocol incentive tokens.
The concept exploded during DeFi Summer 2020, when Compound Finance launched its COMP token distribution program in June of that year. Users who lent or borrowed assets on Compound received COMP tokens as a reward, effectively earning a yield on top of the interest they were already receiving. Within weeks, billions of dollars flooded into Compound, Aave, Uniswap, Balancer, and Yearn Finance as users chased the highest returns. Total Value Locked (TVL) in DeFi surged from $1 billion in June 2020 to over $15 billion by December 2020.
Today, yield farming has matured into a broad category of strategies spanning lending, liquidity provision, staking, and auto-compounding vaults. While the triple-digit APYs of 2020 have largely normalized, disciplined yield farming on established protocols remains one of the most reliable ways to generate passive income on cryptocurrency holdings.
Earn Passive Income
Deposit crypto into DeFi protocols and earn interest, fees, and token rewards without actively trading.
Compounding Returns
Reinvest earned rewards to generate returns on returns, amplifying yield through auto-compounding vaults.
Multiple Strategies
Choose from lending, LP provision, staking, or recursive strategies based on your risk tolerance and goals.
How Yield Farming Works
At its core, yield farming follows a simple cycle: deposit assets, earn rewards, and optionally reinvest those rewards to compound your returns. The specifics vary by protocol, but the underlying mechanics fall into three categories.
Providing Liquidity
The most common form of yield farming involves depositing tokens into a liquidity pool on an automated market maker (AMM) such as Uniswap, Curve, or Balancer. These pools power decentralized trading by allowing users to swap tokens directly against pooled liquidity rather than using a traditional order book.
As a liquidity provider (LP), you deposit a pair of tokens (e.g., ETH + USDC) in a specified ratio. Every time a trader swaps between those tokens, they pay a fee (typically 0.05% to 1%), and your share of that fee is proportional to your share of the pool. On high-volume pairs, these fees alone can generate attractive returns.
Earning Fees + Incentives
Beyond trading fees, many protocols distribute governance tokens to liquidity providers as an additional incentive. This practice, often called liquidity mining, was popularized by Compound's COMP distribution and remains a common way for new protocols to bootstrap liquidity. For example, a Curve pool might pay 2% base APR from trading fees plus an additional 5-15% in CRV token rewards.
On lending protocols like Aave and Morpho, yield farmers earn interest paid by borrowers. Supply rates fluctuate with utilization: when demand for borrowing is high, lenders earn more. Some protocols layer additional token incentives on top of this base interest rate.
Compounding
The real power of yield farming comes from compounding. When you harvest reward tokens and reinvest them back into the same or a higher-yielding strategy, you earn returns on your returns. Doing this manually requires gas fees on every harvest-and-reinvest cycle, which is why yield aggregators like Beefy Finance and Yearn Finance exist.
These aggregators pool deposits from thousands of users, auto-harvest rewards at optimal intervals (often multiple times per day), sell the reward tokens, and reinvest the proceeds. This socialized gas cost means each user benefits from frequent compounding without individually paying for each transaction. A strategy offering 20% APR can produce roughly 22.1% APY when compounded daily.
Skip the complexity. Earn 7% APY on USDC with Coinstancy.
Daily compounding, no lock-up, instant withdrawal. One deposit, one yield.
Start Earning on CoinstancyTypes of Yield Farming
Yield farming strategies span a wide spectrum of risk and return profiles. Understanding each type helps you build a portfolio that matches your goals.
Lending & Borrowing
The simplest yield farming strategy. Deposit stablecoins or blue-chip assets into lending protocols like Aave, Compound, or Morpho and earn interest paid by borrowers. Stablecoin lending typically yields 3-8% APY with minimal impermanent loss risk since you deposit a single asset.
Risk level: Low to moderate. Main risks are smart contract vulnerability and utilization-driven rate fluctuations.
Liquidity Pool (LP) Provision
Deposit token pairs into AMM pools on Uniswap, Curve, Balancer, or similar protocols. You earn a share of trading fees proportional to your share of the pool. Concentrated liquidity positions (Uniswap v3/v4) can amplify fee income but require active management and carry higher impermanent loss risk.
Risk level: Moderate. Impermanent loss is the primary concern, especially for volatile token pairs.
Staking
Lock governance tokens or LP tokens to earn additional protocol rewards. Many protocols incentivize long-term alignment by offering boosted yields to stakers. For example, staking CRV on Curve (as veCRV) boosts your LP rewards by up to 2.5x and earns you a share of protocol trading fees across all pools.
Risk level: Low to moderate. Lock-up periods can expose you to token price risk if you cannot exit your position during a downturn.
Recursive (Looping) Strategies
Advanced strategies that deposit collateral, borrow against it, and re-deposit the borrowed assets to amplify exposure to incentive rewards. For example: deposit ETH on Aave, borrow USDC, swap USDC for ETH, and deposit again. This "loops" leverage to multiply the effective yield from token incentives.
Risk level: High. Leveraged positions are vulnerable to liquidation if collateral values drop. A 20% price decline can trigger cascading liquidations that wipe out the entire position.
Yield Farming Platforms
The DeFi ecosystem offers dozens of yield farming platforms, each with different mechanics, risk profiles, and supported assets. Here are the most established and widely used protocols as of March 2026.
Aave
The largest lending protocol with over $20B in TVL. Deposit assets to earn variable interest from borrowers. Supports Ethereum, Arbitrum, Optimism, Polygon, Base, and more. Aave v3 introduced efficiency mode (eMode) for correlated assets, offering higher LTV ratios and lower liquidation risk for stablecoin pairs.
LendingCompound
The protocol that started the yield farming revolution with COMP token distribution in June 2020. Compound v3 (Comet) simplified the model to single-asset markets where each market has one borrowable asset and multiple collateral types. Known for its rock-solid security track record.
LendingCurve Finance
The dominant AMM for stablecoin and pegged-asset swaps. Curve pools use a specialized bonding curve that concentrates liquidity around a 1:1 peg, delivering low slippage and high fee efficiency. The veCRV gauge system directs CRV emissions to pools, creating the "Curve wars" meta-game where protocols compete for gauge weight.
AMM / LPBalancer
A flexible AMM supporting weighted pools (e.g., 80/20 BAL/ETH), stable pools, and composable boosted pools. Balancer v3 enables pools where idle liquidity is automatically deposited into lending protocols like Aave, earning additional yield on top of trading fees.
AMM / LPBeefy Finance
A multi-chain yield aggregator that auto-compounds rewards across 2,000+ vaults on 25+ chains. Beefy harvests reward tokens, sells them, and reinvests the proceeds multiple times per day. Users deposit into a vault and receive a receipt token that appreciates in value as compounding accrues.
AggregatorYearn Finance
The original yield aggregator, founded by Andre Cronje in 2020. Yearn v3 vaults use modular strategies that allocate deposits across multiple DeFi protocols to optimize risk-adjusted returns. Yearn's strategists continuously develop and refine vault strategies to adapt to changing market conditions.
AggregatorHow to Start Yield Farming
Follow these steps to make your first yield farming deposit. We recommend starting with a stablecoin lending strategy on a well-established protocol to learn the mechanics before moving to more advanced strategies.
Set Up a Web3 Wallet
Install a self-custody wallet such as MetaMask, Rabby, or Rainbow. Write down your seed phrase and store it securely offline. For larger amounts, use a hardware wallet (Ledger or Trezor) connected through your browser wallet for an extra layer of security.
Fund Your Wallet & Bridge to the Target Chain
Buy ETH or USDC from a centralized exchange and send it to your wallet address. If you plan to farm on a Layer 2 network (Arbitrum, Optimism, Base), use an official bridge or a cross-chain swap tool like CowSwap to move assets to the target chain. L2 chains offer dramatically lower gas fees, making smaller positions viable.
Choose a Protocol & Strategy
For beginners, start with single-asset lending on Aave (deposit USDC, earn 3-6% APY) or a stablecoin LP pool on Curve (USDC-USDT, earn 4-10% APY). Use DeFiLlama (defillama.com/yields) to compare current yields across protocols and chains. Look for strategies with at least $10M TVL, indicating established trust and liquidity depth.
Approve & Deposit
Connect your wallet to the protocol's interface. Approve the smart contract to access your tokens (a one-time gas transaction per token), then deposit your desired amount. You will receive a receipt token (aUSDC, crvLP, etc.) representing your share of the pool or lending market. This receipt token is your proof of deposit and accrues value over time.
Monitor & Manage
Track your positions using portfolio dashboards like Zapper, DeBank, or the protocol's native interface. Monitor your health factor (on lending protocols) to avoid liquidation, and periodically review whether yields have declined or better opportunities have emerged. If you are using a yield aggregator like Beefy, compounding is handled automatically.
Want yield without the DeFi learning curve?
Coinstancy offers 7% APY on USDC with daily compounding, no lock-up, and instant withdrawal. No wallets, bridges, or gas fees required.
Open a Coinstancy AccountUnderstanding Yield Farming Returns
Not all yields are created equal. Understanding how returns are calculated and what drives them is essential for making informed yield farming decisions. The headline APY on a farming opportunity can be misleading if you do not know what is behind the number.
APR vs APY
APR (Annual Percentage Rate) is the simple annualized return without compounding. If you earn 1% per month, your APR is 12%. APY (Annual Percentage Yield) accounts for compounding. That same 1% monthly return compounded produces 12.68% APY. The more frequently you compound, the larger the gap between APR and APY.
Most raw DeFi protocols quote APR, while yield aggregators that auto-compound typically display APY. When comparing opportunities across platforms, make sure you are comparing the same metric. A 15% APY from Beefy is not necessarily better than a 14% APR from the underlying protocol, because the Beefy figure already includes the compounding benefit.
Base Yield vs Incentive Yield
Base yield (also called "real yield") comes from organic protocol activity: trading fees on AMMs, interest on loans, or protocol revenue sharing. This yield is sustainable because it is backed by genuine economic activity. A Curve pool earning 3% from trading fees will likely continue earning fees as long as there is trading volume.
Incentive yield comes from newly minted governance tokens distributed to depositors. While this can be highly lucrative, it is often inflationary: the protocol is printing tokens to attract liquidity, and if the token price drops (which it often does as recipients sell), the real dollar value of the incentive yield declines. A pool showing 50% APY might consist of 5% base yield + 45% incentive yield in a token that is depreciating 60% annually, resulting in a net negative return.
Real vs Inflated Returns
To calculate your actual returns, you must account for: (1) token price changes of incentive rewards between when they are earned and when they are sold, (2) impermanent loss on LP positions, (3) gas costs for deposits, claims, and withdrawals, and (4) opportunity cost of locking capital.
A practical rule of thumb: if a yield looks too good to be true, decompose it into base yield and incentive yield. If more than 80% of the total yield comes from token incentives, approach with caution. The most resilient yield farming strategies are built on a foundation of real yield, with incentives as a bonus rather than the primary return driver.
Risks & How to Mitigate Them
Yield farming is not risk-free. Understanding the specific risks and how to manage them is the difference between sustainable returns and devastating losses. Here are the major risks every yield farmer should know.
Impermanent Loss
When token prices in an LP pair diverge, the AMM rebalances your position, leaving you with less value than simply holding. A 2x price change in one token causes roughly 5.7% impermanent loss in a 50/50 pool.
Mitigation: Use stablecoin pairs (USDC/USDT) or correlated pairs (wstETH/ETH) where price divergence is minimal. Monitor positions and exit if IL exceeds earned fees.
Smart Contract Risk
Every DeFi protocol is a set of smart contracts. Bugs, vulnerabilities, or exploits can lead to partial or total loss of deposited funds. Even audited protocols have been exploited: DeFi lost over $1.7 billion to hacks in 2023 alone.
Mitigation: Stick to protocols with multiple audits, long track records, and high TVL. Diversify across protocols. Consider DeFi insurance from Nexus Mutual or InsurAce for large positions.
Rug Pulls & Scams
Malicious developers can create farming contracts with hidden backdoors that drain deposited funds. "Rug pulls" are especially common among newly launched, unvetted protocols advertising extremely high APYs to attract deposits quickly.
Mitigation: Never farm on unaudited or anonymous-team protocols. Check if the contract is verified on Etherscan. Use yield aggregators like Beefy that perform due diligence before listing vaults.
Token Dilution
Many protocols fund yield farming incentives by minting new governance tokens. As supply increases and farmers sell their rewards, the token price typically declines. A pool advertising 100% APY in a depreciating token may produce far less in dollar terms.
Mitigation: Harvest and sell incentive tokens regularly instead of holding. Prioritize strategies with high base yield (trading fees, interest) over those reliant on token emissions. Check the protocol's emission schedule and remaining token supply.
Yield Farming vs Staking vs Savings
Yield farming is not the only way to earn passive income on crypto. Here is how it compares to staking and centralized savings products across the dimensions that matter most.
| Feature | Yield Farming | Staking | CeFi Savings |
|---|---|---|---|
| Typical APY | 3-50%+ | 3-8% | 1-7% |
| Complexity | High | Medium | Low |
| Impermanent Loss Risk | Yes (LP strategies) | No | No |
| Smart Contract Risk | High | Medium | None |
| Lock-up Period | Usually none | Varies (days to months) | Varies by platform |
| Custody | Self-custody (DeFi) | Self or delegated | Custodial (CeFi) |
| Supported Assets | Any ERC-20 token | PoS native tokens | Major coins only |
| Gas Fees | Multiple transactions | One-time | None |
| Best For | Active DeFi users | Long-term holders | Beginners, passive investors |
Frequently Asked Questions
What is yield farming in simple terms?
How much money do you need to start yield farming?
Is yield farming profitable in 2026?
What is impermanent loss and how does it affect yield farming?
What is the difference between APR and APY in yield farming?
Is yield farming safe?
Continue Learning
Explore more guides on DeFi protocols, yield strategies, and crypto fundamentals.
Beefy Finance Guide
Auto-compounding yield aggregator across 25+ chains. Learn how Beefy vaults maximize your farming returns.
Read Guide GuideMorpho Guide
Optimized lending with peer-to-peer matching. Better rates for lenders and borrowers on Morpho Blue.
Read Guide GuideWhat is APY in Crypto?
APR vs APY explained. How compounding frequency affects your real returns in DeFi and CeFi.
Read Guide GlossaryDeFi Glossary
Key terms: yield farming, impermanent loss, liquidity pool, APY, AMM, DeFi, and more.
Browse TermsEarn Yield the Simple Way
Yield farming requires wallets, gas fees, and active management. Coinstancy offers a simpler path: earn 7% APY on USDC with daily compounding, no lock-up, and instant withdrawal. One deposit, consistent yield, zero complexity.
Start Earning on CoinstancyReady to Put Your Crypto to Work?
Start with 7% APY on USDC. Daily compounding, no lock-up, instant withdrawal.