Hyperliquid margin trading guide illustration showing leverage and risk management

What Is Margin Trading on Hyperliquid?

Margin trading on Hyperliquid lets you open positions larger than your account balance by borrowing funds from the exchange's liquidity pool. Hyperliquid is one of the few decentralized exchanges that offers up to 50x leverage on perpetual futures, with over 150 trading pairs available. Unlike centralized margin trading, Hyperliquid's margin system is fully on-chain and non-custodial — your collateral stays in your control and all liquidations are verifiable on the HyperEVM blockchain. This guide explains exactly how margin works on Hyperliquid, how to calculate your liquidation price, and how to manage risk effectively.

How Leverage Works on Hyperliquid

On Hyperliquid, you select a leverage multiplier when opening a position. Your required margin is calculated as: position_size / leverage. For example, a $10,000 BTC position at 10x leverage requires $1,000 of your own capital as margin. At 50x, the same position needs only $200. The remaining 98-99% is effectively borrowed from the exchange's liquidity — you don't pay interest on this, but you pay trading fees and funding rates instead. Higher leverage amplifies both profits and losses. A 2% move against a 10x position results in a 20% loss of margin. At 50x, the same 2% move results in a 100% loss (full liquidation). Understanding this geometric relationship is the foundation of safe margin trading.

Liquidation Price Calculation

Hyperliquid uses a cross-margin system for liquidation. Your liquidation price depends on your entry price, leverage, and maintenance margin requirement. The formula is straightforward:

For long positions: liquidation = entry_price * (1 - 1/leverage + maintenance_margin_rate)

For short positions: liquidation = entry_price * (1 + 1/leverage - maintenance_margin_rate)

Hyperliquid's maintenance margin rate is approximately 0.5% (varies slightly by pair). Here are practical examples for a $100K BTC entry:

  • 5x leverage: Liquidation at approximately $79.5K (20.5% move)
  • 10x leverage: Liquidation at approximately $89.5K (10.5% move)
  • 20x leverage: Liquidation at approximately $94.5K (5.5% move)
  • 50x leverage: Liquidation at approximately $97.8K (2.2% move)

These calculations assume a single position in isolation. With multiple open positions, Hyperliquid's cross-margin model means profits from one position can support losses in another — but losses also compound. Always check the Hyperliquid UI for your exact liquidation price, as it updates dynamically based on your total portfolio health.

Choosing the Right Leverage

Picking the right leverage is the most important risk management decision you'll make. Here are guidelines based on asset volatility:

  • BTC/ETH (moderate volatility, 2-4% daily range): 5x-15x leverage. A 10x position on BTC gives you a comfortable 10.5% buffer before liquidation — sufficient for most market conditions.
  • Large-cap alts (SOL, ARB, OP, 4-8% daily range): 3x-8x leverage. Higher volatility means you need larger buffers. An 8x position on SOL at $150 gives liquidation at ~$130 — a 13% move, reasonable for SOL but tight.
  • Mid-cap alts (DOGE, AVAX, 6-15% daily range): 2x-5x leverage. These assets can gap 10%+ in hours. Use conservative leverage and wide stop losses.
  • Small-cap/niche pairs (15-30% daily range): 1x-2x leverage essentially spot-margin. Leverage above 2x on small caps is gambling, not trading.

A proven rule of thumb: never use more leverage than the inverse of the asset's maximum expected daily move. If BTC can move 5% in a day, don't use more than 20x (1/0.05). If a small-cap alt can move 20%, cap at 5x.

Funding Rate Impact

Hyperliquid uses a funding rate mechanism to keep perpetual prices aligned with spot prices. Funding rates are paid between long and short positions every hour. When funding is positive (most common in bull markets), longs pay shorts. At 0.01% per hour (approximately 0.24% per day) on a 10x position, the daily cost is 2.4% of your margin — a significant expense for long-term leveraged positions. Strategies to manage funding rate costs:

  • Short-term trades: For positions held less than 6 hours, funding rate impact is negligible (under 0.06% even at high funding).
  • Multi-day positions: Check current funding rates before opening. If funding is 0.02%+ per hour, consider reducing leverage or using a spot position instead.
  • Neutral strategies: Pairs with balanced long/short interest have near-zero funding. Check Hyperliquid's funding page before entering.
  • Hedging: In extreme funding environments, open a small position on the opposite side in a different account to offset costs.

Risk Management Framework

Safe margin trading on Hyperliquid requires a systematic approach to risk. Follow this framework for every trade:

  1. Maximum position sizing: Never risk more than 2-5% of your total portfolio on a single trade. If you have $10K, a single position should use at most $200-500 of margin (the amount you're willing to lose).
  2. Stop loss placement: Always set a stop loss, even with low leverage. Place stops at technical levels (below support for longs, above resistance for shorts) rather than arbitrary percentages.
  3. Leverage cap per asset class: Apply the volatility-based leverage caps from the section above. Write them down and check your position against them before entering.
  4. Portfolio health monitoring: Hyperliquid shows your account value vs. margin used. Keep your margin usage below 50% to avoid liquidation cascades in cross-margin mode.
  5. Profit taking: Take partial profits at 1.5-2x your stop loss distance. If your stop is 5% away, take profits at 7.5-10%. This ensures a positive risk/reward ratio on every trade.

Cross-Margin vs Isolated Margin

Hyperliquid uses a cross-margin system by default — all your positions share a single margin pool. This means profits from one open position can support losses in another, but it also means a single bad position can liquidate your entire account. There is no isolated margin mode on Hyperliquid as of 2026. To simulate isolated margin, use separate wallets or accounts for different trading strategies. For example, maintain one wallet for high-leverage altcoin plays (small capital, isolated risk) and another for moderate-leverage core positions (larger capital, lower leverage). This separation is the most effective way to prevent a single trade from cascading into full account liquidation.

Common Margin Trading Mistakes on Hyperliquid

  • Over-leveraging small accounts: A $500 account at 50x gives a $25K position size. A 2% move wipes the entire account. Small accounts should use 2-5x max until the capital base grows.
  • Ignoring funding rates on long holds: Holding a 20x long for 7 days at 0.02% hourly funding costs 3.36% per day — 23.5% of margin per week. The position bleeds value even if the price stays flat.
  • Averaging into losing positions: Adding margin to a trade that's moving against you is the fastest way to blow up an account. Cut losses early and re-enter at better levels.
  • No stop loss on high leverage: A 20x BTC long without a stop loss can go from healthy to liquidated in a single flash crash. A stop loss costs nothing and saves everything.
  • Chasing pumps with max leverage: The most dangerous time to enter is after a 10%+ move. Let the volatility settle before entering with leverage.

Start Margin Trading on Hyperliquid

Use code HOLYGRAIL to get 4% off all taker fees for your first $25M volume

Join Hyperliquid Now →