web3

Why is my DeFi loan debt higher than what I borrowed: Avoid dust

A variable-rate DeFi loan balance rises above what you borrowed because interest starts accruing when you borrow and increases the debt as blocks pass.

Variable loan balances grow through interest

A variable loan balance is the amount borrowed plus interest accumulated since the borrow transaction. Interest has no monthly billing date. Even when you make no new transaction, a later block can show a slightly higher debt.

SparkLend records a variable borrowing position with a variable debt token, the market’s record of what you owe. In SparkLend, that accounting means the repayment figure changes while your loan is open, so the amount you first borrowed will not close it later.

The variable debt token uses a scaled balance, a stored amount for calculating the loan. The market applies a borrow index, a running measure of accumulated interest, to show what you owe now. As the index rises, so does the displayed debt. Aave V3 uses the same debt-token approach. The figure on your screen is a calculation for that moment, rather than a fixed bill.

Take a 1,000 DAI loan at a steady 5% variable annual percentage rate, or APR. After 30 days, you would owe about 1,004.12 DAI. The extra 4.12 DAI is accrued interest. This is an estimate that assumes the rate stays at 5% throughout the 30 days; your balance depends on the rates that applied while your loan was open.

The variable rate can change during the loan. Utilization is the share of a reserve’s supplied assets that borrowers have taken out. As utilization rises, the borrow rate can rise under the reserve’s rate model, making the borrow index grow faster. Today’s rate therefore cannot tell you exactly what you will owe next month.

How do I repay the whole balance?

Repay in the asset you borrowed, and use the interface’s max-repay option when you want to close the loan. Say the screen shows 1,004.12 DAI and you type exactly 1,004.12 DAI into the repayment field. Interest continues to accrue while you review the transaction and wait for it to land. By execution, the debt may be slightly higher. Paying the earlier figure leaves a tiny balance, often called dust, which can keep accruing interest.

Max repay closes that timing gap by calculating the full debt when the transaction executes. The Aave V3 pool contract, for instance, supports repayment of the whole debt this way. Keep enough DAI in your wallet for the displayed balance plus a little accrued interest. Make sure your spending approval also covers the amount due at execution: approval limited to the old screen figure may prevent a full repayment. Max repay takes the debt owed, rather than automatically spending every DAI in your wallet.

After confirmation, refresh your position and verify that the DAI debt reads zero. If a balance remains, review the transaction’s repayment amount before trying again. On SparkLend, this matters when you plan to withdraw collateral after repayment, because remaining debt can limit the amount available to withdraw.

Does DeFi loan interest compound?

Variable-rate loan interest can compound because the borrow index applies further interest to a debt balance that already includes accrued interest. The 30-day DAI estimate includes this small effect. A change in the variable rate can have a larger effect on what you owe.

Can I repay a DeFi loan in a different token?

A standard repayment uses the asset you borrowed. For a DAI loan, you repay the DAI principal and interest in DAI. Some interfaces offer a swap or repayment with collateral, converting another asset as part of the process. Review the conversion quote and fees before confirming.