Guide · Guides

Leveraged Yield Farming: How It Works, the Math and the Risks

Illustration of a leveraged liquidity pool balanced against a protected vault and falling coins
On this page

What is leveraged yield farming?

Leveraged yield farming is yield farming with borrowed money. You put in your own capital, borrow more, and deploy the combined amount into a liquidity pool or yield strategy. Because the position is bigger than your deposit, you earn trading fees and rewards on more capital than you own. You also pay interest on the loan, and every loss is magnified in the same proportion as the gains.

It became popular in 2020–2021 through protocols such as Alpha Homora on Ethereum and Alpaca Finance on BNB Chain. Both are gone as active products: Alpha Homora is deprecated, and Alpaca Finance shut down in mid-2025. The idea lives on in smaller dedicated protocols and in “looping” on large lending markets. This page explains the mechanics, the math and the risks; it is not a recommendation to use leverage.

If you are new to farming, start with what yield farming is and the basics of yield farming strategies, then come back.

How leveraged yield farming works

A leveraged farming protocol connects two groups:

  • Lenders deposit assets (ETH, stablecoins and so on) into lending vaults and earn interest. They take the lowest risk in the system, though not zero.
  • Farmers deposit some capital, borrow from those vaults, and open a larger position, usually a liquidity pool position on a DEX.

Step by step, a typical position looks like this:

  1. You deposit $1,000 of USDC and choose 3x leverage.
  2. The protocol lends you $2,000, for example in ETH.
  3. It builds a $3,000 position in an ETH/USDC pool: $1,500 of each side.
  4. The pool’s trading fees and any reward tokens accrue to the full $3,000.
  5. Interest accrues on the $2,000 debt.
  6. When you close, the protocol unwinds the LP position, repays the debt plus interest, and returns what is left to you.

The protocol tracks a debt ratio (debt ÷ position value). If it rises past a liquidation threshold, because the position lost value or debt grew, liquidators close the position, repay the lender and keep a penalty. Lending markets express the same idea as a health factor; when it falls below 1, the position can be liquidated. See our page on liquidation.

The math of leveraged yield farming

Return

For a quick estimate, with leverage L:

Net APY on your equity ≈ L × farm APY − (L − 1) × borrow APY

Leverage Farm APY Borrow APY Approx. net APY on your capital
1x (no leverage) 20% – 20%
2x 20% 8% 32%
3x 20% 8% 44%
3x 20% 25% (rate spike) 10%
3x 8% (rewards end) 8% 8%, with triple the risk

These figures are illustrative, not current market rates, and they leave out impermanent loss, price moves, fees and compounding. Two lessons: leverage only pays while the farm yields more than the loan costs, and the advertised “leveraged APY” assumes both rates stay where they are today. Our guide on how to calculate yield farming leverage works through more cases.

Liquidation buffer

Leverage also sets how far a position can fall before liquidation. At 3x, you start with $2,000 of debt on a $3,000 position, a debt ratio of about 67%. If the liquidation threshold were 85%, the position could only fall to about $2,350, a drop of roughly 22%, before liquidation (ignoring interest, and assuming the debt’s dollar value stays fixed, as with a stablecoin loan). At 2x ($1,000 of debt on $2,000, a 50% debt ratio), the same threshold allows a fall of roughly 41%. If you borrowed the volatile asset instead, the debt moves with its price, so the buffer depends on which way prices move. The exact numbers depend on the protocol’s thresholds and on which asset you borrowed, but higher leverage always means a thinner buffer. For worked examples, see what a good yield farming leverage ratio is.

Same 85% liquidation threshold 2x leverage 3x leverage $2,000 position $1,000 debt · 50% ratio $3,000 position $2,000 debt · about 67% Fall before liquidation roughly 41% Fall before liquidation 22%
With the same 85% liquidation threshold, moving from 2x to 3x leverage cuts the illustrated price-fall buffer from roughly 41% to roughly 22%.

Impermanent loss is multiplied

Impermanent loss is a percentage of the whole LP position, so at 3x it costs you roughly three times as much relative to your own capital. A 2x price move between the two assets causes about 5.7% impermanent loss on a standard 50/50 pool; at 3x leverage that is about 17% of your equity, before fees.

Choosing what to borrow changes your exposure

What you borrow determines your bet on prices, not just your leverage:

  • Borrow the stablecoin in an ETH/USDC pool, and you end up with more ETH exposure than you started with: effectively a leveraged long.
  • Borrow the volatile asset (ETH), and you owe ETH: if ETH rises, your debt grows, giving you short exposure.
  • Borrow a mix in proportion to the pool, and you can get closer to neutral price exposure, which is how “delta-neutral” farming strategies work. Being neutral at the start does not keep you neutral, because LP positions rebalance as prices move.

Looping: leverage on lending markets

The most common form of leverage in 2026 does not involve LP pools at all. Looping means depositing a yield-bearing asset, borrowing against it, buying more of the same asset and depositing again, often in one transaction through a “multiply” feature.

Deposit a yield-bearing asset Borrow against the deposit Buy more of the same asset Deposit the asset again Larger collateral position
Each loop turns borrowed funds into more collateral, enabling another borrow. Repetition enlarges both the yield-bearing position and the debt.

A real-world example: in mid-November 2026, Lido’s stETH earned about 2.2% APY on DefiLlama, while Aave V3’s main Ethereum WETH market charged about 2% to borrow. Looping wstETH against WETH at 5x (possible only with Aave’s high-LTV efficiency mode) would earn roughly 5 × 2.2% − 4 × 2.0% ≈ 3%, barely above unlevered staking. If the WETH borrow rate rose to 4%, the same loop would lose about 5% a year. Thin spreads like this are why looping can turn negative quickly, and why a temporary drop in the staked token’s market price can trigger liquidations even when nothing is wrong with the underlying stake. For how stETH works, see Lido explained.

Where leveraged yield farming is offered in 2026

Approach Examples (operating as of November 2026) Notes
Dedicated leveraged-farming protocols Extra Finance (Base, Optimism), Stella (Arbitrum) Closest to the original Alpha Homora/Alpaca model; small TVL (about $7 million and under $1 million respectively on DefiLlama)
Lending-market looping Aave, Morpho, Kamino (Solana) Deepest liquidity; leverage on a single yield-bearing asset
Credit-account leverage Gearbox Borrowed funds sit in an account restricted to approved protocols; about $18 million TVL on DefiLlama
Fixed-rate alternative Pendle No leverage required to lock in a rate

These are examples, not recommendations. Check each protocol’s audits, incident history, TVL trend and current status before depositing. For the history of the sector’s pioneers, see our status pages on Alpha Homora and Alpaca Finance.

Risks of leveraged yield farming

Risk What happens
Liquidation A price move or rising debt pushes the position past its threshold; it is closed and you pay a penalty
Borrow-rate spikes Variable borrow rates can jump when a lending pool is heavily used, turning a profitable position into a losing one
Amplified impermanent loss IL on the whole position is borne by your smaller equity
Reward collapse Many farms rely on token incentives; when they end or the token falls, the yield behind the leverage disappears
Smart contract and integration risk You depend on the leverage protocol, the lending pool, the DEX and price oracles at once. Alpha Homora V2 lost about $37.5 million in a February 2021 exploit that combined flash loans with several contract bugs
Oracle and depeg risk A bad price feed or a temporary depeg of a staked or wrapped token can trigger liquidations
Protocol shutdown Alpaca Finance closed all remaining positions automatically by 30 June 2025 when it wound down

Leverage is one of the highest-risk strategies in DeFi. Size positions so that losing the whole amount would not hurt you, and monitor them, or use automation tools that can repay debt near liquidation (see whether yield farming bots are safe). Our guide to the risks of yield farming covers the wider picture, and the leveraged yield farming topic hub collects related pages.

Is leveraged yield farming worth it?

It can make sense for experienced users who understand the math, watch positions closely and can afford losses. For most people, an unlevered position in an established protocol gives a clearer risk picture. If you want steadier yield without leverage, compare stablecoin yield farming.

Frequently asked questions

What is leveraged yield farming?

It is yield farming with borrowed money. You deposit your own capital, borrow more from a lending pool, and put the combined amount into a liquidity pool or yield strategy, earning returns on the larger position while paying interest on the loan.

How do you calculate leveraged yield farming returns?

A simple approximation is: net APY ≈ L × farm APY − (L − 1) × borrow APY, where L is your leverage. At 3x, a 20% farm and an 8% borrow rate give about 44% before impermanent loss, fees and price moves.

What leverage is safe for yield farming?

No level is safe, but risk rises quickly with leverage. Many experienced users stay at 2x or below on volatile pairs because liquidation buffers shrink fast. See our guide to yield farming leverage ratios for worked examples.

Can you lose more than you deposit?

On most DeFi protocols your loss is capped at your deposited equity, because liquidation sells the position before debt exceeds its value. In fast crashes, liquidation can happen at a worse price than expected, and you also lose a liquidation penalty.

Where can you do leveraged yield farming in 2026?

Examples include dedicated protocols such as Extra Finance and Stella, credit-account systems such as Gearbox, and looping on lending markets like Aave, Morpho or Kamino. Many are small, so check status, audits and TVL first.

Sources

  1. Aave V3 documentation: Overview (health factor and liquidations)
  2. Extra Finance documentation
  3. Gearbox Protocol documentation
  4. Alpha Venture DAO: Alpha Homora V2 post-mortem (February 2021)
  5. The Block: Alpaca Finance to sunset all of its products (26 May 2025)
  6. DefiLlama Yields and lend/borrow rates (checked 16 November 2026)

Educational content, not financial advice. DeFi carries risk, including total loss of funds.

↑↓ to navigate ↵ to open Esc to close