Hyperliquid cross margin vs isolated margin comparison guide

Why Margin Mode Matters on Hyperliquid

On Hyperliquid, every perpetual position you open uses one of two margin modes: cross margin or isolated margin. The choice determines how your collateral is allocated — and more importantly, how much you can lose in a liquidation event. Get this wrong with a large position and you could see your entire account wiped out in seconds.

This isn't theoretical. During the March 2025 flash crash, traders on cross margin lost their full portfolios while isolated-margin traders walked away with only their single-position collateral gone. The difference came down to one setting.

In this guide, you'll learn exactly how each mode works, the math behind liquidation prices, and a decision framework for choosing the right mode for every trade. If you're new to Hyperliquid, use referral code HOLYGRAIL to get started with reduced fees.

Cross Margin: Full Portfolio at Stake

Cross margin uses your entire account balance as collateral for all open positions. Every dollar in your Hyperliquid wallet can be tapped to keep a losing trade alive. This sounds generous — and it is — but it comes with a dangerous flipside.

How Cross Margin Works

When you open a position in cross margin mode, Hyperliquid does not ring-fence the margin for that trade. Instead, it continuously checks whether your total account equity (balance + unrealized PnL from all positions) covers the maintenance margin requirement across your entire portfolio. If it doesn't, you're liquidated — on everything.

Example: You have $10,000 in your account. You open a 10x leveraged BTC long using cross margin, putting $1,000 of notional at risk. If BTC drops 5%, your unrealized loss is $500. Your account equity drops to $9,500 — still above maintenance. But if you also have an ETH short that's losing $500 at the same time, your equity drops to $9,000. Both positions draw from the same pool, and the combined drawdown can cascade into a full liquidation.

When Cross Margin Works Best

  • Hedged portfolios: If you're long BTC and short ETH as a pairs trade, the offsetting positions mean cross margin won't hurt you — gains on one offset losses on the other.
  • Small, low-leverage positions: A 2x BTC long with a $20,000 account barely moves the equity needle. Cross margin keeps things simple.
  • Market-making and delta-neutral strategies: When you're running bots that open and close positions rapidly, cross margin avoids the overhead of allocating margin per position.
  • Vault strategies: Hyperliquid vaults use cross margin by design — the vault manager handles risk across the entire book.

The Danger: Cascading Liquidations

The worst-case scenario: you hold three positions on cross margin. One loses heavily, dragging your equity below maintenance. Hyperliquid liquidates all three — even if two were in profit. Cross margin turns one bad trade into a portfolio wipeout. This is the single most common way traders lose everything on Hyperliquid.

Isolated Margin: One Position, One Risk Pool

Isolated margin assigns a fixed amount of collateral to a single position. That margin is the most you can lose on that trade — your other positions and remaining account balance are completely protected, no matter how far the isolated position moves against you.

How Isolated Margin Works

When you open an isolated position, you specify the margin amount upfront. Hyperliquid locks that collateral to the position. If the trade moves against you and the position's equity hits the maintenance requirement, only that position is liquidated. Your other open trades and unused balance are untouched.

Example: You have $10,000. You open an isolated 10x BTC long with $500 margin. BTC drops 8% — you're down $400 (80% of your margin). The position gets liquidated, you lose your $500 margin, and your remaining $9,500 stays safe. Compare that to cross margin: the same move could have pulled $4,000+ from your balance before liquidation.

When Isolated Margin Works Best

  • High-leverage directional bets: 20x on a meme coin? Isolated. Always. You want to cap your downside to exactly your committed margin.
  • Multiple concurrent positions: Running 5 different trades? Isolated margin keeps them from interfering with each other.
  • New strategy testing: Trying a new bot or signal? Isolate it so a bug doesn't drain your whole account.
  • Volatile assets: Low-cap perpetuals can gap hard. Isolated margin limits the damage.

The Tradeoff: Less Staying Power

With isolated margin, your position has a smaller capital buffer. If you allocate $500 margin to a trade, that's all the runway it gets. A cross-margin position could have survived the same drawdown by tapping your full $10,000 balance. Isolated means you accept a tighter liquidation price in exchange for downside protection on everything else.

Liquidation Price: The Math

Hyperliquid calculates your liquidation price dynamically. The formula depends on your margin mode, leverage, position size, and maintenance margin fraction. In cross margin, it also depends on your other positions — making it harder to predict precisely. In isolated margin, the calculation is straightforward: liquidation price = entry price minus (margin divided by position size) plus a small maintenance buffer.

For a practical example: you open a $10,000 BTC long (10x, $1,000 margin) at $70,000. In isolated mode, your liquidation sits roughly at $63,000 — a 10% drop. In cross mode with a $10,000 account, you could withstand a deeper drawdown (up to ~$63,000 as well, but the exact number shifts as your other positions' PnL changes).

Use Hyperliquid's position calculator in the trading interface to see your exact liquidation price before confirming any order. Never guess.

How to Switch Between Modes on Hyperliquid

Changing margin mode on Hyperliquid is straightforward:

  1. Open the trading interface and select your desired perpetual pair.
  2. In the order placement panel, locate the Margin Mode toggle — it's directly below the leverage slider.
  3. Select Cross or Isolated. For isolated, you'll need to specify the margin amount.
  4. Place your order. The mode is locked per position — you can have some positions on cross and others on isolated simultaneously.

Note: you cannot switch an existing position's margin mode. You must close the position and reopen it under the desired mode. Plan accordingly.

Decision Framework: Cross or Isolated?

Here's a simple decision tree for every trade:

  • Leverage above 5x? → Isolated. Always.
  • Running a hedged portfolio (long + short pairs)? → Cross margin makes sense — the offsets protect you.
  • Trading a single high-conviction position with low leverage? → Cross margin gives you more breathing room.
  • Testing a new strategy or bot? → Isolated. Limit the blast radius.
  • Trading a volatile low-cap perpetual? → Isolated. The gaps can be brutal.
  • Market-making or running vaults? → Cross margin — it's the standard for these strategies.

If you're ever unsure, default to isolated margin. The worst that happens on isolated is you lose the margin you committed. The worst that happens on cross margin is you lose everything.

Start Trading on Hyperliquid

Use referral code HOLYGRAIL to get reduced trading fees and access Hyperliquid's full suite of margin tools, including both cross and isolated margin modes.

Trade on Hyperliquid →

Common Mistakes to Avoid

  • Using cross margin with high leverage: A 20x position on cross margin can liquidate your entire account on a 4-5% move. The math is unforgiving.
  • Forgetting you're on cross margin: Opening a second position without checking the mode can create an unexpected correlation between trades.
  • Over-allocating isolated margin: Putting $5,000 of a $10,000 account into one isolated trade defeats the purpose — you've exposed half your capital anyway.
  • Not checking liquidation price: Always check the estimated liquidation price before confirming. Hyperliquid shows it clearly in the order panel.
  • Ignoring funding rates: Even on isolated margin, negative funding rates eat into your position's equity. A trade that looks safe can degrade over days.

Summary

Cross margin pools all your capital behind every trade — powerful for hedged portfolios, dangerous for directional bets. Isolated margin walls off each position — slightly less staying power per trade, but your downside is capped. The right choice depends on your leverage, the number of concurrent positions, and whether your trades offset or amplify each other. When in doubt, use isolated margin. Your future self will thank you.