> For the complete documentation index, see [llms.txt](https://v2-docs.alchemix.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://v2-docs.alchemix.fi/alchemix-user-docs/resources/how-to/withdraw-funds.md).

# Withdraw funds

When you want to move your funds back into your wallet you’ll need to call the ‘withdraw’ function.

Something to bear in mind is that you can only withdraw funds that exceed the collateral requirements of any outstanding loans you have.

For example, if you have borrowed 50% of your deposit of a loan with a 50% loan-to-value ratio then you won’t be able to withdraw any funds unless you either repay your debt or liquidate it with your deposit.

In the previous guide, we liquidated our loan which releases the funds to be withdrawn.

Click the + button next to the vault you want to withdraw from and click the 'Withdraw' tab. You’ll notice the choice to receive the standard or yield bearing asset, in this example wETH or yvwETH.

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

Since we want ETH in our wallet following the withdrawal, we will toggle the wETH/ETH switch. The system will conveniently withdraw wETH and convert it to ETH for us.

In this case, we will choose ‘max’ since we want to completely exit the vault.

Like the liquidate and deposit functions, withdraw adds slippage protection control to allow users to limit the slippage as the system converts assets to unwind your position.

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

Click ‘Withdraw’ and confirm the transactions in your wallet.

When you’ve successfully withdrawn you’ll see your updated balance reflected in your wallet.

If you have any support queries, please contact our team on the official [Discord channel](https://alchemix-finance.gitbook.io/user-docs/resources)

<figure><img src="/files/BdJUe7Jx8opOv6RG7Udb" alt=""><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://v2-docs.alchemix.fi/alchemix-user-docs/resources/how-to/withdraw-funds.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.
