Liquidation (DeFi)

Forced selling of collateral when a loan's value ratio breaks, protecting the lender.

Basically

A lending app forces the sale of the assets you used to back your loan when their value falls too far. The sale repays your debt and protects lenders from losses.

Key Takeaways

  • Liquidation is the forced sale of a borrower's collateral when its value drops below a protocol-defined threshold. It protects lenders from bad debt in overcollateralised lending systems.
  • Third-party liquidators repay part of the borrower's debt and receive the seized collateral at a discount, typically 5–15%. This economic incentive keeps protocols solvent without centralised intervention.
  • During sharp market downturns, liquidations can cascade. One forced sale pushes prices lower and triggers more liquidations in a feedback loop known as a liquidation cascade.

What Is Liquidation?

Liquidation in decentralised finance (DeFi) is the forced sale of your collateral to repay outstanding debt. A lending protocol starts it when your collateral falls below the required minimum ratio and your loan risks becoming undercollateralised.

DeFi loans are overcollateralised, so you must deposit assets worth more than you borrow. Liquidation protects lenders when a sharp price decline could otherwise leave debt above the collateral's value, creating bad debt that erodes depositor funds.

Traditional margin calls give you time to add collateral after a broker contacts you. DeFi liquidations are executed automatically by smart contracts, and anyone willing to repay the debt can trigger them, so the system works around the clock without a centralised party.

How It Works

Each lending protocol sets rules that determine when a position becomes eligible for liquidation. The exact terminology varies, but the core mechanics are consistent across platforms.

Health Factor and Collateral Ratios

Protocols use a metric commonly called the health factor to track each borrowing position. Aave, the largest DeFi lending protocol, defines it as:

MakerDAO uses a different measure called the liquidation ratio, with an ETH-A vault requiring at least 150% collateral, or $1.50 of ETH for every $1 of DAI borrowed. If the ratio drops below 150%, the vault is liquidated. The maths is equivalent: both approaches measure whether the collateral still provides enough buffer against price declines.

Each collateral asset has its own threshold based on its risk profile. Stablecoins such as USDC may have thresholds around 75–80%, while volatile assets such as ETH sit around 80–82.5%; riskier tokens have lower thresholds, so you must maintain larger collateral buffers.

The Liquidation Process

Anyone can trigger liquidation by calling the protocol's liquidation function once a position's health factor drops below 1.0. The process follows these steps:

Protocols differ on how much debt a liquidator can repay in a single transaction. Aave V3 uses a 50% close factor when the health factor is above 0.95 and both collateral and debt exceed $2,000, but allows 100% liquidation for positions that are more severely undercollateralised or smaller in size. Compound V2 uses a fixed 50% close factor, while MakerDAO auctions the entire vault's collateral.

Flash Loan Liquidations

Most sophisticated liquidators use flash loans, so they need no capital upfront. The entire sequence happens in a single atomic transaction:

If any step fails, the entire transaction reverts. The liquidator risks nothing except the gas fee for a failed transaction.

Liquidation Penalties by Protocol

The liquidation bonus for the liquidator, or liquidation penalty for you as the borrower, is the discount at which collateral is sold. This incentive ensures liquidators are always willing to act, even during volatile markets.

For you as a borrower, liquidation always costs more than repaying debt or adding collateral yourself. A 10% penalty on a $10,000 position means losing $1,000 in collateral value beyond what was needed to cover the debt.

Liquidation Bots and Keepers

Protocols do not trigger liquidations themselves. Smart contracts are passive: they define the rules but need an external actor to call the liquidation function. Liquidation bots, also called keepers in the MakerDAO ecosystem, fill this role.

These automated systems continuously monitor every borrowing position on-chain and watch for health factors approaching 1.0. When a position becomes liquidatable, they race to submit the liquidation transaction first because only one liquidator can claim the bonus for a given position.

MEV and the Liquidation Pipeline

Liquidation is one of the most significant sources of MEV (Maximal Extractable Value). Sophisticated searchers build transaction bundles that combine oracle price updates with liquidation calls, ensuring they capture the profit before competing bots.

The modern MEV supply chain works through a pipeline: searchers identify profitable liquidations, builders assemble optimal blocks from competing bundles, and relays connect builders to validators. Flashbots largely shaped this infrastructure, which replaced the earlier "priority gas auction" wars where bots bid up gas prices to get their transactions included first, causing network congestion that harmed all users.

Across Aave and Compound on Ethereum, approximately $2.5 billion in collateral has been liquidated historically, with roughly $150 million paid out as liquidation incentives. Chainlink's Smart Value Recapture (SVR) system, launched in 2025, has begun recapturing some of this value for protocols: in its first nine months, it handled $675 million in liquidations and returned approximately $12 million to DeFi protocols.

Cascading Liquidations

The greatest danger of DeFi liquidation is its potential to create feedback loops. Selling a large amount of collateral can push the asset's price lower, triggering more liquidations and more selling. This chain reaction is a liquidation cascade.

Notable Events

On March 12, 2020 ("Black Thursday"), ETH dropped 43% in a single day. Network congestion caused oracle feeds to lag and MakerDAO's auction system to break down: a single bot won $8.32 million in ETH collateral by bidding just 1 DAI per auction, exploiting the fact that no other keepers could get transactions through. The protocol suffered roughly $6.65 million in bad debt.

The pattern has repeated at larger scale as DeFi has grown. In May 2021, Bitcoin fell from approximately $43,000 to under $30,000, triggering over $8 billion in liquidations across centralised and decentralised platforms within 48 hours; in May 2022, the Terra/Luna collapse saw over $1.6 billion liquidated in a single day, with contagion spreading to centralised lenders like Celsius and Voyager. In October 2025, $19.3 billion in positions were liquidated in roughly 24 hours following a tariff-related market shock, affecting 1.6 million trader accounts.

You can read the article on stablecoin peg mechanisms and death spirals for a deeper look at these feedback loops. It explains how they develop.

Recent Developments

Newer protocol versions are rethinking liquidation mechanics. They aim to reduce the damage to borrowers and recapture value that currently leaks to MEV bots.

Protecting Yourself

You can reduce liquidation risk by maintaining a health factor well above 1.0, commonly 1.5 or higher, setting up automated monitoring and alerts, using stablecoins as collateral to avoid price-related liquidation, and keeping reserve funds available to add collateral quickly during downturns. Some DeFi dashboards and bots offer automatic deleveraging: they monitor your position and repay debt before liquidation thresholds are reached.

The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.

0

← All 1876 glossary terms