How to Use Cross Margin vs Isolated Margin on Hyperliquid
Risk warning. Trading perpetual futures and other leveraged crypto-asset products is high risk. A large share of retail traders lose money, so never trade with money you cannot afford to lose entirely. Disclaimer
Cross margin and isolated margin answer the same question differently: if a position goes wrong, how much of your account is actually on the line?
This guide is part of TradeOnDEX’s Hyperliquid how-to series within Perpetual Futures, building on the margin basics covered when opening your first position.
Disclosure: TradeOnDEX may earn a commission from links to Hyperliquid on this page, at no extra cost to you. Full details at the end of this article.
What’s actually different between the two modes?
Cross margin is Hyperliquid’s default. All your cross-margined positions share one collateral pool, your full account balance backs each position, and unrealized gains on one position can offset losses on another.
Isolated margin ring-fences a fixed amount of collateral to one specific position. A loss on that position can wipe out its assigned collateral, but it can’t reach into the rest of your account balance, and losses on other isolated positions don’t affect it either.
This means for you, concretely: with $5,000 in your account and a $500 isolated position, the most that single trade can cost you is $500. With the same $500 position under cross margin, a large enough adverse move draws on your full $5,000 to keep the position alive longer, before liquidation.
How to choose or switch margin mode on Hyperliquid
- Open the market you want to trade at app.hyperliquid.xyz.
- Find the margin mode toggle, usually next to the leverage slider, it shows “Cross” or “Isolated.”
- Select the mode you want before opening the position.
- To switch modes on an already-open position, you generally need to close the position first, Hyperliquid does not let you flip modes on a live position with size still open.
Because switching requires closing first, decide your margin mode deliberately at entry rather than planning to adjust it mid-trade.
Risk: what each mode actually exposes you to
Cross margin’s efficiency is also its risk. Sharing collateral across positions means a single bad position can, in the worst case, draw down enough of your shared margin to threaten positions that were otherwise fine. This is the trade-off for cross margin’s main benefit: it can absorb short-term volatility on one position using headroom from the rest of the account, delaying liquidation that isolated margin wouldn’t.
Isolated margin’s containment is also its limitation. Because losses are capped at the assigned collateral, an isolated position with too little margin behind it can be liquidated on a smaller adverse move than the same position would survive under cross margin, you’re trading resilience for a hard ceiling on loss.
Neither mode changes your liquidation math in isolation from leverage. Margin mode determines what collateral backs a position, not the maintenance margin threshold itself; leverage and market parameters still set that. High leverage under cross margin can still put your full account at risk faster than moderate leverage under isolated margin would put a small allocation at risk.
Requiring a close to switch modes is a real, sometimes costly friction. If you realize mid-trade that you picked the wrong mode, changing it means realizing whatever gain or loss exists at that moment, not adjusting on the fly.
A concrete comparison
Say you have $5,000 in your account and open a $1,000 BTC position at 10x leverage ($100 margin).
- Isolated: if BTC moves against you enough to exhaust the $100 assigned, that position is liquidated. Your remaining ~$4,900 is untouched.
- Cross: the same adverse move draws on your full $5,000 balance to keep the position open. The position may survive a larger move before liquidation, but a severe enough move puts more of your total funds at risk, not just the $100 you’d nominally allocated.
Cross vs. isolated: which is “better”?
There’s no universally correct choice, it depends on what you’re trying to control for.
| Cross margin | Isolated margin | |
|---|---|---|
| Risk cap per trade | None, shares full balance | Capped at assigned collateral |
| Resilience to short-term volatility | Higher (more collateral backing) | Lower (fixed collateral only) |
| Best suited for | Traders managing a portfolio of positions together | A single, defined-risk trade, or a first position |
| Switching mid-trade | Requires closing the position first | Requires closing the position first |
See it for yourself
If you’re testing the difference, try a small isolated position first, the capped downside makes it easier to see exactly what liquidation looks like without risking your full balance. You can review both modes directly in the Hyperliquid trading interface.
Frequently asked questions
Which margin mode does Hyperliquid use by default?
Cross margin is the default mode; isolated margin needs to be selected explicitly per position before opening it.
Can I run isolated and cross positions at the same time?
Yes. Isolated positions are ring-fenced individually, while all cross positions share one collateral pool, and the two can coexist in the same account.
Does isolated margin mean I can never lose more than I put in?
It caps losses at the collateral you assigned to that specific position, but you can still lose that entire assigned amount, it limits the scope of a loss, not the possibility of losing it all on that trade.
Can I switch a position from cross to isolated without closing it?
Generally no, Hyperliquid requires the position to be closed before its margin mode can change, so plan your mode choice at entry.
Affiliate disclosure
TradeOnDEX may earn a commission if you trade through a referral link, at no extra cost to you. Hyperliquid’s own affiliate/referral terms are still being confirmed for this site, so links in this article are direct and untracked for now. This article is educational and is not financial advice; both margin modes carry a high risk of loss under leverage. See our disclaimer for the full risk warning.
Risk warning
Trading crypto assets, and leveraged products based on them such as perpetual futures ("perps"), is high risk. A large share of retail traders lose money on these products. Leverage magnifies gains and losses alike and can push your loss beyond the amount you put in. Positions can be closed automatically (liquidation) before you get a chance to react, and some of the platforms we cover offer no negative balance protection.
Never trade with money you cannot afford to lose entirely. TradeOnDEX gives no investment advice, no personal recommendation, and no guarantee of any outcome. Every decision you make is your own decision and your own responsibility.