Intermediate DeFi · 🕑 9 min read

Liquidation Mechanics in DeFi: How Collateral Gets Seized and How to Avoid It

Liquidation is one of the most misunderstood risks in DeFi, but it's critical to understand if you're borrowing or using leverage. Learn how liquidation thresholds work, why they exist, why prices matter more than you think, and how to manage collateral safely.

Introduction: The Mechanics That Govern DeFi Borrowing

If you've spent any time in DeFi — whether through lending platforms like Aave and Compound, or leveraged trading protocols — you've heard the term liquidation. But understanding what it means, why it happens, and how to avoid it separates casual DeFi users from those who actually preserve capital long-term.

Liquidation is the forced closure of a borrowing position when the value of your collateral falls below a certain threshold. It's not a bug in DeFi — it's a feature, designed to protect lenders and the protocol itself from bad debt. But if you don't understand how it works, it can silently destroy your position during a market downturn.

This lesson walks you through the mechanics of liquidation, how to calculate your own risk, and the strategies professional DeFi users employ to stay safe.

Understanding Collateral Ratios and Liquidation Thresholds

Every time you deposit collateral into a DeFi lending protocol, the protocol assigns it a value and a loan-to-value (LTV) ratio. This ratio is the maximum amount you can borrow relative to your collateral.

For example, on Aave:

  • ETH might have an LTV of 80% — meaning if you deposit $1,000 of ETH, you can borrow up to $800 worth of other assets
  • A more volatile asset like a mid-cap altcoin might have an LTV of 40% — borrowing power is lower because the risk is higher
  • Stablecoins like USDC might have an LTV of 90% — they're less volatile, so you can borrow more against them

But LTV isn't the danger point. The danger point is the liquidation threshold — typically 5-10% higher than the LTV.

Here's the critical distinction: You can borrow at your LTV, but you get liquidated at your liquidation threshold. If ETH has an LTV of 80% and a liquidation threshold of 85%, that means:

You can borrow when your position is 80% utilized, but if the value of your collateral drops such that you're 85% utilized, liquidators can immediately seize your collateral and repay your debt — keeping the difference as a liquidation penalty.

That gap between 80% and 85% is your safety margin. It's smaller than you think.

How Liquidation Actually Happens: The Economics of Liquidators

Liquidation isn't automatic or algorithmic in the way you might imagine. Instead, it's incentivized. When your position hits the liquidation threshold, liquidators — specialized bots and traders — step in.

Here's how it works in practice:

  1. You deposit collateral: You put 10 ETH into Aave as collateral (worth $30,000 at $3,000/ETH).
  2. You borrow against it: At 80% LTV, you borrow $24,000 in USDC.
  3. The market moves: ETH price drops to $2,500. Your collateral is now worth $25,000, but you still owe $24,000. Your position is at 96% utilization — well above the 85% liquidation threshold.
  4. Liquidators act: A liquidator calls the liquidation function. They repay your $24,000 debt, seize your 10 ETH (worth $25,000), and keep the difference ($1,000) plus a liquidation bonus (usually 5-10% of the collateral).
  5. You get wiped out: You lose your ETH. The liquidator profits. The lenders are protected.

The liquidation bonus exists specifically to incentivize liquidators to act quickly. Without the bonus, there would be no economic motivation to liquidate positions, and bad debt would accumulate in the protocol. The bonus is the protocol's way of paying for its own security.

The key insight: Liquidation is not a gradual process. It happens instantly when the threshold is crossed. You don't get a warning — you get liquidated.

Calculating Your Own Liquidation Price

Understanding your liquidation threshold in abstract terms is useful, but you need to calculate your liquidation price — the specific price at which your position becomes liquidatable.

Here's the formula:

Liquidation Price = (Debt × Liquidation Threshold) / Collateral Amount

Using our example:

  • Debt: $24,000 (USDC borrowed)
  • Liquidation Threshold: 85% (0.85)
  • Collateral: 10 ETH
  • Liquidation Price = ($24,000 × 0.85) / 10 = $2,040/ETH

This means if ETH falls below $2,040, your position gets liquidated.

Most lending protocols display this information directly in their interfaces. But understanding the math means you can stress-test your own position:

  • What's the biggest single-day move in your collateral asset in the past year?
  • Does your liquidation price account for that volatility with a buffer?
  • What happens if that volatility repeats during a flash crash or exchange outage?

Professional DeFi users maintain a minimum 20-30% buffer between their current collateral ratio and their liquidation threshold. This isn't overcautious — it's essential risk management.

Advanced: Multi-Collateral Positions and Cascading Liquidations

The real complexity in liquidation risk emerges when you're using multiple collateral types simultaneously. If you deposit ETH, USDC, and an altcoin as collateral, your liquidation threshold is a weighted average of all three assets' thresholds — but the price movements are independent.

This creates a dangerous scenario: cascading liquidation.

Imagine you deposit:

  • 5 ETH ($15,000)
  • $5,000 USDC
  • $5,000 in an altcoin
  • Total: $25,000 collateral

You borrow $20,000 USDC (80% LTV).

Now, if the altcoin crashes 60% (a realistic scenario in crypto), it's no longer valuable collateral. Your effective collateral drops to $17,000, but your debt remains $20,000. You're instantly liquidatable — not because ETH or USDC crashed, but because one of your three collateral assets became illiquid or volatile.

This is why professional traders avoid borrowing against multiple volatile assets. The risk compounds.

Strategies to Stay Safe: Building a Liquidation Buffer

1. Conservative Borrowing

The simplest rule: Don't borrow anywhere near your LTV. If ETH has an 80% LTV, consider borrowing at only 50-60% of your collateral value. This gives you room for price movements without hitting liquidation.

2. Single-Asset Collateral

Use only your most stable, most liquid asset as collateral. If you must use an altcoin, make sure it's a top-50 market cap asset with deep liquidity across multiple exchanges.

3. Stablecoin Borrowing

Borrow only stablecoins if possible. This reduces your downside risk. Borrowing volatile assets (like alt tokens) against volatile collateral creates compounding risk.

4. Regular Monitoring

Check your position weekly. Use protocol dashboards or third-party tools like Zapper or Defi Saver to monitor your collateral ratio in real time. If you're drifting toward 75% utilization, reduce your borrowing immediately.

5. Use Automation Tools

Services like Defi Saver offer automatic deleveraging — they monitor your position and automatically repay debt if you approach your liquidation threshold. The fee is worth the insurance.

6. Account for Gas Costs

If you need to add collateral or repay debt quickly, you'll pay gas fees. On Ethereum, this could be $50-500. Budget for this when calculating your safety margin.

The Liquidation Cascade: Systemic Risk in DeFi

Understanding individual liquidation is important, but there's a larger systemic risk: liquidation cascades.

When a major market crash occurs (like March 2020 or June 2022), liquidations can cascade across the entire DeFi ecosystem:

  1. Asset price drops 20%
  2. 1,000 positions hit liquidation threshold simultaneously
  3. 1,000 liquidators all try to liquidate at once, flooding the market with sell pressure
  4. Prices drop another 15%, triggering more liquidations
  5. Prices drop another 15%, triggering even more liquidations

In extreme cases, this can lead to a death spiral where prices collapse faster than borrowers can react. This is why some protocols implement circuit breakers or pause borrowing functions during extreme volatility.

The takeaway: DeFi is safe during normal conditions, but liquidation risk becomes systemic during tail-risk events. Size your positions accordingly.

Key Takeaways

  • Liquidation is not a warning — it's an instantaneous seizure. There's no grace period. When your collateral ratio hits the liquidation threshold, liquidators move immediately.
  • Your liquidation price is calculable. Use the formula above to know exactly what price triggers liquidation. Update this calculation weekly.
  • Liquidation thresholds have a purpose: They protect lenders and the protocol. But they're also narrow — often only 5-10% above your LTV.
  • Liquidators are economically incentivized. They profit from your mistake. This is why liquidation is reliable and fast — but also why the penalties are high.
  • Maintain a 20-30% safety buffer between your current collateral ratio and your liquidation threshold. This is not overcautious; it's essential.
  • Use conservative borrowing as your baseline. If an 80% LTV is available, borrow at 50%. The extra safety is worth far more than the marginal extra yield.
  • Liquidation cascades are a real systemic risk. During crashes, liquidations compound. Size your positions assuming this can happen.

Liquidation is one of the hardest lessons in DeFi to learn, but learning it with real capital is expensive. Now that you understand the mechanics, you can build positions that survive market stress — and that's how wealth compounds over time.

← Back to all lessons
Scroll to Top