Glossary
Oct 2, 2026

What Is Auto-Compounding in DeFi? How It Boosts APY

Auto-compounding is when a vault automatically harvests rewards and reinvests them into your position, so returns earn returns. How it works, the maths, and the costs.

What Is Auto-Compounding in DeFi? How It Boosts APY

Auto-compounding is when a smart contract automatically harvests the rewards your position earns and reinvests them into that same position, so the rewards start earning rewards of their own. It is the core service of yield vaults and aggregators, and it is what turns a quoted APR into a higher APY.

Auto-compounding definition

Most DeFi rewards (farm emissions, trading fees, staking rewards) accumulate as claimable tokens. Left alone, they earn nothing. Compounding means claiming them, converting them into the asset you are farming, and depositing them back in.

Doing that by hand costs time and gas on every harvest. An auto-compounding vault does it for all depositors at once, on a schedule, and usually takes a performance fee for the work. What is a yield aggregator? covers the vaults that offer it.

How auto-compounding works

  1. You deposit into a vault and receive vault shares.
  2. The vault's strategy farms a pool and accrues rewards.
  3. A keeper bot or any caller triggers a harvest: rewards are claimed and swapped into the underlying assets.
  4. The proceeds are re-deposited, so each vault share now represents more of the underlying.
  5. When you withdraw, you redeem shares for the larger balance.

Because the gas for each harvest is paid once for the whole vault, it can compound far more often than a single small depositor could afford to.

Auto-compounding example

Say you deposit $5,000 into a hypothetical farm paying 20% APR in reward tokens, and the reward token holds its price.

  • Never compounding: about $1,000 after a year.
  • Compounding by hand weekly: about $1,105 in gross gains, but at a hypothetical $2 of gas per harvest that is $104 a year, leaving roughly $1,001. The gas ate almost all the benefit.
  • A vault compounding daily with a 5% performance fee (effective 19% APR): about $1,046, with no gas paid by you.

The effect is bigger with higher rates and longer holding periods, and smaller (or negative) when fees are high or the reward token is falling in price.

Why auto-compounding matters

  • APY is not guaranteed: a quoted APY assumes the APR stays constant for a year, which it almost never does. See APY vs APR.
  • Selling pressure: compounding usually means selling the reward token, so the vault's returns depend on that token's market.
  • Extra contract layer: the vault adds smart-contract and operator risk on top of the farm underneath.
  • Harvests can stall: if a reward source runs dry or a harvest transaction keeps failing, compounding quietly stops while the dashboard may still show a rate.

Auto-compounding on JewelSwap

JewelSwap's yield farms on MultiversX and Sui auto-compound rewards back into the farmed position, including leveraged farms that borrow to enlarge it. Our leveraged yield farming guide and the Scallop farming guide for Sui explain how those strategies work and what can go wrong.

  • APY vs APR — the difference compounding makes to a quoted rate.
  • Liquidity mining — the reward emissions that vaults harvest and compound.
  • Liquidity provider (LP) — the position most farming vaults compound into.
  • Gas fees — the per-transaction cost that makes manual compounding expensive.
  • Real yield — whether the rewards being compounded come from real revenue.

Learn more on the JewelSwap blog

Frequently asked questions

What is auto-compounding in crypto?

Auto-compounding is a vault or smart contract automatically claiming your rewards and reinvesting them into your position, so your balance grows faster than with simple interest.

Auto-compounding vs manual compounding: which is better?

Auto-compounding usually wins for smaller balances, because the vault shares gas costs across all depositors and compounds more often. Manual compounding avoids the vault's performance fee and extra contract risk, which can make sense for large positions.

Does auto-compounding guarantee the APY shown?

No. The APY assumes today's rate holds for a full year. Rates change, reward tokens can fall in price, and fees reduce the result.

JewelSwap Crypto Glossary · educational, not financial advice. Updated 2 October 2026. Browse the full glossary.

About the author.

Co-Founder at JewelSwap & CMO at iDenfy. Viktor brings his successful track record of superb development & project management.