> For the complete documentation index, see [llms.txt](https://docs.zerolend.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zerolend.xyz/features/capital-efficiency/supply-borrow-caps.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.zerolend.xyz/features/capital-efficiency/supply-borrow-caps.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
