The Big Idea
Crypto exchanges divide into two main categories: Centralized Exchanges (CEX) and Decentralized Exchanges (DEX). CEXes are companies — Coinbase, Binance, Kraken — that hold your crypto, match your trades, and operate similarly to traditional stock brokerages. You sign up with KYC (Know Your Customer) verification, deposit funds, and trade through the company’s platform. DEXes are software protocols — Uniswap, Curve, dYdX — that run on blockchains. There’s no company holding your funds; you trade peer-to-peer through smart contracts. You connect your self-custody wallet, sign transactions yourself, and trade without an intermediary holding your assets. Each model has distinct advantages and trade-offs. Understanding both helps you choose appropriately for different crypto activities.
Think of CEX vs DEX like the difference between a regular bank and a peer-to-peer lending platform. With a traditional bank, you deposit money with the institution, they hold it, and they handle transactions through their internal systems. You trust the bank to safeguard your funds and process transactions correctly. With peer-to-peer lending, you connect directly with other parties through software that handles the matching. There’s no institution holding your money — you’re transacting directly with other users through technology. Both models have valid use cases. Banks offer convenience, regulation, and accountability. P2P offers privacy, lower costs in some cases, and direct interaction. Crypto exchanges work similarly: CEX is the bank model; DEX is the peer-to-peer model.
For beginners, CEXes are usually the starting point because they’re more familiar in their interface and processes. DEXes require more technical understanding — you need a self-custody wallet, you need to understand gas fees, you need to be careful about which contracts you interact with. But DEXes also offer things CEXes can’t — access to tokens not listed on major exchanges, true ownership without counterparty risk, participation in DeFi protocols. Most active crypto users eventually use both, choosing based on what they’re trying to accomplish.
How Centralized Exchanges Work
The Custody Model
When you deposit crypto on a CEX, you’re transferring it to addresses the exchange controls. The exchange holds your private keys. Your “balance” is a record in the exchange’s database, not necessarily a real on-chain position.
Order Books
CEXes use order book matching, similar to traditional stock exchanges:
- Buyers post limit orders at specific prices
- Sellers post limit orders at specific prices
- Market orders cross the spread to immediate execution
- The exchange matches buyers and sellers
Internal Settlement
Most CEX trades happen “internally” — the exchange just updates its database. The crypto doesn’t actually move on-chain for individual trades. This makes trading fast and inexpensive, but means the trade isn’t really “on the blockchain.”
The Major CEXes
- Coinbase — US-focused, publicly traded, regulated, beginner-friendly
- Binance — Largest globally by volume, more features but regulatory issues
- Kraken — Established, security-focused, US regulated
- Bybit — Derivatives focus, popular for futures
- OKX — Major Asian exchange
- Crypto.com — Marketing-heavy, retail-focused
- Robinhood Crypto — Limited but accessible
The Failed CEXes
Several major CEXes have failed catastrophically:
- Mt. Gox (2014) — At the time, ~70% of all Bitcoin trading; lost 850,000 BTC
- FTX (2022) — Top-3 exchange, fraudulent operations led to ~$8B customer losses
- Celsius (2022) — “Bank-like” platform that was actually high-risk
- BlockFi (2022) — Yield platform connected to FTX
- Voyager (2022) — Lending platform connected to Three Arrows Capital
The lesson: CEXes can fail. Even seemingly legitimate ones with positive reputations.
How Decentralized Exchanges Work
The Smart Contract Model
DEXes are smart contracts running on blockchains. They’re self-executing code that handles trades automatically based on programmed rules. No company holds your funds.
Automated Market Makers (AMMs)
Most popular DEXes use AMMs instead of order books. Here’s how:
- Liquidity providers deposit pairs of tokens (e.g., ETH and USDC) into a pool
- The pool maintains a mathematical relationship (typically X × Y = K)
- Traders swap one token for another by interacting with the pool
- Each trade slightly shifts the ratio, automatically adjusting prices
Example AMM Trade
A pool has 100 ETH and 200,000 USDC. The constant K = 100 × 200,000 = 20,000,000.
You want to buy ETH with USDC. You add USDC to the pool, which removes ETH (maintaining K).
The math automatically determines how much ETH you get based on how much USDC you add. Larger trades have more “slippage” because they shift the pool’s ratio more.
Order Book DEXes
Some DEXes use traditional order books on-chain:
- dYdX — Popular for derivatives
- Serum (now defunct) — Was on Solana
- Various newer order book DEXes on faster chains
These provide more familiar trading interface but face challenges around blockchain speed and gas costs.
The Major DEXes
- Uniswap — Largest DEX, originated AMM model
- Curve — Specialized for stablecoin trading
- SushiSwap — Uniswap fork with extra features
- PancakeSwap — Major DEX on BNB Chain
- 1inch — Aggregator that finds best prices across DEXes
- dYdX — Derivatives DEX
- GMX — Perpetual futures DEX
How You Use a DEX
- Connect your self-custody wallet (MetaMask, etc.)
- Approve the DEX contract to interact with your tokens
- Specify the trade you want
- Sign the transaction with your wallet
- Pay gas fees
- Receive your tokens directly to your wallet
The funds never leave your control. The DEX just facilitates the swap.
The CEX Advantages
Ease of Use
CEXes have polished interfaces designed for normal users. You sign up, verify, and trade like any traditional brokerage. No need to understand wallets, gas fees, or blockchain mechanics.
Fiat On/Off Ramp
CEXes let you buy crypto with regular money (USD, EUR, etc.) via bank transfer or credit card. They also let you withdraw to your bank. This is often the only way to actually move between fiat and crypto worlds.
High Liquidity
Major CEXes have deep liquidity. Trades execute at displayed prices with minimal slippage even for large orders.
Customer Support
If something goes wrong (forgot password, account issue), you can contact support. With DEXes, there’s no support — you’re on your own.
Regulatory Compliance
Major US-regulated CEXes operate within legal frameworks. This provides some consumer protections (deposit insurance for fiat, regulatory oversight).
Trading Features
CEXes offer:
- Margin trading
- Futures and options
- Stop losses and other order types
- Trading APIs
- Charts and analysis tools
- Mobile apps
Speed
Internal trades execute instantly. No waiting for blockchain confirmations.
Lower Fees for Many Trades
For active spot trading, CEX fees (often 0.1-0.5%) can be cheaper than DEX fees plus gas, especially during high gas periods on Ethereum.
The DEX Advantages
Self-Custody
Your funds never leave your control. No exchange can freeze your account, fail catastrophically, or restrict your access. The FTX-type events can’t affect your DEX-held assets.
No KYC Required
DEXes typically don’t require identity verification. You can trade with just a wallet address. This appeals to privacy-conscious users and those in jurisdictions without easy CEX access.
Access to All Tokens
DEXes list any token that has liquidity. CEXes have curation processes that exclude many tokens. New projects often appear on DEXes long before any CEX listing.
True Ownership
You hold your own keys. The “not your keys, not your crypto” principle is satisfied. No counterparty risk.
Permissionless Access
Anyone with internet and a wallet can use DEXes. No country restrictions, no account approvals, no withdrawal limits.
DeFi Integration
DEXes are part of the broader DeFi ecosystem. You can seamlessly move from trading to lending to yield farming to other DeFi activities, all through your single wallet.
Liquidity Provision
Users can become liquidity providers, earning fees from trades. This is a way to earn yield not available on most CEXes.
Censorship Resistance
Once a DEX is deployed, it’s very difficult to shut down. The smart contracts continue running regardless of any single party’s wishes.
The DEX Challenges
Gas Fees
Every DEX transaction requires gas fees. On Ethereum during congestion, this can be $20-100+ per trade. For small trades, gas can exceed the trade value itself.
Slippage
AMM trades have slippage proportional to size relative to pool liquidity. Large trades can experience significant slippage, especially in less liquid pools.
Frontrunning and MEV
“Maximum Extractable Value” — sophisticated bots see your pending transaction and trade ahead of it, capturing the price impact. Various solutions exist but the problem persists.
Smart Contract Risk
DEXes are software that can have bugs. Multiple DEX hacks have lost users millions. Audited code reduces but doesn’t eliminate this risk.
User Error
Self-custody means user mistakes are unrecoverable. Send to wrong address? Gone. Approve a malicious contract? Gone. The convenience of customer support doesn’t exist.
Liquidity Fragmentation
Liquidity is spread across many DEXes and pools. Best execution requires aggregators or careful selection.
Complexity
Wallet management, gas optimization, slippage settings, contract approvals — DEX use is technically more complex than CEX trading.
No Customer Support
If you make a mistake or something goes wrong, no one can help. The “decentralized” nature means there’s no central party with authority.
Tax Complexity
Every swap creates a taxable event. Multiple swaps create complex tax situations that are harder to track than CEX trading.
When to Use Each
Use CEX When:
- Buying crypto with fiat (USD, EUR, etc.)
- Selling crypto to fiat
- Active spot trading of major cryptos
- Using futures or margin (most CEXes only)
- You want customer support availability
- You prioritize ease of use over self-custody
- Small amounts you actively manage
Use DEX When:
- Trading tokens not on CEXes
- Participating in DeFi protocols
- Privacy is important to you
- You want true self-custody
- Yield farming and liquidity provision
- Avoiding KYC requirements
- Censorship resistance matters
The Hybrid Reality
Most active crypto users use both. The decision is per-trade, not lifetime:
- Use CEX to acquire crypto with fiat
- Move to self-custody wallet
- Use DEXes for DeFi activities and obscure tokens
- Move back to CEX when needing to sell to fiat
Examples of CEX vs DEX Use
Example 1 — Sarah’s First Buy
Sarah wants to buy her first $1,000 of Bitcoin. She uses Coinbase:
- Verifies identity
- Connects bank account
- Buys Bitcoin with USD
- Eventually moves to her hardware wallet for storage
This is appropriate. CEX is the right tool for fiat-to-crypto conversion. After acquisition, she moves to self-custody for security.
Example 2 — Jake’s DeFi Adventure
Jake wants to swap ETH for a small altcoin not listed on any CEX. The token is only available on Uniswap.
His process:
- Connects MetaMask wallet to Uniswap
- Approves Uniswap to spend his ETH
- Specifies the trade
- Pays $50 gas (Ethereum congestion)
- Receives the new token
This is the only way to make this trade. DEXes provide access that CEXes don’t. The $50 gas is the cost of accessing this market.
Example 3 — Maya’s Mixed Strategy
Maya is an active crypto user with a structured approach:
- Coinbase Pro — Active trading of Bitcoin, Ethereum, and major altcoins. Lower fees than retail Coinbase.
- Kraken — Backup CEX in case of Coinbase issues. Some unique listings.
- MetaMask + DEXes — DeFi participation, smaller altcoins, yield farming.
- Hardware wallet — Long-term holdings of major positions.
She uses each tool for what it does best. Trading happens on CEXes for liquidity. DeFi happens on DEXes. Long-term storage happens in cold storage. The right tool for each job.
Common Mistakes
- Treating CEX as long-term storage. FTX showed this risk dramatically.
- Using DEXes without understanding gas fees. Small trades can be entirely consumed by gas.
- Approving unlimited token spending on DEXes. Creates ongoing risk if contract is compromised.
- Trading tokens with no liquidity. Slippage and inability to exit cheaply.
- Falling for fake DEX websites. Phishing sites mimic real DEXes.
- Not setting slippage tolerance. Default settings can result in unexpected execution prices.
- Sending to wrong network. ETH on BSC, BSC tokens to Ethereum — irrecoverable.
- Trusting “guaranteed” yields. Sustainable DEX yields exist but extreme rates are usually scams.
- Concentrating in one CEX. Even regulated ones can fail.
- Avoiding KYC at the cost of losing funds. Some “no KYC” platforms are scams.
The Big Picture
CEX vs DEX is a fundamental distinction in crypto trading.
Here’s what to remember:
- CEX = company-operated exchange (Coinbase, Binance, etc.)
- DEX = smart contract-based exchange (Uniswap, Curve, etc.)
- CEXes hold your funds; DEXes don’t
- CEXes need KYC; DEXes don’t (typically)
- CEXes have customer support; DEXes don’t
- DEXes give access to all tokens; CEXes curate
- DEX transactions need gas fees; CEX trades are internal
- Multiple major CEXes have failed (FTX, Mt. Gox)
- DEXes carry smart contract risk but no exchange risk
- Most active users use both as appropriate
For beginners, the simplest framework: start with a major regulated CEX for fiat conversion and basic trading. As you learn more, add self-custody for storage. Eventually add DEX use for activities CEXes don’t support. This progression matches your skills to your tools.
The choice between CEXes also matters. US-based regulated exchanges (Coinbase, Kraken, Gemini) provide more consumer protections than offshore alternatives. The trade-off is fewer features and possibly higher fees, but with FTX still fresh, the value of regulation has been demonstrated.
For DEX use, the key skills are:
- Self-custody wallet management
- Gas fee awareness and optimization
- Slippage understanding
- Contract verification (avoid malicious tokens)
- Network selection (Ethereum vs L2s vs other chains)
These take time to develop but are essential for safe DEX use. Don’t rush into DEXes before you have these skills — mistakes are costly and unrecoverable.
The relationship between CEXes and DEXes evolves over time. CEXes have added more features. DEXes have improved usability. The lines blur as both improve. But the fundamental distinction remains: CEX means trusting a company; DEX means trusting smart contracts. Different trust models for different situations.
One specific consideration: regulatory pressure on both is increasing. CEXes face SEC scrutiny on whether tokens they list are unregistered securities. DEXes face questions about being unregistered exchanges. The regulatory landscape will continue evolving and may affect both models.
For most retail users, the practical approach is:
- One major CEX for buying with fiat and trading major coins
- Self-custody wallet for actual ownership of significant amounts
- DEX access via wallet for specific use cases (DeFi, obscure tokens)
- Hardware wallet for long-term holdings
This combines the strengths of each model while limiting the weaknesses. The CEX provides easy entry/exit. Self-custody provides true ownership. DEXes provide access to the full crypto ecosystem. Hardware wallet provides security for long-term value.
Whichever combination you use, understand the trust model you’re operating under. CEX = trust the company. DEX = trust the smart contract. Self-custody = trust yourself. Each has specific failure modes. Knowing them helps you avoid them.
Related Terms
- What Are Crypto Wallets? — Required for DEX use
- What Are Gas Fees? — Cost of DEX transactions
- Bitcoin and Altcoins — What you trade
- What Are Stablecoins? — Common DEX trading pairs
- On-Chain vs Off-Chain — DEX is on-chain, CEX largely off-chain
← Back to the Complete Trading Terms Glossary
Focus on the process. Trust the stats. Stay consistent.