PERP MECHANICS

How Liquidations Work on Hyperliquid: Liquidation Price, Mark Price and Backstops

By Perpy · Updated · 6 min read

SHORT ANSWER

On Hyperliquid, a position is liquidated when the account's value falls below its maintenance margin, which is half the initial margin at the asset's maximum leverage (between 1.25% and 16.7% of position value). Hyperliquid first tries to close the position with market orders on the public order book, letting the trader keep any remaining collateral. If equity keeps falling, below two thirds of maintenance margin, a liquidator vault takes the position over. All of this is measured with the mark price, not the last trade.

Risk warning. Perpetual futures are leveraged derivatives. Leverage magnifies losses as well as gains, and a position can lose all of its margin quickly. This guide is educational and is not investment, financial or trading advice.

Key takeaways

  • Liquidation triggers when account value drops below maintenance margin, using the mark price.
  • Most liquidations are market orders sent to the public book, so any collateral left after closing stays with the trader.
  • Positions above 100,000 USDC are liquidated 20% at a time, with a 30-second cooldown.
  • Below two thirds of maintenance margin, a backstop liquidation transfers the position to the liquidator vault, and the maintenance margin is lost.
  • Auto-deleveraging is the last resort that keeps the platform free of bad debt.

What triggers a liquidation on Hyperliquid?

Every perp position needs a minimum amount of collateral behind it, the maintenance margin. Hyperliquid sets it at half of the initial margin at the asset's maximum leverage: for an asset with 20x maximum leverage it is 2.5%, and across assets it ranges from 1.25% (40x assets) to 16.7% (3x assets). For cross-margin positions the test is account-wide: liquidation happens when account value, including unrealized PnL, falls below maintenance margin on the total open notional. An isolated position is tested on its own margin alone. See cross vs isolated margin.

Large positions on some assets fall into margin tiers with lower maximum leverage, which raises their maintenance requirement. That matters for whales in particular.

Which price does Hyperliquid use for liquidations?

The mark price. It is the median of three inputs: the oracle price adjusted by a moving average of Hyperliquid's mid-price premium, the median of Hyperliquid's best bid, best ask and last trade, and a weighted median of perp mid prices on several large centralized exchanges. It updates about every three seconds. Because it blends several sources, a brief spike on a single venue is less likely to liquidate positions than if the last trade were used. The same mark price drives margin checks, take-profit and stop-loss triggers, and unrealized PnL.

Hyperliquid's documentation warns that during high volatility, or on highly leveraged positions, the mark price can differ significantly from the order book price.

What happens, step by step?

  1. Book liquidation. When account value drops below maintenance margin, Hyperliquid sends market orders for the position to the order book. If the position is closed (fully or partly) and the account meets maintenance again, any remaining collateral stays with the trader. Hyperliquid charges no clearance fee on these liquidations, and anyone can trade against the flow.
  2. Partial liquidation for large positions. For positions larger than 100,000 USDC, only 20% is sent to the book at a time. After a partial liquidation there is a 30-second cooldown, during which any market liquidation orders for that user are for the entire position.
  3. Backstop liquidation. If account value falls below two thirds of maintenance margin without the book closing the position, the liquidator vault (a strategy within the community-owned HLP vault) takes it over. For cross margin, all cross positions and cross margin transfer to the liquidator; for an isolated position, only that position and its margin. The maintenance margin is not returned.
  4. Auto-deleveraging (ADL). If an account's value or an isolated position's value goes negative, traders on the opposite side are ranked by unrealized profit and leverage, and their positions are closed against the underwater account at the previous mark price. This keeps the platform solvent with no bad debt.

How is the liquidation price calculated?

Hyperliquid's documentation gives the exact formula:

liq_price = price − side × margin_available / position_size / (1 − l × side)

side = 1 for long, −1 for short
l = 1 / maintenance leverage
margin_available (cross) = account_value − maintenance_margin_required
margin_available (isolated) = isolated_margin − maintenance_margin_required

Two consequences are worth knowing. For a cross position, the liquidation price does not depend on the leverage setting; lower leverage simply uses more collateral, and the real buffer is the whole account. For an isolated position, it does depend on leverage, because leverage decides how much margin is allocated. In both cases the displayed price is an estimate that can move with funding payments and, for cross, with the PnL of other positions.

How do traders avoid being liquidated?

Hyperliquid's documentation notes that traders can avoid losing the maintenance margin in a backstop liquidation by placing stop-loss orders or exiting before the mark price reaches the liquidation price. Lower leverage widens the distance to liquidation, and isolated margin limits a liquidation to the collateral of one position. None of these remove the risk of loss; they change how much is at risk and when.

Why do whale watchers care about liquidation prices?

A liquidation is a forced market order. When a large position is liquidated, its closing orders hit the book and can push the price further in the same direction, possibly toward other positions' liquidation prices. Knowing where big positions would be forced out, and how close they are, is one of the most informative things a wallet can tell you. It is also why copying a whale at higher leverage can turn the same idea into a very different outcome.

Frequently asked questions

At what point does Hyperliquid liquidate a position?

When account value (or, for an isolated position, its margin) falls below the maintenance margin, measured with the mark price. Maintenance margin is half the initial margin at the asset's maximum leverage.

Do you lose everything when you get liquidated on Hyperliquid?

Not necessarily. If the position is closed on the order book before a backstop is needed, any remaining collateral stays with you. In a backstop liquidation the maintenance margin is lost, and for cross margin all cross positions and cross margin go to the liquidator.

Why is the liquidation price different from what I expected?

The displayed liquidation price is an estimate. It can move with funding payments and, for cross-margin positions, with gains or losses on other positions in the account. Liquidation also uses the mark price, which can differ from the last traded price.

What is auto-deleveraging on Hyperliquid?

A last-resort safeguard. If an account's value goes negative, positions of profitable traders on the opposite side, ranked by profit and leverage, are closed against it at the previous mark price so the platform carries no bad debt.

Sources

  1. Liquidations · Hyperliquid Docs
  2. Margining · Hyperliquid Docs
  3. Margin tiers · Hyperliquid Docs
  4. Robust price indices · Hyperliquid Docs
  5. Auto-deleveraging · Hyperliquid Docs
  6. Protocol vaults · Hyperliquid Docs
  7. Perpetual assets · Hyperliquid Docs

Facts checked against these sources on November 22, 2026. Protocol parameters change; the linked documentation is the authority.

Browse the glossary · All guides

Educational content only, not investment, financial or trading advice. Nothing here is a recommendation to buy, sell or hold any asset. Perpy is an independent app and is not affiliated with, endorsed by or sponsored by Hyperliquid. Read the risk disclaimer.