PERP MECHANICS

Cross vs Isolated Margin on Hyperliquid: The Difference, With Examples

By Perpy · Updated · 5 min read

SHORT ANSWER

Cross margin pools collateral: every cross position draws on the same account balance, so profits on one position support the others, but a large loss can liquidate all of them together. Isolated margin assigns a fixed amount of collateral to one position, so only that collateral is at risk when it is liquidated, while other positions are unaffected. On Hyperliquid, cross is the default, and the mode changes how the liquidation price is calculated.

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

  • Cross margin is Hyperliquid's default and shares collateral across all cross positions.
  • Isolated margin limits a position's liquidation to the margin assigned to it.
  • A cross position's liquidation price does not depend on its leverage setting; an isolated position's does.
  • Margin can be added to or removed from isolated positions; "strict isolated" assets do not allow removal.
  • On a whale's wallet, an isolated position shows exactly what they are risking on that trade; a cross position does not.

What is cross margin?

With cross margin, the collateral in your perp account is shared by every cross position. Hyperliquid's documentation describes it as the mode for maximal capital efficiency. Unrealized profit on one cross position is automatically available as margin for new positions, and a losing position can draw on the rest of the account before it is liquidated.

The trade-off is that cross positions live and die together. The liquidation test is account-wide, and in a backstop liquidation all cross positions and the cross margin transfer to the liquidator. Deposits are credited to cross margin, and positions open in cross mode unless you choose otherwise.

What is isolated margin?

With isolated margin, you assign collateral to one position. Its liquidation is calculated using only that margin and that position's value, and it does not affect your other isolated positions or your cross account; equally, a cross liquidation does not touch it. You can add margin to an isolated position after opening it, or remove some, subject to Hyperliquid's transfer rules. Unrealized profit on an isolated position stays with that position as extra margin.

Some assets are strict isolated: they work like isolated margin, but margin cannot be removed while the position is open; it is released proportionally as the position is closed.

How do cross and isolated margin compare?

Cross and isolated margin on Hyperliquid
CrossIsolated
CollateralShared across all cross positionsAssigned to one position
DefaultYesNo, selected per position
What a liquidation can takeAll cross positions and cross marginThat position and its margin
Liquidation price depends on leverage settingNoYes
Add or remove margin after openingDeposit to add; initial margin cannot be withdrawnYes (except strict isolated)
Unrealized profitAvailable as margin for new positionsStays as extra margin on that position

Why does the margin mode change the liquidation price?

Hyperliquid's liquidation formula uses the margin available to the position. For cross, that is account value minus maintenance margin required, across the account. For isolated, it is the isolated margin minus maintenance margin required. So for a cross position, choosing 3x or 10x leverage only changes how much collateral is committed at opening; the liquidation price depends on the whole account. For an isolated position, leverage decides how much margin is allocated, so higher leverage moves the liquidation price closer. The full formula is in how liquidations work on Hyperliquid.

Can you withdraw unrealized profit?

Yes, within limits. Unrealized PnL can be withdrawn from isolated positions or the cross account only if the remaining margin is at least 10% of the total notional value of all open positions, and also meets the initial margin requirement. That covers any action that removes margin other than trading, such as withdrawals and transfers to the spot wallet.

transfer margin required = max(initial margin required, 0.1 × total position value)

What does margin mode tell you about a whale's position?

Quite a lot. An isolated position tells you exactly how much collateral the trader has committed to that idea and exactly where it fails. A cross position's liquidation price depends on everything else in the account, so it can move when an unrelated position gains or loses, and the real buffer may be much larger (or smaller) than the position alone suggests. When you read a wallet, check the margin mode before drawing conclusions from the leverage number.

Newer account setups add nuance. Hyperliquid supports account abstraction modes such as unified accounts and portfolio margin, under which cross margin can be shared across builder-deployed (HIP-3) markets with the same collateral, and some HIP-3 markets offer a "no cross" mode.

Frequently asked questions

Which is safer, cross or isolated margin?

Neither is safe; both can lose money. Isolated margin limits a liquidation to the collateral assigned to one position. Cross margin gives a position more buffer by sharing the whole account, but a large loss can then liquidate every cross position together.

What is the default margin mode on Hyperliquid?

Cross margin. Deposits are credited to cross margin and positions open in cross mode unless isolated is selected.

Does leverage change my liquidation price on Hyperliquid?

For isolated positions, yes, because leverage determines how much margin is allocated. For cross positions, no; the liquidation price depends on the account's total value and maintenance requirement.

What is strict isolated margin?

A version of isolated margin used on some assets, where margin cannot be removed from the open position. Margin is released proportionally as the position is closed.

Sources

  1. Margining · Hyperliquid Docs
  2. Liquidations · Hyperliquid Docs
  3. Clearinghouse · Hyperliquid Docs
  4. Customer Advisory: Understand the Risks of Virtual Currency Trading · U.S. Commodity Futures Trading Commission (CFTC)

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.