> For the complete documentation index, see [llms.txt](https://docs.lif3.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lif3.com/terrace/user-guide/borrowing/how-to-withdraw-lp-tokens.md).

# How to withdraw LP tokens

1.) Select the lending pool whose LP tokens match the ones you want to withdraw. Only those who have deposited LP tokens as described in How to deposit LP tokens are eligible to withdraw. If you have a leveraged position, you can only withdraw as much money as is necessary to keep your position adequately collateralized, which is the available LP tokens.

<figure><img src="/files/8fiaaL0b4uuCpvdr2Wls" alt=""><figcaption></figcaption></figure>

2.) To access the Withdraw dialog for LP tokens, click Withdraw.

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

3.) Use the slider or enter the number of LP tokens you want to withdraw in the Withdraw dialog. Click MAX if you want to withdraw all available LPs. You will see a summary of your leveraged position's new leverage and new liquidation prices, as well as the transaction amount (in the token pair) for your withdrawal.

4.) If you need to approve this LP, click Approve and confirm the transaction in your wallet. The update can take a few seconds.

5.) To withdraw the LP tokens and confirm the transaction in your wallet, click Withdraw in the dialog box last.


---

# 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.lif3.com/terrace/user-guide/borrowing/how-to-withdraw-lp-tokens.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.
