> For the complete documentation index, see [llms.txt](https://docs.lendle.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lendle.xyz/user-guide-for-ui-v2/borrow-page/borrow/repaying-a-loan.md).

# Repaying a loan

{% embed url="<https://drive.google.com/file/d/13dBwD3KLuWGFdZ2X4Cgp3-BoRoJ1kygf/view?usp=sharing>" %}

Repaying your loan can be done from the "Portfolio" tab. In this tutorial we will unwind the positions that we've created by following [How To Deposit](/user-guide-for-ui-v2/borrow-page/deposit/how-to-deposit.md) & [How To Borrow](/user-guide-for-ui-v2/borrow-page/borrow/how-to-borrow.md).

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

**Locate Your Borrow Position:** check your active borrows. Click the "Repay" button next to the borrow you want to settle to open the repayment screen.

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

​

**Enter the Repay Amount:** enter the amount to repay or click "MAX" to select the full owed amount.  If aiming to fully close the position, use "MAX." Click "Continue" to move forward.

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

* **Approve the Token Spend: a**pprove the transaction in your wallet to allow Lendle to access the exact repay amount from your wallet. Use default settings for security—confirm the popup. This is a one-time approval per asset if not done before.
* **Confirm the Repay Transaction:** verify the repay amount, new health factor, and any fees. Click "Repay" and confirm again in your wallet.

Once the borrow is 0 on the Dashboard, confirmation is complete. Check your updated positions, wallet balance.
