All Explainers

Hyperliquid Portfolio Margin Explained: Cross Margin, Liquidation, and How to Enable It

Hyperliquid portfolio margin unifies spot holdings and perpetual positions under a single account, letting traders use shared collateral across all positions. Instead of posting separate margin for each trade, the system calculates net risk across your entire portfolio — reducing capital requirements by over 30% for hedged positions and enabling strategies like cash-and-carry arbitrage directly on-chain.

Updated March 23, 2026

What Portfolio Margin Is

Portfolio margin is Hyperliquid's most capital-efficient margin mode. It is a generalization of cross margin where all cross-margin perpetual positions and spot balances are collectively margined together within one account. Instead of calculating margin requirements for each position independently and summing them, the system evaluates the net risk exposure of your entire portfolio — recognizing hedging effects between positions.

The practical difference is significant. Under standard cross margin, holding a long BTC perp and a short BTC perp of similar size still requires margin for both positions. Under portfolio margin, the system sees that the positions largely offset each other and reduces the combined margin requirement accordingly. Hyperliquid estimates this can improve capital efficiency by over 30% for hedged portfolios.

Portfolio margin also unlocks native carry trades on Hyperliquid. A trader can hold spot BTC while shorting the BTC perpetual, with the spot balance serving as collateral for the short position. Spot and perp PnL offset each other, dramatically reducing liquidation risk on the perp side. Previously this required manual collateral management — portfolio margin handles it automatically.

How It Differs From Isolated And Cross Margin

Hyperliquid offers three core margin modes, each with different risk and capital profiles. Isolated margin confines collateral to a single position — if that position gets liquidated, your other positions and balances are untouched. Cross margin shares collateral across all cross-margin positions within a single DEX, so unrealized profit on one position can cover losses on another. Portfolio margin takes this a step further by unifying spot holdings and perp positions into one margin calculation.

The key distinction is how margin requirements are computed. In isolated and cross margin, the total margin requirement is the sum of each individual position's requirement. In portfolio margin, the system evaluates net risk — if you hold offsetting positions, the combined requirement can be substantially lower than the sum of parts. This is the same principle that institutional prime brokers use, but implemented natively on-chain.

One important tradeoff: portfolio margin means your entire account is evaluated as a unit. A severe drawdown across multiple correlated positions can threaten the whole account, whereas isolated margin limits damage to one position. Portfolio margin is designed for traders who actively manage risk across multiple instruments, not for traders who want fire-and-forget protection on individual positions.

Liquidation Under Portfolio Margin

Under standard cross margin, liquidation triggers when your account equity drops below the maintenance margin requirement for your total open notional. The maintenance margin is half of the initial margin at maximum leverage — ranging from 1.25% at 40x leverage to 16.7% at 3x leverage depending on the asset.

Portfolio margin changes the liquidation model. Instead of monitoring individual positions, the system tracks a portfolio margin ratio across all borrowable tokens in your account. Liquidation triggers when this ratio exceeds 0.95. The ratio is calculated as the maximum of maintenance requirements divided by liquidation value across all borrowable tokens. Oracle pricing uses the median of spot USDC prices, perp mark prices, and perp oracle prices for robustness.

When a portfolio margin account is liquidated, the process can affect all positions simultaneously — not just the one that caused the breach. This is the fundamental tradeoff: lower margin requirements in normal conditions, but broader exposure during liquidation events. Hyperliquid's standard two-stage liquidation process applies: market orders are first sent to the order book, and if equity drops below two-thirds of maintenance margin, the liquidator vault takes over the positions.

For positions exceeding 100,000 USDC in notional value, partial liquidation applies — only 20% of the position is liquidated initially, followed by a 30-second cooldown before the remainder. There are no clearance fees on Hyperliquid liquidations, unlike most centralized exchanges.

Supported Assets And Collateral

Portfolio margin supports all cross-margin perpetual markets on Hyperliquid, including those on HIP-3 deployer DEXs. Spot balances in supported assets count as collateral within the unified margin calculation. The system is designed to expand as new HyperCore asset classes launch.

Collateral assets have loan-to-value (LTV) ratios between 0 and 1 that determine how much can be borrowed against them. During the initial rollout, HYPE carries a 0.5 LTV ratio. When your available balance is insufficient for an order, the system automatically borrows against eligible collateral up to the safe limit defined by the formula: token balance multiplied by borrow oracle price multiplied by LTV.

Global and per-user caps limit systemic risk. USDC and USDH each have a 500 million global supply cap and 100 million global borrow cap, with individual users limited to 5 million supplied and 1 million borrowed. HYPE has a 1 million token global supply cap and 50,000 per user. BTC is capped at 400 BTC globally and 20 BTC per user. These caps are conservative by design and will likely expand as the system matures.

Borrowed assets accrue interest continuously, indexed hourly to match the perp funding interval. The stablecoin borrow rate follows the formula: 0.05 + 4.75 multiplied by max(0, utilization minus 0.8) APY. The protocol retains 10% of interest as liquidation reserves. Users with idle borrowable assets earn interest at the corresponding rate — portfolio margin accounts automatically generate yield on unused collateral.

How To Enable Portfolio Margin

Portfolio margin is currently in alpha on Hyperliquid mainnet, having moved from pre-alpha testing in early 2026. Access is restricted to master accounts with more than million in weighted all-time trading volume. This threshold is intentional — the feature is designed for experienced traders who understand portfolio-level risk management.

To check eligibility and enable portfolio margin, navigate to the margin settings in the Hyperliquid trading interface at app.hyperliquid.xyz. If your account meets the volume requirement, the portfolio margin option will be available. Once activated, your spot balances and cross-margin perp positions are unified under the portfolio margin framework. The switch affects your entire account — you cannot use portfolio margin for some positions and isolated margin for others within the same cross-margin context.

If you are new to Hyperliquid, sign up at app.hyperliquid.xyz/join/HIPERWIRE for a 4% discount on trading fees across all markets for your first million in volume. Building toward the million volume threshold for portfolio margin eligibility is significantly cheaper with the referral discount applied.

Risks And Limitations

Portfolio margin is powerful but introduces risks that do not exist under isolated or standard cross margin. The most significant is correlated drawdown risk: because the entire portfolio is margined together, a broad market selloff that hits all your positions simultaneously can trigger liquidation of the full account. Under isolated margin, only the affected position would be liquidated.

The system assumes hedged positions remain hedged. In extreme market conditions — flash crashes, exchange outages, oracle failures — correlations between assets can spike to 1.0, causing hedges to fail simultaneously. Hyperliquid's documentation acknowledges this: if the market experiences an irrational widespread decline, hedging strategies may instantly fail. There is no lender of last resort in DeFi to backstop cascading liquidations.

Borrowing against spot collateral introduces interest rate risk. If utilization spikes, borrow rates can increase rapidly due to the kinked rate curve. A position that was profitable at 5% APY borrowing costs may become unprofitable if rates surge during a liquidity crunch. Monitor utilization rates and keep buffer margin above the 0.95 liquidation threshold.

Finally, portfolio margin is still in alpha. Caps are conservative, eligible collateral is limited to USDC, USDH, HYPE, and BTC, and the feature could be modified or rolled back as Hyperliquid gathers real-world data. Treat it as a powerful but evolving tool — not a fully mature feature.

Topic Cluster

Related Explainers

Adjacent guides that deepen the same Hyperliquid topic cluster for crawlers, agents, and human readers.

Frequently Asked Questions

Ready to apply this knowledge?

Join the fastest decentralized trading venue and start trading with precision.