How Liquidations Work in DeFi

DeFi lending protocols liquidate undercollateralized positions automatically. Here's how the mechanism works, who executes liquidations, and what cascade risk looks like in practice.
Lewis Jackson
CEO and Founder

When you deposit collateral into a DeFi lending protocol and borrow against it, you're operating inside a system with no tolerance for bad debt. There's no loan officer who calls you. There's no grace period. If your collateral value drops below a certain threshold relative to what you've borrowed, a liquidation happens — automatically, often within seconds.

The word "liquidation" gets used loosely in crypto. It gets attached to exchange leverage blowups, margin calls, and DeFi lending alike. The mechanics behind each are meaningfully different. This post covers DeFi lending liquidations specifically: how they're triggered, who executes them, and what the structural consequences look like when they cascade.

The Core Mechanism

DeFi lending protocols like Aave and Compound operate on overcollateralization. To borrow $800 USDC, you might need to deposit $1,000 worth of ETH. The ratio between your collateral value and your debt is tracked continuously on-chain. When that ratio deteriorates — because ETH's price falls, because the borrowed asset's price rises, or both — the protocol eventually reaches a threshold where your position becomes eligible for liquidation.

That threshold is expressed differently by different protocols. Aave uses a health factor: a number derived from the ratio of your collateral's liquidation value to your total debt. A health factor of exactly 1.0 means you're at the margin. Drop below 1.0 and you're eligible. Compound uses collateral factors: each accepted asset has a maximum borrow capacity (ETH might carry a collateral factor of 80%, meaning $1,000 of deposited ETH allows borrowing up to $800 of other assets). Fall below the threshold across your portfolio and you're open.

What happens next is where this gets interesting. There's no protocol employee waiting to close you out. Instead, the protocol creates an economic incentive for anyone — anyone at all — to step in. A liquidator can repay part of your debt in exchange for receiving your collateral at a discount. Aave's liquidation bonus for ETH sits around 5%: a liquidator repays $500 of your debt and receives $525 worth of ETH collateral in return. The liquidator profits. The protocol recovers. Your position shrinks.

Most protocols cap how much can be liquidated per call — Aave limits it to 50% of outstanding debt per transaction — which in theory gives borrowers a chance to recover before being fully closed. In practice, during sharp price moves, positions often drop far enough that follow-on liquidations happen within the same block or the next one.

Flash loans make this machinery highly efficient. A liquidator can borrow the repayment amount atomically — within a single transaction — repay the borrower's debt, receive collateral at a discount, sell the collateral, repay the flash loan, and pocket the spread, all without holding any starting capital. This keeps the liquidation system competitive and functional but also thin. Profit margins are small. Execution speed dominates. Most liquidations in practice are executed by automated bots, not human operators.

Cascade Risk

Isolated liquidations are manageable. The structural risk in DeFi lending is what happens when they compound.

March 12–13, 2020 — commonly called "Black Thursday" — is the benchmark failure case. ETH fell roughly 50% in under 24 hours. MakerDAO's liquidation system at the time used English-format auctions: bidders competed upward on DAI offers for discounted ETH. The problem was timing. Gas prices spiked so severely during the chaos that many bidders couldn't get transactions confirmed. Some auctions completed with zero competing bids, meaning liquidators received collateral for effectively nothing. MakerDAO ended up with $5.4 million in bad debt, requiring an emergency governance vote and MKR token dilution to cover the shortfall.

May 2021 saw similar dynamics across multiple protocols as ETH dropped from roughly $4,000 to $1,800 over several weeks. Aave and Compound handled it better — improved oracle infrastructure and more conservative collateral ratios helped — but the cascade pattern was still visible. Positions approaching liquidation thresholds as price dropped, liquidations adding selling pressure, price dropping further.

The underlying structural problem is correlation. All collateral-based lending shares the same dependency: collateral value relative to stablecoins. When ETH falls sharply, every ETH-collateralized position moves toward its liquidation threshold simultaneously. It's not idiosyncratic risk — it's systemic across the protocol, and potentially across protocols if they share similar collateral sets.

Where Constraints Live

The binding constraints on DeFi liquidation systems are mostly technical, not regulatory.

Oracle design is the most consequential. The price feed used to calculate health factors is also the system's attack surface. If a price feed can be manipulated — via flash loan oracle attacks on AMM-based price sources, for example — liquidations can be triggered artificially. Most major protocols have moved toward time-weighted average prices (TWAPs) and Chainlink's decentralized oracle network to reduce this exposure, but the dependency on manipulation-resistant price data is fundamental.

Gas constraints matter during stress. When many liquidations happen simultaneously, gas prices spike. Liquidators with higher fee budgets get priority. Others get outbid or fail. This creates windows where undercollateralized positions sit open longer than they should, which increases bad debt exposure for the protocol.

Protocol reserves act as a backstop when liquidations don't fully cover shortfalls. Aave's Safety Module (AAVE tokens staked as a last-resort buffer) and Compound's reserve factor (a portion of interest income set aside) serve this function. They're real mechanisms, but they're finite.

What's Changing

The main structural evolution post-2020 is auction system design. MakerDAO rebuilt its liquidation engine (Liquidations 2.0, deployed in 2021) using a Dutch auction format — price starts high and descends until a liquidator accepts it. This is significantly more resistant to gas spikes and zero-bid scenarios than the English auction format that failed in March 2020.

Aave v3 (rolled out from 2022 into 2023) introduced efficiency mode (eMode) and isolation mode, both of which affect liquidation parameters for specific asset categories. eMode allows tighter LTV ratios and smaller liquidation bonuses for correlated assets (stablecoins against stablecoins, for instance), which meaningfully changes the liquidation math for those positions compared to earlier versions.

MEV infrastructure changes also affect how liquidations are executed. Post-Merge, Flashbots and MEV-Boost created more structured ordering for profitable transactions. Liquidation bots now compete not just on gas fees but on private mempool access and relationships with block builders — a more opaque layer than simple gas bidding.

What Would Confirm the System Is Functioning Well

  • Large price drops (>20% within hours) clearing without material bad debt accrual across major protocols
  • Protocol reserve ratios holding above minimums after stress events
  • Dutch auction systems completing without zero-bid outcomes
  • Oracle manipulation attempts failing to trigger artificial liquidations at scale

What Would Break or Invalidate It

  • A correlated price collapse large enough to overwhelm liquidator capacity and exhaust protocol reserves — the scenario that creates bad debt requiring governance bailouts or token dilution
  • Oracle manipulation at scale triggering artificial liquidations across a major protocol
  • A structural MEV change making liquidation execution non-viable, creating persistent liquidation gaps
  • A flash loan vulnerability allowing circular liquidation attacks that extract collateral without net repayment

Timing Perspective

Now: If you're borrowing against crypto collateral in any lending protocol, understanding your health factor and its sensitivity to price moves is operational, not theoretical. The math here governs live positions today, and the liquidation mechanisms described are currently active infrastructure.

Next: eMode, isolation mode, and cross-chain lending (Aave on multiple networks including Base, Optimism, and Arbitrum) are changing where liquidation risk concentrates. As the DeFi lending surface expands, understanding which asset pairs create correlated exposure matters.

Later: On-chain undercollateralized credit is developing — protocols like Maple Finance and Clearpool operate in this space — but remains small relative to overcollateralized lending. If undercollateralized credit scales, the liquidation model changes entirely: there's no collateral to seize, which shifts the risk framework to creditworthiness assessment, an unsolved problem in permissionless systems.

Boundary Statement

This post covers the mechanism of DeFi liquidations in overcollateralized lending protocols. It doesn't address centralized exchange margin liquidations, which operate through different mechanisms, or undercollateralized lending, which involves different risk structures.

Understanding how liquidation works doesn't determine what health factor buffer is appropriate for any given position. That depends on collateral volatility, position size, market conditions, and individual risk tolerance — none of which this post addresses.

The mechanism works as described. Whether it represents an acceptable risk to participate in is a separate question entirely.

Related Posts

See All
Crypto Research
New XRP-Focused Research Defining the “Velocity Threshold” for Global Settlement and Liquidity
A lot of people looking at my recent research have asked the same question: “Surely Ripple already understands all of this. So what does that mean for XRP?” That question is completely valid — and it turns out it’s the right question to ask. This research breaks down why XRP is unlikely to be the internal settlement asset of CBDC shared ledgers or unified bank platforms, and why that doesn’t mean XRP is irrelevant. Instead, it explains where XRP realistically fits in the system banks are actually building: at the seams, where different rulebooks, platforms, and networks still need to connect. Using liquidity math, system design, and real-world settlement mechanics, this piece explains: why most value settles inside venues, not through bridges why XRP’s role is narrower but more precise than most narratives suggest how velocity (refresh interval) determines whether XRP creates scarcity or just throughput and why Ripple’s strategy makes more sense once you stop assuming XRP must be “the core of everything” This isn’t a bullish or bearish take — it’s a structural one. If you want to understand XRP beyond hype and price targets, this is the question you need to grapple with.
Read Now
Crypto Research
The Jackson Liquidity Framework - Announcement
Lewis Jackson Ventures announces the release of the Jackson Liquidity Framework — the first quantitative, regulator-aligned model for liquidity sizing in AMM-based settlement systems, CBDC corridors, and tokenised financial infrastructures. Developed using advanced stochastic simulations and grounded in Basel III and PFMI principles, the framework provides a missing methodology for determining how much liquidity prefunded AMM pools actually require under real-world flow conditions.
Read Now
Crypto Research
Banks, Stablecoins, and Tokenized Assets
In Episode 011 of The Macro, crypto analyst Lewis Jackson unpacks a pivotal week in global finance — one marked by record growth in tokenized assets, expanding stablecoin adoption across emerging markets, and major institutions deepening their blockchain commitments. This research brief summarises Jackson’s key findings, from tokenized deposits to institutional RWA chains and AI-driven compliance, and explains how these developments signal a maturing, multi-rail settlement architecture spanning Ethereum, XRPL, stablecoin networks, and new interoperability layers.Taken together, this episode marks a structural shift toward programmable finance, instant settlement, and tokenized real-world assets at global scale.
Read Now

Related Posts

See All
No items found.
Lewsletter

Weekly notes on what I’m seeing

A personal letter I send straight to your inbox —reflections on crypto, wealth, time and life.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.