Crypto exchanges explained: CEX vs DEX

Beginner 2 min read ยท Updated 2026-11-05

Key takeaways
  • A centralized exchange (CEX) is a company that holds customer funds and matches buy and sell orders.
  • A decentralized exchange (DEX) is a set of smart contracts you trade with directly from your own wallet.
  • CEXs bring convenience, fiat on-ramps and support, plus counterparty risk. DEXs give self-custody, plus smart-contract and scam-token risk.
  • Several large exchange failures (Mt. Gox in 2014, FTX in 2022) are why many people move long-term holdings off exchanges.

Centralized exchanges (CEX)

A centralized exchange works like a brokerage: you create an account, verify your identity, deposit money, and trade. The exchange keeps an internal order book and holds the coins on your behalf.

  • Pros: easy to use, can convert to and from regular currency, customer support, account recovery.
  • Cons: you trust the company with your funds. Exchanges have been hacked, have frozen withdrawals, and have collapsed. Mt. Gox halted withdrawals in 2014 after losing hundreds of thousands of bitcoin, and FTX filed for bankruptcy in November 2022 after customer funds were found to have been misused.

Decentralized exchanges (DEX)

A DEX runs on a blockchain. Instead of an order book run by a company, many DEXs use automated market makers: pools of two tokens supplied by users, where a formula sets the price. You connect a self-custody wallet and swap directly with the pool.

  • Pros: you keep custody until the moment of the trade, no account needed, access to many tokens.
  • Cons: network gas fees, smart-contract bugs, slippage (the price moving as you trade, especially in small pools), and lots of scam tokens. Anyone can create a token with any name, including fake copies of real ones.

How to use either more safely

  • On a CEX: strong 2FA, withdrawal address allow-lists, and don't keep more there than you need for trading.
  • On a DEX: check the token's contract address from the project's official source, set a sensible slippage limit, and review what your wallet is asking you to sign.

Frequently asked questions

Do I need ID to use a DEX?

Usually not, because you connect a wallet rather than an account, but local laws still apply to you.

Why do prices differ between exchanges?

Each exchange has its own buyers, sellers and liquidity. Arbitrage traders usually keep prices close.

What is 'proof of reserves'?

A disclosure some exchanges publish to show they hold the assets they owe customers. It's helpful but not a full audit of liabilities.

Sources and further reading

This guide explains how things work; it isn't financial, legal or tax advice. Crypto is volatile and you can lose money.

๐Ÿ˜‚ Laugh version: the Hall of Shame