> For the complete documentation index, see [llms.txt](https://docs.primefi.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.primefi.xyz/product/lend/withdraw.md).

# Withdraw

This functionality is the reverse of making a deposit. To use it, follow the same process but through the section labelled **“Withdraw”**.

<div data-full-width="true"><figure><img src="/files/uoKukol2QiAhHePrHIeJ" alt=""><figcaption></figcaption></figure></div>

Select the desired amount and submit the transaction.

Ensure there is sufficient available liquidity in the protocol to complete the withdrawal. If not, you’ll need to wait for more liquidity to be provided by depositors or for borrowers to repay their loans before you can withdraw the desired amount.

You can withdraw your collateralized assets as long as:

* The assets are not currently being used to secure any active loans.
* The withdrawal does not trigger a liquidation of your loans.

The platform will always notify you if any of your actions jeopardize your Health Factor. It is not possible to withdraw deposits if doing so would negatively impact your Health Factor due to your loans.

<figure><img src="/files/EJXgi0bkEmJS9haSy00I" alt="" width="303"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.primefi.xyz/product/lend/withdraw.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
