Use a CEX (Coinbase, Kraken) for fiat on/off ramps, large trades with tight spreads, and when you need customer support. Use a DEX (Uniswap, Curve) when you want to keep custody of your funds, access tokens not listed on exchanges, or interact with DeFi protocols. Most active crypto users rely on both for different purposes.
CEX vs. DEX: When to Use Which
4 min read
The short version
CEX is a bank branch: convenient, has customer service, handles the fiat conversion, but holds your money for you. DEX is a peer-to-peer marketplace: you keep your own money the entire time, but you handle everything yourself and there is no phone number to call if something goes wrong. Use the bank branch for moving money in and out of crypto. Use the marketplace for trading and DeFi once your money is already in crypto.
How It Works
Decision framework. Use a CEX when: converting fiat to crypto (bank transfer, debit card), converting crypto back to fiat (withdrawing to your bank), trading large amounts where you need deep liquidity and tight spreads (BTC/USDT with 1 basis point spread vs 10+ on a DEX for the same size), you need limit orders, stop-losses, or margin trading with professional tools, you are new and want a guided experience with customer support. Use a DEX when: you want to maintain self-custody throughout the trade (funds never leave your wallet), you need tokens that are not listed on any CEX (new launches, small-cap, governance tokens), you want to provide liquidity and earn LP fees, you are interacting with DeFi (swaps are often the first step before depositing into lending or staking protocols), you value privacy (most DEXs require no account or identity verification), you are in a jurisdiction where CEX access is restricted. Cost comparison: CEX trading fees are typically 0.1-0.6% per trade. DEX fees include: pool fee (0.05-1%), gas for the swap transaction ($0.01-$15 depending on chain), and potential slippage/MEV on larger orders. For small trades on L2 DEXs, costs are comparable to CEXs. For large trades on Ethereum L1, CEXs are usually cheaper. The practical flow for most users: deposit fiat on CEX, buy ETH or stablecoins, withdraw to your own wallet, then use DEXs for everything else. Return to CEX only when you need to cash out to fiat.
The typical user flow combining both
You receive your monthly paycheck and want to put $500 into crypto. Step 1 (CEX): deposit $500 via bank transfer on Coinbase (free ACH, instant with debit card). Buy $500 USDC. Coinbase fee: ~$3. Step 2 (CEX to self-custody): withdraw 500 USDC to your MetaMask on Arbitrum. Coinbase withdrawal fee: ~$1. Step 3 (DEX): on Arbitrum, swap 250 USDC for ETH on Uniswap (0.05% fee + $0.10 gas = ~$0.23 total cost). Step 4 (DeFi): deposit the 250 USDC into Aave on Arbitrum to earn 4% lending yield. Stake the ETH in Lido for stETH earning 3.5%. Total cost of the entire flow: ~$4.23. Your funds are now in self-custody, earning yield, with no exchange holding your keys. To cash out later: reverse the flow (swap back to USDC on DEX, send to Coinbase, sell for USD, withdraw to bank).
What People Get Wrong
DEXs are only for advanced users
Modern DEX interfaces (Uniswap, 1inch) are as simple as any app: connect wallet, select tokens, set amount, confirm swap. The learning curve is connecting a wallet (one-time setup) and understanding gas fees. If you can use Venmo, you can use a DEX on Arbitrum.
CEXs are always safer than DEXs
CEXs introduce counterparty risk (FTX lost $8B in customer funds). DEXs introduce smart contract risk (bugs in the protocol code). Different risks, not necessarily more or less. For actively traded amounts, the difference is negligible. For stored amounts, self-custody (post-DEX) is arguably safer than leaving funds on any exchange.
You have to pick one or the other
Almost nobody uses exclusively one. The fiat on/off ramp problem means everyone needs a CEX at some point. The self-custody and DeFi access problem means active participants need DEXs. They are complementary, not competing. Use each for what it does best.
Keep Reading
Sources & Further Reading
Questions People Also Ask
- Which is cheaper for a $100 trade?
- On Ethereum L1: CEX is cheaper ($0.10-$0.60 vs $5-15 gas + pool fee on the DEX). On Arbitrum/Base/Optimism: roughly equal (DEX gas is $0.05-0.20, pool fee 0.05-0.3%, total ~$0.15-0.50 vs CEX fee of $0.10-0.60). On Solana: DEX is often cheaper than CEX ($0.01 gas). L2 DEXs have largely eliminated the cost advantage CEXs used to have.
- Can I get scammed on a DEX?
- Yes, by interacting with fake or malicious tokens (honeypots, scam contracts). A DEX does not vet what tokens are listed. Always verify contract addresses against official sources before trading. Use token lists (Uniswap default list) and check Token Sniffer before buying anything unlisted. The DEX itself (Uniswap, Curve) is safe; the risk is in which tokens you choose to trade.
- Do I need KYC for a DEX?
- No. DEXs are smart contracts that anyone can interact with from any wallet without identity verification. This is their core value proposition for privacy-conscious users. However, the fiat on-ramp (getting dollars into crypto) almost always requires KYC at some point (exchange, payment provider, or P2P platform).