Skip to main content
This page explains the liquidation mechanism on Jupiter Perps: what triggers it, how the liquidation price is calculated for long and short positions, how it drifts over time, and how to manage your risk.

What Is Liquidation?

This page describes the JLP markets (SOL, ETH, wBTC). On Beta markets, a position is liquidated when the mark price reaches its liquidation price, a liquidation fee applies, and whatever collateral remains after the loss and fees is returned to you rather than kept by a pool; in a fast market, it can be little or nothing.
Liquidation is the automatic closure of a position by the protocol when the trader’s collateral is no longer sufficient to cover the outstanding losses and fees. It is triggered when the oracle price reaches the position’s liquidation price.
When a position is liquidated, all remaining collateral is taken as a liquidation fee, after the loss, the close fee and borrow fees. You will not receive any portion of your collateral back. Only deposit collateral that is within your risk tolerance.

Liquidation Trigger


Liquidation Price Formula

The liquidation price is the oracle price at which the position’s effective collateral (after fees) equals the minimum margin required by the protocol.

Long Position

Short Position

If the fees exceed collateral_size - (size / max_lev), the bracket becomes negative and the liquidation price moves past the entry price: above it for a long, below it for a short. A position can then be liquidated without any adverse price move.

Variable Definitions

max_lev in the formula refers to the protocol limit of 500x, which is used to define the minimum maintenance margin. This is distinct from the 250x trading maximum available when opening a position.

How the Liquidation Price Changes Over Time

The liquidation price is not static. It moves as fees accumulate:
  • Borrow fees accrue continuously and count against your collateral in the liquidation price, which drifts toward the current market price. They are settled from your collateral when you change or close the position.
  • The effect is most significant at leverage above 10x and for positions held over extended periods.
A position that appears safely distant from liquidation when opened can approach its liquidation price over time due to borrow fee accumulation, even without any price movement.

Liquidation Example

Setup: $10,000 collateral long position approaching liquidation

How to Avoid Liquidation

Monitor your liquidation price

Check the Positions tab regularly, especially during volatile market conditions or for long-duration positions.

Deposit additional collateral

Adding collateral reduces leverage and moves the liquidation price further from the current market price. Use the pencil icon in the Collateral column of any open position.

Use Stop Loss orders

A stop loss can close the position before it reaches the liquidation price and keep part of your collateral. Execution is not guaranteed: the form warns when the stop loss is too close to the liquidation price, and in fast markets the position can be liquidated first.

Reduce leverage

Lower leverage means a larger price movement is required before liquidation is triggered.