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

Auto-Deleveraging (ADL)

Auto-Deleveraging (ADL) is a risk management mechanism on derivatives exchanges that forcibly closes the positions of profitable traders to cover losses when a counterparty liquidation fails.
Chainscore © 2026
definition
DEFINITION

What is Auto-Deleveraging (ADL)?

A risk management mechanism in perpetual futures markets that automatically closes a profitable trader's position to cover the losses of a liquidated counterparty when the insurance fund is insufficient.

Auto-Deleveraging (ADL) is a last-resort, automated process used by some centralized cryptocurrency exchanges, particularly in perpetual swaps markets, to manage systemic risk. When a trader with high leverage is liquidated, their position is closed, and the exchange's insurance fund typically covers any remaining loss. If the fund is depleted, the ADL system activates, selectively closing profitable positions on the opposite side of the market to settle the deficit. This mechanism prevents the exchange from becoming insolvent but transfers the liquidation loss directly to other users.

The ADL process is typically executed through a ranking system based on Profit and Loss (PNL) and leverage. Traders with the highest profitability and leverage on the side opposite the bankrupt position are prioritized for deleveraging. Their positions are partially or fully closed at the bankruptcy price of the liquidated trader, which may be less favorable than the current market price. This creates a scenario where a profitable position can be forcibly closed, resulting in a suboptimal exit for the affected user, a risk distinct from standard liquidation.

ADL is often contrasted with the socialized loss or clawback mechanism, where losses are distributed proportionally across all profitable traders. While ADL targets specific high-leverage, profitable accounts, socialized loss spreads the impact more broadly but at a lower individual cost. The presence of ADL is a critical factor for traders evaluating exchange risk; platforms that utilize it often provide an ADL ranking page where users can see their queue position, allowing them to manage their leverage to avoid being selected.

how-it-works
MECHANISM

How Auto-Deleveraging Works

Auto-Deleveraging (ADL) is a risk management mechanism used in derivatives exchanges to automatically close over-leveraged positions when a counterparty cannot be liquidated.

Auto-Deleveraging (ADL) is a forced position-closure mechanism employed by some perpetual futures exchanges as a last-resort alternative to socialized loss. When a trader's position is liquidated due to insufficient margin, the exchange attempts to sell the position on the open market. If the market lacks sufficient liquidity to absorb this large liquidation order at a reasonable price, the system triggers ADL. Instead of spreading the loss across all traders (socialized loss), ADL automatically closes the positions of the most profitable traders on the opposite side of the market to act as the counterparty for the bankrupt position.

The ADL process is typically executed in a ranked order, prioritizing traders with the highest profit and leverage ratio. This ranking ensures that traders who have taken the most risk for their profit are the first to have their positions partially or fully closed. The closure occurs at the bankruptcy price of the liquidated trader, not the current market price, which can result in the profitable trader receiving a worse price than expected. This mechanism is a key differentiator from platforms that use an insurance fund or socialized loss model to cover such deficits.

For example, in a crowded long market crash, many leveraged long positions may be liquidated simultaneously. If the sell pressure from these liquidations cannot be matched with enough buy orders, the system will invoke ADL. It will automatically close the most profitable and highly leveraged short positions to provide the necessary buy-side liquidity, settling the bankrupt long positions. Traders subject to ADL are usually notified in advance and can adjust their leverage or position size to lower their ADL ranking.

The primary purpose of ADL is to protect the exchange's solvency and the integrity of its mark price and funding rate mechanisms by ensuring all contracts are settled, even in extreme volatility. While it prevents losses from being socialized among all users, it introduces a unique risk for profitable traders, who may face unexpected, involuntary exits. Understanding a platform's specific ADL ranking algorithm and risk parameters is therefore crucial for advanced derivatives trading.

key-features
MECHANISM

Key Features of ADL

Auto-Deleveraging (ADL) is a risk management mechanism in perpetual futures markets that automatically closes over-leveraged positions to protect the system when liquidations cannot be fully executed on the open market.

01

Triggers and Precedence

ADL is triggered when the insurance fund is depleted and the market lacks sufficient liquidity to absorb a large liquidation order at the bankruptcy price. It follows a strict hierarchy, targeting the most profitable opposing positions first, as determined by their Profit and Loss (PnL). This ensures the cost of closing the underwater position is distributed to traders who have benefited most from the adverse price move.

02

Position Ranking System

Traders with opposing positions are ranked for ADL selection based on two primary factors:

  • Profitability: Positions with the highest unrealized profit are selected first.
  • Leverage: Among equally profitable positions, those with higher leverage are prioritized. This ranking minimizes the impact on the broader market by targeting traders who can most afford the partial closure of their position.
03

Partial Position Closure

ADL does not typically close an entire opposing position. Instead, it executes a partial close, reducing the size of the profitable trader's position just enough to cover the deficit of the liquidated trader. The affected trader receives the bankruptcy price for the portion of their position that is auto-deleveraged, forgoing potential further profit.

04

Contrast with Socialized Loss

ADL is an alternative to socialized loss, another backstop mechanism. Key differences:

  • ADL: Losses are assigned to specific, profitable counterparties.
  • Socialized Loss: Losses are distributed proportionally across all profitable traders on the platform. ADL is often considered more equitable as it directly targets those who gained from the volatile move, rather than penalizing all profitable traders.
05

Protocol Examples

Prominent derivatives protocols implement ADL with specific rules:

  • dYdX: Uses an ADL engine that ranks liquidatable positions and counterparties in its order book.
  • GMX (v1): Employed a dynamic ADL system for its GLP pool, where liquidity providers could be selected as counterparties.
  • Perpetual Protocol (v1): Utilized a virtual AMM where ADL was a core component for maintaining the protocol's solvency.
06

Trader Implications

For traders, ADL introduces specific risks and considerations:

  • Profit Cap: Highly profitable positions during extreme volatility may be partially closed at a suboptimal price.
  • No Slippage: ADL execution occurs at the pre-defined bankruptcy price, not the market price, eliminating slippage for the liquidated trader.
  • Transparency: Protocols typically provide public ADL rankings, allowing traders to see their likelihood of being selected.
MECHANISM COMPARISON

ADL vs. Standard Liquidation

A side-by-side comparison of the Auto-Deleveraging (ADL) mechanism and the more common forced liquidation process.

FeatureAuto-Deleveraging (ADL)Standard Forced Liquidation

Primary Trigger

Counterparty insolvency risk

User's margin ratio falls below maintenance level

Liquidation Initiator

Protocol's matching engine

Protocol's liquidation bots or keepers

Counterparty

Profitable traders on the opposing side

Open market (any taker)

Price Impact

Minimal (off-order book transfer)

High (market sell/buy pressure)

Liquidation Fee

Typically 0%

Typically 0.5% - 2.0%

Forced Position Closure

Partial or full, matched against specific counterparties

Full, auctioned on the open market

Common Protocol Examples

Perpetual Protocol (v2), dYdX (v3)

Aave, Compound, GMX, most DeFi lending/leverage

User Experience for Liquidated Trader

Position closed at last traded price

Position closed with penalty fee, often at a worse price

triggers-and-selection
AUTO-DELEVERAGING (ADL)

ADL Triggers & Position Selection

Auto-Deleveraging (ADL) is a decentralized risk management mechanism used on perpetual futures exchanges to close underwater positions when the insurance fund is depleted, preventing protocol insolvency. This section details the conditions that activate ADL and how counterparties are selected.

01

Primary Trigger: Insurance Fund Exhaustion

ADL is activated as a last-resort mechanism when a trader's position is liquidated at a price worse than the bankruptcy price, creating a residual loss that exceeds the available balance of the protocol's insurance fund. This occurs when market volatility is extreme and liquidators cannot profitably close the position at a better price.

02

Counterparty Selection: Profitability Ranking

When ADL triggers, the protocol automatically selects profitable traders on the opposite side of the market to act as counterparties. Selection is typically based on a profitability ranking, prioritizing the traders with the highest unrealized profit on their positions. These traders' positions are partially or fully closed to cover the bad debt.

03

The ADL Engine Process

The ADL engine executes a matching process:

  • Identifies the underwater position and its residual bad debt.
  • Scans all open positions on the opposite side, ranking them by profitability.
  • Executes a series of offsetting trades, closing the profitable positions at the bankruptcy price to absorb the loss.
  • Charges no fee to the ADL'd trader, but they forgo potential future profits.
04

Impact on Traders & Risk

For the trader being ADL'd, their profitable position is closed early at the bankruptcy price, which may be less favorable than the market price. For the protocol, it ensures solvency without socializing losses. Traders can mitigate ADL risk by avoiding extremely high leverage during periods of low liquidity or high funding rates, which increase ADL probability.

05

ADL vs. Socialized Loss

ADL is an alternative to socialized loss mechanisms. Instead of distributing losses proportionally across all profitable traders (socialization), ADL selectively targets the most profitable counterparties. This creates a more predictable, discrete risk for individual traders but can be perceived as less fair than a broad, small分摊.

06

Example: ADL on a Long Position

A trader holds a highly profitable long BTC position. A massive short position is liquidated with $100K of bad debt after the insurance fund is empty. The ADL engine ranks all profitable short positions. Our trader's long position is ranked #1 by profit. The engine closes $100K of their long at the bankruptcy price, settling the bad debt. The trader receives less profit than if they had closed manually.

ecosystem-usage
IMPLEMENTATION LANDSCAPE

Protocols & Exchanges Using ADL

Auto-Deleveraging (ADL) is a risk management mechanism used by several major decentralized and centralized platforms to handle undercollateralized positions in a non-liquidatable market. The specific implementation and priority logic vary between protocols.

06

ADL vs. Insurance Fund

These are sequential layers of defense against insolvency. Understanding the hierarchy is key.

  • Primary Layer: Insurance Fund: The first capital buffer used to cover liquidation deficits. Socialized loss is avoided while the fund has assets.
  • Final Layer: ADL: Activated only after the Insurance Fund is exhausted. Losses are socialized by forcibly closing profitable traders' positions.

Key Trade-off: Insurance Funds protect traders from ADL but require protocol-owned capital. ADL is a non-custodial last resort that directly impacts user PnL.

security-considerations
AUTO-DELEVERAGING (ADL)

Security & Risk Considerations

Auto-Deleveraging (ADL) is a risk management mechanism used in perpetual futures markets to close underwater positions when the insurance fund is insufficient, transferring losses directly to profitable counterparties.

01

The ADL Trigger & Process

ADL is triggered when a trader's position is liquidated, but the liquidation engine cannot fully close it at the bankruptcy price, leaving a residual loss. This occurs during extreme volatility or low liquidity. The system then automatically identifies and closes the most profitable opposing positions on a first-in, first-out (FIFO) basis to cover the deficit, a process known as a clawback.

02

ADL vs. Socialized Loss

ADL is a targeted alternative to socialized loss. Instead of proportionally distributing losses across all profitable traders, ADL selectively closes specific, highly profitable positions. This creates a more direct, but potentially less predictable, risk transfer. Traders with open limit orders are typically prioritized for ADL, as their orders provide immediate liquidity to absorb the loss.

03

Risk for Profitable Traders

A profitable position is not safe from loss. Traders with high-profit, opposing positions are at risk of being ADL'd. Their positions are closed at the bankruptcy price of the liquidated trader, not the current market price, which can erase a significant portion of their unrealized profit. This is a non-negotiable, forced exit inherent to the protocol's design.

04

The Insurance Fund Buffer

A well-capitalized insurance fund is the primary defense against ADL. It acts as a reserve to cover liquidation deficits before the ADL mechanism engages. Exchanges with larger insurance funds (e.g., tens of millions in stablecoins) experience ADL events far less frequently. The fund's size and replenishment rate are critical metrics for platform risk assessment.

05

ADL in DeFi vs. CeFi

Centralized exchanges (CeFi) like BitMEX popularized ADL and typically use a transparent queue system. In Decentralized Finance (DeFi), protocols like dYdX implement ADL on-chain, making the process verifiable but subject to blockchain congestion. The core mechanics are similar, but execution speed and transparency differ based on the underlying infrastructure.

06

Mitigation & Best Practices

Traders can mitigate ADL risk by:

  • Monitoring the exchange's insurance fund ratio and ADL queue status.
  • Avoiding being the most profitable position in a highly leveraged, crowded trade.
  • Using lower leverage to reduce the probability of triggering large liquidation cascades.
  • Understanding that limit orders, while providing liquidity, increase ADL susceptibility.
AUTO-DELEVERAGING

Common Misconceptions About ADL

Auto-Deleveraging (ADL) is a critical risk management mechanism in perpetual futures markets, but it is often misunderstood. This section clarifies common confusions about its triggers, process, and impact on traders.

Auto-Deleveraging (ADL) is a decentralized risk management mechanism used by some perpetual futures exchanges (like dYdX v3) to automatically close the positions of profitable traders to cover the losses of an undercollateralized, liquidated counterparty when the insurance fund is depleted. It works by ranking all profitable positions on the opposite side of the bankrupt position by their profitability ratio and leverage, then closing them in order until the deficit is covered, with the closed traders receiving their remaining margin.

Key Steps:

  1. A trader's position is liquidated, but the liquidation fails to cover the full loss.
  2. The exchange's insurance fund is used to cover the initial shortfall.
  3. If the insurance fund is exhausted, the ADL mechanism is triggered.
  4. Profitable counter-party positions are automatically reduced, starting with the most profitable/highest leverage.
AUTO-DELEVERAGING (ADL)

Frequently Asked Questions (FAQ)

Auto-Deleveraging (ADL) is a risk management mechanism used in perpetual futures markets to handle positions when traders cannot be liquidated at the bankruptcy price. This section answers common questions about how ADL works, its triggers, and its impact.

Auto-Deleveraging (ADL) is a decentralized, last-resort mechanism used by some perpetual futures exchanges to close underwater positions when the insurance fund is depleted and the liquidation engine cannot execute a profitable market liquidation. It works by automatically closing the most profitable opposing positions on a first-in-first-out (FIFO) basis to cover the losses of an insolvent account, with the profitable trader receiving a small fee for taking on the position. This process ensures the system remains solvent without requiring external capital injections, but it forces profitable traders out of their positions, which is a key risk of trading on platforms that use ADL.

Key Steps in ADL:

  1. A trader's position reaches the bankruptcy price (where equity is zero or negative).
  2. The liquidation engine attempts to close it but fails to find a taker at a price better than bankruptcy.
  3. The insurance fund is insufficient to cover the remaining loss.
  4. The ADL system is triggered, identifying the most profitable traders on the opposite side of the market.
  5. These profitable positions are automatically reduced to absorb the insolvent position's loss.
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
Auto-Deleveraging (ADL) - Blockchain Glossary | Chainscore | ChainScore Glossary