Crypto Exchanges: CEX vs DEX
Crypto exchanges let you buy, sell, and trade coins — centralized exchanges offer convenience while decentralized exchanges offer self-custody and trustlessness.
Crypto Exchanges: CEX vs DEX
A crypto exchange is where buyers and sellers meet to trade. They split into two types: centralized (CEX) platforms run by companies, and decentralized (DEX) protocols run by code.
To get from fiat to crypto, you need an exchange. To trade one coin for another, you also need an exchange. But which type — centralized or decentralized — depends on what you're doing and how much you trust third parties.
What is a crypto exchange?
A crypto exchange is a marketplace where users can swap one cryptocurrency for another, or trade between crypto and fiat. They set prices through order books or automated market makers, take fees on each trade, and custody funds (in the CEX case) or settle on-chain (in the DEX case).
Centralized exchanges (CEX)
A CEX is run by a company. Examples include Binance, Coinbase, Kraken, and Bybit.
How they work:
- You deposit fiat or crypto into an account the exchange controls
- You trade against the exchange's order book
- Withdrawals move funds to your own wallet
Pros:
- Fiat on-ramps (bank transfer, card)
- High liquidity and fast execution
- Advanced order types (limit, stop, OCO)
- Customer support and recovery options
- Lower fees on high-volume tiers
Cons:
- You don't control your keys (counterparty risk)
- KYC identity verification required
- Can freeze accounts or impose withdrawal limits
- History of hacks and collapses (FTX, Mt. Gox)
Decentralized exchanges (DEX)
A DEX is a smart contract protocol. Examples include Uniswap, Curve, and PancakeSwap. No company controls them.
How they work:
- You connect your own wallet (e.g., MetaMask)
- Trades settle on-chain through liquidity pools
- You keep custody of your funds until the trade executes
Pros:
- Self-custody — no counterparty risk
- No KYC, no account creation
- Permissionless — anyone can list or trade any token
- Often the only way to access brand-new altcoins early
Cons:
- No fiat on-ramp (need crypto first)
- Higher slippage on large trades
- Gas fees during network congestion
- Smart contract risk (bugs can drain pools)
- Phishing and malicious token risk
CEX vs DEX comparison
| Feature | CEX | DEX |
|---|---|---|
| Custody | Exchange holds funds | You hold funds |
| Fiat trading | Yes | Rarely |
| KYC | Required | Not required |
| Speed | Instant off-chain | On-chain (seconds–minutes) |
| New tokens | Limited selection | Any token with liquidity |
| Risk | Exchange failure | Smart contract bugs |
| Fees | Trading fees + spreads | Gas + pool fees |
How to choose
- First crypto purchase → CEX (fiat on-ramp)
- Buying major coins → CEX (better prices)
- Trading new altcoins → DEX (only place they exist)
- Holding long-term → Buy on CEX, withdraw to your own wallet
- DeFi participation → DEX only
Red flags to avoid
- Exchanges promising unrealistic yields on deposits
- New exchanges with no public team or audit
- Pressure to deposit quickly before "listings"
- Withdrawal delays or excuses during market stress
- No proof of reserves
Tip: After the FTX collapse, "proof of reserves" became standard. Use exchanges that publish them.
Safe exchange practices
- Spread funds across more than one exchange
- Enable two-factor authentication (use an app, not SMS)
- Withdraw most funds to a hardware wallet when not actively trading
- Use unique, strong passwords
- Whitelist withdrawal addresses
Bottom line
CEXs are the gateway to crypto for most beginners — convenient, fast, and fiat-friendly. DEXs are where crypto-native trading happens — self-custodial, permissionless, and riskier. Most traders use both, matching the tool to the job while keeping long-term holdings in their own wallet.