Repay the debt of your margin position
User Guide
Navigate to the market where you hold an active margin position. Scroll down to the Your Position panel.
Click the three dots (⋮) next to your position. This opens the advanced options menu.

Select Repay Debt from Wallet. A pop-up will appear showing your current debt and the option to repay it.

Enter the amount of SOL you want to repay.
The panel displays:
Currently borrowed and New net borrow amount
Open Debt
Collateral balance
Estimated liquidation price
Leverage
Click Repay Debt and confirm the transaction in your wallet. Your position will update with a reduced or cleared debt amount.
Important Information
Debt Reduction First: Repayments always reduce open debt before profit can be realized.
Lower Risk: Repaying debt lowers your effective leverage and improves liquidation safety.
Partial or Full Repayment: You can repay a portion or the full debt, depending on your wallet balance.
Wallet Balance Needed: You must hold enough SOL in your wallet to cover the repayment.
Last updated