> 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-deleverage-lp-tokens.md).

# How to deleverage LP tokens

1.) Select the lending pool that matches the LP tokens you wish to deleverage. You can only deleverage LPs if you have leveraged LP in the first place, as described in How to leverage LP tokens.

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

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

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

3.) Use the slider or enter the number of LP tokens you want to deleverage in the Deleverage window. Click MAX if you want to deleverage all. For your deleveraged position, you will see a summary of the New Leverage, New Liquidation Prices, Repay and Receive Amounts, and the Estimated APR.

4.) To authorize the deleveraged amount and confirm the transaction in your wallet, if necessary, click Approve. The update can take a few seconds.

5.) To deleverage your LP tokens and confirm the transaction in your wallet, click Deleverage in the dialog box.

Be aware that during deleveraging, the LP token collateral is broken down into component tokens and used to pay off the outstanding debt. The remaining tokens are not returned to your wallet as LP tokens but as single tokens in the token pair. Select a lower sum that still falls within the "0 - Infinity" range for Liquidation Prices if you prefer to deleverage and maintain the remaining collateral as LP tokens.


---

# 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-deleverage-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.
