Skip to main content
DFR Publication
Donate
← DeFi glossary

Glossary · C

CDP (Collateralised Debt Position)

Key takeaway

A smart contract mechanism where users lock crypto assets as collateral to mint (borrow) a stablecoin. The CDP enforces over-collateralisation — you must deposit more value than you borrow — and automatically liquidates collateral if the value falls below the minimum ratio. MakerDAO's Vault (which mints DAI), Liquity's Trove (which mints LUSD), and Curve's crvUSD positions are all CDPs.

Last updated

How CDP works in practice

A CDP is a position where you lock collateral and mint a stablecoin against it. Unlike borrowing from a pool of other people's deposits, the debt is created on demand and destroyed on repayment — you are borrowing from the protocol itself.

Worked example

Locking 10,000 of ETH in a CDP at a 150% minimum ratio lets you mint up to about 6,666 of its stablecoin. Repaying the debt burns those tokens and releases the collateral. The supply of the stablecoin is the sum of everyone's outstanding debt.

Figures are illustrative and chosen to be checkable, not live market data.

The mistake that costs people money

Forgetting the stability fee. Interest accrues on the minted debt continuously, so the amount needed to close the position grows over time. A position left untouched for a year needs more repaid than was minted.

CDP: common questions

What is CDP?
A smart contract mechanism where users lock crypto assets as collateral to mint (borrow) a stablecoin. The CDP enforces over-collateralisation — you must deposit more value than you borrow — and automatically liquidates collateral if the value falls below the minimum ratio. MakerDAO's Vault (which mints DAI), Liquity's Trove (which mints LUSD), and Curve's crvUSD positions are all CDPs.
Which DeFi concepts are most closely linked to CDP?
CDP is closely connected to Vault, Collateral, Liquidation. Understanding how these concepts interact helps evaluate real yield, execution costs and smart-contract risk in decentralised finance.
What is the main risk or misconception around CDP?
Forgetting the stability fee.
Which guide covers CDP in practice?
Read "How to Use Resupply: reUSD, sreUSD & RSUP Guide" for full context on how CDP affects real DeFi workflows, costs and risk management.

Related DeFi glossary terms

  • Vault In DeFi, a vault is a smart contract that automatically manages a yield strategy — typically depositing user assets into one or more protocols, compounding rewards, and optimising for returns. Yearn Finance popularised the vault model. In MakerDAO, a vault is the collateralised debt position where users lock assets to mint DAI.
  • Collateral Assets deposited as security for a loan. In DeFi lending (Aave, Compound), collateral must exceed the borrowed amount — called overcollateralisation. If the collateral value falls below the required ratio, it is automatically liquidated to repay the loan.
  • Liquidation The automatic closure of a borrower's collateralised position when the collateral value falls below the required ratio. In DeFi lending, smart contracts and liquidation bots execute this without human intervention. Liquidated borrowers typically receive a smaller amount of collateral back after a liquidation penalty is deducted.
  • Health Factor A numeric score in DeFi lending protocols (Aave, Compound, Morpho) that represents the safety of a collateralised borrowing position. Health Factor = (collateral value × liquidation threshold) ÷ borrow amount. A health factor above 1 means the position is safe; below 1 triggers automatic liquidation. Maintaining a health factor of 1.5+ is a common recommendation for comfortable buffer against liquidation from market volatility.
  • Liquidity Provider A user who deposits tokens into a DeFi liquidity pool or lending market to provide capital for trading or borrowing. In AMMs, LPs deposit token pairs (e.g., ETH and USDC) into a pool and earn trading fees in return. In lending protocols, LPs (suppliers) deposit single assets and earn interest from borrowers. LPs take on risks including impermanent loss (for AMMs), smart contract risk, and counterparty risk (for lending).
  • LTV (Loan-to-Value) The ratio of the amount borrowed to the value of the collateral, expressed as a percentage. LTV = (borrow amount ÷ collateral value) × 100. A lower LTV means more overcollateralisation and lower liquidation risk. Most DeFi lending protocols set maximum LTV ratios by collateral type (e.g., ETH max LTV of 80% on Aave) and liquidate positions where LTV exceeds the liquidation threshold.