SolanaUpdated 29 Oct 2026

Repay a loan

Repay from your margin account or wallet, or unwind everything with Flash repay.

  1. On Margin, open Repay Loan (or click Repay next to a debt).
  2. Choose the asset. The tab shows your exact debt, interest included.
  3. Choose the source: MB (tokens in your margin account) or WB (your wallet).
  4. Enter an amount. 100% is a full repay and closes the debt.
  5. Check the preview and click Pay Now.

"Not enough to repay in full"

Interest keeps adding up, so the borrowed tokens in your margin account are usually slightly less than the debt. A full repay needs the debt plus a small (0.2%) buffer. If the margin account doesn't have it, repay from your wallet (WB) instead.

Flash repay

Flash repay unwinds the whole account in steps (close perps, redeem farm positions, swap, repay every loan, and optionally transfer the rest to your wallet). Each step is its own approval. If it stops half-way, run it again: it continues with whatever is left.

When all debt is repaid, your health factor shows No debt. Your collateral stays in the margin account until you withdraw it.

Full details: Repay

Still stuck?

Ask the assistant, raise a ticket for the team, or report a problem. You can track everything under My tickets.