> For the complete documentation index, see [llms.txt](https://docs.primefi.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.primefi.xyz/product/borrow/loan-repayment.md).

# Loan Repayment

The repayment period for loans is indefinite as long as the position remains secure. Nevertheless, fees associated with the loan accumulate over time, diminishing the Health Factor (unless addressed by the user), which could potentially lead to liquidation.

Repayment of loans must be made using the same asset that was borrowed. For instance, if 1 Ethereum was borrowed, repayment requires 1 ETH along with accrued fees to settle the loan.

To initiate loan repayment, navigate to the Dashboard and, scroll down until find the Borrows section, click on "Repay" for the desired asset.

<figure><img src="/files/XdhBOytnhZEGtd1ual96" alt=""><figcaption></figcaption></figure>

This action will prompt the display of a "Repay" section specific to the chosen asset. Within this section, you can review details such as your borrowed amount, wallet balance, and Health Factor. Choose the repayment amount for the loan and click "Continue" to confirm the transaction.

<figure><img src="/files/xjuJIWiHP2e4Yo8zInDT" alt=""><figcaption></figcaption></figure>


---

# 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://docs.primefi.xyz/product/borrow/loan-repayment.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.
