# Close loan

Closing your loans on defi.money can be done at any time, and can be found by going to the [`MARKETS`](https://app.defi.money/markets) page and connecting your wallet to the same network you have ongoing loans, and selecting the asset you have a loan with. You can also filter by `BORROWED`.

When you select the asset you have an ongoing loan with, you should see an `ADJUST LOAN` and a `CLOSE LOAN` button. Click on the `CLOSE LOAN` button to navigate there.

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

You should then see the `CLOSE LOAN` page. It tells you how much you need to close the loan, how much collateral you would receive back, and the current amount of $MONEY in your wallet.

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

***

## Instructions

1. After verifying that everything looks correct, to close your loan, simply click the `CLOSE LOAN` button and follow the steps in your wallet. After that is confirmed, you are done!

If you do not have enough $MONEY available to close the loan fully, the page will let you know how much $MONEY you need like so:

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

{% hint style="info" %}
If you have $MONEY staked, you need to unstake it if you want to use it to pay back the loan.
{% endhint %}

***

Congratulations, you successfully closed a $MONEY loan!&#x20;


---

# 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.defi.money/welcome/tutorials/close-loan.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.
