Bible Network Crypto DeFi Onchain RWA AI Agent Stablecoin CryptoTax DeFAI Chain SAFU AGI Claude Me Claude Skill Claude Cowork
Independent Media
Not affiliated with any project
DeFi × AI Convergence: Strategies, Projects & Risks, Decoded
defai-bible.com
LATEST
Your Strategy Made Money — But Do You Actually Know Why?  ·  You Will Never Win a Speed Race Against a Liquidation Bot — So Don't Try To  ·  Robinhood's Own Chain Just Launched, Calling Itself "AI-Native" — But Who Actually Verifies That Label?  ·  Your Protocol's Code Looks Familiar — And That Might Not Be a Coincidence  ·  The Network Hiccuped and Your Agent Resubmitted — Does It Actually Know if the Original Transaction Succeeded?  ·  The One Question Most Due Diligence Checklists Miss: How Many Blocks Does This Bridge Wait Before Confirming?
Glossary · MEV & Arbitrage

Liquidation MEV

MEV & Arbitrage intermediate

30-Second Version · For the impatient
When a lending position's collateral value falls below its liquidation threshold, whoever submits the liquidation transaction first captures the protocol's liquidation reward. This opportunity is theoretically open to anyone, but in practice is almost entirely captured by professional liquidation bots with the fastest execution speed and the most optimized gas strategy — an ordinary user, even upon spotting the same liquidation opportunity, is almost never able to beat these bots. A third major profit model within the MEV ecosystem, alongside the sandwich attack and arbitrage.
Full Explanation +
01 · What is this?

What is liquidation MEV, and how does it differ from the sandwich attack and just-in-time liquidity discussed earlier in this series?

The sandwich attack discussed earlier in this series involves an attacker actively intervening in a victim's execution price; just-in-time liquidity involves an extractor temporarily providing liquidity right before a large trade — both involve reacting to a specific about-to-happen transaction. Liquidation MEV addresses a completely different trigger scenario: not targeting a specific transaction, but a position that already meets liquidation conditions but hasn't yet been liquidated — anyone who submits the liquidation transaction first captures the protocol's designed liquidation reward (usually a percentage discount on the collateral).

This means liquidation MEV's competition isn't against a trade's originator — it's against every other potential liquidator simultaneously watching the same liquidatable position. This is a pure speed-and-gas-strategy race, different in complexity from the precise transaction-ordering skill a sandwich attack needs or the market-maker coordination just-in-time liquidity needs. Liquidation MEV's core logic is relatively simple: whoever's transaction gets packed first wins.

02 · Why does it exist?

Why does liquidation MEV exist, and why do protocols design a liquidation reward mechanism at all?

A lending protocol needs a liquidation mechanism to promptly liquidate collateral and avoid the protocol bearing a bad-debt loss when a borrower's collateral value drops below what covers the debt — but the protocol itself usually doesn't proactively monitor every position and execute liquidations itself (which would require the protocol to bear extra operational and computational cost). Instead, it designs an economic incentive letting external participants voluntarily take on the monitoring and execution work, compensated with a liquidation reward.

This design itself is reasonable — using economic incentives to let decentralized third-party participants collectively maintain system health is a common mechanism-design approach in the DeFi ecosystem. But the side effect of this mechanism is giving rise to a highly specialized, highly automated liquidation bot industry — these bots monitor position status on every lending protocol around the clock, and once detecting any position falling below its liquidation threshold, can assemble and submit a liquidation transaction within an extremely short window. This level of specialization makes it nearly impossible for an ordinary user to compete manually.

03 · How does it affect your decisions?

How does liquidation MEV actually work, and specifically how do liquidation bots beat ordinary users?

A typical liquidation bot's workflow: continuously monitoring the health metric (usually the ratio of collateral value to debt value) of every position across multiple lending protocols, and the instant it detects a position's ratio has dropped below the liquidation threshold, immediately auto-assembling a liquidation transaction; to ensure its own liquidation transaction gets packed first, the bot typically sets an extremely high gas fee priority, or coordinates transaction ordering priority directly with a block builder through a private transaction pool discussed earlier in this series, avoiding being seen and overtaken by other bots in the public mempool.

Even if an ordinary user happens to notice a position meeting liquidation conditions at the same moment, the entire process from spotting the opportunity to manually assembling the transaction, setting the gas fee, and submitting it typically takes far longer than a bot's automated response time — this speed gap is nearly structural, not something a user can close through heightened vigilance or operational familiarity.

04 · What should you do?

What's the practical impact of liquidation MEV for everyday users, and how should it apply to evaluating and using DeFAI products?

If you're a borrower on a lending protocol, liquidation MEV's most direct implication is a reminder that you need to factor liquidation bots' extremely fast response speed into your own position management — don't hold onto a false hope that you'll manually top up your position right before it gets liquidated, because the instant your position falls below the liquidation threshold, a liquidation bot will almost certainly discover and execute the liquidation faster than you can. The window you can genuinely intervene in is usually far shorter than you'd imagine.

If you're a user entrusting funds to a DeFAI agent to execute a lending strategy, it's worth asking whether this agent itself has liquidation-protection capability — proactively warning when position health approaches the threshold, or automatically adding margin to avoid genuinely triggering liquidation, for example. This kind of proactive defense design protects your funds far better than dealing with a liquidation loss after the fact. This is also a concrete application of a principle emphasized repeatedly throughout this series: understanding that a competition you can't participate in exists is itself the first step in protecting yourself.

Real-World Example +

Multiple public MEV data analytics platforms within the Ethereum ecosystem (dashboard services specifically tracking on-chain MEV activity, for example) have long publicly tracked the source of liquidation transactions on major lending protocols. This kind of public data has long shown that the vast majority of liquidation transactions are executed by a small number of continuously active automated addresses, rather than ordinary retail wallet addresses — a structural fact already openly discussed and widely recognized within the industry.

Common Misconceptions +
✕ Misconception 1
× Misconception: as long as I keep watching my own position at all times and act fast enough, I have a chance to top it up myself before liquidation happens, when actually: liquidation bots are fully automated, 24/7 professional systems — the response speed of manual monitoring plus manual operation can almost never beat a bot's automated execution. This speed gap is structural, not something more focus can overcome
✕ Misconception 2
× Misconception: liquidation MEV is purely competition between bots, with no direct relationship to an ordinary DeFAI user, when actually: any user holding a leveraged position on a lending protocol is directly exposed to the risk of being targeted by liquidation bots — once a position falls below the threshold, liquidation almost immediately follows, a direct and concrete practical impact on a user's position management
The Missing Link +
Direct Impact

From an overall protocol-health perspective, liquidation MEV's existence lets lending protocols maintain a timely, reliable liquidation mechanism, avoiding accumulated bad debt harming every user's fund safety — a necessary positive effect of the mechanism's design; but this mechanism's side effect is that liquidation rewards are almost entirely monopolized by professional bots, with ordinary users unable to participate equally in this economic opportunity, meaning users must more proactively manage their own position health rather than relying on the chance to manually intervene and remedy things before liquidation happens.

Ask a Question
Please enter at least 10 characters
Related Articles
You Will Never Win a Speed Race Against a Liquidation Bot — So Don't Try To
risk · Jul 30
More Related Topics