GMX Guide

Trading mechanics

Reading time
4 minutes
Last source check
July 26, 2026

GMX liquidation and leverage

A GMX position is liquidated when the remaining collateral, after losses, accrued costs and capped negative price impact, falls below the market's minimum requirement. That is more precise than the common shortcut of calculating entry price plus or minus one divided by leverage.

The displayed liquidation price is useful, but it is not static. Borrowing fees, funding fees, collateral-value changes and market configuration can move it closer while a trade is open. This guide explains the mechanics without presenting a simplified formula as an exact calculator.

In this guide
  1. 01How leverage changes the risk buffer
  2. 02The GMX liquidation condition
  3. 03Why the liquidation price moves
  4. 04Liquidation fees and remaining collateral
  5. 05Stop-loss orders and liquidation
  6. 06A practical risk checklist

Key takeaways

  1. 01GMX liquidation depends on losses, accrued costs, price impact and a market-specific collateral threshold.
  2. 02The liquidation price can move even when the index price does not.
  3. 03Oracle min/max prices and collateral valuation are relevant near the threshold.
  4. 04A stop-loss may fail or execute after a rapid move has already made the position liquidatable.
  5. 05Lower leverage and sufficient collateral provide more reliable protection than a shortcut formula.
01

How leverage changes the risk buffer

Leverage compares position exposure with effective collateral. A $10 000 position backed by roughly $2 000 of effective collateral begins near 5x leverage. Fees and unrealized losses reduce effective collateral, so actual leverage rises as the trade moves against you.

Higher leverage means a smaller adverse move can consume the available buffer. Maximum leverage varies by market and is a technical limit, not a prudent target. Small positions can also have unexpectedly tight liquidation prices because fixed minimum collateral and execution costs represent a larger percentage of their margin.

02

The GMX liquidation condition

GMX evaluates remaining collateral after unrealized loss, accrued position costs and capped negative price impact. Liquidation occurs when that value falls below the market's minimum collateral threshold, which official documentation describes as typically 0.25% to 1% of position size depending on configuration.

For a long position GMX uses the minimum index price when calculating PnL; for a short it uses the maximum index price. Collateral is valued with the minimum collateral-token price. These conservative sides of the oracle spread matter near liquidation.

03

Why the liquidation price moves

An applicable borrow fee and any funding cost accrue while a position is open. A trader can therefore move closer to liquidation even if the index mark appears unchanged. Volatile collateral creates another moving input because the value supporting the position can fall independently of the index.

Adding collateral first covers pending fees before improving the buffer. A deposit that is smaller than accrued costs, or that still leaves the position below the requirement, can fail simulation. Review the new liquidation estimate after the collateral transaction executes.

04

Liquidation fees and remaining collateral

GMX charges a liquidation fee as a percentage of notional position size, with the rate depending on market type. Current official documentation lists 0.20% for standard non-synthetic markets, 0.30% for single-token and synthetic markets, and 0.45% for designated high-volatility markets.

The liquidation fee is applied when the position closes, rather than being part of the protocol's initial liquidatability check. Any collateral remaining after losses and applicable costs is returned to the wallet. Liquidation is therefore not always exactly a zero balance, but traders should plan as if most assigned collateral is at risk.

Current documented liquidation fees
Market typeLiquidation feeFee base
Standard, non-synthetic0.20%Notional position size
Single-token0.30%Notional position size
Synthetic0.30%Notional position size
Designated high-volatility0.45%Notional position size
05

Stop-loss orders and liquidation

A StopLossDecrease order may be attempted before liquidation when eligible, but it is not guaranteed. A single oracle update can cross both the stop trigger and liquidation threshold, or the stop can fail because valid signed prices, liquidity or on-chain conditions are unavailable.

Take-profit orders are not given the same pre-liquidation treatment. The practical defense is lower leverage, sufficient collateral and a stop trigger with meaningful distance from liquidation. Monitoring funding, borrowing and collateral value matters for positions held over time.

06

A practical risk checklist

Before opening, inspect the live liquidation price, position fee, borrowing rate, funding rate, collateral token and negative price-impact estimate. Re-check those values after increasing size or withdrawing collateral.

Avoid depending on a third-party shortcut formula for an exact on-chain result. GMX's interface and SDK calculate from current market configuration and oracle values. If losing the assigned collateral would affect essential finances, the position is too large regardless of its displayed leverage.

Primary sources

These sources were checked on July 26, 2026. Protocol parameters can change.

  1. 01GMX Docs — Liquidations and ADL
  2. 02GMX Docs — Positions and order types
  3. 03GMX Docs — Fees
Read our verification methodology →

Referral disclosure

10% off eligible GMX position fees

Code PRO maps to GMX's tier-2 discount on eligible opening and closing position fees. The link is sponsored; the discount and protocol risks are unchanged.

Open GMX

Frequently asked questions

Is the GMX liquidation price fixed?

No. An applicable borrow fee, funding costs, collateral-price movement, position changes and market parameters can move the liquidation price while the trade is open.

Does GMX return collateral after liquidation?

GMX documentation states that any collateral remaining after losses and applicable fees is returned. A trader should still treat most or all assigned collateral as at risk.

What is the GMX liquidation fee?

The current documented fee depends on market type: 0.20% of notional for standard non-synthetic markets, 0.30% for single-token and synthetic markets, and 0.45% for high-volatility markets.

Will adding collateral always prevent liquidation?

No. Added collateral first covers accrued fees, and the order can fail if the amount is insufficient to move the position above its minimum requirement.

Continue learning

Related GMX guides