> For the complete documentation index, see [llms.txt](https://udonfi-1.gitbook.io/udonfi-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://udonfi-1.gitbook.io/udonfi-docs/user-guide/repaying-loans.md).

# Repaying Loans

Repaying your loan on Udon Finance is a crucial step that allows you to complete the borrowing cycle, enhance the safety of your collateral, and eventually reclaim full control of your assets.

### 1. Initiating Repayment from Your Borrowed Assets

Your Udon Finance dashboard provides a clear overview of all your active borrowing positions.

{% stepper %}
{% step %}

### Locate Your Borrowed Asset

On your dashboard, navigate to the **"Your Borrow"** table. This section lists all the assets you have currently borrowed from Udon Finance.

![](/files/657766fb407868ca1344cc073399f70e59211b7c)
{% endstep %}

{% step %}

### Click the "Repay" Button

Find the specific asset you wish to repay (e.g., CHR) and click the **"Repay"** button located in its row within the "Your Borrow" table.

![](/files/a27663096a2882a8e617a88a38f8930b1e69e5bc)
{% endstep %}
{% endstepper %}

### 2. Understanding the Repay Pop-up

Upon clicking "Repay," a dedicated pop-up will appear, providing all necessary information for your transaction.

Review Repay Details: The **"Repay" pop-up** will display important information to guide your decision:

* **Remaining Debt:** The total outstanding amount of your loan, including any accrued interest.
* **Health Factor (Projected):** This vital metric shows how your **Health Factor** will improve after the proposed repayment. Repaying your loan will always increase your Health Factor, moving you further away from liquidation risk.
* **Repay Amount:** The input field where you will specify the quantity of the asset you wish to repay.

![](/files/79d87e8b001af7d86077099dbe0eea9e5cc01978)

### 3. Executing the Repay Transaction

Once you have reviewed the details and entered your desired repayment amount, you can proceed with the transaction.

{% stepper %}
{% step %}

### Enter Repay Amount & Verify Information

Input the exact amount of the asset you wish to repay into the designated field. Double-check all information presented in the pop-up, particularly the projected **Health Factor** and the **Remaining Debt**, to ensure everything aligns with your intentions.

![](/files/ab6e78c1a7f45766b5c9dbc218d172709eab7954)
{% endstep %}

{% step %}

### Click "Repay" and Confirm in Wallet

Click the main **"Repay"** button within the pop-up. Your connected wallet (e.g., MetaMask) will then display a separate pop-up or notification asking for your transaction confirmation. Review the details of this transaction and click **"Confirm"**.

![](/files/97615e5d7b5989cfcc364cff0b64caaf8e6ed167)
{% endstep %}
{% endstepper %}

### 4. Verifying Your Updated Borrow Position

After successful confirmation, your dashboard will automatically update, reflecting the reduction in your outstanding loan.

{% stepper %}
{% step %}

### Dashboard Update & "Your Borrow" Adjustment

The Udon DApp will refresh to display the updated data. The quantity of the asset you just repaid will be **deducted** from your "Your Borrow" table on your dashboard, showing your new outstanding debt.

![](/files/9f59528f74b9140a6bf8fadb180b8ccaa362a09a)
{% endstep %}

{% step %}

### Review Your Health Factor

Notice that your **Health Factor** on the dashboard will also have improved, reflecting the increased safety of your position. If you fully repaid the loan, the asset will no longer appear in the "Your Borrow" table.
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://udonfi-1.gitbook.io/udonfi-docs/user-guide/repaying-loans.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
