Maintenance margin is the minimum amount of equity, expressed as a percentage of the total position value, that a trader must maintain in their margin account to avoid a margin call. It acts as a safety buffer for the broker or exchange, ensuring the trader has sufficient collateral to cover potential losses. If the account's equity falls below this required level due to adverse price movements, the trader must either deposit more funds or face liquidation of their position.
Maintenance Margin
What is Maintenance Margin?
A core concept in leveraged trading, maintenance margin is the minimum equity a trader must maintain in a margin account to keep a position open.
The maintenance margin requirement is distinct from the initial margin, which is the deposit required to open a leveraged position. For example, with 10x leverage, the initial margin might be 10%, while the maintenance margin could be set at 5%. This means if a $10,000 position drops in value so that the trader's equity (the initial deposit minus losses) falls below $500 (5% of $10,000), the maintenance margin level is breached. These levels are set by exchanges or brokers and vary by asset and market volatility.
When the account equity dips below the maintenance margin, it triggers a margin call. This is a demand from the broker for the trader to deposit additional funds (variation margin) to restore the equity to at least the maintenance level. In decentralized finance (DeFi) and many centralized crypto exchanges, this process is often automated; positions are liquidated immediately without a traditional call to prevent the platform from taking a loss. The formula for calculating the margin level is: (Equity / Used Margin) * 100%.
Understanding maintenance margin is critical for risk management in leveraged trading. It directly influences a position's liquidation price—the price at which the account equity equals the maintenance margin, triggering automatic closure. Traders must monitor this price closely, as high volatility can lead to rapid liquidations. Strategies like using stop-loss orders or maintaining equity well above the minimum requirement are essential to mitigate this risk and avoid forced exits from positions.
In traditional finance, maintenance margin rules are set by regulators like the Financial Industry Regulatory Authority (FINRA), which mandates a minimum 25% maintenance margin for most stocks. In contrast, cryptocurrency markets often have much higher requirements due to extreme volatility; maintenance margins can range from 5% to 50% or more on perpetual futures contracts. This reflects the higher risk profile of the underlying assets and the need for exchanges to manage their counterparty risk effectively.
How Maintenance Margin Works
A detailed explanation of the maintenance margin requirement, a critical risk management mechanism in leveraged trading.
Maintenance margin is the minimum amount of equity a trader must maintain in their leveraged position, expressed as a percentage of the total position value, to avoid a margin call or liquidation. This requirement is a core risk parameter set by exchanges or brokers to ensure they can cover potential losses if the market moves against the trader's position. It acts as a safety buffer below the initial margin required to open the trade.
When the value of the leveraged assets declines, the trader's equity (the value of the position minus the borrowed funds) decreases. If this equity falls below the maintenance margin threshold, the account becomes under-margined. At this point, the platform will issue a margin call, typically requiring the trader to deposit additional funds (variation margin) to restore the equity level. Failure to do so promptly triggers an automatic liquidation, where the platform forcibly closes some or all of the position to repay the loan.
For example, with a 10% maintenance margin on a $10,000 position funded with $4,000 of the trader's own capital and $6,000 borrowed, the minimum required equity is $1,000 (10% of $10,000). If losses cause the position value to drop to $9,000, the equity becomes $3,000 ($9,000 - $6,000 loan), which is still above the $900 maintenance requirement. However, if the value falls to $8,500, the equity drops to $2,500, triggering a margin call as it is now below the $850 threshold.
The maintenance margin level is dynamic and is continuously monitored by the exchange's risk engine in real-time. In volatile markets like cryptocurrency, prices can move rapidly, sometimes causing a position to be liquidated before a trader can even respond to a margin call. This is why understanding the liquidation price—the price at which equity equals the maintenance requirement—is crucial for managing leveraged positions.
Different asset classes and trading pairs have varying maintenance margin rates, reflecting their perceived risk and volatility. Highly volatile assets typically require a higher maintenance margin. Traders must also consider cross-margin versus isolated margin modes; in isolated mode, the maintenance requirement and potential liquidation are confined to a single position's collateral, while in cross-margin, the entire account balance backs all open positions.
Key Features of Maintenance Margin
Maintenance margin is the minimum equity a trader must maintain in a leveraged position to avoid liquidation. These features define its critical role in risk management.
Liquidation Threshold
The maintenance margin is the specific equity percentage that triggers a liquidation event. If the account's equity falls below this level, the protocol automatically closes the position to protect lenders from losses. This is distinct from the initial margin required to open the position.
- Example: A position with a 10% maintenance margin will be liquidated if losses cause equity to drop below 10% of the position's total value.
Margin Ratio Calculation
The maintenance margin ratio (MMR) is calculated as (Equity / Total Position Value). Protocols and exchanges continuously monitor this ratio. When Equity <= (Total Position Value * MMR), the position is underwater and subject to liquidation. This dynamic calculation is central to automated risk systems in DeFi and centralized finance.
Variability by Asset & Protocol
Maintenance margin requirements are not uniform. They vary based on:
- Asset Volatility: Highly volatile assets (e.g., memecoins) have higher requirements.
- Protocol Rules: Each lending/borrowing platform (e.g., Aave, Compound) sets its own risk parameters.
- Centralized Exchange Policies: CEXs like Binance or FTX (historically) had tiered maintenance margins per trading pair. This variability reflects differing risk assessments.
Margin Call vs. Auto-Liquidation
In traditional finance, a margin call is a request for additional funds to restore equity above the maintenance level. In most blockchain-based protocols, this process is automated and non-negotiable. When the maintenance margin is breached, a liquidation bot instantly executes a partial or full position closure, often with a liquidation penalty paid to the liquidator.
Health Factor & Collateralization Ratio
In DeFi lending (e.g., Aave, MakerDAO), maintenance margin is often expressed as a Health Factor or Collateralization Ratio. A Health Factor below 1.0 indicates the collateral value is insufficient for the borrowed assets, triggering liquidation. This is a dynamic, risk-weighted representation of the maintenance margin concept.
Liquidation Price
For leveraged trades, the liquidation price is the specific market price at which the position's equity equals the maintenance margin requirement. Traders calculate this price in advance to set stop-losses and manage risk.
- Formula (Long):
Liquidation Price = Entry Price * (1 - Initial Margin) / (1 - Maintenance Margin)This is a critical tool for position management.
Maintenance Margin vs. Initial Margin
A comparison of the two primary margin requirements in leveraged trading, detailing their purpose, timing, and typical values.
| Feature | Initial Margin | Maintenance Margin |
|---|---|---|
Primary Purpose | To open a leveraged position | To keep a position open |
When Required | At position entry | Continuously, after entry |
Typical Value (e.g., 10x Leverage) | 10% of position value | 5-7% of position value |
Trigger Event | Position creation | Margin call / liquidation warning |
Consequence of Breach | Position cannot be opened | Liquidation or forced closure |
Common Calculation | Notional Value / Leverage | Set by protocol or exchange |
Also Known As | Entry margin, opening margin | Variation margin, minimum margin |
The Liquidation Process
An in-depth explanation of the automated mechanism that enforces solvency in DeFi and leveraged trading, triggered when a position's collateral falls below a required threshold.
Liquidation is the forced closure of an undercollateralized loan or leveraged position by a protocol or exchange to prevent losses for lenders or the system. This automated enforcement mechanism is triggered when the value of a user's collateral falls below a predefined maintenance margin or liquidation threshold, making the position insolvent. The primary purpose is to protect the protocol's solvency by ensuring that outstanding debt is always backed by sufficient collateral, even in volatile market conditions.
The process begins with liquidation monitoring, where bots or keeper networks constantly scan the blockchain for positions that have become undercollateralized. When a position's health factor or collateral ratio drops below 1.0 (or 100%), it becomes eligible for liquidation. Liquidators—third-party actors incentivized by a liquidation bonus or fee—then step in to repay a portion or all of the outstanding debt on behalf of the position holder. In return, they seize the associated collateral at a discount, profiting from the difference.
Key parameters governing this process include the liquidation threshold (the collateral value ratio at which liquidation starts), the liquidation penalty (the discount applied to the seized collateral, also known as the liquidation bonus for the liquidator), and the close factor (the maximum percentage of debt that can be liquidated in a single transaction). Different protocols, such as Aave, Compound, and MakerDAO, implement variations of this model, but the core economic security principle remains consistent: automated, incentivized enforcement of collateralization.
For the trader, a liquidation event results in a significant loss of their collateral beyond the initial market move. A liquidation cascade can occur in highly volatile markets, where a wave of liquidations drives asset prices down further, triggering even more liquidations—a phenomenon akin to a margin call spiral in traditional finance. Understanding the specific liquidation parameters of a protocol, maintaining a healthy buffer above the threshold, and using tools like stop-loss orders or debt monitoring dashboards are critical risk management practices for any leveraged position.
Protocols Using Maintenance Margin
Maintenance margin is a core risk management mechanism used by decentralized finance (DeFi) lending and derivatives protocols to manage collateral and prevent undercollateralized positions.
Key Mechanism: The Liquidation Process
When maintenance margin is breached, a standardized liquidation process is triggered:
- Price Oracle Check: An oracle reports the asset price, determining the account is undercollateralized.
- Liquidation Incentive: A Liquidation Penalty or bonus (e.g., 5-10% discount) is offered to incentivize liquidators.
- Keeper Bots: Automated bots (keepers) compete to submit a liquidation transaction.
- Collateral Seizure & Sale: The liquidator repays part or all of the debt and receives the discounted collateral, closing the risky position.
Security & Risk Considerations
Maintenance margin is the minimum amount of equity a trader must maintain in a leveraged position to avoid liquidation. These cards detail the mechanisms and risks involved.
Core Definition & Mechanism
Maintenance margin is the minimum percentage of equity (collateral value minus borrowed funds) a trader must keep in a leveraged position. It acts as a safety buffer for the protocol. If the account's equity falls below this threshold, the position becomes eligible for liquidation. The calculation is typically: (Equity / Position Value) >= Maintenance Margin Ratio.
Liquidation Trigger & Process
When the margin ratio dips below the maintenance requirement, a liquidation is triggered. This is an automated process where a liquidator (often a bot) repays the borrowed funds and seizes the collateral, typically receiving a liquidation bonus as a reward. The goal is to protect the protocol from undercollateralized debt. Key steps:
- Price oracle reports adverse move.
- Margin ratio is recalculated.
- Position flagged for liquidation.
- Liquidator executes a swap to close the debt.
Key Risk: Liquidation Cascades
A major systemic risk is a liquidation cascade or death spiral. During high volatility, many positions can be liquidated simultaneously. These forced sales can further depress the asset's price on decentralized exchanges (DEXs), triggering more liquidations in a feedback loop. This can lead to bad debt for the lending protocol if liquidations cannot keep pace with falling prices.
Oracle Manipulation Risk
Maintenance margin calculations depend entirely on price oracles. If an oracle is manipulated (e.g., via a flash loan attack on a DEX pool to create a fake price), it can cause false liquidations of healthy positions. Protocols mitigate this by using time-weighted average prices (TWAPs) or aggregating data from multiple sources, but oracle risk remains a critical attack vector.
Managing Your Margin
Traders manage maintenance margin risk by:
- Monitoring Health Factor / Margin Ratio: Tracking this metric in real-time.
- Adding Collateral: Depositing more assets to increase equity.
- Partial Repayment: Paying down some borrowed funds to reduce the loan-to-value (LTV).
- Setting Stop-Loss Orders: Using external tools to exit before a protocol liquidation, though this is not natively part of most lending/borrowing smart contracts.
Protocol-Level Safeguards
Protocols implement parameters to manage systemic risk:
- Conservative Ratios: Setting initial and maintenance margins with sufficient buffers.
- Liquidation Incentives: Tuning the liquidation bonus to ensure liquidators are active.
- Circuit Breakers: Some protocols have mechanisms to temporarily pause liquidations during extreme volatility.
- Isolated vs. Cross-Margin: Isolated margin limits risk to the supplied collateral, while cross-margin uses the entire portfolio, affecting risk exposure.
Common Misconceptions
Clarifying frequent misunderstandings about the critical concept of maintenance margin in DeFi lending and perpetual futures.
No, maintenance margin and initial margin are distinct, sequential requirements in a leveraged position. The initial margin is the collateral you must post to open a position, typically a percentage of the total position value. The maintenance margin is the minimum collateral level you must maintain to keep the position open after it is established. If your collateral value falls below this maintenance threshold due to market moves, you face liquidation. For example, on a platform with 10x leverage, the initial margin might be 10%, while the maintenance margin could be set at 5% of the position's value.
Frequently Asked Questions
Essential questions and answers about the critical risk management mechanism of maintenance margin in DeFi lending and trading protocols.
Maintenance margin is the minimum amount of collateral, expressed as a collateralization ratio (e.g., 150%), that a borrower must maintain in a lending protocol to avoid liquidation. It works as a continuous risk check: if the value of the borrowed assets rises relative to the collateral's value, pushing the user's health factor or collateral ratio below this threshold, the position becomes eligible for liquidation by keepers or the protocol itself to repay the debt. This mechanism protects the protocol from insolvency due to undercollateralized loans.
For example, on Aave or Compound, if your borrowed assets are worth $1000 and the maintenance requirement is 150%, you must always have at least $1500 in collateral value. If your collateral's value drops to $1499, your position is undercollateralized and can be liquidated.
Get In Touch
today.
Our experts will offer a free quote and a 30min call to discuss your project.