· 8 min read

Hyperliquid Isolated vs Cross Margin Explained

Isolated margin contains risk to one position. Cross margin shares collateral across all positions. Here's how each works on Hyperliquid and when to use which.


Hyperliquid Isolated vs Cross Margin Explained

The margin mode you choose on Hyperliquid determines how risk is distributed across your account. Get it wrong and a single bad trade can wipe everything. Get it right and you can run multiple positions efficiently with controlled downside on each.

Two modes are available: isolated and cross. Both are active simultaneously, position by position. This article explains how each works mechanically, what happens at liquidation, and when to use which.


Cross Margin: How It Works

Cross margin is the default on Hyperliquid. When you open a position in cross mode, your entire account balance serves as collateral for that position. All cross margin positions share a single pool.

The mechanics, from the Hyperliquid docs:

  • Unrealized PnL from profitable cross positions is immediately available as margin for new cross positions
  • The account is liquidated when total account value (including unrealized PnL) falls below the maintenance margin requirement across all open notional
  • The liquidation price for a cross position depends on your total account balance, not just the margin allocated to that trade

That last point is key. A cross margin position doesn't have a fixed liquidation price based on leverage alone. Your liquidation price shifts as other positions gain or lose value. A profitable long on ETH extends your effective runway on a losing short on SOL, and vice versa.

This creates capital efficiency, but also entanglement. Your positions aren't independent. They breathe together.


Isolated Margin: How It Works

Isolated margin constrains risk to a single position. You allocate a specific amount of USDC to the trade. If the position is liquidated, you lose only that allocated margin. Your other positions, whether isolated or cross, are unaffected.

Key mechanics:

  • The liquidation price depends directly on the leverage set for the position, because the amount of collateral is fixed
  • You can add or remove margin from an isolated position after opening it
  • Liquidation in an isolated position doesn't trigger cross positions, and vice versa

The tradeoff: you can't benefit from unrealized PnL in other positions to extend your isolated position's runway. Each isolated position stands alone.


Side-by-Side Comparison

Feature Cross Margin Isolated Margin
Default mode Yes No
Collateral pool Shared across all cross positions Per-position only
Liquidation scope Entire account Single position only
Liq price flexibility Shifts with account balance Fixed by leverage
Unrealized PnL as margin Yes Only within same position
Adjust margin post-open No Yes
Capital efficiency Higher Lower
Risk containment Lower Higher

When to Use Cross Margin

Cross margin works best when your positions are related or when you want maximum capital deployment.

Hedged positions. If you're long ETH and short a correlated altcoin as a hedge, cross margin makes sense. A loss on one is partially offset by the gain on the other, and the shared pool reflects that relationship. Your effective margin requirement for the pair is lower than if each were isolated.

Multiple positions on the same thesis. If you're running several directional trades based on the same macro view, cross margin lets your winners support your losers while the thesis plays out.

Efficient use of capital. In cross margin, you're not reserving collateral for each individual position. One pool covers everything. This means you can deploy more capital into trades without holding reserve margin for each.

The risk: one trade that goes badly wrong can drain the pool and liquidate everything. In cross margin, your positions are not independent. A catastrophic loss on one position can pull down trades that were performing fine.


When to Use Isolated Margin

Isolated margin is the right choice when you want a hard cap on how much a specific trade can cost you.

High-risk or speculative trades. If you're taking a trade with significant uncertainty, low-cap assets, or high leverage that you wouldn't normally run in your main strategy, isolated margin lets you size it as a defined bet. You decide exactly how much you're risking before you open.

New strategies you're testing. If you're testing a trade setup you don't fully trust yet, isolated margin prevents an unexpected loss from affecting your core positions.

Positions on assets where you expect volatility. Correlated assets can move together unexpectedly. If an isolated position gets liquidated in a flash move, your other trades survive.

The cost: you're reserving dedicated capital per position. You can't benefit from unrealized gains in one trade to extend another. Isolated positions require more total capital to run the same overall exposure than cross margin.


What Happens at Liquidation

Understanding liquidation mechanics in each mode is not optional if you're using leverage.

Cross Margin Liquidation

Your account is liquidated when:

Account value (including unrealized PnL) < Maintenance margin across all open positions

When this threshold is breached, positions begin to be closed to bring the account back above maintenance margin. In severe cases, all cross positions are liquidated. You lose everything in the cross margin pool, not just the position that triggered the liquidation.

This is why cross margin in a volatile market with multiple positions can produce complete account wipes from what started as a single losing trade.

Isolated Margin Liquidation

An isolated position is liquidated when:

Isolated margin value < Maintenance margin for that position's notional

Only that position's margin is taken. Your other isolated positions and your cross pool are untouched. The rest of your account continues.

This containment is the core reason to use isolated margin for trades you consider risky. You know the maximum damage before you open.


Portfolio Margin: A Third Option

Hyperliquid has introduced a third margin mode called portfolio margin, which unifies spot and perpetual accounts into a single margin calculation. For portfolios holding both long and short positions on the same underlying asset, margin requirements are reduced because the system recognizes the risk offset.

Portfolio margin is in early access as of early 2026, with tight position caps while the feature is tested. It's worth knowing about, but not yet available for general use at meaningful scale. The Hyperliquid docs on portfolio margin cover the current limitations.


How Smart Money Wallets Use Margin

This is worth thinking about when reading wallet positioning data.

Wallet-level position data on Hyperliquid doesn't directly tell you whether a tracked wallet is using isolated or cross margin. What it does tell you is position size relative to the wallet's total balance, which is a proxy for leverage and margin mode preference.

High-ELO wallets in HyprSwarm's tracking universe tend to show disciplined sizing patterns. Positions that represent a small fraction of total account equity suggest cross margin use with controlled overall leverage. Concentrated positions in a single asset at high leverage more often reflect isolated margin use for a high-conviction bet.

Watching how ELO-rated wallets size into positions alongside swarm formation data gives you a qualitative read on whether the consensus is built on aggressive concentrated bets or broad distributed exposure. The difference matters for how you interpret the signal.


Common Mistakes

Assuming your liquidation price is the leverage price in cross mode. It's not. In cross margin, your effective liquidation price depends on your entire account balance and all open positions. A cross position with 10x leverage does not liquidate at a 10% adverse move if you have other positions with unrealized gains.

Mixing cross and isolated without a system. If you're running five cross positions and two isolated positions without tracking which is which, you're setting yourself up for confusion at exactly the wrong moment. Know what mode each position is in.

Adding more isolated margin when a trade is going against you. This can be rational if your thesis is still intact and you're extending runway deliberately. It's irrational if you're adding margin because you don't want to admit the trade is wrong. Adding margin to a losing isolated position just increases the amount you can lose on that trade.

Forgetting that cross margin positions interact. A profit in one position can temporarily hide how much your overall account is at risk from another. Check total account maintenance margin requirement regularly, not just individual position health.


Frequently Asked Questions

What is the difference between isolated and cross margin on Hyperliquid?

Isolated margin allocates a fixed amount of collateral to one position. Liquidation only affects that position's margin. Cross margin pools your entire account balance as collateral for all cross positions. A liquidation in cross mode can drain the entire pool. Isolated = capped risk. Cross = capital efficient but entangled risk.

Which margin mode should beginners use?

Beginners generally benefit from isolated margin. It makes the maximum possible loss on each trade explicit before you open. You put in X USDC, you can lose at most X USDC on that trade. Cross margin's efficiency isn't worth the account-wipe risk until you understand your full position exposure clearly.

Can I run both modes at the same time on Hyperliquid?

Yes. You can have cross margin positions and isolated margin positions open simultaneously. They don't interact. An isolated liquidation doesn't affect your cross pool and vice versa.

What is the default margin mode on Hyperliquid?

Cross margin is the default. New positions open in cross unless you select isolated in the trade interface. It's worth checking which mode you're in before every new position.

How do I switch between margin modes?

You can't switch a live position between modes. You must close the position and reopen it in the desired mode. For isolated positions, you can add or remove margin post-open, but you can't convert it to cross.

What is portfolio margin on Hyperliquid?

Portfolio margin is a third mode that unifies spot and perpetual accounts for a single net margin requirement. It significantly reduces margin requirements for hedged positions. As of early 2026, it's in early access with tight caps. See the Hyperliquid portfolio margin docs for current status.


This article explains mechanics, not trading advice. Leveraged perpetual futures trading carries substantial risk of loss. Understand margin modes fully before deploying capital.

← All posts