DeFi Fundamentals
Decentralized Exchange (DEX)
A decentralized exchange is a peer-to-peer trading platform powered by smart contracts that allows users to swap tokens without a central intermediary.
A custodial crypto trading platform operated by a central company that matches buy and sell orders on behalf of users.
A centralized exchange (CEX) is a cryptocurrency trading platform operated by a company that acts as an intermediary between buyers and sellers. The exchange maintains custody of user funds, manages an order book to match trades, and provides the infrastructure for depositing, trading, and withdrawing digital assets. Centralized exchanges are the most widely used on-ramp into the crypto ecosystem and continue to account for the majority of global trading volume.
Familiar examples include Coinbase, Binance, Kraken, and Bybit. These platforms function similarly to traditional stock exchanges — users place buy and sell orders, and the exchange's matching engine pairs them together. The critical difference from decentralized alternatives is that the exchange, not the user, controls the private keys to deposited funds.
Most centralized exchanges require users to create an account and complete identity verification through KYC (Know Your Customer) processes before they can trade or withdraw funds. This typically involves submitting government-issued identification, proof of address, and sometimes biometric verification. KYC requirements exist because CEXs operate under the regulatory frameworks of the jurisdictions where they are licensed.
Once verified, users deposit funds — either fiat currency (via bank transfer, credit card, or other payment methods) or cryptocurrency from an external wallet. These funds are held in accounts managed by the exchange. Internally, the exchange may use a combination of hot wallets (for liquidity) and cold storage (for security) to safeguard assets.
When you see a balance on a CEX, you are looking at a database entry in the exchange's internal ledger, not tokens in a wallet you control. The exchange promises to honor that balance when you request a withdrawal, but the actual assets are pooled and managed at the exchange's discretion.
CEXs use sophisticated matching engines to pair buy and sell orders from their order book. These engines can process thousands of orders per second with minimal latency, enabling the fast execution speeds that active traders require. Most CEXs offer multiple order types — market orders, limit orders, stop-loss orders — and provide trading pairs across hundreds of assets.
One of the most significant advantages CEXs offer over decentralized alternatives is the ability to convert between fiat currencies and crypto. This makes them the primary entry point for new users who are buying their first cryptocurrency. Similarly, they serve as off-ramps for users who want to convert crypto holdings back to traditional money.
The distinction between centralized and decentralized exchanges (DEXs) is one of the most fundamental in crypto:
| Feature | CEX | DEX |
|---|---|---|
| Custody | Exchange holds funds | User holds funds |
| KYC Required | Usually yes | Usually no |
| Speed | Very fast | Depends on blockchain |
| Fiat Support | Yes | Rarely |
| Transparency | Opaque internal ledger | On-chain, verifiable |
| Counterparty Risk | High (trust the exchange) | Low (trust the code) |
CEXs sacrifice decentralization and self-custody in exchange for speed, convenience, and broader accessibility. DEXs trade some of that convenience for transparency and user control.
The central risk of using a CEX is counterparty risk — you are trusting the exchange to be solvent, honest, and secure. History has demonstrated repeatedly that this trust can be misplaced:
The crypto community's mantra "not your keys, not your coins" stems directly from these risks. Moving assets to a self-custody wallet after purchasing them on a CEX is widely considered a best practice.
Many centralized exchanges have expanded beyond trading into lending services, allowing users to earn interest on deposits or borrow against their crypto holdings. These CeFi lending products often offer simpler interfaces than DeFi protocols, but they carry the same counterparty risks as the exchange itself — your funds are only as safe as the company managing them.
Despite the risks and the growing capability of decentralized alternatives, centralized exchanges remain indispensable infrastructure. They provide the liquidity, fiat access, and user experience that onboards millions of people into crypto each year. For many users, a CEX is where their crypto journey begins — and understanding its tradeoffs is the first step toward making informed decisions about custody, security, and how to participate in the broader DeFi ecosystem.
Related Terms
DeFi Fundamentals
A decentralized exchange is a peer-to-peer trading platform powered by smart contracts that allows users to swap tokens without a central intermediary.
Risk & Security
Counterparty risk is the possibility that the other party in a financial agreement will default on their obligations.
Blockchain & Networks
KYC is the identity verification process that financial platforms use to confirm user identities and comply with regulations.
Blockchain & Networks
Self-custody is the practice of holding your own cryptocurrency private keys rather than entrusting them to a third party.