# Liquidations on Spark

Liquidations on Spark occur when the Health Factor of a position dips below 1. Depending on how low the Health Factor is, either a partial or full liquidation of the position can occur. This is known as Spark's "Variable Liquidation Close Factor".

The criteria are:

* If the Health Factor is below 1 but above 0.95 - Then 50% of the position's collateral can be liquidated
* If the Health Factor is below 0.95 - Then 100% of the position's collateral can be liquidated&#x20;

At this point - liquidators can step in, repay part (or all) of the borrower’s debt, and receive their collateral at a discounted rate. This discount is the liquidation bonus and is the liquidator’s profit opportunity.&#x20;

The amount they're allowed to liquidate depends on how low the user’s health factor is (detailed above), and whether it’s worthwhile depends on whether the bonus they receive is larger than the gas costs.&#x20;

Liquidators simply need to hold (or flash-borrow) the debt asset, identify unhealthy accounts, and call liquidationCall() to claim the discounted collateral. This is typically done via bots that are created by the liquidators.

> The liquidation penalty amount varies per collateral asset, and can be viewed by hovering over the Market Info section for the collateral assets.

### How to avoid liquidations on Spark

Seeing as the main factors that influence your risk of liquidation are the value of your collateral and debt, the most basic tools to keep you safe are Supply (supplying more collateral) and Pay Back (repaying your debt directly from your wallet).

However, DeFi Saver offers more advanced tools that make keeping your position safe more efficient. These include:<br>

* [Repay](https://help.defisaver.com/features/boost-and-repay/use-case) - By utilizing a flash loan, it lets you clear your debt using your collateral directly from the position.
* [Collateral switch ](https://help.defisaver.com/features/collateral-and-debt-switch)- Allows you to change your collateral asset to a stablecoin so you're no longer affected by price falls.
* [Automations](https://help.defisaver.com/features/automation) - Include Repay on target price and Automated Leverage Management, which maintains your position at a specific Safety Ratio range by using automated Repays.
* [Close ](https://help.defisaver.com/features/leveraged-create-and-close)- Unwinds your position in one transaction. It achieves this by utilizing a flash loan to clear all of your debt using the collateral from your position, and withdrawing the remaining collateral to your main (EOA) wallet.

***

## Related Articles:

* [Spark](https://help.defisaver.com/protocols/spark)
* [Dashboard & Use-case](https://help.defisaver.com/protocols/spark/dashboard-and-use-case)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.defisaver.com/protocols/spark/liquidations-on-spark.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
