# Supply/Borrow Caps

<figure><img src="/files/5qsjjDqkltBMd2XflAcs" alt=""><figcaption></figcaption></figure>

In an event where one of the underlying collateral collapses faster than the risk team can possibly delist or stop the borrowing of that asset, borrow/supply caps start to play a role in limiting the possible bad debt that could occur from within collateral collapse.

Borrow/supply caps are vital for minimizing bad debt when collateral value drops faster than risk management actions. For example, if you supply collateral A and its value decreases, your collateral might be liquidated. To avoid insolvency in such cases, we add borrow caps.&#x20;

## Borrow Caps

Borrow caps limit the maximum amount of each asset that can be borrowed, protecting against over-leverage during market volatility. For instance, if a cap is 500 units and 450 are borrowed, new borrowing is halted at 500 units.

## Supply Caps

Supply caps limit the maximum deposit for each asset, reducing exposure to riskier assets. For example, with a 1,000-unit cap, users can’t deposit beyond this threshold.

> Default caps are 0, indicating no restrictions, and are adjusted based on liquidity and total asset volume within the protocol.

## Setting Caps

The default cap for supply and borrow is set at 0, indicating no supply or borrow limit. Caps can be adjusted based on on-chain liquidity and the total volume of assets in the protocol.


---

# 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://docs.zerolend.xyz/features/capital-efficiency/supply-borrow-caps.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.
