# Manage loan

Managing 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 assets by `BORROWED`, or click the toggle for list view.

<figure><img src="https://3340690449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjdCC5SjQrFAKjY5zb9Y%2Fuploads%2FCZo3Psdn3PuCdOizfmE8%2Fmanageloan01_v2.png?alt=media&#x26;token=945c9adb-77c9-4e34-86d1-e57bf7f48251" alt=""><figcaption><p>Enable the list view by clicking the Layout button</p></figcaption></figure>

You can manage your loan through (4) different action, each serving a different purpose.

`Add collateral:` this action is for adding more collateral to the loan, either to increase the loan health, or to add more collateral so you can mint more $MONEY. You can also add collateral and borrow more $MONEY in the same transaction.

`Withdraw:` this action is for withdrawing collateral from the loan, which will decrease the loan health if you still are actively borrowing $MONEY. You can also withdraw collateral and partially repay the loan with $MONEY in the same transaction.

`Borrow more:` this action is for borrowing more $MONEY through the same loan. Doing this action by itself will decrease the loan health, so pay attention to the risks. You can also add collateral and borrow more $MONEY in the same transaction.&#x20;

`Partially repay:` this action is for paying back some amount of the loan with $MONEY. You can also withdraw some of the collateral in the same transaction.

{% hint style="info" %}
If you want to fully close your loan instead, go to the [Close loan](https://docs.defi.money/welcome/tutorials/close-loan) page for instruction on how to use that feature.
{% endhint %}

Note that all of these actions affect the loan health, either positively or negatively, so verify that any change you intend to do and subsequent change in the loan health is something you accept. And if you wish to fully close the loan, you can go to the `CLOSE LOAN` page which simplifies the steps for you.

Below is a guide for how to use all of the (4) different actions you can take to manage your loan.

***

#### Add collateral

1. To `Add collateral`, make sure you have the `ADD COLLATERAL` tab selected, like this:\ <br>

   <figure><img src="https://3340690449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjdCC5SjQrFAKjY5zb9Y%2Fuploads%2FjV7e5uK8bEiqURth96wt%2Fmanageloan02.png?alt=media&#x26;token=10863c0f-1fa7-47f5-8681-15b5e88fc480" alt=""><figcaption></figcaption></figure>
2. Then enter the amount you wish to add.\ <br>

   <figure><img src="https://3340690449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjdCC5SjQrFAKjY5zb9Y%2Fuploads%2FvYDetA54NJtdIxhAE42j%2Fmanageloan03.png?alt=media&#x26;token=f4eb03a0-6b88-4a2e-b072-db6f86b741cf" alt=""><figcaption></figcaption></figure>

> Notice that adding more collateral:
>
> * Increases the max borrowable amount of $MONEY
> * Lowers the conversion range (explainer [here](https://docs.defi.money/welcome/how-does-it-work/collateral-conversion))
> * Increases loan health&#x20;

3. After verifying the changes are as expected, click the `APPROVE` button and follow the steps in your wallet.
4. When the approve transaction has confirmed, the button changes to `ADJUST LOAN`. Click this button to initiate the loan adjustment, and follow the steps in your wallet. After that is confirmed, you are done!

***

#### Withdraw

1. To `Withdraw collateral`, make sure you have that tab active, like this: <br>

   <figure><img src="https://3340690449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjdCC5SjQrFAKjY5zb9Y%2Fuploads%2FTAAwZ4663NUdBHiIhqyY%2Fmanageloan04.png?alt=media&#x26;token=94d0a267-add4-401c-bc74-302149b9c8c7" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Note that you cannot withdraw all of your collateral if you have an active loan of $MONEY. If you wish to withdraw more collateral than the MAX allowed by the contract, you either need to `Partially repay` the loan, or if you wish to withdraw all, go to the `CLOSE LOAN` page to fully close the loan.
{% endhint %}

<figure><img src="https://3340690449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjdCC5SjQrFAKjY5zb9Y%2Fuploads%2Fk9Oyg4S0spzyhk0GdNPO%2Fmanageloan05.png?alt=media&#x26;token=749f14b1-e279-4c2a-a56f-582931371d58" alt=""><figcaption></figcaption></figure>

> Notice that withdrawing collateral:
>
> * Lowers the max borrowable amount of $MONEY
> * Moves the conversion range closer to the current price of your collateral (explainer [here](https://docs.defi.money/welcome/how-does-it-work/collateral-conversion))
> * Decreases loan health&#x20;

2. After verifying the changes are as expected, click the `ADJUST LOAN` button and follow the steps in your wallet (you don't need to sign an approve transaction if you are only withdrawing collateral). After that is confirmed, you are done!

***

#### Borrow more

1. To `Borrow more`, make sure you have that tab active, like this:

<figure><img src="https://3340690449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjdCC5SjQrFAKjY5zb9Y%2Fuploads%2FMOpHGDXnSrJW2Eny0ipz%2Fmanageloan06.png?alt=media&#x26;token=cfdf0c7a-f383-4acb-8367-c8b18f60d8c8" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Note that if you wish to borrow the `MAX` amount, it will put your liquidation range very close to the current price of the collateral, and a downward price change of the collateral can put you in the [Collateral conversion](https://docs.defi.money/welcome/how-does-it-work/collateral-conversion) mode, where you cannot cannot withdraw any collateral as your collateral is actively being traded by the smart contract. In that case you would need to add more collateral or partially or fully repay the loan to get out of collateral conversion.&#x20;
{% endhint %}

<figure><img src="https://3340690449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjdCC5SjQrFAKjY5zb9Y%2Fuploads%2FOurIBTt2Ds1UMNpLm3gY%2Fmanageloan07.png?alt=media&#x26;token=f4be32a9-ad8e-493e-9850-a5c1a27fda58" alt=""><figcaption></figcaption></figure>

> Notice that borrowing more $MONEY:
>
> * Lowers how much of your collateral you can withdraw
> * Moves the conversion range closer to the current price of your collateral (explainer [here](https://docs.defi.money/welcome/how-does-it-work/collateral-conversion))
> * Decreases loan health&#x20;

2. When you have confirmed the changes you want to make, you click the `ADJUST LOAN` button and follow the steps in your wallet (you don't need to sign an approve transaction if you are only borrowing more $MONEY). After that is confirmed, you are done!

***

#### Partially repay

1. To `Partially repay`, make sure you have that tab active, like this: <br>

   <figure><img src="https://3340690449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjdCC5SjQrFAKjY5zb9Y%2Fuploads%2FFRg1oioxp4jA3EeAnf8O%2Fmanageloan08.png?alt=media&#x26;token=843bd0df-71d3-4c4a-a859-4016495be965" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Note that if you wish to repay the full amount and close the loan, it is better to go to the `CLOSE LOAN` page instead of partially repaying.
{% endhint %}

<figure><img src="https://3340690449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjdCC5SjQrFAKjY5zb9Y%2Fuploads%2FUAgb3Zw8Tq3GvC6AMm27%2Fmanageloan09.png?alt=media&#x26;token=f376276a-f2d1-477a-b933-8c29074380c8" alt=""><figcaption></figcaption></figure>

> Notice that partially repaying:
>
> * Lowers the conversion range (explainer [here](https://docs.defi.money/welcome/how-does-it-work/collateral-conversion))
> * Increases loan health&#x20;
> * Increases the max borrowable amount of $MONEY (in case you change your mind later)

2. When you have confirmed the changes you want to make, you click the `ADJUST LOAN` button and follow the steps in your wallet (you don't need to sign an approve transaction if you are only partially repaying the loan). After that is confirmed, you are done!

***

And that is how easy it is to manage your loan!

{% hint style="info" %}
Note that you can combine these actions in the same transaction, so you could for example add collateral and borrow more $MONEY in the same transaction as they will be bundled automatically when you click `ADJUST LOAN`!
{% endhint %}

If you wish to learn about the Collateral conversion status or liquidation, go [here](https://docs.defi.money/welcome/how-does-it-work/automated-loan-protection).&#x20;
