Skip to content
IntermediateLearn the steps

Repaying a loan

Author
CRYPTO PORT Editorial
Published
Updated
Reading time
6 min

In short

Repaying means acquiring the same asset you borrowed and reducing the debt with it. Repaying in full frees the collateral for withdrawal, but even a partial repayment restores headroom against liquidation. Interest accrues right up to the moment of settlement, so paying exactly the displayed figure can leave a small remainder.

Key points

  • You must hold the same asset you borrowed in order to repay
  • A partial repayment still restores headroom against the liquidation threshold
  • Interest accrues continuously, so paying the displayed figure exactly can leave dust behind
  • Only a full repayment frees the whole collateral for withdrawal

Definition

A transaction that returns borrowed assets to a lending protocol and reduces the outstanding debt. Repaying in full releases the collateral you posted.

Repayment presumes you hold the asset you borrowed. If you swapped it into something else, you must buy it back first — and if it has appreciated since, repayment now costs more. That is where the profit or loss on a borrowing position actually lands, and it bites hardest when the borrowed asset is a volatile one.

The process generally means choosing the asset and amount in the protocol's interface, signing an approval so the contract can move that asset, and then signing the repayment. Each costs gas, so keep the chain's native asset available. Once it settles, your health indicator improves immediately.

If you intend to close out fully, watch the dust. Interest keeps accruing, so by the time the transaction you typed reaches the chain, the debt is fractionally larger. Most protocols offer a 'repay all' option, which is the reliable route. If you enter the figure by hand, hold a little extra so you do not finish with a sliver of debt still open.

Partial repayment is a legitimate tool in its own right. When liquidation is closing in, the two responses are adding collateral or cutting debt, and repayment is the practical one when you have no spare collateral. You do not need to clear the whole loan — reducing it enough to get well clear of the threshold resolves the immediate danger. The more urgent the situation, the more it pays not to insist on perfection.

Once the debt is fully cleared, the collateral becomes withdrawable. Note that repayment and withdrawal are usually two separate transactions. Stopping after the repayment leaves the collateral sitting in the protocol, still exposed to its contract risk. The sequence is only finished once you have withdrawn.

Watch out for

  • · A repayment delayed by congestion can be overtaken by the price move, and you are liquidated first. Acting only once you are already in danger is often too late
  • · If the borrowed asset has appreciated, repayment costs more than you drew — you owe the same quantity, not the same value
  • · Even after full repayment, withdrawing the collateral is a separate action, and contract risk continues while it stays deposited

Frequently asked questions

  • Can I sell the collateral to repay?

    Collateral is normally locked until the debt is settled, so you cannot sell it directly. If you have enough headroom to withdraw part of it, you can withdraw, sell and repay — but the withdrawal itself worsens your health indicator, so a mistake in order or size can get you liquidated mid-way.

Related coins

Read next

Crypto quizzes

Answer a few questions and get your result instantly.

Start