CEX vs. DEX: How Crypto Exchanges Actually Work
Centralized and decentralized exchanges fail in completely different ways. How each actually works and how experienced users combine them.
Almost everyone's first crypto purchase happens on an exchange, yet few people could explain what actually happens when they hit "buy" — or what the real difference is between Coinbase and Uniswap. The distinction matters, because the two models fail in completely different ways.
Centralized exchanges: the brokerage model
A centralized exchange (CEX) — Binance, Coinbase, Kraken — works like a stock brokerage. You deposit money, the exchange credits your account, and trades happen on the exchange's internal order book: a list of buy and sell orders matched by price. It's fast and cheap because none of this touches a blockchain — the exchange just updates its own database. Crypto only moves on-chain when you deposit or withdraw.
The convenience is real: bank transfers in, customer support, familiar interfaces, deep liquidity, and extras like recurring buys (the easy way to run dollar-cost averaging).
The catch is custody. Coins on an exchange are an IOU — the exchange holds the keys, you hold a claim. That's fine until it isn't: Mt.Gox (2014) and FTX (2022) both showed what happens when the custodian fails or commits fraud. Billions of dollars of "customer balances" turned out not to exist. Hence the oldest rule in crypto: not your keys, not your coins — covered in depth in our hot vs. cold wallets guide.
Decentralized exchanges: trading against a pool
A decentralized exchange (DEX) — Uniswap, Curve, PancakeSwap — has no company holding your funds and usually no order book. Instead, liquidity providers deposit token pairs into a pool, and a formula prices every trade against it. You connect your own wallet, sign a transaction, and tokens swap directly on-chain. Custody never leaves your hands.
The trade-offs run the other way. Every trade costs gas (small on Layer 2s, painful on Ethereum mainnet during congestion). There's no fiat on-ramp — you need crypto to start. There's no support desk, and the permissionless listing that makes DEXs open also makes them the natural habitat of scam tokens: anyone can create a token and a pool in minutes.
Side by side
| CEX | DEX | |
|---|---|---|
| Custody | Exchange holds keys | You hold keys |
| Speed/cost | Fast, low fees | Blockchain speed, gas fees |
| Fiat (USD/EUR) | Yes | No |
| KYC | Required | None |
| Main risk | Exchange insolvency/hack | Smart-contract bugs, scam tokens, user error |
| Token selection | Curated | Everything, including garbage |
How people actually use both
In practice this isn't a religious choice; the patterns that work treat each as a tool:
- Fiat in and out happens on a CEX — there's no real alternative.
- Long-term holdings get withdrawn to self-custody rather than sitting on the exchange. After FTX, this stopped being paranoia and became basic hygiene.
- DEXs serve self-custodied funds, tokens not listed on big exchanges, and DeFi activity generally — with the understanding that you are your own risk department there.
One legitimate post-FTX improvement: major CEXs now publish proof-of-reserves attestations. They're imperfect (showing assets is easier than showing liabilities), but an exchange that publishes nothing at all is telling you something too.
The takeaway
A CEX is a financial company you must trust; a DEX is software you must understand. The first can lie to you, the second can only execute exactly what you sign — including your mistakes. Use centralized exchanges as a bridge from the banking world, keep long-term funds in your own wallet, and step into DEXs only at the pace at which you understand what you're signing.
Frequently asked questions
A centralized exchange (Binance, Coinbase) works like a brokerage: you deposit funds, it holds the keys, and trades happen on its internal order book — fast and cheap because none of it touches the blockchain. A decentralized exchange (Uniswap) lets you trade directly from your own wallet against a smart-contract liquidity pool, with no company holding your coins.
They fail in completely different ways. A CEX can be hacked, freeze withdrawals, or collapse with your funds (Mt.Gox, FTX) — you're trusting a custodian. On a DEX you keep custody, but you're exposed to smart-contract bugs, scam tokens, and your own mistakes, which are irreversible. Neither is simply "safer."
To keep custody of their coins, to access tokens before they list on major exchanges, and to use DeFi without asking anyone's permission — a wallet is all you need. The trade-off is no customer support, no password reset, and full responsibility for every transaction you sign.
Commonly, they use a CEX as the on-ramp — converting fiat to crypto with bank transfers and recurring buys — then withdraw to their own wallet to hold or to trade on DEXs. The CEX is the door in and out of the dollar world; the DEX is where they operate without a custodian.
Keep reading
Popular this week
- 01Rug Pulls Hall of Shame: Famous Crypto Exit ScamsAnalysis · 4 min
- 02Meme Coins: The Absurd Economics of Dogs and FrogsExplainer · 4 min
- 03AI Trading Agents: The Bots That Claim to Think for ThemselvesExplainer · 6 min
- 04OKX Exchange Review: The All-in-One App and Its Trade-offsAnalysis · 4 min
- 05BNB Chain Memecoins and the Ecosystem Most People IgnoreAnalysis · 4 min



