CoinBrew CoinBrew
Guides · CoinBrew

Yield Farming Explained: How to Earn Passive Income with Crypto

Yield farming is one of those crypto concepts that sounds incredible on paper — deposit your tokens, earn passive income, watch the numbers go up. The reality is more complicated, and if you go in blind, you’ll find out the hard way.

This guide breaks down exactly how yield farming works, where the yields actually come from, what risks will eat into your returns, and how to separate genuinely good opportunities from yield traps dressed up with flashy APY numbers.

What Is Yield Farming?

Yield farming is the practice of putting your crypto assets to work in decentralized finance (DeFi) protocols to earn returns. Instead of just holding tokens in a wallet, you deploy them into liquidity pools, lending markets, or staking contracts that generate fees or rewards.

The core mechanic is simple: DeFi protocols need liquidity to function. Decentralized exchanges need token pairs so trades can execute. Lending protocols need lenders before they can offer loans. Yield farming is how these protocols attract that liquidity — they pay you for it.

At its most basic:

  • You deposit assets into a protocol
  • The protocol uses those assets (for trades, loans, etc.)
  • You earn a cut of the fees generated, plus often additional token rewards

Simple concept. Wildly variable execution.

How Liquidity Pools Work

Most yield farming starts with liquidity pools. A liquidity pool is a smart contract holding two (or more) tokens in a ratio, which a decentralized exchange (DEX) uses to facilitate trades.

When someone swaps ETH for USDC on Uniswap, they’re not trading with another person — they’re trading against a pool of ETH and USDC that liquidity providers (LPs) deposited. Those LPs earn a percentage of every trade that passes through the pool.

The Math Behind LP Returns

On Uniswap v2-style pools, every swap charges a 0.3% fee. That fee goes to LPs proportionally to their share of the pool. If you own 1% of a pool that does $10 million in daily volume, you earn roughly $30/day in fees.

That sounds clean. But the reality is:

  1. Your share of the pool shrinks as others deposit
  2. Volume is inconsistent — some days are dead, some are busy
  3. Impermanent loss is constantly working against you (more on this in a moment)

Concentrated Liquidity

Newer DEX designs like Uniswap v3 allow LPs to concentrate their liquidity in specific price ranges. Instead of spreading liquidity across all possible prices, you can focus it where trading actually happens — amplifying your fee earnings significantly.

The tradeoff: if the price moves outside your range, you stop earning fees entirely and become fully exposed to one asset. Concentrated liquidity is more capital-efficient but demands active management. Set it and forget it doesn’t work here.

Understanding Impermanent Loss

Impermanent loss (IL) is the single most misunderstood concept in yield farming, and it’s responsible for more unexpected losses than almost anything else in DeFi.

Here’s what actually happens:

When you deposit into a 50/50 liquidity pool (say, ETH/USDC), the pool automatically rebalances as prices change. If ETH pumps, arbitrageurs sell ETH into your pool (taking your ETH and leaving you with more USDC) until the pool reflects the new market price.

The result: you end up with less of the asset that appreciated and more of the one that didn’t. Compared to just holding those assets in your wallet, you’re worse off.

A Real Example

Suppose you deposit $10,000 into an ETH/USDC pool when ETH is at $2,000. That’s 2.5 ETH and 5,000 USDC.

ETH rallies to $4,000. If you had held, you’d have $15,000. But as an LP, the pool rebalances — you end up with roughly 1.77 ETH and 7,071 USDC, worth about $14,142.

That $858 gap is your impermanent loss — approximately 5.7% relative to holding.

When IL Doesn’t Matter (And When It Destroys You)

IL is “impermanent” because if the price returns to where you entered, it disappears. But in practice:

  • Most assets don’t return to entry price neatly
  • By the time you exit, IL often becomes very permanent
  • IL is worst when one asset moves drastically against the other

The safest scenario for LP farming: both assets move in the same direction and magnitude. This is why stablecoin/stablecoin pools (USDC/USDT) have minimal IL — both sides are roughly $1.

Real APY vs. Advertised APY

This is where yield farming marketing gets dishonest. When a protocol advertises 500% APY, that number almost always includes emissions — reward tokens the protocol prints and hands to LPs as an incentive.

Why Emissions-Based APY Is Misleading

  1. Reward tokens dump. When a protocol launches with high emissions, early LPs sell the reward tokens, driving the price down. The APY in dollar terms falls fast.
  2. APY compounds assumptions. A 365-day APR of 50% shown as a compounded APY becomes 64.8%. Fine. But a daily-compounded 500% APY assumes you’re reinvesting constantly at that rate, which is impossible once everyone piles in.
  3. TVL dilution. High APY attracts capital. More capital in the pool means your share shrinks. A 500% APY pool with $1M TVL might become a 50% APY pool when TVL hits $10M.

How to Estimate Real Returns

Before committing capital, check:

  • Fee APY vs. emissions APY: Protocols like DeFiLlama break this out. Fee APY is sustainable. Emissions APY is temporary.
  • 30-day IL estimate: Some dashboards show historical IL for a pool. Factor that in.
  • Reward token vesting: Some protocols lock reward tokens for months. High APY you can’t sell is not the same as realized yield.
  • Protocol age and TVL stability: A pool that’s been running 18 months with stable TVL is a different risk profile than a week-old farm.

Risk Framework for Yield Farming

Yield farming risks stack. Don’t just think about one — think about all of them simultaneously.

Smart Contract Risk

Every DeFi protocol is a smart contract, and smart contracts can have bugs. If the contract is exploited, your deposited funds can be drained entirely. This has happened repeatedly to major protocols.

Mitigation: stick to protocols with multiple independent audits, significant bug bounties, and long track records. TVL being high doesn’t mean a protocol is safe — it just means more money would be lost if it’s exploited.

Liquidation Risk (Leveraged Farming)

Some farming strategies involve borrowing to increase exposure. If the collateral value drops below the liquidation threshold, your position gets liquidated. This can wipe out principal fast in volatile markets.

Rug Pull Risk

Especially in new, unaudited protocols: the developers can drain the contracts and disappear. Anonymous teams with unaudited code and no time-locked contracts are massive red flags.

Regulatory Risk

DeFi exists in a gray zone in most jurisdictions. Protocol access can be geo-blocked, stablecoins can be frozen, and token rewards may have complex tax implications. Know your jurisdiction.

Where to Actually Farm

Not all farming opportunities are equal. Here’s how to think about the tiers:

Blue Chip Protocols (Lowest Risk)

  • Uniswap, Curve, Aave, Compound
  • Lower APY (5-25% on most pools), but battle-tested contracts and real fee revenue
  • Good starting point for new farmers

Mid-Tier Protocols (Moderate Risk)

  • Established protocols on newer chains (Arbitrum, Base, Optimism ecosystems)
  • Higher APY potential, more emissions dependency, still audited
  • Requires closer monitoring

New/Experimental Protocols (High Risk)

  • Can offer 500%+ APY, but most of this is unsustainable emissions
  • Smart contract risk is elevated, rug risk is real
  • Only deploy capital you’re genuinely willing to lose

Tools You Need

  • DeFiLlama — TVL tracking, yield comparisons, fee vs. emissions breakdown
  • Revert Finance / APY.vision — LP position tracking, real-time IL calculation
  • DeBank — Portfolio view across all chains and protocols
  • Etherscan / block explorers — Verify contract addresses, check audit links

Is Yield Farming Worth It?

Yield farming can absolutely generate real returns. Blue-chip stable pools on Curve have paid consistent 5-15% APY in fees for years. LP positions in high-volume ETH/USDC pools on Uniswap generate steady fee income.

But chasing 1,000% APY on a two-week-old protocol is not yield farming — it’s gambling on musical chairs, and somebody always ends up without a seat.

The framework that works: start with the fees. If the protocol generates enough real fee revenue to sustain the advertised APY without emissions, it’s worth considering. If the yield only exists because the protocol is printing tokens to pay you, the question is whether you can exit before everyone else.


FAQ

What is the minimum amount needed to start yield farming?

There’s no hard minimum, but gas fees on Ethereum mainnet can make small positions uneconomical. On L2s like Arbitrum or Base, transaction costs are much lower — you can farm meaningfully with a few hundred dollars. On mainnet, $1,000-$5,000+ is typically the floor where fees don’t eat a significant portion of returns.

Is yield farming taxable?

In most jurisdictions, yes — and it gets complicated. Earned rewards are typically treated as income at fair market value when received. Selling those rewards creates a capital gain or loss. Providing and removing liquidity can trigger taxable events depending on how your country treats DeFi. Consult a crypto-savvy tax professional.

What’s the difference between yield farming and staking?

Staking usually involves locking a single token to secure a network (Proof of Stake) or earn protocol rewards. Yield farming is broader — it includes providing liquidity to DEX pools, lending assets, or complex multi-step strategies. Staking is generally simpler and lower risk; yield farming involves more moving parts and more potential for loss.

Can you lose money yield farming even if the price doesn’t crash?

Yes. Impermanent loss can reduce your position value even if both assets stay flat or rise. Smart contract exploits can drain your funds regardless of market conditions. Gas fees and reward token dumping can eat into returns. Yield farming is not a risk-free savings account.

What is a “rug pull” and how do I avoid it?

A rug pull is when developers of a DeFi protocol drain the liquidity pool and disappear with the funds. Red flags: anonymous team, no audit, contracts not time-locked, extremely high APY with no clear fee revenue, launched less than a month ago. Stick to audited protocols with doxxed or well-known teams, especially when starting out.