Article
CEX vs DEX: Where and How to Trade Crypto
Centralized exchanges vs decentralized exchanges - custody, fees, listings, KYC, and risk. When to use each, and why 'not your keys' decides more than you think.
Two very different ways to swap
A centralized exchange (CEX) like Coinbase, Binance, or Kraken is a company that runs an order book, holds your funds, and matches buyers with sellers. A decentralized exchange (DEX) like Uniswap or a chain-native swap is a set of smart contracts you trade against directly from your own wallet - no company in the middle.
The difference isn't cosmetic. It changes who holds your money, who can freeze it, what you can trade, and what can go wrong. Most people use both, for different jobs.
Custody: the decisive difference
On a CEX, the exchange holds the keys. That gives you conveniences - password resets, customer support, fiat on-ramps, fraud monitoring - but it means you're trusting a company to stay solvent and honest. 'Not your keys, not your coins' became a hard lesson every time an exchange froze withdrawals or collapsed with customer funds.
On a DEX, you never give up custody. You connect your wallet, the contract executes the swap, and the assets move directly between you and the pool. No account, no KYC, nothing to freeze. The flip side is there's no one to call: a bad signature, a wrong setting, or a malicious token is entirely on you. Custody convenience versus custody control is the central trade-off.
Fees, listings, and access
CEXs tend to have deep liquidity, tight spreads, and easy fiat conversion, but they list a curated set of assets, require identity verification, and can restrict users by region. DEXs let you trade almost anything the moment it launches - including, crucially, brand-new and risky tokens a CEX would never touch. That openness is a feature for early access and a hazard for getting rug-pulled.
Costs differ too. CEX trading fees are explicit percentages. DEX costs are gas plus slippage plus the pool's fee - cheap on an L2 or fast chain, painful on a congested mainnet. For tiny trades, gas can dominate; for exotic tokens, the DEX may be the only venue.
A practical split
A common, sensible setup: use a CEX as your fiat gateway and for large, liquid trades where deep order books and easy off-ramping matter - but don't store your long-term savings there. Move the bag you're holding to self-custody. Use a DEX for on-chain activity, new tokens, and anything you want to do without an intermediary.
Match the tool to the task and respect each one's failure mode: on a CEX, the company is your risk; on a DEX, your own signature is. Neither is 'safer' in the abstract - they're safe in different ways and dangerous in different ways. Knowing which danger you're holding at any moment is the whole skill.