# How to repay borrowed tokens

1.) Select the lending pool that matches the lent tokens you want to return. As explained in How to leverage LP tokens and borrow tokens using LP tokens as collateral, you can only repay if you have borrowed tokens.

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

2.) To see the Repay dialog for the borrowed tokens you want to return, click Repay.

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

3.) Use the slider or enter the number of tokens you want to reimburse in the Repay dialog. Click MAX if you want to enter the most possible. You will obtain a summary of your leveraged position's New Leverage and New Liquidation Prices.

4.) To approve the reimbursement amount and confirm the transaction in your wallet, if necessary, click Approve. The update can take a few seconds.

5.) To return the borrowed tokens and confirm the transaction in your wallet, click Repay in the dialog box.


---

# Agent Instructions: 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:

```
GET https://docs.lif3.com/terrace/user-guide/borrowing/how-to-repay-borrowed-tokens.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
