Skip to content

Risk warning: leveraged derivatives on unregulated platforms — you can lose everything you deposit. Not investment advice.

Hyperliquid Leverage & Liquidation: The Margin Mechanics

Leverage and liquidation are the mechanics underneath every Hyperliquid position, and they're usually the part traders skim past on the way to the trade button. This page covers how Hyperliquid's margin modes, leverage, and liquidation formula actually work. Understanding them before you open a position, not after, is arguably the single best risk-control step available to you — see our risk disclosure for the broader context on perp trading risk. For the exchange overview, see our Hyperliquid review.

Mechanics verified against official Hyperliquid docs (margining and contract specifications), 2026-07-16.

Margin modes

Hyperliquid supports two margin modes, set per position.

Cross margin is the default. All cross-margined positions share a single collateral pool drawn from your account balance. This is capital-efficient — margin isn't locked to any one position — but it also means a single position moving heavily against you can draw down the shared collateral backing every other cross position in your account.

Isolated margin constrains a position's collateral to whatever margin you've assigned to that specific asset. Losses on an isolated position are capped at the margin allocated to it; the rest of your account balance and other positions aren't touched.

Hyperliquid also offers strict isolated margin, a variant of isolated margin where margin cannot be removed from the position once it's open. It otherwise behaves like isolated margin, just without the ability to reduce assigned collateral mid-trade.

Leverage

Leverage on Hyperliquid is set as an integer between 1 and the asset's maximum. That maximum varies by asset — Hyperliquid's docs don't publish a single global leverage cap, so we won't quote one number here. Check the specific asset's contract specifications in the app before opening a position.

Leverage determines initial margin directly:

initial margin = position_size × mark_price / leverage

In other words, initial margin is the position's notional value multiplied by the fraction 1/leverage. At 1x, initial margin equals the full notional value; as leverage increases, initial margin shrinks proportionally.

Liquidation

Maintenance margin — the minimum account value a position needs to stay open — is currently set to half of the initial margin required at that asset's maximum leverage.

For a cross-margined position, liquidation triggers when account value, including unrealized PnL, falls below maintenance margin × total open notional, summed across all cross positions. Because collateral is shared, an unrelated losing position can push the whole cross account toward this threshold even if the position you're watching hasn't moved.

Isolated positions use the same logic, but the calculation only counts that position's own margin and notional — other positions and the rest of the account balance are excluded from the comparison.

Withdrawal constraint

Hyperliquid also limits how much unrealized profit can be withdrawn from an open position. Margin remaining after a withdrawal must satisfy:

max(initial margin required, 10% of total position value)

That is, you can't withdraw unrealized PnL down to a point where remaining margin falls below either the position's initial margin requirement or 10% of its total value, whichever is larger.

What this means in practice

Higher leverage produces a thinner initial margin, which means a smaller adverse price move is enough to erode account value down to the maintenance margin threshold and trigger liquidation. Because maintenance margin is pegged to initial margin at each asset's own max leverage, this relationship holds across every asset — the specific price move it takes to reach liquidation is set by the margin math above, not by intuition or by a round leverage number.

Funding is a second, slower-moving pressure on margin. It accrues hourly and, on a position held over time, steadily reduces (or, less often, adds to) account value alongside price movement — see how funding is calculated on the Hyperliquid fees page and our broader guide to funding rates. A position already sitting close to its maintenance margin threshold can be pushed the rest of the way by funding accrual alone, without any further adverse price move.

None of this replaces checking a margin calculator or Hyperliquid's own position tools before sizing a trade — it's the framework those tools are built on.

FAQ

What's the maximum leverage on Hyperliquid?

It depends on the asset. Hyperliquid doesn't publish a single global maximum — each asset has its own cap set in its contract specifications. Check the specific asset's leverage limit in the app before opening a position.

Should I use cross or isolated margin for a first trade?

Isolated margin caps potential losses to the margin assigned to that one position, since it doesn't share collateral with the rest of the account. Cross margin is more capital-efficient but exposes your whole cross-margined balance to a single losing position. Which is appropriate depends on how much of your account you're willing to put behind one trade.

When exactly do I get liquidated?

For a cross position, when account value including unrealized PnL drops below maintenance margin — half the initial margin required at that asset's max leverage — multiplied by total open notional across your cross positions. For an isolated position, the same comparison applies but using only that position's own margin and notional.

Open Hyperliquid

This page contains affiliate links; see our methodology for how we research and review exchanges.