On this page
Yield Farming: How DeFi Pays You to Provide Capital
Yield farming is the practice of moving crypto assets through DeFi protocols to earn returns, usually by providing liquidity or lending and collecting fees plus reward tokens. It treats idle tokens as working capital that can be deployed for the highest available yield.
Key Takeaways
- Yield farming earns returns by supplying capital to DeFi protocols for fees and reward tokens.
- Returns combine trading or lending fees with extra incentive tokens, often quoted as APY.
- Headline yields ignore impermanent loss, token price decay, and smart contract risk.
- High advertised yields usually signal high risk, not free money.
Key Takeaways
- Yield farming earns returns by supplying capital to DeFi protocols for fees and reward tokens.
- Returns combine trading or lending fees with extra incentive tokens, often quoted as APY.
- Headline yields ignore impermanent loss, token price decay, and smart contract risk.
- High advertised yields usually signal high risk, not free money.
What It Is
Yield farming is a DeFi strategy where you put crypto to work to earn a return rather than holding it idle. The most common form is supplying tokens to a liquidity pool on a decentralized exchange or lending them on a money market, then collecting the income those activities generate.
When you deposit into a pool, you receive LP tokens that represent your share of it. Those LP tokens are the receipt you redeem later for your portion of the pool plus accrued fees. Farmers often take this further, staking LP tokens into another protocol to earn additional reward tokens on top.
The Intuition
DeFi protocols need capital to function. A decentralized exchange needs tokens in its pools so traders have something to swap against. A lending market needs deposits so borrowers have something to borrow. To attract that capital, protocols pay for it.
Yield farming is the depositor's side of that bargain. You provide the capital a protocol needs and receive a cut of the fees, often sweetened with the protocol's own reward token. The catch is that the highest payouts go to the riskiest or newest pools, precisely because they have to pay more to attract scarce capital. The yield is a price for risk, not a gift.
How Yield Farming Works
Returns are usually quoted as APR or APY. APR is simple interest. APY assumes you compound, reinvesting rewards so they earn more rewards. The two diverge sharply at high rates.
APR = simple annualized rate, no compounding
APY = annualized rate assuming rewards are reinvested
A farmer's total return typically has two parts. The first is the base yield from fees or lending interest, which depends on real activity such as trading volume or borrowing demand. The second is incentive rewards: extra tokens the protocol hands out to attract deposits. Those reward tokens have their own market price, so a yield quoted in tokens can shrink if the token falls.
Against these gains sit several costs. Impermanent loss eats into liquidity-pool returns when prices diverge. Gas fees cost money each time you enter, exit, or compound. And the value of reward tokens can decline faster than they accrue. The honest return is the net of all of this, which is often far below the advertised headline.
Farmers also chase what is called yield stacking, where the same capital earns in more than one place at once. You deposit a token pair into a pool, receive LP tokens, then stake those LP tokens in a separate contract for an extra reward. Each layer adds yield and also adds risk, because your capital now depends on every contract in the stack working correctly. A failure or exploit in any single layer can put the whole position at risk, so more layers means more points of failure, not just more yield.
Worked Example
Suppose a pool advertises a 40 percent APY for supplying a token pair. You deposit 10,000 of value and receive LP tokens.
Over a year the base trading fees earn you 8 percent, or 800. The protocol's reward tokens add a nominal 32 percent, or 3,200 at the price when earned. On paper that is the 40 percent.
Now the costs. The two tokens diverge in price, creating an impermanent loss of 6 percent, or 600. The reward token's price falls by half before you sell, cutting the 3,200 to 1,600. Gas to enter, compound, and exit costs 150. Your real result is 800 + 1,600 - 600 - 150 = 1,650, about 16.5 percent, not 40. The gap between headline and realized yield is the whole story of yield farming.
Common Mistakes
-
Chasing the highest advertised APY. The biggest numbers usually come from new, thinly tested pools paying heavily in their own token. High yield is compensation for high risk, including the risk the project fails.
-
Ignoring impermanent loss. A liquidity-pool yield can be entirely offset by divergence loss. Always compare the net result with simply holding the tokens.
-
Overlooking reward token decay. Yields paid in a protocol's token can collapse if that token's price falls. A 100 percent yield in a token that drops 80 percent is not a 100 percent return.
-
Underestimating smart contract risk. Your capital sits in code that can have bugs or be exploited. Audits reduce but do not remove this risk, and unaudited protocols are far more dangerous.
-
Forgetting gas and compounding costs. Frequent compounding looks great in an APY figure but costs gas each time. For smaller positions, those fees can wipe out the compounding benefit.
Frequently Asked Questions
What is yield farming in simple terms? Yield farming is putting your crypto into DeFi protocols to earn a return, usually by providing liquidity or lending. You collect fees and often extra reward tokens in exchange for supplying the capital these protocols need.
How does yield farming affect investment decisions? The advertised yield rarely equals what you keep, so you should subtract impermanent loss, reward token decline, and gas before judging a pool. Treating high yields as a risk signal rather than a bargain leads to better choices.
What is a real-world example of yield farming? Depositing a token pair into a decentralized exchange pool, receiving LP tokens, then staking those LP tokens elsewhere for additional reward tokens is a classic yield-farming setup. Returns come from fees plus the bonus tokens.
How can investors farm yield more safely? Prefer audited protocols, favor stable or correlated pairs to limit impermanent loss, and value yields net of token decay and gas. Sizing positions so a single protocol failure is survivable also helps.
How is yield farming different from liquidity mining? Yield farming is the broad strategy of seeking returns across DeFi. Liquidity mining is one method within it, where a protocol specifically rewards you with its own token for supplying liquidity.
Sources
- Kraken Learn. "What Is Yield Farming?" https://www.kraken.com/learn/what-is-yield-farming
- Gemini Cryptopedia. "What Is Yield Farming? Liquidity Pool Tactics." https://www.gemini.com/cryptopedia/what-is-yield-farming-crypto-defi-liquidity-mining
- Ethereum.org. "Decentralized Finance (DeFi)." https://ethereum.org/en/defi/
- Uniswap. "What Is an Automated Market Maker?" https://blog.uniswap.org/what-is-an-automated-market-maker
Disclaimer
This article is educational content only and is not financial advice. Nothing here is a recommendation to buy, sell, or hold any security. Consult a licensed advisor before making investment decisions.
Back to your knowledge path