CEX vs DEX
Centralized and decentralized exchanges solve different problems. Here's how to pick.
Key takeaways
- A CEX (Binance, Coinbase, Kraken) custodies your funds and matches trades on its own order book.
- A DEX (Uniswap, dYdX, GMX) never holds funds — a smart contract executes trades from your wallet.
- CEX is more convenient + deeper liquidity but adds counterparty risk. DEX eliminates counterparty risk but adds smart-contract + self-custody risk.
- Almost everyone uses both: CEX for fiat on/off-ramp + major-pair trading; DEX for on-chain swaps + new tokens.
The fundamental split: who holds your keys
The only non-negotiable difference between CEX and DEX is custody. On a CEX, the exchange holds the private keys to the wallets your deposited crypto lives in. Your "balance" is a database entry owed to you by the exchange — exactly like a bank account. On a DEX, the private keys stay in your wallet. Trades happen atomically via smart contracts; at no point does the DEX protocol control your funds.
Everything else (fees, liquidity, UX, regulation) flows from this core split.
CEX strengths
- Fiat on-ramp — deposit USD / EUR / GBP via bank transfer or card
- Deep liquidity on major pairs (BTC/USDT, ETH/USDC) — tight spreads at high volumes
- Customer support — password reset, dispute resolution, human escalation
- Forgiving UX — wrong-network withdrawals can often be recovered
- Advanced trading — margin, futures, options, API access, order types (stop-limit, trailing stop, OCO)
- Regulated in major jurisdictions — legal recourse if things go wrong
CEX risks
- Counterparty risk — FTX, Celsius, BlockFi, Voyager all failed in 2022–2023. Customers lost funds.
- Regulatory action — Binance $4.3B DOJ settlement, Kraken SEC case, Gemini UK exit all forced user migrations
- Withdrawal freezes — exchanges can halt withdrawals during market stress, hacks, or bank problems
- Hacks — Mt. Gox, Bitfinex 2016, Coincheck 2018, WazirX 2024, rare but catastrophic
- KYC + privacy — your trading history and balance are visible to the exchange and, via subpoena, to governments
DEX strengths
- Self-custody — you never deposit; your funds are never at risk from a company collapsing
- Permissionless — trade anything listed without KYC at the protocol level
- New-token access — tokens list on DEX first, often days or months before any CEX
- Composability — DEX swaps plug into lending, staking, yield protocols in the same transaction
- Transparency — all trades and liquidity on-chain and auditable
DEX risks
- Smart-contract risk — the DEX contract or a bridge it uses can have bugs. Notable: Ronin Bridge $625M (2022), Wormhole $325M (2022), Nomad $190M (2022)
- Rug pulls — low-barrier listings mean malicious tokens can trade until discovered
- Gas costs — on Ethereum L1 a swap can cost $5–$50 in gas. Prohibitive for small trades
- Front-running / MEV — bots see your transaction in the mempool and front-run large trades
- Self-custody burden — lose your seed phrase, lose your funds. No reset, no support
- No recourse — send to wrong address, funds gone. Approve a malicious contract, funds gone.
- Fiat on-ramp still centralized — to get into crypto from fiat you still need a centralized service somewhere
Fee comparison 2026
Order-book CEX (maker/taker on Binance, Kraken Pro, Coinbase Advanced): 0.08%–0.60% per side. See exchange fees explained.
DEX (Uniswap v3, Curve, PancakeSwap): 0.05%–1.00% protocol fee + gas. On Solana / Arbitrum / Base: total ~0.10%–0.40% per swap. On Ethereum L1 during congestion: $10–$30 flat regardless of trade size.
Who should use what
- Beginner, any jurisdiction: start with a regulated CEX (Coinbase, Kraken, Binance where available). Learn the basics.
- Long-term holder: CEX for buying, hardware wallet for holding. Never leave long-term stack on any exchange.
- Active DeFi user: CEX for fiat on/off-ramp, DEX for swaps and yield. Keep hot-wallet balances small.
- Privacy-focused: DEX via non-KYC fiat on-ramps (P2P, local in-person) if legally allowed — minimizes data collection. Trade-off: no recourse if things go wrong.
- Large trader ($1M+): split across multiple CEXes in different jurisdictions + self-custody + OTC desk for big blocks. Pure DEX-only at this scale is viable but operationally complex.