Certified Crypto Market

How to Monitor a DeFi Loan and Avoid Liquidation

Learn how to avoid DeFi liquidation: how health factors and liquidation thresholds work, a worked example, alert setup, safety buffers and protocol checks.

CCM ResearchCertified Crypto Market22 nov 20264 min di lettura

To avoid DeFi liquidation, keep your loan's health factor well above the liquidation point, set alerts that warn you early, and have spare collateral or stablecoins ready to add or repay when prices move against you. Liquidation happens automatically when your collateral no longer covers your debt by the margin the protocol requires, and it can take only minutes in a fast market.

A DeFi loan, such as borrowing stablecoins against ETH on a lending protocol, has no bank that calls you before acting. Smart contracts and liquidators enforce the rules around the clock. That makes monitoring your own responsibility.

Key Terms in Plain Language

  • Collateral: the assets you deposit, such as ETH.
  • Loan-to-value (LTV): how much you can borrow relative to collateral when opening the loan.
  • Liquidation threshold: the ratio at which your position becomes liquidatable. It is set higher than the maximum LTV to give a buffer.
  • Health factor: a single number, used by protocols such as Aave, roughly equal to (collateral value × liquidation threshold) ÷ debt. Above 1 is safe from liquidation; below 1 is not.
  • Liquidation bonus (penalty): the discount liquidators get on your collateral.
  • Oracle: the price feed the protocol uses to value your assets.

Our explainer on collateral factors and health factors covers these in more depth.

How Liquidation Works, Step by Step

  1. 1The oracle reports a lower price for your collateral.
  2. 2Your health factor is recalculated and drops below 1.
  3. 3A liquidator, usually an automated bot, repays part of your debt.
  4. 4The protocol sends the liquidator an equivalent value of your collateral plus a bonus.
  5. 5Your debt and collateral both shrink. If prices keep falling, the process can repeat.

A Worked Example (Hypothetical Numbers)

The following figures are illustrative only and do not reflect any real protocol's parameters.

Imagine you deposit ETH worth 10,000 dollars and borrow 5,000 dollars of stablecoins. Assume a liquidation threshold of 80%.

  • Health factor = (10,000 × 0.80) ÷ 5,000 = 1.6

Now consider what different ETH price drops would do:

ETH price changeCollateral valueHealth factorStatus
No change10,0001.60Safe
−20%8,0001.28Safe, buffer shrinking
−30%7,0001.12Warning zone
−37.5%6,2501.00Liquidation point
−40%6,0000.96Liquidatable

In this example, a 37.5% fall in ETH triggers liquidation. If you had borrowed only 3,000 dollars instead, the health factor would start at about 2.67 and ETH would need to fall by 62.5% to reach 1.0. Borrowing less is the simplest form of protection.

How to Monitor Your Loan

  1. 1Check the protocol dashboard. Bookmark the official app and review your health factor, borrowed amounts and collateral regularly.
  2. 2Set alerts at more than one level. For example, an early warning well above 1 and an urgent one closer to it. Many lending apps, wallets and third-party tools offer notifications. You can also set price alerts for your collateral on our crypto price alerts page.
  3. 3Watch the collateral's volatility, not just its price. A volatile token can move 20% in an hour during market stress.
  4. 4Track borrowing rates. Variable interest increases your debt over time, slowly lowering your health factor.
  5. 5Know your liquidation price. Many dashboards show it. Write it down so you can react without calculating under pressure.

What to Do When Your Health Factor Drops

  • Add collateral. Deposit more of the same or another accepted asset.
  • Repay debt. Even a partial repayment raises your health factor directly.
  • Reduce volatility. Swap some volatile collateral for a stablecoin, if the protocol allows.
  • Keep gas ready. You need the network's native coin to send any of these transactions. During market stress, fees can spike.

Act early. In a sharp drop, many users try to save positions at once, networks get congested and oracles update quickly, so waiting for the last moment is risky. Our article on liquidation cascades explains why falls can accelerate.

Risks Beyond Price Moves

  • Oracle problems: a faulty or manipulated price feed can trigger unfair liquidations.
  • Correlated collateral: if your collateral and debt are related assets, such as a liquid staking token and ETH, a depeg can cause liquidation even when prices look stable.
  • Smart-contract risk: bugs can affect any protocol.
  • Parameter changes: governance can change thresholds or listing rules.

How to Check a Protocol Before Borrowing

  1. 1Read the official documentation on liquidation thresholds, bonuses and oracles for your specific asset.
  2. 2Check audits and bug bounty programs, and how long the protocol has run without major incidents.
  3. 3Confirm you are on the official site and using the official contracts.
  4. 4Review how the protocol handled past market stress.

For a broader checklist, see how to evaluate crypto lending platforms.

Bottom line

You avoid most DeFi liquidations long before the health factor reaches 1: by borrowing conservatively, setting layered alerts, knowing your liquidation price and keeping spare collateral and gas on the right network. Treat any loan against volatile crypto as something that needs watching, and never borrow an amount you could not repay quickly if markets fall.

Domande frequenti

What triggers a liquidation in DeFi lending?

A liquidation is triggered when the value of your collateral, adjusted by the protocol's liquidation threshold, no longer covers your debt. Many protocols express this as a health factor; when it falls below 1, anyone can repay part of your debt and take some of your collateral at a discount.

What is a safe health factor?

There is no universally safe number, because it depends on how volatile your collateral is and how quickly you can react. Many users keep a large buffer well above 1, especially with volatile collateral, and set alerts at higher levels so they have time to act before liquidation.

How can I avoid liquidation quickly?

You can add more collateral, repay part of the loan, or swap volatile collateral for a less volatile asset. Adding collateral or repaying debt directly raises your health factor. Make sure you have spare funds and gas ready on the same network before markets turn.

Do I lose everything if I get liquidated?

Usually not everything. A liquidator repays part of your debt and receives an equivalent amount of your collateral plus a liquidation bonus. You keep the borrowed funds and any remaining collateral, but the bonus is a real loss, and repeated liquidations in a fast market can take a large share of your position.

Questo articolo ha solo scopo educativo e non costituisce consulenza finanziaria, legale o fiscale. Le crypto sono volatili e puoi perdere denaro. Controlla prezzi in tempo reale e dettagli del progetto nella pagina di ogni moneta prima di agire.

Continua a leggere

Altro in DeFi →