What is yield farming? Liquidity mining and APY risks explained

By: rootdata|2026/07/31 08:22:00

In the summer of 2020, a governance token called COMP turned decentralized finance inside out. Compound, a lending protocol on Ethereum, began distributing COMP tokens to anyone who lent or borrowed on the platform, and within weeks, hundreds of millions of dollars flowed into smart contracts that had held a fraction of that the month before. Users were not just earning interest on deposits; they were earning a second layer of rewards, governance tokens, on top of the base yield, and then depositing those tokens elsewhere to earn a third layer. The practice acquired a name, yield farming, and for a brief, fevered period, annual returns exceeded 1,000% on major platforms. The rates were unsustainable, the risks were poorly understood, and the strategies were genuinely novel. Three years later, the fever broke, the unsustainable yields collapsed, and what remained was a permanent feature of the DeFi economy: the practice of actively deploying capital across protocols to maximize returns. Yield farming did not disappear after DeFi Summer. It grew up.
Summary

  • Yield farming is the practice of depositing cryptocurrency into DeFi protocols to earn returns from trading fees, lending interest, governance token rewards, or protocol incentive programs.
  • The strategy encompasses multiple categories: liquidity provision on decentralized exchanges, lending on money markets, automated vault strategies, and points-based programs that convert to future token allocations.
  • Sustainable yields in DeFi typically range from 3-15% for stable pairs and 10-30% for volatile pairs, with higher advertised rates usually reflecting temporary subsidies, token inflation, or risks that are not priced into the headline number.

The term "farming" is borrowed from gaming culture, where players repeat actions to accumulate resources. In DeFi, the resource is yield, and the repeated action is depositing capital wherever the return is highest. The analogy extends further than most people realize: farming in games is tedious, repetitive, and rewards those who optimize ruthlessly. DeFi yield farming is the same. The casual farmer deposits stablecoins into Aave and earns 4%. The professional farmer splits capital across eight protocols on four chains, compounds rewards hourly through automated strategies, hedges impermanent loss with options positions, and earns 12-20% while monitoring smart contract risk across every position. The difference between the casual and professional farmer is not just in returns; it is in the understanding of where yield comes from, because yield that appears to come from nowhere always comes from somewhere, and the farmer who does not know the source is usually the source.

The mechanics: what happens when you deposit {#the-mechanics-what-happens-when-you-deposit}

Yield farming, stripped to its simplest form, involves three steps: you deposit tokens into a smart contract, the protocol uses your tokens for some productive purpose, and you receive a share of the value that purpose generates. The productive purposes vary by protocol type, but they fall into a small number of categories.

On a decentralized exchange like Uniswap or Curve, the productive purpose is market-making. You deposit a pair of tokens, say ETH and USDC, into a liquidity pool, and the DEX uses your tokens to facilitate trades between those assets. Every time a trader swaps ETH for USDC or vice versa, they pay a fee (typically 0.3% on Uniswap v2, variable on v3), and that fee is distributed proportionally among all liquidity providers in the pool. Your return depends on the volume of trades flowing through the pool relative to its total size: a pool with $10 million in deposits and $1 million in daily trading volume generates a different return profile than one with $10 million in deposits and $100,000 in daily volume. The yield is real, it comes from fees paid by real traders, but it is not free: providing liquidity exposes you to impermanent loss, a cost that can exceed the fees earned if the price ratio of your deposited tokens changes significantly.

On a lending protocol like Aave, Compound, or Morpho, the productive purpose is credit intermediation. You deposit tokens, the protocol lends them to borrowers who pay interest, and you receive a share of that interest. Borrowers must overcollateralize their loans (deposit more value than they borrow), which protects lenders from default risk at the protocol level, though smart contract risk remains. Lending yields fluctuate with demand: when lots of people want to borrow USDC (often to lever up during bull markets), the interest rate rises; when borrowing demand drops, yields compress. Stablecoin lending rates have ranged from below 1% to above 15% in recent years, driven almost entirely by the market cycle.

On a yield aggregator like Yearn Finance, Beefy, or Sommelier, the productive purpose is strategy execution. You deposit tokens into a vault, and the vault's smart contract automatically executes a farming strategy: depositing into lending protocols, providing liquidity, claiming reward tokens, swapping them for the base asset, and redepositing. The vault automates the compounding and rebalancing that a manual farmer would need to do themselves, charging a performance fee (typically 10-20% of profits) in exchange. Vaults are the passive farmer's tool: they abstract away the complexity of multi-protocol strategies and reduce gas costs by batching operations across all depositors. The tradeoff is opacity, you are trusting the vault's strategy and its smart contract code, and a layered risk: the vault contract can fail, the underlying protocol contracts can fail, and the strategy itself can underperform if market conditions change faster than the vault rebalances.

The taxonomy: types of yield farming {#the-taxonomy-types-of-yield-farming}

The yield farming landscape has diversified into several distinct categories, each with different return profiles and risk characteristics.

Liquidity provision farming is the oldest and most straightforward form. You deposit token pairs into DEX pools and earn trading fees. On concentrated liquidity DEXs like Uniswap v3, you can specify a price range for your liquidity, concentrating your capital where trading activity is highest and earning more fees per dollar deployed. The tradeoff is that concentrated liquidity amplifies impermanent loss when prices move outside your range, and managing positions actively requires constant attention or automated position managers.

Incentivized farming adds a second yield layer. Protocols distribute their own governance tokens to liquidity providers as a subsidy to attract deposits. During DeFi Summer 2020, COMP, SUSHI, and dozens of other tokens were distributed this way, producing triple-digit APYs that attracted billions in capital. The incentive model has evolved: modern incentive programs tend to be more targeted (rewarding specific pools or behaviors) and time-limited (vesting schedules, lock-ups, or decreasing emission rates). The fundamental dynamic has not changed: incentivized yields are subsidized by token inflation, and the sustainability of the return depends entirely on whether the token's price holds while emissions dilute the supply.

Lending farming is lower-risk and lower-return. Depositing stablecoins into Aave or Compound earns a base interest rate from borrower payments. Some lending protocols add governance token incentives on top, creating a total yield that exceeds the base rate. The appeal is simplicity and the absence of impermanent loss: your deposit stays in the asset you deposited, and your return is denominated in the same asset. The risk is primarily smart contract exposure and, for non-stablecoin deposits, the underlying token's price volatility.

Points farming emerged in 2024-2025 as a new incentive model. Instead of distributing tokens directly, protocols award off-chain "points" for depositing capital or using the product. Points are expected to convert to governance tokens at a future token generation event, but the conversion ratio is unknown until that event occurs. EigenLayer's restaking points, Blast's ecosystem points, Ethena's shard system, and Hyperliquid's points program all used this model. Points farming introduces a unique risk: you are earning a claim on a future asset whose value, issuance, and distribution rules are all unknown. The speculative element is explicit, and the returns are entirely dependent on the eventual token's price and your share of the total point supply.

Recursive or leveraged farming amplifies returns and risks. A farmer deposits collateral into a lending protocol, borrows against it, deposits the borrowed tokens into another protocol (or the same one), and repeats. Each loop earns an additional layer of yield but also increases the farmer's exposure to liquidation risk: if any of the underlying assets drops in price, the chain of positions can unwind in a cascade of forced sales. Leveraged farming was responsible for some of the most spectacular blowups in DeFi's history, and it remains a strategy reserved for operators who understand exactly what they are leveraging and what triggers their liquidation.

The math that lies: APY, APR, and what the numbers actually mean {#the-math-that-lies-apy-apr-and-what-the-numbers-actually-mean}

You might also like:

Yield farming returns are universally quoted as APY or APR, and both numbers lie, though in different ways.

APR, annual percentage rate, is the simple interest rate without compounding. If a pool earns 1% per month on deposits, its APR is 12%. The number is honest about what the rate has been but says nothing about what it will be: APR is backward-looking, a measurement of recent performance extrapolated to a year, and DeFi rates change daily or hourly based on capital flows and demand. A pool showing 50% APR when you check it may show 5% APR a week later because $100 million in new deposits arrived and diluted the yield.

APY, annual percentage yield, includes the effect of compounding. The same 1% per month, compounded, produces an APY of 12.68%. In DeFi, the compounding frequency varies: some vaults compound daily, others weekly, and the difference in APY can be significant for high-yield positions. The number is useful for comparing strategies with different compounding frequencies but adds a layer of abstraction that can obscure the underlying rate.

Both metrics share a critical flaw when applied to incentivized farming: they value the reward tokens at their current price. A pool showing 200% APY in governance token rewards assumes the governance token maintains its current price for the entire year. If the token drops 80%, which is not unusual for newly-launched DeFi tokens, the real APY is 40%, and if everyone who farmed the token sells their rewards simultaneously (which is what typically happens), the selling pressure itself drives the price down, creating a reflexive loop where the advertised yield self-destructs.

The honest way to evaluate yield farming returns is to decompose the yield into its sources and assess the sustainability of each. Fee-based yield from trading volume is sustainable as long as the trading volume persists. Interest from lending is sustainable as long as borrowing demand exists. Governance token incentives are sustainable only if the token's price absorbs the emission schedule without collapsing. Points-based yields are entirely speculative until the token launches. Any headline APY above 15-20% for stablecoin strategies or 30-50% for volatile pair strategies should be treated with skepticism and decomposed into its sources before capital is committed.

Impermanent loss: the cost the headline yield hides {#impermanent-loss-the-cost-the-headline-yield-hides}

Impermanent loss is the single most important concept in yield farming, and it is the one most farmers understand least well. It occurs whenever you provide liquidity to a constant-product AMM (like Uniswap) and the price ratio of your deposited tokens changes relative to when you deposited them.

The mechanism is mathematical and unavoidable. A constant-product AMM maintains the invariant x * y = k, where x and y are the quantities of the two tokens in the pool and k is a constant. When an external price change occurs, arbitrageurs trade against the pool to bring its internal price in line with the market price, and this rebalancing changes the composition of your position. If you deposited 50% ETH and 50% USDC and ETH doubles in price, arbitrageurs will buy ETH from the pool (cheap relative to the market) and sell USDC into it, leaving the pool with less ETH and more USDC. Your position is now worth less than if you had simply held the original tokens in your wallet.

The magnitude depends on the price change. A 1.25x price move produces approximately 0.6% impermanent loss. A 2x move produces 5.7%. A 5x move produces 25.5%. For concentrated liquidity positions, where capital is allocated to a narrow price range, the impermanent loss is amplified proportionally to the concentration factor, creating a tradeoff between higher fee earnings and higher impermanent loss exposure.

The term "impermanent" is misleading. The loss is impermanent only in the sense that it reverses if the price ratio returns to its original value. In practice, prices rarely return to exactly where they were, and for trending assets, the loss is permanent and growing. For stablecoin-stablecoin pairs (USDC/USDT), impermanent loss is negligible because both tokens track the same price. For volatile pairs (ETH/MEME, SOL/bonk), impermanent loss can easily exceed the trading fees earned, producing a net loss despite a seemingly positive APY.

The practical implication: impermanent loss must be subtracted from the headline yield to determine the real return. A pool showing 30% APY in trading fees but experiencing 15% impermanent loss is actually yielding 15%. A pool showing 10% APY with 12% impermanent loss is losing money. Tools like APY.vision, Revert.finance, and DeBank allow farmers to track their actual P&L including impermanent loss, and anyone providing liquidity without tracking this number is flying blind.

The risk stack: what can go wrong, ranked by frequency {#the-risk-stack-what-can-go-wrong-ranked-by-frequency}

Yield farming risks form a hierarchy, and the most common risks are not the ones that make headlines.

Token price decline is the most frequent source of loss. If you farm with volatile tokens and the token price drops 40%, your 15% APY is irrelevant: you lost money. This is not a DeFi-specific risk but a market risk that yield farming amplifies because it encourages deploying capital into the highest-yield (often the highest-volatility) opportunities.

Impermanent loss, as described above, is the second most common source of loss for liquidity providers. It is predictable, measurable, and almost universally underestimated.

Smart contract exploits are the most consequential risk. DeFi protocols are code, and code has bugs. In 2024, over $1.7 billion was stolen from DeFi protocols through smart contract exploits, oracle manipulation, and governance attacks. Your deposited funds are held in smart contracts that can be exploited, and the composability of DeFi, where one protocol deposits into another which deposits into a third, creates cascading risk: a bug in a downstream protocol can affect every protocol built on top of it. Audits reduce but do not eliminate this risk; some of the largest exploits have targeted audited code.

Rug pulls and protocol abandonment are distinct from exploits. In smaller, newer protocols, the development team may drain the protocol's funds and disappear, or simply stop maintaining the code and let the protocol decay. Rug pulls are less common on major, established protocols but remain a significant risk in the long tail of DeFi, particularly on newer chains where the protocol ecosystem is less mature.

Liquidation risk applies to leveraged farming strategies. If you borrow against your deposits and the collateral value drops, the protocol liquidates your position, selling your collateral to repay the loan, often at a significant loss. During sharp market downturns, cascading liquidations create forced selling that amplifies the crash, and leveraged farmers are the first casualties.

Regulatory risk is the slowest-moving but potentially the most disruptive. Centralized yield products, Celsius, BlockFi, Gemini Earn, were shut down or restructured under SEC enforcement. Pure DeFi yield farming, interacting directly with permissionless smart contracts, has not been directly targeted, but the regulatory boundary between "decentralized" and "centralized" is legally ambiguous, and the DeFi frontends that most users interact with are operated by companies subject to jurisdiction.

The Curve Wars and the economics of liquidity incentives {#the-curve-wars-and-the-economics-of-liquidity-incentives}

You might also like:

No discussion of yield farming is complete without the episode that revealed the mechanism's deepest dynamics: the Curve Wars.

Curve Finance, a DEX optimized for stablecoin and similar-asset swaps, introduced a system where CRV token holders who locked their tokens for up to four years (receiving vote-escrowed CRV, or veCRV) could direct the protocol's token emissions to specific liquidity pools. Pools receiving more emissions attracted more liquidity providers, which deepened liquidity, which improved trading execution, which attracted more volume, which generated more fees. The right to direct CRV emissions became, in effect, the right to attract liquidity, and protocols whose stablecoins or tokens needed deep Curve pools began competing for that right.

The competition took the form of bribes: protocols paid veCRV holders to vote for their preferred pools. Convex Finance emerged as the dominant intermediary, aggregating CRV deposits and voting power and selling governance votes to the highest bidder. At the peak of the Curve Wars, protocols were paying $1.50-2.00 in bribes per $1 of CRV emissions directed to their pools, a ratio that only made sense because the liquidity those emissions attracted was worth more to the protocol than the bribe cost.

The Curve Wars revealed a fundamental truth about yield farming economics: liquidity is a commodity that goes to the highest bidder, and yield farming returns are, in the long run, determined by the cost protocols are willing to pay to rent that liquidity. When protocols pay high incentives, yields are high. When they stop paying, yields collapse and capital migrates elsewhere. The farmer who understands this dynamic, that they are selling a service (liquidity) to protocols willing to rent it, has a fundamentally clearer view of their position than the farmer who believes high yields are a natural property of DeFi.

Yield farming and US taxes: the compliance reality {#yield-farming-and-us-taxes-the-compliance-reality}

US tax treatment of yield farming is complex, largely ungoverned by specific guidance, and imposes significant record-keeping burdens on active farmers.

Every yield farming reward is a taxable event. The IRS treats tokens received as farming rewards, whether from trading fees, lending interest, governance token distributions, or vault profits, as ordinary income at fair market value when received. If you claim 100 COMP tokens worth $50 each, you owe income tax on $5,000, regardless of whether you sell the tokens. If you later sell those tokens at $80 each, you owe capital gains tax on the $3,000 gain ($30 per token times 100 tokens). If you sell at $20 each, you have a $3,000 capital loss that can offset other gains.

Compounding creates a tax nightmare. Vaults that auto-compound, selling reward tokens and redepositing the proceeds, generate a taxable event at every compound cycle. A vault that compounds daily creates 365 taxable events per year, each requiring the fair market value of the tokens at the moment of compounding. No DeFi protocol issues 1099 forms. The burden of tracking every event falls entirely on the farmer.

Impermanent loss has no clear tax treatment. The IRS has not addressed whether impermanent loss constitutes a realized loss (deductible against income) or an unrealized loss (not deductible until the LP position is closed). Most tax advisors treat impermanent loss as realized only upon withdrawal of the LP position, but the treatment is not settled.

Token swaps within a strategy are taxable. If a vault sells governance tokens for stablecoins as part of its compounding strategy, each swap is a taxable disposition. Multi-hop strategies that involve three or four token swaps per cycle generate taxable events at each hop.

The practical advice for US yield farmers: use a crypto tax tracking platform (Koinly, CoinTracker, TokenTax, ZenLedger) from day one. Retroactive tracking across multiple chains, protocols, and wallet addresses is exponentially harder than real-time tracking. Budget for tax compliance as a cost of farming, because the marginal gains of active yield farming can be significantly reduced by the tax and accounting costs of documenting them.

How to start: a practical path for beginners {#how-to-start-a-practical-path-for-beginners}

If you want to explore yield farming, a progressive approach minimizes your risk while building your understanding.

Begin with stablecoin lending. Deposit USDC or USDT into Aave on Ethereum mainnet or Arbitrum. The yield is modest, currently 3-8% depending on market conditions, but the risk profile is the simplest in DeFi: no impermanent loss, single-asset exposure, and Aave is one of the most audited and battle-tested protocols in the ecosystem. This step teaches you the mechanics of connecting a wallet, approving transactions, depositing, and monitoring a position.

Graduate to stablecoin LP positions. Providing USDC/USDT liquidity on Curve earns trading fees from stablecoin swaps with minimal impermanent loss (both tokens track the dollar). The yield is typically higher than pure lending, and the experience teaches you how LP positions work, how to read pool statistics, and how to claim and compound rewards.

Explore yield aggregator vaults. Depositing into a Yearn or Beefy vault automates the compounding process and exposes you to the vault's strategy, which may span multiple protocols. Read the vault's strategy description, understand what protocols it deposits into, and check the TVL and age of the vault (older, larger vaults have been more heavily tested).

Only after you are comfortable with these steps should you consider volatile pair liquidity provision, concentrated liquidity positions, or leveraged strategies. Each step up the complexity ladder adds risk, and the most common yield farming losses come from farmers who jumped to advanced strategies before understanding the basics.

Regardless of strategy, follow these operational principles: use established protocols with multiple audits and significant TVL. Deploy capital you can afford to lose. Monitor your positions regularly. Use hardware wallets for large deposits. Diversify across multiple protocols and chains. Track your taxes from day one. And remember the fundamental question: if you do not know where the yield comes from, you are the yield.

Frequently asked questions

Is yield farming still profitable in 2026? {#faq-00bde8c63969}

Yes, but the character of profitability has changed. The triple-digit APYs of DeFi Summer 2020 are gone for mainstream protocols. Sustainable yields on stablecoin deposits range from 3-10%. Volatile pair liquidity provision yields 10-30% but carries impermanent loss risk. Points farming and early-protocol incentives can produce higher short-term returns but with significant uncertainty. Professional yield farmers earn competitive returns through active management across multiple protocols and chains, but casual farming with set-and-forget deposits produces modest, savings-account-level yields on stablecoins.

What is the difference between yield farming and staking? {#faq-bf3fc7e7cd60}

Staking secures a proof-of-stake blockchain network and earns validator rewards. Yield farming provides liquidity, lending capital, or strategic deposits to DeFi protocols and earns trading fees, interest, or incentive tokens. The risk profiles differ: staking risk is primarily slashing and lock-up periods; yield farming risk includes impermanent loss, smart contract exploits, token price collapse, and liquidation (for leveraged strategies). Some activities blur the line: depositing liquid staking tokens like stETH into a DeFi lending protocol combines both staking and yield farming in a single position.

Can you yield farm with Bitcoin? {#faq-5b20d2ef0ee8}

Not directly on Bitcoin's blockchain, which does not natively support the smart contracts required for DeFi protocols. However, wrapped Bitcoin (WBTC on Ethereum, tBTC via Threshold Network) can be deposited into Ethereum DeFi protocols for yield farming. Some Bitcoin layer-2 networks and sidechains are building native DeFi capabilities, but the ecosystem is much smaller and less battle-tested than Ethereum's. The wrapping process itself introduces risk: your BTC is held by a custodian or smart contract that issues the wrapped token, and that intermediary is a single point of failure.

What is the safest yield farming strategy? {#faq-552778aeff7e}

Lending stablecoins (USDC, USDT, DAI) on established, multi-year, multiply-audited lending protocols (Aave, Compound, Morpho) on Ethereum mainnet or major layer-2 networks. This strategy eliminates impermanent loss, minimizes token price risk, and uses the most heavily-tested smart contracts in DeFi. The yield is modest, typically 3-8% APR, but the risk-reward profile is the most conservative available in decentralized finance. Even this strategy carries non-zero smart contract risk and stablecoin depeg risk, but both are well-understood and historically rare on established platforms.

How much money do you need to start yield farming? {#faq-0350f16aa671}

The answer depends entirely on which blockchain you use. On Ethereum mainnet, gas costs for depositing, claiming rewards, and withdrawing can run $50-200 per transaction, making yield farming impractical with less than $5,000-10,000 in capital. On layer-2 networks like Arbitrum, Base, or Optimism, gas costs are typically under $1, allowing meaningful farming with $500-1,000. On Solana, transaction costs are fractions of a cent, and farming is accessible with even smaller amounts. The minimum is set by gas economics, not by protocol requirements: most protocols have no minimum deposit, but if your gas costs exceed your expected yield, the position is economically irrational.

Disclaimer: This article is for informational purposes only and should not be considered financial or investment advice.
Read more:

This content is provided for general informational purposes only and doesn't constitute financial, investment, legal, or tax advice. Any events, rewards, online promotions, or related information mentioned herein should not be considered a recommendation, solicitation, or invitation to purchase, sell, trade, or otherwise deal in any crypto assets. Crypto assets are highly volatile and may result in loss. The availability of WEEX services, products, and related events may vary by region. You are responsible for ensuring that your participation is in accordance with applicable local laws and regulations.

You may also like

iconiconiconiconiconiconicon
Customer Support:@weikecs
Business Cooperation:@weikecs
Quant Trading & MM:[email protected]
VIP Program:[email protected]