Qaynaq LABS · TOOLS

CRYPTO GLOSSARY

Collateralized Debt Position (CDP)

A smart contract-based loan where a user locks up cryptocurrency as collateral to generate a stablecoin loan, which must later be repaid to reclaim the collateral.

Technical definition

A Collateralized Debt Position (CDP) is a type of secured loan facilitated by a decentralized protocol, typically on a blockchain like Ethereum. Users deposit cryptocurrency (e.g., ETH) into a smart contract as collateral and receive a loan in the form of a stablecoin (e.g., DAI). The collateral is over-collateralized to account for price volatility, ensuring the loan remains fully backed. The borrowed stablecoin must be repaid with a stability fee to unlock and retrieve the original collateral. CDPs are governed by algorithmic rules encoded in smart contracts, which automate liquidation if the collateral value falls below a predefined threshold.

An analogy

Imagine pawning a valuable watch at a pawn shop. You give the watch as collateral and receive a loan in cash. The pawn shop holds the watch until you repay the loan with interest. If the watch’s value drops too much, the pawn shop sells it to recover the loan. A CDP works similarly, but with cryptocurrency and automated smart contracts instead of a physical pawn shop.

Why it matters

CDPs enable users to access liquidity without selling their cryptocurrency holdings, allowing them to retain exposure to potential price appreciation while borrowing stablecoins for spending or further investment. They are a foundational mechanism in decentralized finance (DeFi) for creating non-custodial, trustless loans.

Where it came from

The concept of CDPs was popularized by MakerDAO, which launched the first decentralized stablecoin (DAI) in 2017 using Ethereum-based CDPs. MakerDAO’s system allowed users to generate DAI by locking up ETH as collateral, setting the standard for subsequent CDP implementations in DeFi.

Example in practice

A user deposits 2 ETH (worth $4,000 at $2,000/ETH) into a MakerDAO CDP and generates 1,000 DAI (a stablecoin pegged to $1). They use the DAI to pay for expenses or invest elsewhere. Later, they repay the 1,000 DAI plus a stability fee to reclaim their 2 ETH. If the price of ETH drops to $1,500, the CDP may be liquidated to ensure the loan remains fully collateralized.

Common misconceptions

  • CDPs are like traditional loans where you borrow against your collateral without risk → Correction: CDPs are over-collateralized, meaning you must deposit more value in collateral than the loan you receive, and you risk liquidation if the collateral’s value drops too much.
  • CDPs are only for borrowing stablecoins → Correction: While stablecoins like DAI are common, some CDPs allow borrowing other assets, though stablecoins are the most widely used due to their price stability.
  • CDPs are custodial, meaning a third party holds your collateral → Correction: CDPs are non-custodial; your collateral is held in a smart contract that you control, and no third party can seize it unless the collateralization ratio is breached.

Risks & limitations

  • Liquidation risk: If the collateral’s value drops below the required ratio (e.g., 150% for ETH in MakerDAO), the position is automatically liquidated, and the user may lose a portion of their collateral.
  • Smart contract risk: Bugs or exploits in the CDP’s smart contract code could lead to loss of funds, as seen in past DeFi hacks (e.g., the 2020 MakerDAO liquidation exploit).
  • Oracle risk: CDPs rely on price oracles to determine collateral value. If oracles are manipulated or fail, liquidations may occur incorrectly or not at all.
  • Volatility risk: Even with over-collateralization, extreme market volatility can lead to unexpected liquidations or losses.
  • Stability fee risk: The cost of borrowing (stability fee) can fluctuate, increasing the total repayment amount and reducing the net benefit of the loan.

Related terms

About "Collateralized Debt Position (CDP)" in crypto

Cryptocurrency vocabulary moves faster than any other technical field. New terms appear weekly, old terms quietly change meaning, and most "definitions" online were written by someone trying to sell you something. Qaynaq Labs' crypto glossary aims for the opposite: neutral, accurate, skeptical explainers that include the downside.

This entry covers the technical mechanics, a real-world analogy, where the concept came from, and what could go wrong. Pair it with the related terms to build a working mental model of how the pieces fit together.

Frequently asked

Can I use any cryptocurrency as collateral in a CDP?

No. CDPs typically only accept specific cryptocurrencies approved by the protocol (e.g., ETH, WBTC, or other high-liquidity assets). The collateral must be highly liquid to ensure it can be liquidated quickly if needed.

What happens if the price of my collateral drops significantly?

If the collateral’s value falls below the protocol’s liquidation threshold (e.g., 150% collateralization ratio for ETH in MakerDAO), the CDP is liquidated. A portion of your collateral is sold to cover the loan, and you may receive the remaining collateral back, but you lose the excess value that was liquidated.

Are CDPs taxable?

Tax treatment varies by jurisdiction. In many cases, using a CDP to generate a stablecoin loan may not trigger a taxable event, but repaying the loan or liquidating collateral could. Always consult a tax professional for jurisdiction-specific advice.

Can I withdraw my collateral at any time?

Yes, but only if the CDP’s collateralization ratio remains above the required threshold after withdrawal. If withdrawing collateral would cause the ratio to drop below the threshold, the withdrawal may be blocked or require additional collateral.

Are CDPs decentralized and trustless?

CDPs are decentralized in the sense that they operate via smart contracts on a blockchain, but they are not entirely trustless. Users must trust the protocol’s governance, oracles, and smart contract security. A single point of failure (e.g., a governance exploit) could impact the entire system.