Glossary

Recursive Lending (Looping)

Recursive lending is a DeFi strategy that repeatedly deposits and borrows the same asset to amplify yield or leverage exposure.

Key Takeaways

  • Recursive lending (looping) repeatedly deposits and borrows the same asset on a lending protocol to amplify exposure to the spread between supply and borrow APY.
  • Maximum effective leverage is governed by the loan-to-value ratio: at 80% LTV, the theoretical ceiling is 5x. Each additional loop adds diminishing returns as a geometric series converging on 1 / (1 - LTV).
  • The strategy carries compounded risk: a price decline or interest rate spike can trigger liquidation cascades across all loops simultaneously, and unwinding the position requires multiple transactions under stress.

What Is Recursive Lending?

Recursive lending (also called looping or leverage looping) is a DeFi strategy where a user deposits an asset as collateral into a lending protocol, borrows against it, re-deposits the borrowed asset, borrows again, and repeats. Each cycle increases the user's total supplied balance, amplifying the yield earned from the spread between supply and borrow rates.

The strategy exploits a structural feature of overcollateralized lending: protocols allow borrowed funds to be reused as collateral. As long as the supply APY (plus any token incentive rewards) exceeds the borrow APY, each loop generates incremental profit. The tradeoff is a tighter health factor and magnified exposure to liquidation.

A Bank of Canada study (2026) found that recursive leverage accounted for over 20% of total borrowed volume on Aave V3 during 2023 through 2025, making it one of the most prevalent strategies in DeFi lending markets.

How It Works

The looping process follows a repeating cycle of deposit, borrow, and re-deposit. Here is a concrete example starting with 100 USDC at 80% LTV:

  1. Deposit 100 USDC as collateral into a lending protocol
  2. Borrow 80 USDC (80% of 100) against the collateral
  3. Re-deposit the 80 USDC as additional collateral (total supplied: 180 USDC)
  4. Borrow 64 USDC (80% of 80) against the new collateral
  5. Re-deposit 64 USDC (total supplied: 244 USDC)
  6. Continue until gas costs or diminishing returns make the next loop uneconomical

After several loops, the user earns supply interest on a much larger balance while paying borrow interest on the cumulative debt. The net yield is the spread between the two rates, multiplied by the effective leverage.

The Math: Geometric Series and Diminishing Returns

Each loop adds LTVn times the original deposit as new exposure. The cumulative exposure follows a geometric series:

Total Exposure = C × (1 + LTV + LTV² + LTV³ + ...)
               = C / (1 - LTV)

Maximum Leverage = 1 / (1 - LTV)

For finite loops:
Leverage(n) = (1 - LTV^(n+1)) / (1 - LTV)

At 80% LTV, the maximum theoretical leverage is 1 / (1 - 0.80) = 5x. In practice, users rarely exceed 3x to 4x because each additional loop adds less exposure while bringing the position closer to the liquidation threshold.

Exposure Per Loop

LoopNew ExposureCumulativeEffective Leverage
0 (base)100.0100.01.00x
180.0180.01.80x
264.0244.02.44x
351.2295.22.95x
441.0336.23.36x
532.8369.03.69x
0500.05.00x

Maximum Leverage by LTV

LTV RatioMax Leverage
50%2.00x
67%3.03x
75%4.00x
80%5.00x
90%10.00x

Protocols offering "eMode" (efficiency mode) for correlated asset pairs like liquid staking tokens paired with their underlying asset allow LTV ratios of 90% or higher, enabling aggressive leverage of 10x or more.

Effective Yield Calculation

The net yield from recursive lending scales with leverage, but only on the spread between supply and borrow rates:

Effective Yield = (Supply APY + Reward APY - Borrow APY) × Leverage

Example at 3x leverage:
  Supply APY:  4.0%
  Reward APY:  2.0%  (governance token incentives)
  Borrow APY: -3.5%
  Net spread:  2.5%
  Effective:   2.5% × 3 = 7.5% on original capital

The profitability condition is straightforward: supply APY plus all rewards must exceed borrow APY. If this condition inverts (for example, during a utilization spike that pushes borrow rates above supply rates), every loop amplifies the loss instead of the gain.

Flash Loan Optimization

Manually executing five or more loops requires multiple on-chain transactions, each incurring gas costs. Modern automation tools compress the entire process into a single atomic transaction using flash loans:

  1. Take a flash loan for the full target borrowed amount
  2. Deposit the user's collateral plus the flash loan as supply
  3. Borrow against the total collateral to repay the flash loan
  4. The transaction completes in one block, or reverts entirely if any step fails

Tools like Contango, DeFi Saver, and Instadapp offer one-click leverage that replaces 30+ manual transactions with a single flash-loan-powered operation. This dramatically reduces gas costs and eliminates partial execution risk.

Use Cases

Yield Amplification on Stablecoins

The most common application is amplifying modest stablecoin yield spreads. A 2% net spread between USDC supply and borrow rates becomes roughly 10% at 5x leverage. Because stablecoins maintain a peg, the liquidation risk from price volatility is minimal (though not zero: depeg events can and do occur).

Leveraged Liquid Staking Exposure

Users deposit a liquid staking token (such as stETH or JitoSOL) as collateral, borrow the underlying asset (ETH or SOL), swap it back into the LST, and loop. Each cycle earns the staking yield on a larger balance while paying only the borrow rate on the debt. Protocols with eMode for correlated pairs allow LTV ratios above 90%, enabling 10x or more leverage on the staking spread.

Governance Token Farming

When lending protocols distribute governance tokens to both suppliers and borrowers, recursive lending amplifies both reward streams. Users loop not for the interest rate spread but for the token incentives. This was particularly prevalent during the "DeFi Summer" era of 2020 through 2021 and continues wherever protocols offer yield farming incentives.

Capital-Efficient Directional Bets

Traders use recursive lending to gain leveraged exposure to an asset without using a perpetual futures contract. By looping ETH as collateral and borrowing a stablecoin, a user creates a leveraged long position. The advantage over perps: no funding rate payments, no exchange counterparty risk, and the collateral earns supply yield while the position is open.

Why It Matters

Recursive lending is one of the highest-volume strategies in DeFi, and understanding it is essential for evaluating the health and risk profile of lending protocols. The strategy drives significant TVL figures across the ecosystem: a protocol showing $5 billion in deposits may have a substantial portion attributed to the same capital being deposited and borrowed multiple times.

For the broader market, recursive lending creates systemic leverage that amplifies both upside and downside moves. During bull markets, looping increases demand for borrowing, pushing rates higher and generating protocol revenue. During downturns, cascading liquidations from looped positions can accelerate price declines and produce bad debt. Understanding this dynamic is critical for anyone participating in DeFi lending markets.

Risks and Considerations

Liquidation Cascades

Recursive lending compresses the distance between a position's current collateral factor and its liquidation threshold. A 5x looped position on a volatile asset can be liquidated by a price move that a spot holder would barely notice. Worse, unwinding a looped position requires multiple sequential transactions: repay debt, withdraw collateral, repay more debt, withdraw more collateral. During market stress, network congestion and rising gas costs can prevent timely unwinding.

In March 2020's "Black Thursday," ETH dropped roughly 50% in two days. Over $1 billion in positions were liquidated across DeFi. MakerDAO alone suffered $4.5 million in bad debt because network congestion prevented liquidation auctions from functioning properly.

Interest Rate Volatility

DeFi lending protocols use variable interest rates driven by pool utilization. A sudden spike in borrowing demand can push borrow APY above supply APY, inverting the spread that makes looping profitable. At leverage, this inversion is amplified: a 1% negative spread at 5x leverage becomes a 5% annualized loss on capital.

Smart Contract Risk

The entire leveraged position exists within a single smart contract system. Any exploit, bug, or governance attack on the protocol affects the magnified position, not just the original capital. Recursive lending compounds this exposure because both the supply and debt sides of the position are in the same protocol.

Gas Cost Erosion

On networks with high transaction fees, the gas cost of entering, managing, and exiting a looped position can consume a meaningful portion of the yield. This is especially problematic for smaller positions where the absolute dollar yield is modest. Flash-loan-based automation tools reduce but do not eliminate this cost: the single transaction still requires significant computation.

Phantom TVL

Recursive lending inflates protocol TVL metrics because the same capital appears as both deposits and borrows. A user who deposits 100 ETH and loops to 4x leverage contributes 400 ETH to the protocol's reported supply and 300 ETH to its reported borrows, despite only 100 ETH of real capital entering the system. This makes TVL an unreliable metric for assessing actual capital at risk.

Depeg and Correlation Risk

Same-asset stablecoin loops carry minimal price risk under normal conditions, but a depeg event can trigger liquidation on positions that appeared safe. Liquid staking token loops rely on tight correlation between the LST and its underlying asset. During periods of stress or illiquidity, this correlation can break, triggering liquidations on positions that assumed a near-1:1 relationship.

Recursive Lending vs. Other Leverage Strategies

FeatureRecursive LendingPerpetual FuturesMargin Trading
CounterpartySmart contract (protocol)Exchange / LP poolExchange / broker
Funding costBorrow APY (variable)Funding rate (variable)Interest rate (variable)
Collateral earns yieldYes (supply APY)SometimesRarely
CustodySelf-custodialExchange-custodial or on-chainExchange-custodial
Max leverageGoverned by LTV (typically 2x to 10x)Up to 100x+Up to 10x typically
Unwinding complexityMultiple transactions (or flash loan)Single closeSingle close

For a deeper look at how collateralized lending works across different platforms and how Bitcoin-native solutions compare, see the research article on Bitcoin collateralized lending compared.

This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.