> ## Documentation Index
> Fetch the complete documentation index at: https://xoxno.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Liquidations on Stellar Lending

> What happens when your health factor falls below 1 on XOXNO Stellar Lending, and how to avoid liquidation.

A liquidation happens when your [health factor](/stellar-lending/health-factor) drops below 1. At that point your position is underwater and anyone can step in to repay part of your debt and claim your collateral.

## When liquidation triggers

Your health factor compares liquidation-weighted collateral value to total debt. When it falls below 1, the protocol marks your account as liquidatable.

Common causes:

* A sharp drop in collateral price
* Debt growing from interest while collateral value stays flat
* Borrowing too close to your limit without a safety buffer

[XOXNO lending](https://xoxno.com/defi/lending) shows your health factor in real time. Treat **below 1** as the danger zone, not a distant warning.

## What the liquidator does

A liquidator repays some of your debt using tokens from their own wallet. In return they receive your collateral worth more than the repayment.

The extra collateral is the **liquidation bonus**, set per asset in [risk parameters](/stellar-lending/risk-parameters). The deeper underwater your position, the larger the bonus can be. A portion of the bonus goes to the protocol; the rest rewards the liquidator.

Liquidation is partial by default. The liquidator repays enough debt to bring your health factor back toward safety, not necessarily your entire loan.

## What you lose

You keep any collateral and debt that the liquidation does not touch. You lose:

* The collateral seized by the liquidator
* The liquidation bonus on top of the repaid debt value

If debt remains after liquidation, you still owe interest on the leftover balance. Your health factor should improve, but you may need to repay more or add collateral to stay safe.

## How to avoid liquidation

1. Keep your health factor well above 1, not barely above it.
2. Add collateral or repay debt when prices move against you.
3. Avoid maxing out your borrow limit during volatile markets.
4. Check your position after large market events.

Act before your health factor crosses 1. Once liquidatable, you cannot stop a well-funded liquidator from acting.

<Tip>
  **For developers:** Liquidation engine rules, estimation views, and bonus interpolation are in the [liquidations developer guide](/stellar-lending/dev/liquidations).
</Tip>
