What Is Maintenance Margin?

Understanding the minimum margin requirement that keeps your leveraged positions open and prevents liquidation.

Maintenance Margin Defined

Maintenance margin is the minimum amount of collateral you must hold in your account to keep a leveraged position open. It is the line in the sand between an active position and a liquidation. When your account equity drops below the maintenance margin requirement, the exchange will begin the process of force-closing your position to prevent further losses.

Think of maintenance margin as the minimum balance your position needs to stay alive. You start with initial margin (the deposit required to open the position), and as the trade moves against you, your effective margin decreases. Once it hits the maintenance margin level, the exchange intervenes to protect itself and other traders from the risk of your position going further underwater.

How Maintenance Margin Triggers Liquidation

The liquidation process is straightforward. At all times, the exchange monitors your margin ratio - the ratio of your current equity to your position value. This ratio is compared against the maintenance margin rate for your asset and position size. When your margin ratio drops to or below the maintenance margin rate, liquidation is triggered.

For example, suppose you open a $10,000 long position on BTC with 10x leverage ($1,000 of margin). If the maintenance margin rate is 0.5%, you need at least $50 of equity to maintain the position. Your position would be liquidated when your losses reach $950 - which corresponds to roughly a 9.5% price drop from your entry.

The exchange checks your margin ratio against the mark price, not the last traded price. This protects you from being liquidated by temporary price wicks or manipulation. Your liquidation price is calculated in advance and displayed in the trading interface so you always know your risk threshold.

Maintenance Margin Calculation

The basic formula for maintenance margin is: Maintenance Margin = Position Value multiplied by Maintenance Margin Rate. The maintenance margin rate varies by asset and sometimes by position size. For major crypto assets on Hyperliquid, maintenance margin rates typically range from 0.5% to 2.5%.

Your margin ratio is calculated as: Margin Ratio = Account Equity divided by Position Value. When the margin ratio equals the maintenance margin rate, you are at the liquidation threshold. Account equity includes your deposited collateral plus any unrealized PnL from open positions.

In cross margin mode, maintenance margin is calculated against your entire account balance. In isolated margin mode, it is calculated only against the margin assigned to that specific position. Use the liquidation calculator to determine your exact maintenance margin and liquidation price.

Relationship to Leverage

Leverage and maintenance margin are inversely related concepts. Higher leverage means a larger position relative to your margin, which means less room for adverse price movement before hitting the maintenance margin threshold. At 2x leverage, a 50% price drop would be needed to wipe out your margin. At 20x leverage, just a 5% drop achieves the same result.

This is why understanding maintenance margin is so critical for leveraged trading. The higher your leverage, the closer your effective margin is to the maintenance threshold from the moment you open the position. With 100x leverage and a 0.5% maintenance margin rate, you are already starting very close to the liquidation line.

Smart risk management means choosing a leverage level that gives you enough distance between your current margin and the maintenance threshold. This buffer is what allows your position to survive normal price fluctuations without being prematurely liquidated.

How to Stay Above Maintenance Margin

The simplest way to maintain a safe margin ratio is to use conservative leverage. If you are comfortable with 10x but only truly need 3x, the extra buffer can save your position during volatile periods. It is better to have unused margin capacity than to be liquidated during a temporary dip.

Setting stop-loss orders is another effective approach. A stop-loss will close your position at a predetermined price before it reaches the liquidation threshold, giving you control over your maximum loss rather than leaving it to the liquidation engine.

You can also add margin to an existing position if it is moving against you. In isolated margin mode, adding margin directly pushes the liquidation price further from the current price. In cross margin mode, depositing additional USDC to your account achieves the same effect. Monitor your margin ratio regularly and act before it reaches critical levels.

Frequently Asked Questions

When your account margin falls below the maintenance margin requirement, your position will be liquidated by the exchange's liquidation engine. On Hyperliquid, the liquidation process attempts to close your position at the best available price. If the position cannot be closed profitably, the insurance fund or auto-deleveraging mechanism covers the shortfall.
Initial margin is the minimum collateral required to open a new position. Maintenance margin is the minimum collateral required to keep an existing position open. Initial margin is always higher than maintenance margin. For example, opening a position might require 10% initial margin, but you only need 5% maintenance margin to keep it open. The gap between them is your buffer before liquidation.
On many exchanges, maintenance margin rates increase with larger position sizes. This is called a tiered margin system. Smaller positions may have maintenance margins as low as 0.5%, while very large positions may require 5% or more. This protects the exchange from the higher risk associated with liquidating large positions in illiquid conditions.
Yes. If your position is approaching the maintenance margin threshold, you can deposit additional collateral to your account (in cross margin) or add margin to the specific position (in isolated margin). This effectively pushes your liquidation price further away. Many traders set alerts to notify them when their margin ratio drops to a certain level.
Maintenance margin is typically a percentage of your position value. For example, if the maintenance margin rate is 0.5% and your position is worth $10,000, you need at least $50 in margin to avoid liquidation. You can use the Beacon liquidation calculator to determine your exact maintenance margin requirement and liquidation price for any position.

Continue Learning

Ready to Start Trading?

Trade perpetual futures on Hyperliquid with clear margin data and risk tools. Self-custodial, no KYC, 24/7.

Open Beacon App