---
title: "Auto-Compounding — definition | Nuri Glossary"
description: "Automatically reinvesting earned yield into the same position so returns compound without manual claims."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/auto-compounding"
---

# Auto-Compounding

Automatically reinvesting earned yield into the same position so returns compound without manual claims.

## Basically

Auto-compounding automatically puts your earnings back into your original position. Your growing balance then earns more, maximising returns through compound interest without you doing anything.

## Key Takeaways

- Auto-compounding is a DeFi mechanism where a smart contract automatically harvests earned yield and redeposits it into the original position. It turns simple interest (APR) into compound interest (APY) without any manual action from you.
- Compounding frequency directly affects returns. A 50% APR compounded daily produces roughly 64.8% APY, while the same rate compounded annually yields only 50%. Yield aggregators like Yearn and Beefy optimise this frequency based on deposit size and gas costs.
- Auto-compounding is only profitable when the additional yield earned per compounding cycle exceeds the transaction cost of executing the harvest. Vaults socialise these gas costs across all depositors, making frequent compounding viable even for small positions.

## What Is Auto-Compounding?

Auto-compounding is a yield optimisation strategy in decentralised finance where a smart contract periodically collects accrued rewards from a staking, lending, or liquidity position and immediately reinvests them into the same position. Each reinvestment increases the principal, which then earns more yield in the next cycle, converting simple interest into compound interest.
Traditional finance applies compound interest automatically: a savings account credits interest to your balance, and the next period's interest calculation includes that credited amount. DeFi protocols usually emit rewards as separate tokens that accumulate in a claimable pool. Your liquidity pool position might earn reward tokens every block, but those rewards sit idle until someone claims and reinvests them, so auto-compounding vaults automate this claim-and-reinvest cycle.

## How It Works

An auto-compounding vault follows a repeating cycle of harvest, swap, redeposit, and accounting update. The process varies slightly between protocols, but the core loop is consistent:

## The Harvest Function

The harvest is the critical on-chain transaction that triggers compounding. A simplified version of the harvest logic looks like this:
Anyone can call the harvest function on most auto-compounding vaults. Many protocols incentivise callers with a small bounty, typically 0.01-0.05% of harvested rewards, to ensure harvests happen regularly without relying on a centralised operator.

## Compounding Math

The relationship between APR and APY depends on the compounding frequency. The formula is:
The marginal benefit of more frequent compounding follows a curve of diminishing returns. Moving from annual to daily compounding at 50% APR adds nearly 15 percentage points of yield, while moving from daily to hourly adds only 0.05 percentage points. Most auto-compounding vaults therefore target a daily or multi-daily harvest frequency rather than continuous compounding because the gas cost of more frequent harvests outweighs the negligible extra yield.

## Gas Cost Optimisation

The profitability of each compounding event depends on whether the additional yield exceeds the gas cost of executing the harvest transaction. This creates an optimisation problem:
Auto-compounding vaults solve this by pooling deposits. An individual depositor might hold only $100 while the vault holds $10 million in total. The gas cost of one harvest transaction is shared proportionally across all depositors, making frequent compounding viable for everyone in the pool.

## Major Auto-Compounding Protocols

Several protocols have built their core product around automating the compounding process. Yield aggregators like Yearn and Beefy optimise compounding frequency based on deposit size and gas costs.
Performance fees are the primary revenue model for auto-compounding protocols. The protocols deduct these fees from harvested rewards before reinvestment, so you pay fees only on profits earned, not on principal.

## Auto-Compounding vs Manual Compounding

A user without an auto-compounding vault must manually execute the compound cycle: claim rewards, swap to the desired token, and redeposit into the position. The comparison below illustrates the trade-offs:
Large depositors may find manual compounding more cost-effective because the performance fee on large positions may exceed the gas costs of self-managed harvests. Most retail users benefit more from auto-compounding vaults because the socialised gas savings and optimised frequency more than offset the performance fee.

## LP Token Compounding

The most common auto-compounding use case involves liquidity pool positions. You often earn reward tokens such as UNI or CRV on top of trading fees when you provide liquidity to a DEX like Uniswap or Curve. An auto-compounding vault claims these reward tokens, swaps them for more LP tokens, and adds them back to the pool.

## Staking Reward Compounding

Staking rewards from proof-of-stake networks or liquid staking protocols can be auto-compounded. A vault restakes them automatically to increase the staked principal over time rather than letting them accumulate as separate claimable tokens.

## Lending Protocol Compounding

Lending protocols like Aave and Compound distribute governance token incentives alongside interest. Auto-compounding vaults harvest these incentive tokens and convert them to the deposited asset, boosting the effective lending yield beyond what the protocol offers natively.

## Yield-Bearing Stablecoins

Some yield-bearing stablecoins use auto-compounding internally. The stablecoin's backing assets, such as Treasury bills, lending positions, or LP tokens, generate yield that is automatically reinvested to increase the stablecoin's redemption value, which is the mechanism behind rebasing stablecoins and tokens like Aave's aTokens, where the balance in your wallet grows over time. You can read yield-bearing stablecoins explained for a deeper look at how stablecoin yield works.

## Smart Contract Risk

Auto-compounding vaults add a layer of smart contract risk on top of the underlying protocol, so you must trust not only the base yield source, such as a lending protocol, DEX, or staking contract, but also the vault contract itself. A vulnerability in the vault's harvest logic, swap routing, or access controls could lead to loss of funds. Multiple audits reduce but do not eliminate this risk.

## Impermanent Loss Amplification

Auto-compounding LP positions means the vault continuously adds to the liquidity position. Significant price divergence between the underlying token pair applies impermanent loss to a progressively larger principal. The compounded gains may be partially or fully offset by impermanent loss in volatile market conditions.

## Slippage on Reward Swaps

Each harvest requires swapping reward tokens on a DEX, and large harvests can suffer from slippage, especially for reward tokens with thin liquidity. A vault harvesting $100,000 in reward tokens when the DEX has only $200,000 in liquidity for that pair could lose 5-10% to price impact. Well-designed vaults mitigate this by splitting large swaps across multiple routes or using DEX aggregators.

## Performance Fee Drag

Performance fees compound against you over time. A 10% performance fee does not simply reduce yield by 10% because it also reduces the principal that compounds in future periods. Over a year, a 10% fee on a 50% APR position reduces the effective APY from 64.8% to roughly 56.9%, so comparing vaults requires accounting for both the gross APR and the fee structure.

## Reward Token Price Risk

Auto-compounding vaults sell reward tokens immediately upon harvest. You miss the upside if a reward token appreciates significantly after being sold. Conversely, the auto-sell strategy protects you from holding a depreciating asset if reward tokens trend toward zero, a common pattern for inflationary governance tokens.

## Why It Matters

Auto-compounding is one of the clearest examples of DeFi improving on traditional yield mechanics. Conventional finance makes compound interest a default feature of savings accounts and fixed-income products. DeFi separates earning rewards from reinvesting them, creating friction that auto-compounding vaults eliminate.
Auto-compounding is particularly relevant for stablecoin holders and Bitcoin-native yield seekers. Protocols in the Bitcoin Layer 2 ecosystem are beginning to offer yield strategies that can benefit from automated compounding. As the stablecoin yield market matures, auto-compounding infrastructure will be essential for making yield accessible to users who prefer a hands-off approach.
The information in 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.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
