Quick Summary
- Yield farming means providing liquidity to DeFi protocols and earning fees + token rewards in return
- You deposit token pairs into liquidity pools — the protocol uses them for decentralized trading
- Impermanent loss is the hidden cost — you can earn fees but still end up with less than if you just held
- APYs of 50-500% sound amazing but often come with extreme risk and hidden costs
- Yield farming is significantly riskier than staking — it's best reserved for experienced DeFi users
What is Yield Farming, Really?
Imagine you own a lemonade stand and someone asks to borrow your lemons so they can make drinks for their customers. They'll pay you a cut of every sale. That's essentially yield farming — you lend your crypto assets to a decentralized finance (DeFi) protocol, and it pays you for the privilege.
More technically: yield farming is the practice of depositing cryptocurrency into DeFi liquidity pools to earn trading fees and bonus token rewards. These pools power decentralized exchanges (DEXs) like Uniswap, SushiSwap, and Curve — allowing people to trade crypto without a centralized company in the middle.
Yield farming exploded during "DeFi Summer" in 2020, when protocols started offering enormous token rewards to attract liquidity. APYs of 1,000%+ were common for brief periods. Today, the ecosystem is more mature and realistic, but it remains one of the most complex corners of crypto.
How Liquidity Pools Work
To understand yield farming, you first need to understand liquidity pools — the engine behind decentralized trading.
On a regular exchange like Coinbase or Binance, when you buy ETH, you're buying from someone who's selling it. The exchange matches buyers and sellers. A decentralized exchange doesn't have a company in the middle. Instead, it uses liquidity pools — shared pots of tokens that anyone can trade against.
How a Liquidity Pool Works — Step by Step
1. Liquidity providers (LPs) deposit two tokens in equal value — e.g., $500 of ETH + $500 of USDC
2. These tokens sit in a smart contract (the "pool") on the blockchain
3. Traders swap between ETH and USDC using this pool instead of an order book
4. Every swap costs a fee (usually 0.3%) — this fee goes to the pool's LPs
5. LPs receive "LP tokens" representing their share of the pool
6. When LPs want their crypto back, they burn their LP tokens and withdraw
Why even do this? DEXs need liquidity to function. Without it, trades would have huge price slippage. Protocols incentivize people to provide liquidity by sharing trading fees — and often adding bonus token rewards on top.
LP Tokens — Your Receipt for Farming
When you deposit tokens into a liquidity pool, the protocol gives you LP tokens (Liquidity Provider tokens). Think of them as a receipt or claim ticket. These tokens represent your share of the total pool.
If you deposit $1,000 into a $100,000 pool, your LP tokens represent 1% of the pool. As the pool earns fees, your 1% share grows in value. When you're ready to exit, you "burn" (destroy) your LP tokens and withdraw your share of the pool.
Here's where it gets interesting: on many protocols, you can take those LP tokens and stake them in a separate "farm" to earn additional token rewards. This is yield farming in its purest form — providing liquidity, getting LP tokens, then staking those LP tokens for extra rewards. Some protocols let you stack even more layers, which is sometimes called "yield farming composability." Each layer adds complexity — and risk.
How Yield Farming Works in Practice
Let's walk through a real example using Uniswap on Ethereum:
Connect your wallet
You'll need a DeFi wallet like MetaMask or Rabby. Fund it with ETH (for gas fees) plus whatever tokens you want to farm with. See How Crypto Wallets Work if you haven't set one up.
Choose a pool
Browse available pools on the DEX. You need both tokens in the pair. For an ETH/USDC pool, you need equal dollar amounts of both ETH and USDC. Pools with more trading volume = more fee revenue.
Deposit your tokens
Approve and deposit both tokens. You'll pay a gas fee (on Ethereum, this can be $5-50 depending on network congestion). You receive LP tokens in return.
(Optional) Stake LP tokens in a farm
If there's a farming program, deposit your LP tokens to earn bonus token rewards. This is another transaction with another gas fee.
Collect rewards and monitor
Claim your accumulated rewards periodically (each claim costs gas). Monitor your position for impermanent loss. When you want to exit, unstake LP tokens, then withdraw from the pool.
⚠️ Gas fees add up fast
On Ethereum, each step above costs gas. Depositing, staking, claiming rewards, unstaking, withdrawing — that's 5+ transactions. At $20 each, you've spent $100+ in fees before earning anything. This is why yield farming with small amounts on Ethereum often isn't profitable. Many farmers use cheaper chains like Solana, Arbitrum, or Polygon instead.
Impermanent Loss — The Hidden Tax
Impermanent loss (IL) is the single most important concept to understand before yield farming. It's the reason many farmers end up worse off than if they'd simply held their tokens in a wallet.
Here's the core idea: when you provide liquidity, the pool automatically rebalances your tokens as prices change. If one token goes up in value, the pool sells some of it and buys more of the other token to stay balanced. You end up with less of the token that went up and more of the one that went down.
Impermanent Loss — Worked Example
| Price Change | Impermanent Loss | Notes |
|---|---|---|
| ±25% | ~0.6% | Minor — fees likely offset this |
| ±50% | ~2.0% | Noticeable — need decent trading volume to break even |
| ±100% (2x) | ~5.7% | Significant — many pools don't earn enough in fees |
| ±200% (3x) | ~13.4% | Severe — very few pools generate enough fees |
| ±400% (5x) | ~25.5% | Devastating — you'd have been far better off holding |
It's called "impermanent" because if prices return to their original ratio, the loss disappears. But in crypto, prices rarely return to exactly where they started. In practice, impermanent loss is often quite permanent.
Stablecoin pairs reduce IL dramatically. A pool of USDC/USDT barely experiences impermanent loss because both coins hover around $1. This is why stablecoin farming is popular for risk-averse yield farmers — lower APY, but much more predictable returns.
Popular Yield Farming Protocols
Each protocol has different strengths, risks, and target audiences:
| Protocol | Type | Chains | Best For |
|---|---|---|---|
| Uniswap | DEX (AMM) | Ethereum, Polygon, Arbitrum, Base | Standard token pairs, highest volume |
| Curve Finance | Stablecoin DEX | Ethereum, many L2s | Stablecoin pools, lower impermanent loss |
| Aave | Lending | Ethereum, Polygon, Arbitrum, Avalanche | Single-token deposits, no IL |
| Raydium | DEX (AMM) | Solana | Solana ecosystem farming, low fees |
| Yearn Finance | Yield Aggregator | Ethereum, Fantom | Auto-compounding, set-and-forget vaults |
Protocols are listed for educational purposes only. Each carries smart contract risk. Always research security audits and track record before depositing funds.
APY vs. APR — What Those Numbers Actually Mean
Yield farming protocols throw around impressive-sounding numbers, but the difference between APR and APY matters more than you'd think:
APR (Annual Percentage Rate)
Simple interest. If you deposit $10,000 at 10% APR, you earn $1,000 per year — no compounding. This is the "raw" rate before auto-compounding.
APY (Annual Percentage Yield)
Compound interest. It includes the effect of reinvesting your earnings. A 10% APR compounded daily becomes ~10.52% APY. Protocols love showing APY because the number is always higher.
⚠️ Watch out for misleading APYs
Some protocols display "APY" based on the first few hours of a new farm, when rewards are juicy and few people have deposited. As more people join, the APY drops dramatically. A farm advertising 500% APY today might be at 20% next week. Always check the TVL (Total Value Locked) trend and how long the rewards last.
Yield Farming Risks — Why Most Beginners Lose Money
Let's be blunt: yield farming is the riskiest way to earn passive income in crypto. Here's what can go wrong:
Smart contract risk
Your tokens sit in a smart contract — code on the blockchain. If that code has a bug, hackers can drain the entire pool. Billions of dollars have been stolen from DeFi protocols. Even audited contracts aren't guaranteed safe. The 2022 Wormhole hack ($320M), Ronin bridge exploit ($600M), and countless smaller hacks are cautionary tales.
Impermanent loss (repeated: it's that important)
As covered above, price movements between your paired tokens reduce your total value compared to just holding. In volatile markets, impermanent loss can exceed your earned fees by a wide margin.
Rug pulls
Some "yield farming" opportunities are outright scams. The developer creates a token, adds a farm with incredible APY to attract deposits, then drains the liquidity pool and disappears. This is called a "rug pull." Stick to established protocols on reputable chains. If an unknown protocol offers 10,000% APY on a token you've never heard of — it's almost certainly a scam.
Token price collapse
Many farming rewards are paid in the protocol's own token. If everyone farms and immediately sells those reward tokens, the price crashes. You earned 100% APY in a token that lost 90% of its value — a net loss. This "farm-and-dump" cycle has destroyed the value of countless DeFi tokens.
Complexity and errors
Yield farming involves multiple steps, approvals, and transactions. One wrong click — approving a malicious contract, sending tokens to the wrong address, or connecting to a fake website — can cost you everything. There's no customer support to call. No reversals. If you make a mistake, your tokens are gone.
Staking vs. Yield Farming: Which Is Right for You?
| Factor | Staking | Yield Farming |
|---|---|---|
| Difficulty | Easy — one click on most exchanges | Hard — multiple steps, wallet required |
| Typical APY | 3–14% | 5–50%+ (but less predictable) |
| Risk level | Moderate | High |
| Impermanent loss | None | Yes (except single-sided deposits) |
| Gas fees | Low (usually 1 transaction) | High (multiple transactions) |
| Best for | Beginners and long-term holders | Experienced DeFi users |
Our advice for beginners: start with staking. Once you're comfortable with wallets, understand DeFi concepts, and have money you can genuinely afford to lose, then explore yield farming with a small amount.
If You Still Want to Try: Beginner Tips
Start with stablecoin pools. Pairs like USDC/USDT have minimal impermanent loss. Lower APY, but far more predictable. Learn the mechanics before touching volatile pairs.
Use only established protocols. Uniswap, Curve, Aave — they've survived years of market stress and countless hack attempts. New protocols offering 10x the APY aren't worth the risk.
Farm on cheaper chains first. Solana, Arbitrum, and Polygon have gas fees measured in pennies, not dollars. This makes mistakes far less expensive while you're learning.
Only farm with money you're OK losing entirely. Not just "I accept volatility" — genuinely OK if it goes to zero. Smart contract hacks can drain your entire position instantly.
Track your actual returns. Factor in gas fees, impermanent loss, and the value of reward tokens. Many farmers think they're profitable because they see a high APY, but when you include all costs, they're actually losing money.
What to Read Next
What is Crypto Staking?
The simpler, safer alternative — earn rewards by helping secure blockchain networks.
Earning CryptoCrypto Lending Explained
Another way to earn — lend your crypto and collect interest.
What is...What is DeFi?
The bigger picture — understand the ecosystem yield farming lives in.
Getting StartedHow Crypto Wallets Work
You'll need a DeFi wallet to farm — here's how they work.