Docs

Blue Liquidation

Understand Morpho Blue liquidation thresholds, health factors, incentives, repayment and collateral seizure.

Overview

Liquidation is a critical mechanism in the Morpho protocol. Protocol thresholds determine when an unhealthy position is eligible for liquidation, and third-party liquidators may repay its debt. Morpho liquidation is built into the protocol core and allows full or partial position liquidation when a borrower's Loan-To-Value (LTV) exceeds the Liquidation Loan-To-Value (LLTV) threshold.

A Blue loan position's health can be expressed using two metrics:

  • LTV is debt value divided by collateral value. Its liquidation threshold is the market's LLTV, which varies by market. A lower LTV means a larger safety buffer.
  • Health Factor is LLTV divided by LTV, equivalently collateral value × LLTV / debt. Its liquidation threshold is always 1. A higher Health Factor means a larger safety buffer.

Use the same units for debt and collateral value, and the same scale for LTV and LLTV. The metrics agree: Health Factor > 1 is equivalent to LTV < LLTV. At Health Factor = 1, LTV = LLTV; the position is still healthy but has no buffer before liquidation.

The Morpho app shows both metrics for your positions: the Health Factor, and LTV next to the market's LLTV.

Understanding Loan-To-Value (LTV)

Before exploring liquidation, it's essential to understand how LTV is calculated and what it represents.

How to Calculate LTV

The Loan-To-Value (LTV) ratio is a key risk metric that measures the proportion of debt relative to collateral value. To calculate the LTV of a position on Morpho, use the following formula:

LTV=BORROWED_AMOUNTCOLLATERAL_VALUE_IN_LOAN_TOKEN×100%\text{LTV} = \frac{\text{BORROWED\_AMOUNT}}{\text{COLLATERAL\_VALUE\_IN\_LOAN\_TOKEN}} \times 100\%
Where:
  • BORROWED_AMOUNT The amount of borrowed assets of the user (in token base units)
  • COLLATERAL_VALUE_IN_LOAN_TOKEN The value of the collateral in terms of the loan token

The collateral value in loan token units is calculated as:

COLLATERAL_VALUE_IN_LOAN_TOKEN=COLLATERAL_AMOUNT × ORACLE_PRICEORACLE_PRICE_SCALE\text{COLLATERAL\_VALUE\_IN\_LOAN\_TOKEN} = \frac{\text{COLLATERAL\_AMOUNT } \times \text{ ORACLE\_PRICE}}{\text{ORACLE\_PRICE\_SCALE}}
Where:
  • COLLATERAL_AMOUNT The amount of collateral assets provided by the user (in token base units)
  • ORACLE_PRICE The oracle price returned by the oracle of the market (scaled by ORACLE_PRICE_SCALE)
  • ORACLE_PRICE_SCALE A scaling factor of 10^36 used by the protocol for price normalization

Health Factor

The Health Factor is another crucial metric that indicates how close a position is to liquidation:

HEALTH_FACTOR=COLLATERAL_VALUE_IN_LOAN_TOKEN×LLTVBORROWED_AMOUNT\text{HEALTH\_FACTOR} = \frac{\text{COLLATERAL\_VALUE\_IN\_LOAN\_TOKEN} \times \text{LLTV}}{\text{BORROWED\_AMOUNT}}
Where:
  • LLTV The Liquidation Loan-To-Value threshold set for the market (e.g., 0.86 or 86%), expressed as a WAD (10^18 scaled value, like 860000000000000000)

A position is healthy when the Health Factor is at least 1.0, equivalently when LTV is at or below the market's LLTV. It becomes liquidatable when the Health Factor falls below 1.0, equivalently when LTV exceeds LLTV. Keep a buffer: aim for Health Factor > 1 and LTV < LLTV.

Liquidation Price

The liquidation price is the collateral price at which LTV = LLTV, equivalently Health Factor = 1. This is the liquidation threshold: at equality the position is still healthy, but a lower collateral price makes it liquidatable.

For collateral priced in the loan asset:

LIQUIDATION_PRICE=BORROWED_AMOUNTCOLLATERAL_AMOUNT×LLTV\text{LIQUIDATION\_PRICE} = \frac{\text{BORROWED\_AMOUNT}}{\text{COLLATERAL\_AMOUNT} \times \text{LLTV}}

Use token amounts rather than base units and express LLTV as a decimal (e.g., 0.86), not a WAD-scaled integer. The result is the loan asset amount per collateral token. Monitor this price alongside your Health Factor, as accrued interest can raise it even if the collateral price stays unchanged.

Liquidation Mechanism

Liquidation is the primary defense against borrower defaults and is built directly into the Morpho core contracts.

When Is a Position Liquidatable?

A position becomes liquidatable when LTV > LLTV, equivalently when Health Factor < 1. At LTV = LLTV (Health Factor = 1), the position is still healthy but has no safety buffer.

The position can cross this threshold due to:

  • Collateral value decreasing
  • Debt increasing due to accrued interest
  • A combination of both factors

How Liquidation Works

When a position becomes liquidatable, any external party (a liquidator) can repay part or all of the borrower's debt in exchange for an equivalent amount of collateral plus a liquidation bonus.

Liquidation Incentive Factor (LIF)

The liquidation bonus is determined by the Liquidation Incentive Factor (LIF), which depends on the market's LLTV:

LIF=min⁡(M,1β∗LLTV+(1−β)), with β=0.3 and M=1.15.\text{LIF} = \min(M, \frac{1}{\beta*\text{LLTV}+(1-\beta)}), \text{ with } \beta = 0.3 \text{ and } M= 1.15.
LIF vs LLTV graph

Liquidation Incentive Factor in relation to the Liquidation Loan-To-Value

Liquidation Step-by-Step

Initial Position

A borrower deposits $100k of collateral in a market with LLTV = 86% and borrows $70k. Due to accrued interest (an example could be provided with only collateral price depreciation), the loan value increases to $86.01k.

  • Position status: LTV = 86.01% > LLTV (86%) → Liquidatable

Liquidation Process

  • Liquidator identifies the unhealthy position
  • Liquidator repays the $86.01k debt
  • LIF calculation: 1 / (0.3 × 0.86 + 0.7) = 1 / 0.958 ≈ 1.044 (for 86% LLTV market)
  • Seized collateral: $86.01k / 0.958 ≈ $89.78k

After Liquidation

  • Borrower: Debt cleared, retains approximately $10.22k of collateral
  • Liquidator: Spent $86.01k, received approximately $89.78k in collateral
  • Profit for liquidator: Approximately $3.77k minus gas fees and any swap costs

Practical Consideration

For this liquidation to be profitable, the liquidator must ensure: $3.77k > (Gas fees + potential swap fees + potential price slippage costs)

Key Features of Liquidation

  • Liquidation Amount: Liquidators can repay up to 100% of the borrower's debt in a single transaction
  • Trigger: Only activates when LTV > LLTV
  • Incentive: Fixed LIF based on the market's LLTV
  • Borrower Impact: Potentially significant one-time liquidation
  • Implementation: Built into the Morpho core contract

Bad Debt Consideration

Morpho Vaults V2 - Loss Socialization

Morpho Vault V2 implements an automatic loss socialization mechanism where losses - including bad debt from underlying adapters - are detected and distributed proportionally across all vault users through receipt token price depreciation.

How It Works

  1. Loss Detection: Each adapter reports the actual current value of its investments via a realAssets() function. When bad debt occurs in an underlying adapter, this reported value automatically decreases.

  2. Loss Realization: During interest accrual, the vault compares the reported real asset value to its internally tracked total. If realAssets has dropped below the previously recorded totalAssets, the vault updates its accounting downward to reflect the loss.

  3. Automatic Socialization: Receipt token value is determined via convertToAssets(), which computes shares × (totalAssets + 1) / (totalSupply + virtualShares). When totalAssets decreases, every receipt token redeems for fewer assets. No receipt tokens are burned - all vault users absorb the loss proportionally.

Important Considerations

  • Management fee continue to accrue even during loss periods.
  • Flash loan protection: The vault includes safeguards against receipt token price manipulation around loss realization events, as losses are only accounted for once per transaction.

Legacy - Morpho Vaults V1

Morpho Vault V1 has different mechanisms for accounting for bad debts depending on the vault version.

Morpho Vaults V1.0 - Bad Debt Realization (Legacy)

The Morpho Vaults created with the MetaMorpho FactoryV1.0 have a mechanism to account for and realize bad debt in the event it arises.

Typically, in other lending pool designs, accrued bad debt remains in the market forever until manual intervention to pay down the bad debt. If small enough, the markets can continue functioning. If it is significant, the market becomes unusable.

Morpho Vaults V1.0 treat bad debt differently. When a liquidation leaves an account with some remaining debt, and without collateral to cover it, the loss is realized and shared proportionally between all lenders.

As bad debt is realized at the time it occurs, a market can be used in perpetuity.

Morpho Vaults V1.1 - No Bad Debt Realization (Legacy)

The Morpho Vaults created with the MetaMorpho Factory V1.1 have a different mechanism as they do not realize bad debt and behave as other lending pools with accrued debt remaining in the market forever until manual intervention to pay down the bad debt.

Liquidation FAQ

How can I avoid liquidation?

Keep your Health Factor above 1, equivalently your LTV below LLTV, by adding collateral or repaying debt. A position at Health Factor = 1 (LTV = LLTV) is still healthy but has no safety buffer. Maintain a buffer, since collateral prices can fall and interest continues to accrue. Monitor both your Health Factor and liquidation price.

At what price are liquidations done?

Liquidations occur at the current oracle price when a position's LTV exceeds the market's LLTV. The oracle price determines both when a position becomes liquidatable and the exchange rate during the liquidation process. The liquidator receives collateral valued at debt amount × LIF according to this oracle price, regardless of market conditions or price volatility elsewhere.

What happens if the collateral price continues to fall?

If the collateral price continues to fall after a position becomes liquidatable:

  • The position becomes increasingly attractive for liquidators as they can seize a larger percentage of the collateral relative to its real market value
  • Liquidators are incentivized to act quickly to capture this value
  • The protocol's design encourages prompt liquidations to minimize systemic risk
  • There is no price floor - the position remains liquidatable while LTV > LLTV (Health Factor < 1)

What happens if the price recovers before liquidation happens?

If the collateral price recovers sufficiently before liquidation occurs:

  • The position's LTV may fall to or below LLTV (Health Factor ≥ 1)
  • The position will no longer be liquidatable
  • The borrower retains their full collateral and remains responsible for their debt
  • This scenario highlights why borrowers should maintain a safety buffer below the LLTV

How do competing liquidators interact? Is it first-come-first-served?

Yes, liquidations operate on a first-come-first-served basis:

  • The first transaction that successfully executes the liquidation claims the opportunity
  • There is no auction or bidding mechanism
  • In competitive environments, this can lead to MEV (Maximal Extractable Value) opportunities and potential gas price wars
  • Advanced liquidators may use flashbots or other private transaction methods to secure their liquidation

Is there partial liquidation?

Yes. Liquidators can choose to liquidate any amount of the borrower's debt up to the full amount. This allows for optimizing gas costs against liquidation profits, especially for large positions where full liquidation might cause significant market impact.

How are liquidations guaranteed for assets like cbBTC/stETH?

Liquidations in Morpho are driven by economic incentives rather than absolute guarantees. The protocol doesn't perform liquidations itself; instead, when a position becomes unhealthy, it becomes eligible for liquidation by external actors. The system is designed with incentives (via the Liquidation Incentive Factor) to make liquidations profitable enough that third parties will consistently execute them.

For assets like cbBTC or stETH, the key factor is whether the market's specific LIF provides enough incentive to outweigh potential costs associated with liquidating that particular collateral type. The ability to perform partial liquidations also helps with larger positions, as they can be liquidated incrementally by multiple parties or in several steps.

Who are the liquidators and what tools do they use?

Liquidators are permissionless participants in the Morpho ecosystem. Anyone who identifies an eligible position and has the necessary assets can perform a liquidation. The ecosystem includes a diverse range of participants, from sophisticated teams running automated bots to individuals.

At a basic level, performing a liquidation only requires access to an RPC node and a wallet with sufficient assets. However, competitive liquidators typically utilize automated bots that continuously monitor onchain data (loan positions, oracle prices) to identify and execute liquidations efficiently.

Some liquidators implement swap systems allowing them to seize collateral and repay loans without needing to hold the loan asset beforehand, effectively acting as a liquidity venue. The Morpho ecosystem also includes open-source liquidation bots that community members can deploy.

Liquidation Tools


By understanding liquidation mechanics, users can better manage their risk on Morpho and protect their positions from adverse market movements.