A supply cap limits the total tokens supplied to a reserve, while a borrow cap limits the total tokens borrowed; reaching either cap blocks new supply or new borrowing, respectively.
A reserve is the market for one asset. Its supply cap measures that asset across all suppliers, and its borrow cap measures debt in that asset across all borrowers. These limits bound the protocol’s exposure to one asset; they are separate from the amount your own collateral lets you borrow. In Aave V3, cap settings use whole tokens, and a setting of zero means no cap.
The totals include accrued interest, not just the tokens users originally deposited or borrowed. Interest increases outstanding debt while loans remain open. It also increases the amount of the supplied asset owed to suppliers. Either total can therefore reach its cap without a new deposit or loan. The next transaction that would add to a full total is blocked; existing balances are not cut back to fit the ceiling.
Interest rates make that change easier to picture. As an interest-rate anchor, the DSR has helped set SparkLend’s DAI borrowing cost; interest on outstanding DAI loans can then move the borrowed total toward its cap without another loan.
Say you want to supply WETH and borrow DAI on SparkLend. If the WETH reserve is full, your deposit fails with SUPPLY_CAP_EXCEEDED. A separate DAI borrow cap could also be full: your new DAI loan would then fail with BORROW_CAP_EXCEEDED, even if you have enough collateral and the reserve has DAI available. The error identifies which asset-wide total has stopped the action.
A full supply cap does not, by itself, close borrowing under that asset’s borrow cap. A full borrow cap does not, by itself, close deposits under its supply cap. You can still withdraw supplied assets or repay debt when a cap is reached, subject to the usual liquidity and collateral requirements. Those actions can also create room for later deposits or loans.
SparkLend’s Cap Automator can raise supply and borrow caps gradually within governance limits. A reserve that is full now may reopen hours later after its cap rises. The next transaction still needs enough room under the cap when it executes.