> For the complete documentation index, see [llms.txt](https://docs.ferra.ag/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ferra.ag/integration/dlmm/typescript-sdk/remove-liquidity.md).

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