Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Cross-Margin Mode

A margin account mode where all available collateral is pooled and used to support all open positions, increasing capital efficiency but also increasing risk of cross-position liquidation.
Chainscore © 2026
definition
TRADING MECHANISM

What is Cross-Margin Mode?

A risk management method in leveraged trading where all available collateral in a margin account is pooled to support multiple open positions.

Cross-margin mode is a margin management system used in leveraged trading platforms—including decentralized finance (DeFi) protocols and centralized exchanges—where the total available collateral in a trader's account is treated as a single, shared pool. This pooled collateral is used to cover the margin requirements and potential losses for all open positions simultaneously. The primary advantage is increased capital efficiency, as unused margin from one position can automatically backstop another, preventing unnecessary liquidations. However, this creates a higher systemic risk, as a significant loss on any single position can jeopardize the entire portfolio.

The mechanism contrasts directly with isolated margin mode, where collateral is allocated and ring-fenced to a specific position. In cross-margin, the margin ratio is calculated for the account as a whole, based on the net value of all positions and the total collateral. Automated systems continuously monitor this aggregate health. If the account's total equity falls below the maintenance margin threshold, a margin call or liquidation event can be triggered, potentially closing multiple positions to restore solvency. This makes cross-margin suitable for sophisticated strategies like hedging, where correlated positions offset risk.

In practice, a trader using cross-margin might deposit 10 ETH as collateral to open a long position on BTC and a short position on an altcoin. The profit from one trade can increase the available collateral, providing a buffer for the other. However, a sharp, adverse move in both directions could rapidly deplete the shared pool. Major lending protocols like Aave and Compound operate on a cross-collateralization principle, where supplied assets act as pooled security for borrowed positions. Understanding this mode is critical for managing counterparty risk and the potential for cascading liquidations during market volatility.

how-it-works
MECHANISM

How Cross-Margin Mode Works

An explanation of the risk management mechanism that pools collateral across a trader's positions.

Cross-margin mode is a risk management mechanism in leveraged trading where a trader's entire portfolio of collateral is pooled into a single, shared margin account. This aggregated collateral acts as a unified buffer to cover the margin requirements and potential losses for all open positions simultaneously. Unlike isolated margin, where collateral is siloed per position, cross-margin allows for more efficient capital utilization, as unused margin from one position can automatically support another.

The core function of cross-margin is to prevent liquidation. The system continuously calculates a total margin ratio by comparing the total equity (sum of all positions' values plus free collateral) against the total maintenance margin required. If this ratio falls below a protocol's threshold, a margin call occurs, and the entire account is at risk of being liquidated. This creates a high degree of interdependence, where a significant loss on one trade can jeopardize all other positions.

This mode is often preferred for sophisticated strategies like hedging, where offsetting positions (e.g., long and short on correlated assets) naturally reduce net risk. It is also common in perpetual futures markets on centralized and decentralized exchanges like dYdX or GMX. However, the primary trade-off is increased risk: while it maximizes capital efficiency, it also exposes the trader's entire collateral pool to a cascading liquidation event, making precise risk management essential.

key-features
MARGIN MODE

Key Features of Cross-Margin

Cross-margin is a risk management mode where a single pool of collateral secures multiple positions, optimizing capital efficiency while introducing unique systemic risks.

01

Unified Collateral Pool

In cross-margin, all deposited assets form a single collateral pool that backs every open position in the account. This is distinct from isolated margin, where collateral is segregated per position. This allows for:

  • Capital efficiency: Unused collateral from one position can cover the margin requirements of another.
  • Portfolio-level risk: The health of the entire account is evaluated based on the total value of all positions versus the total collateral.
02

Portfolio-Based Liquidation

Liquidation is triggered based on the portfolio's aggregate health, not individual positions. The key metric is the Cross-Margin Maintenance Margin, which is the sum of the maintenance margins for all positions. If the total collateral value falls below this sum, the entire account becomes eligible for liquidation. This creates a systemic risk where a loss in one position can jeopardize all others, even profitable ones.

03

Netting & Offset

A core efficiency feature is exposure netting. Profitable and losing positions can partially offset each other within the same pool. For example:

  • A +$10k Long BTC position and a -$5k Short ETH position result in a net exposure of +$5k.
  • This reduces the total margin requirement compared to running these positions in isolation, as the risk is calculated on the net, not gross, exposure.
04

Margin Call Mechanics

The margin call process is holistic. Users receive a warning when their Portfolio Margin Ratio (Total Equity / Total Maintenance Margin) falls below a threshold (e.g., 110%). To avoid liquidation, they must either:

  • Add more collateral to the shared pool.
  • Close losing positions to reduce the total maintenance margin requirement.
  • Close profitable positions, which also reduces the total collateral, making this a less effective last resort.
05

Use Case: Hedged Portfolios

Cross-margin is optimal for sophisticated strategies involving hedging and delta-neutral positions. A trader running a basis trade (long spot, short perpetual) or a volatility strategy with multiple legs benefits significantly because:

  • The opposing risks net out, requiring far less locked capital.
  • The unified pool automatically rebalances the margin as the hedge ratio changes, without manual transfers between isolated accounts.
06

Risk of Cascading Liquidation

The major downside is the potential for a cascading liquidation. If the portfolio's net value drops below the maintenance level, a liquidator can close any position in the account to restore health, often starting with the most liquid ones. This can force the closure of profitable hedges, leaving the account with only its losing positions, accelerating the loss. It centralizes counterparty risk to the single collateral pool.

MARGIN MODE COMPARISON

Cross-Margin vs. Isolated Margin

A comparison of the two primary margin management modes in leveraged trading, detailing their risk profiles and capital efficiency.

Feature / MetricCross-Margin ModeIsolated Margin Mode

Risk Pooling

Liquidation Risk

Portfolio-wide

Position-specific

Capital Efficiency

High

Low

Initial Margin

Shared across positions

Allocated per position

Margin Call Trigger

Total equity < total maintenance margin

Position equity < position maintenance margin

Liquidation Process

All positions can be liquidated to cover deficits

Only the under-margined position is liquidated

Best For

Hedged portfolios, experienced traders

New traders, high-risk speculative bets

Maximum Leverage

Determined by total account equity

Set per position, often higher per trade

advantages
RISK MANAGEMENT

Advantages of Cross-Margin Mode

Cross-margin is a risk management model where a trader's entire account balance serves as collateral for all open positions, optimizing capital efficiency and reducing liquidation risk.

01

Capital Efficiency

By pooling collateral, cross-margin allows traders to open larger positions without posting additional margin for each trade. This increases leverage utilization and frees up capital that would otherwise be locked in isolated positions. For example, a $10,000 account can support multiple positions simultaneously, using the combined equity as a single margin buffer.

02

Reduced Liquidation Risk

The shared collateral pool makes the account more resilient to price volatility in a single market. Losses in one position are offset by the unrealized profits or remaining equity in others, raising the aggregate liquidation price. This is in contrast to isolated margin, where a single position can be liquidated independently, even if the overall account is profitable.

03

Simplified Margin Management

Traders manage one unified margin balance instead of tracking separate requirements for each position. This eliminates the need to manually allocate or rebalance collateral between trades, reducing operational complexity. Margin calls are based on the total account equity, not the performance of individual holdings.

04

Optimal for Hedging Strategies

Cross-margin is the preferred mode for strategies involving correlated or offsetting positions, such as delta-neutral trades or futures basis trading. Since profits and losses net against each other within the shared pool, the effective margin requirement for the strategy is lower, allowing for greater scale within the same capital constraints.

05

Contrast with Isolated Margin

A key advantage is the fundamental difference from isolated margin mode. In isolated mode, margin is ring-fenced per position, limiting loss to the allocated collateral but also limiting capital reuse. Cross-margin's holistic approach provides flexibility but introduces the risk of cross-position contagion if risk is not managed at the portfolio level.

risks-and-disadvantages
CROSS-MARGIN MODE

Risks and Disadvantages

While cross-margin can amplify capital efficiency, it introduces systemic risks not present in isolated margin. These cards detail the primary vulnerabilities for traders and protocols.

01

Liquidation Cascade Risk

In cross-margin, all positions share a single margin pool. A sharp price drop in one asset can deplete the shared collateral, triggering the liquidation of all positions simultaneously, not just the losing one. This creates a systemic risk where unrelated positions are liquidated due to a single market event, potentially causing a cascade across the protocol.

02

Increased Counterparty Risk

The protocol itself becomes a concentrated counterparty. A smart contract bug, oracle failure, or economic exploit in any supported market can jeopardize the entire cross-margin account. This is a higher-order risk compared to isolated margin, where a failure is typically contained to a single market position.

03

Complex Risk Management

Traders must monitor the aggregate health ratio of their entire portfolio, not individual positions. Key challenges include:

  • Correlation risk: Previously uncorrelated assets can become correlated during market stress.
  • Over-leverage: Easy capital reallocation can mask true aggregate leverage.
  • Margin calculation opacity: Understanding precise liquidation triggers for a multi-asset portfolio is more complex.
04

Protocol-Specific Vulnerabilities

The implementation of cross-margin logic introduces unique attack vectors:

  • Donation attacks: Manipulating the share of the collateral pool.
  • Liquidation incentive misalignment: Liquidators may be incentivized to trigger unnecessary full-account liquidations.
  • Oracle manipulation: A single manipulated price feed can doom the entire account.
05

Regulatory and Compliance Ambiguity

Cross-margin blurs traditional financial boundaries, creating regulatory gray areas:

  • Rehypothecation: The reuse of collateral across positions may conflict with certain jurisdictional rules.
  • Portfolio margining: May not be recognized under all regulatory frameworks for crypto assets.
  • Liability structure: Determining liability in a total-loss scenario involving multiple positions is legally complex.
ecosystem-usage
IMPLEMENTATIONS

Protocols Using Cross-Margin

Cross-margin is a risk management feature adopted by leading DeFi protocols to enhance capital efficiency and user experience. This section details prominent platforms that have integrated this model.

06

Related Concept: Isolated Margin

The primary alternative to cross-margin. In isolated margin mode, collateral is allocated and ring-fenced to a single position or a defined set of positions.

  • Key Difference: Losses are limited to the margin posted for that specific position.
  • Trade-off: Provides defined risk but results in lower overall capital efficiency compared to cross-margin.
  • Example Protocols: Many centralized exchanges (Binance, Bybit) and some DEXs offer both modes.
CROSS-MARGIN

Frequently Asked Questions

Cross-margin is a sophisticated risk management model used in decentralized finance (DeFi) for leveraged trading. These questions address its core mechanics, benefits, and key differences from other margin systems.

Cross-margin is a risk management model where a trader's entire collateral pool is used as a single, unified balance to cover the margin requirements and potential losses for all their open positions. It works by aggregating the initial margin and maintenance margin requirements across all positions and comparing them against the total available collateral. If the total equity (collateral value minus unrealized losses) falls below the aggregate maintenance margin, the account becomes eligible for liquidation. This system allows profits from one position to offset losses in another, increasing capital efficiency but also linking the risk profile of all positions together.

For example, if a trader deposits 10 ETH as collateral and opens two positions, the protocol does not segregate 5 ETH for each. Instead, all 10 ETH back both positions. A 2 ETH gain on one trade immediately increases the available collateral supporting the other, potentially preventing its liquidation.

CROSS-MARGIN MODE

Common Misconceptions

Cross-margin is a powerful but often misunderstood risk management feature in DeFi and CEX perpetual futures trading. This section clarifies key operational details and risks.

Cross-margin is not inherently safer than isolated margin; it simply manages risk differently. In cross-margin mode, your entire account balance acts as collateral for all open positions, which can prevent liquidation on one position if another is profitable. However, this pooled collateral model creates a single point of failure: a significant adverse move in any open position can put your entire account balance at risk of liquidation. Isolated margin, by contrast, confines risk and potential loss to the specific collateral allocated to each position, offering more precise and bounded risk management.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team
Cross-Margin Mode: Definition & Risk in DeFi Trading | ChainScore Glossary