What triggers it
Every collateralised loan has a threshold. If the collateral's value falls so that the loan is too large relative to it, the position becomes unsafe and can be liquidated. In traditional trading, the equivalent is a margin call, in which a broker demands more collateral or closes positions when the value of the account falls.
How it works in DeFi
DeFi lending protocols automate this. When a position crosses the threshold, anyone, usually specialised bots, may repay some of the borrower's debt and receive part of the collateral at a discount. The discount is the liquidator's reward and the borrower's penalty. The protocol decides what is unsafe from price feeds, so oracle quality matters, and a manipulated or stale price can cause unfair liquidations.
Why it can cascade
When prices fall quickly, many positions are liquidated at once. Liquidators sell the collateral they receive, which pushes prices down further and triggers more liquidations. Thin markets and congested networks, where bots cannot act or fees spike, make this worse. These cascades are a feature of leveraged markets in all asset classes.
How to avoid it
Borrow well below the maximum, keep a large buffer between your collateral and the threshold and monitor positions during volatile periods. Be ready to add collateral or repay part of the loan. Remember that automatic liquidation does not wait for you, and it can happen at any hour of the day since crypto markets never close.
For everyone else
Liquidations explain some sudden price moves and why leverage is dangerous: it magnifies losses and can force sales at the worst time. If you do not use leverage, they affect you only indirectly.