Liquidation (DeFi)
The forced sale of a borrower's collateral when its value drops below the required ratio, protecting lenders from bad debt.
Key Takeaways
- Liquidation is the forced sale of a borrower's collateral when its value drops below a protocol-defined threshold, protecting lenders from bad debt in overcollateralized lending systems.
- Third-party liquidators repay a portion of the borrower's debt and receive the seized collateral at a discount (typically 5–15%), creating an economic incentive that keeps protocols solvent without centralized intervention.
- During sharp market downturns, liquidations can cascade: one forced sale pushes prices lower, triggering more liquidations in a feedback loop known as a liquidation cascade.
What Is Liquidation?
Liquidation in decentralized finance (DeFi) is the process by which a lending protocol forcibly sells a borrower's collateral to repay their outstanding debt. It occurs when the value of the collateral falls below the minimum ratio required by the protocol, making the loan at risk of becoming undercollateralized.
Because DeFi loans are overcollateralized (borrowers must deposit assets worth more than they borrow), liquidation acts as the safety mechanism that keeps lenders whole. Without it, a sharp price decline could leave the protocol holding debt that exceeds the value of the collateral backing it, creating bad debt that erodes depositor funds.
Unlike traditional margin calls where a broker contacts you and gives you time to add collateral, DeFi liquidations are executed automatically by smart contracts and triggered by anyone willing to repay the debt. This permissionless design ensures the system works around the clock without relying on a centralized party.
How It Works
Every lending protocol defines rules that determine when a position becomes eligible for liquidation. While the exact terminology varies, the core mechanics are consistent across platforms.
Health Factor and Collateral Ratios
Protocols track the health of each borrowing position using a metric commonly called the health factor. Aave, the largest DeFi lending protocol, defines it as:
Health Factor = (Collateral Value × Liquidation Threshold) / Total Debt
Example:
Collateral: 10 ETH at $2,000 = $20,000
Liquidation Threshold: 82.5% (for ETH on Aave V3)
Total Debt: $14,000 in USDC
Health Factor = ($20,000 × 0.825) / $14,000 = 1.18
If ETH drops to $1,700:
Health Factor = ($17,000 × 0.825) / $14,000 = 1.00
At HF < 1.0, the position becomes liquidatable.MakerDAO uses a different framing called the liquidation ratio. An ETH-A vault requires a minimum 150% collateral ratio, meaning $1.50 of ETH for every $1 of DAI borrowed. If the ratio drops below 150%, the vault is liquidated. The math is equivalent: both approaches measure whether the collateral still provides sufficient buffer against price declines.
Each collateral asset has its own threshold based on its risk profile. Stablecoins like USDC may have thresholds around 75–80%, while volatile assets like ETH sit around 80–82.5%. Riskier tokens have lower thresholds, requiring borrowers to maintain larger collateral buffers.
The Liquidation Process
When a position's health factor drops below 1.0, anyone can trigger liquidation by calling the protocol's liquidation function. The process follows these steps:
- An oracle price feed updates, reflecting a decline in the collateral asset's value
- The borrower's health factor falls below 1.0, making the position eligible for liquidation
- A liquidator calls the protocol's smart contract, specifying the debt they want to repay and the collateral they want to receive
- The liquidator sends the borrowed asset (e.g., USDC) to repay a portion of the debt
- The protocol transfers the equivalent value of collateral to the liquidator, plus a bonus (the liquidation incentive)
- Any remaining collateral stays in the borrower's position for withdrawal
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 undercollateralized 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 to execute liquidations without holding any capital upfront. The entire sequence happens in a single atomic transaction:
- Borrow the repayment asset (e.g., USDC) via a flash loan
- Call the liquidation function, repaying the debt
- Receive the discounted collateral (e.g., ETH)
- Swap the collateral on a DEX for the repayment asset
- Repay the flash loan plus fees
- Keep the profit: the difference between the collateral discount and the flash loan fee
If any step fails, the entire transaction reverts, meaning the liquidator risks nothing except the gas fee for a failed transaction.
Liquidation Penalties by Protocol
The liquidation bonus (from the liquidator's perspective) or liquidation penalty (from the borrower's perspective) is the discount at which collateral is sold. This incentive ensures liquidators are always willing to act, even during volatile markets.
| Protocol | Penalty | Notes |
|---|---|---|
| Aave V3 | 5–15% | Per-asset: ~5% for ETH, up to 10–15% for riskier tokens |
| Compound V2 | 5% | Fixed across all assets (1.05x liquidation incentive) |
| MakerDAO | 13% | Standard for ETH-A vaults; adjustable via governance |
| Curve (crvUSD) | Gradual | No fixed penalty; losses accrue through soft-liquidation bands |
For borrowers, the penalty means that liquidation is always more expensive than proactively repaying debt or adding collateral. 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
Liquidations are not triggered automatically by the protocol itself. Smart contracts are passive: they define the rules but need an external actor to call the liquidation function. This role is filled by liquidation bots (also called keepers in the MakerDAO ecosystem).
These automated systems continuously monitor every borrowing position on-chain, watching for health factors approaching 1.0. When a position becomes liquidatable, they race to submit the liquidation transaction first, since 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. This infrastructure, largely shaped by Flashbots, 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 most dangerous aspect of DeFi liquidation is its potential to create feedback loops. When a large amount of collateral is sold during liquidation, it can push the price of that asset lower, which triggers more liquidations, which causes more selling. This 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 broke 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 centralized and decentralized platforms within 48 hours. The May 2022 collapse of Terra/Luna saw over $1.6 billion liquidated in a single day, with contagion spreading to centralized 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.
For a deeper look at how these feedback loops develop, see the article on stablecoin peg mechanisms and death spirals.
Recent Developments
Newer protocol versions are rethinking liquidation mechanics to reduce the damage to borrowers and recapture value that currently leaks to MEV bots.
- Aave V4 introduced a variable liquidation bonus that increases as the health factor decreases (similar to a Dutch auction), replacing fixed percentages. It also uses a "Target Health Factor" system where liquidators repay only enough debt to restore the position to a governance-defined health level, preventing unnecessary over-liquidation.
- Curve's crvUSD pioneered soft liquidation using a Lending-Liquidating AMM (LLAMM). Instead of a sudden forced sale, collateral is gradually converted as prices fall through defined bands, and automatically reconverted if prices recover.
- Morpho Blue introduced optional pre-liquidation contracts that trigger partial liquidations at tighter thresholds with smaller discounts, giving borrowers an earlier warning and reducing penalty costs.
- Chainlink SVR now captures Oracle Extractable Value on behalf of protocols, reclaiming approximately 73% of the value that previously went to MEV searchers during liquidation events.
Risks and Considerations
For Borrowers
- Liquidation penalties are steep: losing 5–15% of your collateral value on top of the price decline that triggered the liquidation
- Gas spikes during market crashes can prevent you from adding collateral or repaying debt in time to avoid liquidation
- Oracle latency can cause liquidations at prices that no longer reflect the market, particularly during extreme volatility
- Stablecoin depeg events can trigger liquidations even when the collateral asset itself hasn't moved, if the borrowed stablecoin's price spikes relative to the collateral
For Protocols
- If liquidation incentives are too low, no one will liquidate risky positions, leading to bad debt accumulation
- If liquidation incentives are too high, borrowers lose excessive value, discouraging protocol usage
- Cascading liquidations can temporarily overwhelm oracle systems and liquidation infrastructure, as demonstrated during Black Thursday
- Dependence on external liquidators means protocol solvency relies on the health of the MEV ecosystem and bot infrastructure
Protecting Yourself
Borrowers 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.
This 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.