Back to Glossary

Yield Farming

Crypto

Definition

A DeFi strategy of moving crypto assets between protocols to maximise returns through interest, fees, and token rewards.

In Detail

Yield farming (also called liquidity mining) is a decentralised finance (DeFi) strategy where crypto holders deploy their assets into various protocols — lending platforms, liquidity pools, staking mechanisms, and other smart-contract-based products — to earn returns in the form of trading fees, interest payments, and protocol reward tokens. The practice emerged during the "DeFi Summer" of 2020 when protocols began distributing governance tokens to users who provided liquidity, creating astronomical short-term returns that attracted billions of dollars into the ecosystem. Yield farming operates across several DeFi categories: liquidity provision (depositing token pairs into automated market maker pools like Uniswap or Curve to earn a share of trading fees), lending (supplying tokens to lending protocols like Aave or Compound to earn interest from borrowers), staking (locking tokens in proof-of-stake networks or protocol-specific staking contracts to earn rewards for securing the network), and more complex strategies involving multiple protocols simultaneously (such as depositing tokens as collateral to borrow other tokens, which are then deposited elsewhere for additional yield — a practice called "leveraged farming"). The returns in yield farming are expressed as APY (Annual Percentage Yield, which includes compounding) or APR (Annual Percentage Rate, without compounding). APY figures can be misleadingly high because they project current short-term rates over a full year — a pool paying 1% per day would show a theoretical 3,678% APY, but such rates are almost never sustainable. The risks of yield farming are substantial and multi-layered: smart contract risk (bugs or vulnerabilities in the protocol's code can be exploited to drain all deposited funds), impermanent loss (for liquidity pool deposits, price divergence between paired tokens erodes returns), protocol risk (the protocol may change its reward rates, be poorly governed, or be a deliberate rug pull), token reward risk (governance tokens earned as rewards may lose value dramatically, turning a 100% APY into a negative real return), and gas fee risk (on networks like Ethereum, transaction fees for depositing, harvesting, and withdrawing can consume a significant portion of smaller yields).

How to Use in Trading

Begin yield farming with established, audited protocols that have been operating for at least a year and have significant total value locked (TVL): Aave, Compound, Uniswap, Curve, and Convex are among the most battle-tested. Start with simpler strategies (single-asset lending on Aave, stablecoin pool liquidity on Curve) before progressing to complex multi-protocol strategies. Before depositing into any pool, calculate your expected real return after accounting for all costs: gas fees (deposit, claim rewards, withdraw), impermanent loss (use an IL calculator with realistic price scenarios), and token reward depreciation (governance tokens earned as rewards frequently lose 50-80% of value within months of distribution). If the real return after these deductions is negative, the farming opportunity is not actually profitable regardless of what the headline APY says. Diversify across multiple protocols and strategies rather than concentrating in the highest-APY option — the highest APYs carry the highest risk and are usually the first to collapse. Use yield aggregators (Yearn Finance, Beefy Finance) to automate compounding and strategy rotation, reducing gas costs and optimising returns across protocols. Monitor your positions regularly: farming yields are not static and can change dramatically as TVL shifts, token prices move, and protocol rewards adjust. Set minimum acceptable return thresholds — if a farming position drops below your threshold, withdraw and redeploy elsewhere rather than holding in declining-yield positions out of inertia.

Example

You have $20,000 in crypto and want to generate yield. You allocate across three strategies for diversification. Strategy 1 — Low risk: deposit $10,000 USDC into Aave's lending pool. Current supply APY: 4.5%. Expected annual return: $450. Risk: smart contract risk only (minimal for Aave, which has been audited multiple times and holds billions in TVL). No impermanent loss because it is a single-asset deposit. Strategy 2 — Medium risk: deposit $6,000 worth of USDC/USDT into Curve's stablecoin pool. Current APY: 8% (3% from trading fees + 5% from CRV token rewards). Expected annual return: $480. Risk: minimal impermanent loss (stablecoins rarely diverge significantly), smart contract risk, and CRV token price risk (if CRV drops 50%, the reward portion of your APY halves). Strategy 3 — Higher risk: deposit $4,000 worth of ETH/USDC into Uniswap V3 in a concentrated liquidity position. Current APY: 25% from trading fees alone. Expected annual return: $1,000 if ETH price stays within your range. Risk: significant impermanent loss if ETH moves outside your concentrated range, smart contract risk, and active management required (you must adjust your range if price moves). After six months, you review results: Strategy 1 earned $225 (on track). Strategy 2 earned $180 (trading fees met expectations but CRV dropped 40%, reducing token reward value). Strategy 3 earned $300 in fees but suffered $350 in impermanent loss when ETH rallied 35% outside your range — a net loss of $50. Total six-month result: $225 + $180 - $50 = $355 on $20,000 deployed, annualising to approximately 3.6%. The headline APYs suggested much higher returns, but real-world results after impermanent loss and token price declines were more modest — a common outcome in yield farming.

Crypto Trading Basics

Go beyond the definition with our in-depth guide

Related Terms

More Crypto Terms

Put This Knowledge to Use

Practice crypto trading with $10,000 virtual capital. No risk, real market conditions.

Start Paper Trading Free