DeFi Wikipedia

What is a collateralized debt position (CDP)?

2023-05-03 04:08:34 UTC
A Collateralized Debt Position (CDP) is a smart contract-based mechanism used in some DeFi (Decentralized Finance) platforms, particularly in lending and borrowing protocols, to allow users to generate stablecoins or borrow funds by locking up their cryptocurrency assets as collateral.


CDPs are most commonly associated with MakerDAO, a DeFi platform built on the Ethereum blockchain, which allows users to create the DAI stablecoin using their cryptocurrency assets as collateral. Here's how CDPs work in MakerDAO:

  1. Locking collateral: To create a CDP, a user locks up their collateral, usually Ether (ETH) or other supported assets, in a smart contract. This collateral acts as security for the debt created in the form of the DAI stablecoin.
  2. Generating stablecoins: Once the collateral is locked, the user can generate DAI stablecoins up to a certain percentage of the collateral's value, known as the collateralization ratio. The collateralization ratio must be maintained above a minimum threshold (e.g., 150% in MakerDAO) to ensure the stability of the borrowed DAI.
  3. Interest rate: The user is required to pay an interest rate, known as the Stability Fee, on the borrowed DAI. This interest rate is subject to change based on governance decisions and market conditions.
  4. Repaying debt: To close the CDP and unlock the collateral, the user must repay the borrowed DAI along with the accrued Stability Fee. The Stability Fee can be paid in DAI, MKR (MakerDAO's governance token), or other accepted forms, depending on the platform's rules.
  5. Liquidation: If the collateral's value falls below the required minimum collateralization ratio, the CDP may be liquidated. In this case, the user's collateral is automatically sold by the smart contract to repay the outstanding debt and maintain the stability of the DAI stablecoin. A liquidation penalty is usually applied, increasing the user's total repayment amount.

CDPs are an essential component of DeFi lending platforms, enabling users to borrow funds or generate stablecoins while maintaining the stability and security of the ecosystem. However, using CDPs comes with risks, such as price volatility and liquidation, so users should carefully assess the potential risks and manage their collateralization levels to avoid liquidation events.
EN / DE / FR / IT / TR / PL / TH / ES / ZH-CN / ZH-TW / PT-BR / PT-PT / RU / ID

© 2025 DeFi.io