What Is a DeFi Liquidation? How to Find Your Liquidation Price

Educational Disclaimer: This content is for educational purposes only and does not constitute financial, investment, or legal advice. Always do your own research.

About the Author: Written by redpakpak, an independent writer digging into on-chain risk, stablecoin mechanics, and tokenized real-world assets.

In DeFi lending, nobody calls you when your loan is in trouble. There’s no margin call email and no grace period. Once your collateral falls below a certain line, anyone in the world can repay part of your debt and take some of your collateral at a discount.

That’s a DeFi liquidation. It sounds brutal, and for the borrower it can be. But it’s also the reason lending protocols like Aave can lend billions without credit checks. Here’s how it works, step by step, with real numbers.


1. Why DeFi Loans Need Liquidations

A bank checks your income before it lends. A DeFi protocol can’t. It doesn’t know who you are, and it can’t take you to court. So it asks for something else: collateral worth more than the loan.

You deposit, say, ETH and borrow a smaller amount of USDC against it. As long as your ETH is worth comfortably more than your debt, everyone is safe. The problem starts when ETH falls. If it falls far enough, your collateral could end up worth less than what you owe, and the lenders would lose money.

Liquidation is how the protocol stops that from happening. Before your collateral drops below your debt, the protocol lets outside traders, usually automated bots called liquidators, step in and close part of your loan.


2. The Three Numbers That Decide It

We’ll use Aave, the largest lending protocol, as the example. Other protocols use similar ideas with different names.

  • Liquidation threshold: the share of your collateral’s value that counts toward backing your loan. If ETH has an 80% threshold, $10,000 of ETH supports up to $8,000 of debt before you’re in danger. Each asset has its own threshold.
  • Health factor: one number that sums up how safe your loan is. It’s your collateral value times the liquidation threshold, divided by your debt. Above 1, you’re fine. Below 1, you can be liquidated.
  • Liquidation bonus: the discount a liquidator gets on your collateral for doing the job. On Aave, it’s around 5% for most major assets. That discount is your cost.

There’s one more rule that matters: the close factor. On Aave V3, a liquidator can usually repay only up to 50% of your debt in one go. If your health factor drops below 0.95, or the position is very small, the whole debt can be liquidated at once.


3. A DeFi Liquidation With Real Numbers

Let’s walk through one. The numbers are simplified, but the mechanics are how Aave V3 works.

Step 1: You borrow. You deposit 10 ETH when ETH is $3,000. That’s $30,000 of collateral. ETH’s liquidation threshold is 80%. You borrow $18,000 of USDC.

Health factor = ($30,000 × 0.80) ÷ $18,000 = 1.33. You’re safe.

Step 2: Find your liquidation price. This is the one number every borrower should know. When you have one collateral asset and borrow a stablecoin, the formula is simple:

Liquidation price = Debt ÷ (Amount of collateral × Liquidation threshold)

Here that’s $18,000 ÷ (10 × 0.80) = $2,250. That’s a 25% drop from $3,000. Not that unusual in crypto.

Two things can push this number higher over time. Borrow more, and your liquidation price moves up. Let interest pile up, and it creeps up too. If you post more than one kind of collateral, or borrow something volatile instead of a stablecoin, the math gets messier, so read the liquidation price off the protocol’s dashboard instead.

Step 3: ETH falls to $2,200. Your collateral is now worth $22,000.

Health factor = ($22,000 × 0.80) ÷ $18,000 = 0.98. Below 1, so you can be liquidated. It’s above 0.95, so the 50% close factor applies.

Step 4: A bot liquidates you. Within seconds, a liquidator repays $9,000 of your USDC debt (half). In return, it takes $9,000 worth of your ETH plus the 5% bonus: $9,450, or about 4.3 ETH.

Before liquidationAfter liquidation
Collateral10 ETH ($22,000)About 5.7 ETH ($12,550)
Debt$18,000 USDC$9,000 USDC
Health factor0.98About 1.12
Your net position$4,000$3,550

Look at the last row. Your loan is healthy again, but you lost $450, the liquidation bonus, on top of what ETH’s fall already cost you. And you no longer own that 4.3 ETH. If ETH bounces back to $3,000 next week, you only get the upside on 5.7 ETH.

If ETH keeps falling, the same thing can happen again. Each round costs another bonus.


4. It’s Not Only About Price Drops

Most liquidations happen because a market falls. But not all of them.

Oracle errors. A protocol learns prices from an oracle, a price feed. If the feed is wrong, healthy loans can look unhealthy. On March 10, 2026, a misconfigured price safeguard on Aave valued wstETH (a staked ETH token) about 2.85% too low, and that alone triggered around $27 million in liquidations. The market hadn’t crashed. The number had.

Collateral that “shouldn’t” move. Stablecoins and staked ETH tokens feel safe as collateral because they’re supposed to track something stable. When one slips off its peg, positions built on that assumption can get liquidated quickly. We explain how stablecoins hold their peg in USDT vs USDC.

Your debt can grow too. Borrowing rates change all the time. Interest slowly adds to your debt, which slowly lowers your health factor, even if prices don’t move.

Smart contract risk. All of this runs on code. A bug in the protocol is a different risk from liquidation, but it can hit the same funds. We cover what to check in DeFi and RWA smart contract risks.


5. How Borrowers Try to Avoid It

  • Borrow less than the maximum. The protocol will let you borrow right up to the edge. That doesn’t mean you should. The lower your loan, the bigger the price drop you can survive.
  • Know your liquidation price. Use the Step 2 formula, or read it off the protocol’s dashboard. “ETH at $2,250” is easier to watch than “health factor 1.33.”
  • Have a plan before you need it. When your health factor falls, you can repay part of the loan or add collateral. Both work only if you have funds ready and act before the bots do.
  • Don’t count on reacting in time. Big drops often happen overnight and when networks are congested, which makes transactions slow and expensive. Some borrowers use alert or automation tools for this reason.

Newer designs try to soften the hit. Aave V4, for example, changes the liquidation bonus based on how unhealthy a loan is: the lower the health factor, the higher the bonus. It also aims to repay only as much debt as needed to bring a loan back to a target health level, rather than a fixed half. The basic deal stays the same, though. Fall below the line, and someone else gets to close your loan at your expense.


So, what is a DeFi liquidation? It’s the protocol’s automatic safety valve. It keeps lenders whole by letting bots close risky loans the moment they cross a line, and it charges the borrower a bonus for the trouble. If you borrow in DeFi, the most useful number you can know isn’t your interest rate. It’s the price at which your collateral gets sold.


DeFi Liquidation FAQ

Do I lose all my collateral in a DeFi liquidation?
Usually not. On Aave V3, a single liquidation typically repays up to half your debt, and you lose the matching collateral plus a bonus. You keep the rest. But if prices keep falling, or your health factor drops below 0.95, more of it can go.

Who are the liquidators?
Mostly automated bots run by traders. Anyone can liquidate an unhealthy loan. They do it because the bonus is profitable, and that profit motive is what keeps the system working fast.

Can I stop a liquidation once it starts?
No. It happens in a single transaction, often within seconds of your health factor dropping below 1. Your only defense is acting before that point.

Is borrowing against stablecoins safer?
Lower risk, not no risk. Stablecoin prices move much less, so liquidations are rarer. But a depeg or an oracle error can still push a loan under the line, and stablecoin positions are often borrowed close to the limit.

Is a DeFi liquidation the same as a liquidation on an exchange?
The idea is similar, but the setup isn’t. On a centralized exchange, the company closes your position under its own rules. In DeFi, the rules are in public code and outside bots carry them out. If you keep funds on an exchange, there’s a separate risk: see what happens when an exchange freezes withdrawals.


References

Notice: This analysis is for educational purposes only. redpakpak does not offer investment advice and does not endorse any lending protocol or platform.

Scroll to Top