CEX vs DEX: Which Should You Use?

In short
CEX vs DEX, decided simply: when a centralized exchange like Coinbase is the right tool, when a DEX like Uniswap is, and why most people use both.
CEX vs DEX comes down to one question: who holds your coins. On a centralized exchange — a CEX such as Coinbase, Binance or Kraken — the company does, and you get an account, a password and a support line. On a decentralized exchange, a DEX such as Uniswap, you do: you connect a wallet, swap, and no firm ever touches the money. Both are real markets. They simply fail in different ways.
When is a CEX the better choice?
Almost always for a first purchase. A CEX accepts bank transfers and cards, so it is the bridge from ordinary money into crypto, and a DEX cannot be — it only trades one token for another. Centralized exchanges also hold deeper liquidity on the big pairs, meaning a large order moves the price less, and they offer the one thing software cannot: a human to email when something goes wrong. The price of all that is trust. Your balance is an entry in their database, accounts do get frozen, and exchanges do fail — FTX was holding customer coins in 2022 and could not hand them back.
When is a DEX the better choice?
When you want custody of your own coins, and when the token you are after is not listed anywhere else. New tokens appear on a DEX first, often long before a large exchange considers them. A DEX never asks for identity documents and never closes for a holiday. In return you take on network gas fees, scam tokens that anyone is free to create, and complete responsibility: nobody can reverse a transaction you approved.
Do you have to pick one?
Most people use both, and that is the honest answer. Buy on a CEX with a bank transfer, move anything you plan to keep into a wallet you control, and use a DEX for the trades a CEX simply cannot do.
A rule worth starting with: leave on an exchange only what you are actively trading, and move the rest out the same week. Centralized exchange vs decentralized exchange takes the differences one at a time, and what a DEX is explains the swap itself.