Blockchain IQ

Smarter research for the on-chain economy.

← All posts

Explainer · Exchanges

CEX vs. DEX, explained

September 28, 2026

"Exchange" gets used for two genuinely different things in crypto — a centralized platform that works a lot like a brokerage, and a decentralized one that works nothing like it. Mixing them up is where most of the confusion about custody and risk actually starts. Here is what actually happens on each, who holds custody in each case, and the real tradeoffs in speed, cost and control.

Two ways to trade, one word used for both

A centralized exchange — a CEX — works close to a traditional brokerage. A trader creates an account, deposits funds, and the exchange holds them on their behalf. When they place a trade, the exchange's own internal system matches the order against other users' orders, the same way a stock exchange does. It's fast, familiar and simple to use — but every part of that convenience depends on trusting one company to run the matching engine honestly and hold customer funds safely.

A decentralized exchange — a DEX — works completely differently. There is no company holding funds and no central order book matching trades. Instead, a trader connects their own self-custody wallet directly and trades against a liquidity pool — a shared pot of two assets that a formula prices automatically, funded by other users who deposit into it to earn trading fees. Nobody at a company ever takes custody of the funds; the trade executes as a smart contract, the same code running the same way for everyone who calls it.

What actually happens on each

  • CEX. You deposit funds, the exchange holds them, and its internal matching engine pairs your order against other users' orders. Nothing is written to a public blockchain until you withdraw.
  • DEX. You keep funds in your own wallet, and a smart contract executes the trade directly against a liquidity pool. The pool's pricing formula is the same mechanism behind DeFi lending and trading more broadly — see Blockchain IQ's DeFi explainer for how that pricing actually works.

Custody: the difference that matters most

That's the difference that actually matters most, and it's the same one behind "not your keys, not your coins." On a CEX, the exchange holds custody — convenient, but a trader is trusting its solvency and security, and if it freezes withdrawals or fails, funds are only as safe as what's left to honor the claim. On a DEX, the trader holds custody the entire time, so there is nothing to trust on that front — but that also means there's no company to call if funds go to the wrong address or a scam contract does the tricking. Removing the middleman removes counterparty risk and removes the safety net at the same time.

Speed, cost and which one for which situation

A few practical differences follow from that setup. A CEX's internal matching engine is typically faster and can offer a smoother experience for complex order types, because it doesn't have to write every step to a public blockchain. A DEX trade is a transaction on-chain, so it inherits that network's speed and fee, whatever they happen to be at the time. And a DEX can generally list any token with enough liquidity behind it the moment it exists, with nobody's approval required — a CEX decides what it lists, which is slower but adds a layer of vetting a fully permissionless system doesn't have.

A CEX is usually the simpler starting point, especially for converting between traditional currency and crypto, and for anyone who wants a support line and a familiar interface. A DEX matters most when self-custody itself is the point — trading without ever giving up control of funds, or reaching a token that hasn't been listed anywhere else. Plenty of people end up using both, for different reasons, rather than treating it as a single either-or choice.

The read

CEX and DEX aren't competing for the exact same job. One trades convenience for trust in a company; the other trades that trust for full personal responsibility. Knowing which one a given trade is actually using, and why, is the kind of basic literacy that prevents expensive mistakes — and it's the same custody question that sits underneath every other decision in crypto, from wallets to stablecoins to DeFi itself.

This is general-circulation educational content, not investment or legal advice. Nothing here is a recommendation to use any particular exchange, centralized or decentralized.

For how the liquidity pool and pricing formula behind a DEX actually work, see Blockchain IQ's DeFi explainer.

Free to read. The data is the subscription.

These explainers are the groundwork. The current numbers, the deal-by-deal detail and the analyst’s read live in the research — reviewed before it reaches you.