← Glossary

Trading & DeFi

What Is Liquidation in Crypto? When a Loan Is Closed Against You

Liquidation is the forced sale of a borrower's collateral to repay a loan, triggered when the collateral's value falls below the required ratio, in order to protect the lender from loss.

Key takeaways

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.

Example

You borrowed 700 dollars against 1,000 dollars of collateral with a 80% liquidation threshold. When the collateral drops to 850 dollars, the loan is 82% of its value. A liquidator repays part of your debt and takes collateral at a discount.

Put it into practice

Avoid leverage you cannot monitor

Liquidations happen around the clock. Only use lending or leverage through Scrypt Wallet's Earn partners with amounts and buffers you can watch.

Create a free wallet Get Scrypt for Android

Frequently asked questions

Can I stop a liquidation?

Only before it happens: add collateral or repay part of the loan. Protocols act automatically.

Is liquidation the same as a margin call?

Related. A margin call is a demand to add funds; DeFi liquidation closes the position automatically.

Do I lose everything?

Usually not, but you lose part of your collateral to the discount and any penalty.

Related terms

Go deeper

Written by the Scrypt Wallet team · Updated 2026-10-02. General education, not financial, tax or legal advice.