# Remove Liquidity

Withdraw liquidity from DLMM positions with precision. This section covers partial and complete withdrawals, calculating expected outputs, and strategies for efficient liquidity removal while minimizing losses.

### Prerequisites

Before removing liquidity, ensure you have:

* Existing position NFT with active liquidity
* Understanding of current bin prices and reserves
* Knowledge of accumulated fees in your positions
* Gas tokens for transaction execution
* Calculated minimum acceptable output amounts

### What You'll Learn

This section covers complete liquidity removal workflows in DLMM:

#### [Remove Liquidity Overview](/integration/dlmm/typescript-sdk/remove-liquidity/remove-liquidity-overview.md)

Understand the mechanics of liquidity removal, including how bin reserves are calculated, fee collection during withdrawal, and impact on remaining positions.

#### [Remove from Specific Bins](#remove-from-specific-bins)

Selectively withdraw liquidity from individual bins while maintaining positions in others. Perfect for rebalancing or taking partial profits.

#### [Remove All Liquidity](#remove-all-liquidity)

Complete position withdrawal in a single transaction. Learn to efficiently exit positions and collect all accumulated fees simultaneously.

#### [Calculate Output Amounts](/integration/dlmm/typescript-sdk/remove-liquidity/calculate-output-amounts.md)

Preview exact token amounts you'll receive before executing withdrawal. Account for current bin reserves, fees, and price movements since deposit.


---

# 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.ferra.ag/integration/dlmm/typescript-sdk/remove-liquidity.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.
