PnL ProfitEncyclopedia
🌐 English

Centralized vs Decentralized Exchanges

7 min read · Updated Nov 23, 2026
More in Crypto Trading

A centralized exchange (CEX) is a company that runs an order book, matches trades on its own servers and holds customers' funds. A decentralized exchange (DEX) is software on a blockchain that lets users trade directly from their own wallets, with trades settled on-chain. The choice between them is mainly a choice about who you trust with your money, and it affects fees, speed, access and what can go wrong.

Key takeaways

  • On a CEX you hand your assets to the exchange; on a DEX you keep custody but take on smart contract and transaction risks.
  • CEXs usually offer tighter spreads on major pairs, fiat on-ramps and familiar order types; DEXs offer permissionless access to far more tokens.
  • The FTX collapse in November 2022 showed that an exchange balance is a claim on a company, not coins in your possession.
  • Proof of reserves can show that an exchange holds assets, but it rarely proves the exchange is solvent.
  • Aggregators route DEX trades across many pools to reduce price impact, but they do not remove MEV or contract risk.
On this page
  1. How a centralized exchange works
  2. How a decentralized exchange works
  3. Side-by-side comparison
  4. Counterparty risk and the FTX lesson
  5. Proof of reserves
  6. Fees and liquidity
  7. Aggregators
  8. Which to use
  9. Common mistakes

How a centralized exchange works

A CEX works much like a traditional exchange combined with a broker and a custodian. You deposit fiat or crypto, the exchange credits your account, and you trade against other users in a central limit order book. Trades between users are just entries in the exchange's database. Nothing moves on a blockchain until you withdraw.

That design is fast and cheap per trade. It supports market, limit, stop and other order types, margin trading and perpetual futures. The exchange also handles fiat deposits through banks and card processors, which is why most people's first crypto purchase happens on a CEX.

Most large centralized exchanges require identity verification, known as KYC (know your customer), to comply with anti-money-laundering rules. Requirements depend on the exchange's licenses and the user's country.

How a decentralized exchange works

A DEX has no company holding your funds. You connect a self-custody wallet, approve the DEX's smart contract to spend a token, and sign a transaction. The contract executes the trade and the tokens land back in your wallet in the same transaction.

There are two main designs:

  • Automated market makers (AMMs). Instead of an order book, traders swap against a pool of two tokens supplied by liquidity providers. A formula sets the price based on the ratio of tokens in the pool. Larger trades move the price more. See DeFi trading for the constant-product math.
  • On-chain order books. Some DEXs, particularly perpetual futures venues on high-throughput chains or dedicated app-chains, run a limit order book with on-chain or hybrid matching. They feel closer to a CEX while users keep control of their collateral through the protocol.

Many DEXs do not require KYC at the protocol level, although front-end websites may block certain countries and some jurisdictions are moving to apply rules to front ends and other intermediaries.

Side-by-side comparison

Feature Centralized exchange Decentralized exchange
Custody Exchange holds funds You hold funds in your wallet
Main risk Exchange insolvency, fraud, hacks, account freezes Smart contract bugs, malicious tokens, phishing, MEV
Identity checks Usually required Usually not at protocol level
Fiat deposits Yes No (crypto only)
Token selection Curated listings Almost any token, including scams
Costs Maker/taker fees, withdrawal fees Pool or trading fee plus network gas
Speed Milliseconds Depends on block time, from under a second to minutes
Support and recovery Customer support, password reset None; lost keys or bad signatures are permanent
Transparency Internal books, audited to varying degrees Transactions and pool balances public on-chain

Counterparty risk and the FTX lesson

FTX was one of the largest crypto exchanges in the world until November 2022. Within days of reports questioning its balance sheet, customers rushed to withdraw, FTX halted withdrawals, and it filed for bankruptcy on November 11, 2022. It emerged that customer funds had been used by an affiliated trading firm. The founder was convicted of fraud in November 2023.

The lesson for traders is structural. On a CEX:

  • Your balance is a liability of the exchange, not coins held in your name.
  • If the exchange is insolvent, customers may wait years in bankruptcy to recover part or all of their claims.
  • An exchange can also freeze withdrawals or accounts for compliance reasons, or be hacked. In February 2025, attackers linked by the FBI to North Korea stole about $1.5 billion in Ether from Bybit after compromising the wallet interface used to approve a transfer. Bybit remained solvent and covered the loss, but not every exchange could.

Earlier failures, such as Mt. Gox in 2014, followed similar patterns. DEXs avoid this single point of failure but add their own: a bug in a smart contract can be exploited to drain a pool, and there is no company to compensate users.

Proof of reserves

After FTX, many exchanges began publishing proof of reserves. Typically the exchange publishes the wallet addresses it controls and a Merkle tree of customer balances, so each user can check their balance was included.

Proof of reserves is useful but limited:

  • It shows assets at one moment. Funds can be borrowed for the snapshot and returned afterward.
  • It often does not show liabilities fully. An exchange can hold $10 billion in assets and owe $12 billion.
  • Assets may include the exchange's own token, whose value could collapse in a crisis.
  • An attestation by an accounting firm is not the same as a full audit.

Treat proof of reserves as one signal among many, alongside licensing, track record and how much you keep on any single venue.

Fees and liquidity

Worked example: a $5,000 swap

Suppose you want to buy $5,000 of ETH with USDC.

On a CEX: a 0.10 percent taker fee costs $5. The spread on ETH/USDC at a large exchange is often a cent or two on a price of thousands, so negligible. If you then withdraw the ETH to your own wallet, add a withdrawal fee, which varies by exchange and network.

On an AMM DEX: a 0.30 percent pool fee costs $15. If the pool holds $20 million of liquidity, a $5,000 trade moves the price only slightly, perhaps a few hundredths of a percent. Add the network fee, which can be a few cents on a layer-2 network or several dollars or more on Ethereum mainnet when it is busy. Lower fee tiers (0.05 percent or less) exist on many pools for major pairs.

For major pairs, a large CEX is often cheaper. For a token that only trades on-chain, a DEX may be the only option. For small, illiquid tokens, price impact on either venue can dwarf the fees, as covered in bid-ask spread and liquidity.

Aggregators

A DEX aggregator searches many pools and DEXs and splits a trade across them to get a better overall price. Well-known examples include 1inch and CoW Swap on Ethereum and Jupiter on Solana. Some aggregators settle orders through batch auctions or private order flow, which can reduce exposure to sandwich attacks.

Aggregators improve pricing but add another layer of smart contracts and another front end to trust. Always check that you are on the real site, since fake aggregator sites are a common phishing route.

Which to use

Many traders use both:

  • A CEX for fiat on-ramps, major pairs, tight spreads and derivatives.
  • A DEX for tokens not listed on exchanges, for keeping custody, or for on-chain strategies.

Whatever the mix, avoid holding more on any one exchange than you need for active trading, and secure your self-custody wallet properly. See wallet security and the general guide to brokers and exchanges.

Common mistakes

  • Leaving long-term holdings on an exchange because it is convenient.
  • Assuming proof of reserves means an exchange is safe.
  • Buying a token on a DEX by name rather than by verified contract address, and receiving a copycat token.
  • Setting high slippage tolerance on a DEX swap, which invites sandwich attacks.
  • Granting unlimited token approvals to contracts you do not need to use again.
  • Using an unlicensed exchange that later restricts withdrawals in your country.

FAQ

Is a DEX safer than a CEX?

Neither is simply safer. A DEX removes the risk of an exchange losing or misusing your funds, but you take on smart contract risk and full responsibility for your own security. A reputable, licensed CEX carries counterparty risk but offers support and account recovery.

Do decentralized exchanges require KYC?

Most DEX smart contracts do not check identity. Some front-end websites block users from certain countries, and rules in some jurisdictions are evolving, so check the current position where you live.

Why are DEX fees higher than CEX fees?

Standard AMM pools often charge 0.30 percent per trade, which goes to liquidity providers, plus a network fee. Many pools for major pairs now offer lower fee tiers, but large CEXs still tend to be cheaper for liquid pairs.

What is proof of reserves?

It is a disclosure in which an exchange shows wallet balances it controls and lets customers verify their balances were counted. It can show assets exist at a point in time but usually does not prove the exchange has no hidden liabilities.

Educational content only. Nothing here is financial, investment, legal or tax advice. Trading carries a high risk of loss, and leveraged products can lose more than you deposit. Rules, fees and platform details change: check current terms with your broker, exchange or regulator before you trade.