Morpho vault caps: absolute and relative caps explained
How Morpho vault caps work: absolute and relative caps, the three cap ids, why exposure can sit above a cap and how to read a vault's caps onchain.
A Morpho vault cap limits how much the allocator can add to a market or risk factor, and the exposure behind it can still end up above the cap. Morpho Vault V2 has absolute caps, in units of the vault’s asset, and relative caps, as a share of total assets, both checked at allocation (Morpho liquidity docs).
That gap between a cap and a live allocation is visible on mainnet today. This guide explains what each cap controls, which risks it groups, and how to read caps and allocations from a vault contract.
What are Morpho vault caps?
Morpho vault caps are curator-set limits on how much of a vault’s assets can be allocated to a given risk id. In Vault V2 every id can carry an absolute cap and a relative cap. In Vault V1 each market has one supply cap.
A risk id is a hash that groups allocations sharing one risk factor, such as a collateral token or a single market configuration. The adapter that routes deposits defines which ids each allocation touches, and the vault checks the caps of all of them.
For an allocator from TradFi, caps work like the concentration limits in an investment mandate. The difference is enforcement: the contract rejects an allocation that breaks a limit, at the moment of allocation.
How do absolute and relative caps differ?
An absolute cap is a fixed maximum amount of the vault’s asset per id. A relative cap is a maximum share of the vault’s total assets per id, measured at the start of the transaction.
| Cap type | Unit | Example from Morpho docs | Set with |
|---|---|---|---|
| Absolute cap | Raw units of the vault asset | No more than 20M USDC to markets with wBTC as collateral (liquidity docs) | increaseAbsoluteCap |
| Relative cap | WAD, where 1e18 is 100% | No allocation may take exposure to one protocol above 30% of the vault (liquidity docs) | increaseRelativeCap |
A relative cap at 1e18 places no limit on share, and an absolute cap at the largest uint128 value places no limit on size. Curators often leave one of the two at its maximum and steer with the other.
Which risk ids can a Morpho vault cap?
For the standard MorphoMarketV1AdapterV2, each allocation touches three ids. Morpho’s adapter tutorial gives their formulas:
- Adapter id:
keccak256(abi.encode("this", adapterAddress)). It covers everything routed through that adapter. - Collateral id:
keccak256(abi.encode("collateralToken", collateralToken)), shared by every market with the same collateral, across adapters. - Market id:
keccak256(abi.encode("this/marketParams", adapterAddress, marketParams)). It covers one market configuration.
An allocation must fit under every cap it touches, or it reverts. A curator can then express a rule such as “no more than a fixed amount against one collateral token, however many markets use it” with a single collateral cap.
When are Morpho caps enforced?
Caps are checked when assets enter a position, and not afterwards. The vault checks every id on allocate, and on deposits routed to the liquidity adapter. Morpho’s liquidity docs say caps constrain allocation operations and are not a ceiling the vault enforces at all times.
The docs list three ways an allocation can end up above its cap:
- Withdrawals elsewhere. If 30 of 100 is allocated (30%) and 50 is then withdrawn from other positions, the same 30 becomes 60% of the vault (liquidity docs).
- Interest and donations. A position that earns interest grows with no new allocation, past both caps.
- Prior deposits. An allocator with real capital can deposit in an earlier transaction to raise total assets, allocate, then withdraw.
Lowering a cap below the current allocation withdraws nothing, even when the new cap is zero. It blocks new allocations, and the Allocator has to call deallocate to cut the position.
What does a cap look like on a live vault?
On the Paypal USD Main vault, one market held more than its absolute cap on 30 Nov 2026. The figures below were read from the vault contract with absoluteCap, relativeCap and allocation. The market for each id comes from the Morpho API, which labels the vault’s curator as Sentora.
| Market (collateral, LLTV) | Absolute cap | Allocation | Share of vault |
|---|---|---|---|
| sUSDe, 91.5% (contract) | 85.0M PYUSD | 100.96M PYUSD | 27.9% |
| kBTC, 86% (contract) | 195.0M PYUSD | 119.41M PYUSD | 33.0% |
| syrupUSDC, 91.5% (contract) | 76.0M PYUSD | 51.67M PYUSD | 14.3% |
| weETH, 86% (contract) | 75.0M PYUSD | 25.22M PYUSD | 7.0% |
| wstETH, 86% (contract) | 0 | Dust | 0% |
The relative cap on every market id above was 1e18, so the absolute caps did the work. The wstETH market had a zero cap with a dust allocation left. Morpho’s market listing tutorial treats a market as delisted once both its caps and its allocation are zero, and says rounding dust has to be told apart from real remaining exposure.
The sUSDe allocation sat above its 85M cap. The contract allows this, for the reasons in the previous section. We did not check which of them applies here, so read it as an example of the mechanism and nothing more.
How do caps affect deposits and withdrawals?
Caps also decide whether a deposit goes through. New deposits route to the vault’s liquidity adapter, and the liquidity docs say a deposit reverts if it would breach a cap on any id the liquidity adapter touches. There is no fallback to idle.
Because relative caps are measured against total assets before the deposit, a large deposit can revert even when the resulting share would sit within the cap. If deposits fail on a vault you hold, a cap is a likely reason. Someone with curator or allocator powers has to raise the cap, reallocate or change the liquidity adapter.
Caps matter when a curator removes an adapter too. Morpho’s adapter tutorial says every id exclusive to the adapter must be capped at zero before the timelocked removeAdapter call. Without that step, an allocator could push assets into the adapter during the timelock, and the docs warn those assets would be lost to the vault’s users, because removeAdapter does not revert when the adapter still holds assets.
How do caps work in Morpho Vault V1?
In Vault V1 the Curator sets one supply cap per Morpho market, and a market with a non-zero cap is enabled. Morpho’s roles page says raising a supply cap, which includes enabling a new market, is timelocked, while lowering one is immediate.
V1 has no collateral-level or adapter-level caps. To limit exposure to one collateral token across several markets, a V1 curator has to keep the sum of the market caps in check by hand.
How do you read a vault’s caps yourself?
You can read every cap and allocation from the vault contract, given the id hash.
- Find the vault’s adapters with
adaptersLengthandadapters(i)on Read Contract. - Build the id data with the formulas above, then hash it with keccak256. The getters take the hash; the setters take the unhashed data.
- Read
absoluteCap(id),relativeCap(id)andallocation(id). - Divide each allocation by
totalAssetsto get its share, and compare it with both caps. - Check pending
increaseAbsoluteCapandincreaseRelativeCapsubmissions in the vault’s logs, and their timelocks.
Our guide to the Morpho vault timelock explains how to read the delay on cap increases. The Morpho entry and the vault curators category cover who sets caps on each vault.
What should a depositor take from caps?
A cap tells you what the curator intends to allow, and the allocation tells you what the vault holds now. Read both, and treat an allocation above its cap as a prompt to ask the curator about the plan. If a capped market does take a loss, our guide to Morpho bad debt explains how it reaches depositors. Caps also bound what the Morpho Public Allocator can move into a market on a borrower’s request.
This guide is educational and is not investment advice. Vault and yield content on this site is not aimed at US investors.
Questions
- What is the difference between an absolute cap and a relative cap on Morpho?
- An absolute cap is a fixed maximum amount of the vault's asset that can be allocated to a risk id. A relative cap is a maximum share of the vault's total assets, written in WAD units where 1e18 equals 100%. Both apply at the moment of allocation.
- Can a Morpho vault hold more than its cap in a market?
- Yes. Morpho's docs say caps are checked when assets are allocated and not when they leave the vault, so interest, donations or withdrawals from elsewhere can push an allocation above its cap without breaking any rule.
- Does lowering a cap withdraw funds from a market?
- No. Lowering a cap, even to zero, blocks new allocations to that id and moves nothing. The Allocator has to deallocate to reduce existing exposure.
- Who can change Morpho vault caps?
- In Vault V2 the Curator raises caps through a timelocked proposal, and the Curator or a Sentinel can lower them at once. In Vault V1 the Curator sets per-market supply caps, with increases timelocked and decreases immediate.
Sources
- Liquidity Curation, Morpho Docsaccessed
- Curate Adapters (Vaults V2), Morpho Docsaccessed
- Morpho Vault V2, Morpho Docsaccessed
- Morpho Vaults V2 contract reference, Morpho Docsaccessed
- Roles and Capabilities, Morpho Docsaccessed
- VaultV2.sol, morpho-org/vault-v2 on GitHubaccessed
- Paypal USD Main vault contract (absoluteCap, relativeCap, allocation and totalAssets read onchain), Etherscanaccessed
- Morpho API (cap ids mapped to markets, and curator label for the Paypal USD Main vault)accessed