# Borrowing

Before borrowing, you need to make sure you have deposited assets as collateral. The maximum amount you can borrow depends on the value of deposits, the type of asset that you want to borrow and the available liquidity.

* After depositing your assets as collateral, you can head over to the [main page](https://app.ariesmarkets.xyz/lending) and select the assets you want to borrow
* Click on “**Borrow**” at the bottom of the panel, and input the amount that you would like to borrow using number input, half/max or the slider
* Click on ”**Confirm**” and approve the transaction on the pop-up wallet

<figure><img src="/files/bc7pTphWUOBJyqinYHb2" alt=""><figcaption><p>Review and confirm your borrow</p></figcaption></figure>

{% hint style="info" %}
***Users are not allowed to deposit and borrow the same assets in Aries Markets**, which means you need to withdraw all the deposits before borrowing the same asset.*

*Check* [*FQA*](/aries-markets/faq/lending-and-borrowing.md) *to learn why we make this design choice.*
{% endhint %}


---

# 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.ariesmarkets.xyz/aries-markets/tutorial/money-market/borrowing.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.
