Learn›Crypto›CEX vs DEX
Crypto · Lesson 09 of 12

CEX vs DEX

6 min read  ·  Intermediate  ·  Updated November 2026  ·  By

To buy or trade crypto, you need an exchange. There are two fundamentally different types: centralised exchanges that work like a traditional brokerage, and decentralised exchanges that run on smart contracts with no company behind them. Each solves the same problem differently — and the trade-offs between them cut to the heart of what crypto is trying to be.

Centralised exchanges (CEX)

A centralised exchange is a company that holds your crypto on your behalf and matches buyers with sellers. Coinbase, Binance, Kraken, and Gemini are the largest. They're convenient — familiar interface, customer support, fiat on-ramps (you can deposit pounds directly), and legal protections. In the UK, a CEX must be registered with the FCA for crypto activities.

The catch: custodial risk. When you hold crypto on a CEX, you don't own the private keys — the exchange does. You have an IOU. If the exchange is hacked, goes bankrupt, or freezes withdrawals, your funds are at risk. FTX had approximately $8 billion of customer funds when it filed for bankruptcy in November 2022 — customers eventually received partial recoveries years later through the bankruptcy process.

Centralised exchange (CEX) Company holds your keys KYC: ID and proof of address Pounds in, customer support Risk: the exchange fails Decentralised exchange (DEX) You hold your own keys No KYC, connect a wallet Crypto only, no help desk Risk: smart contract bugs
The same job, two designs. A CEX trades convenience and legal protections for custodial risk; a DEX trades custody and privacy for technical complexity and code risk.

What is KYC and why do exchanges require it?

KYC (Know Your Customer) verification is the identity check every regulated CEX must carry out under anti-money-laundering laws, so you must provide a government ID, proof of address, and sometimes a selfie. This ties your real identity to your crypto activity, creating a regulatory trail. It's required by anti-money-laundering (AML) laws in virtually every major jurisdiction. Some users see this as incompatible with crypto's privacy ethos; most institutional users accept it as the price of access to regulated venues.

What is a decentralised exchange (DEX)?

A decentralised exchange is a smart contract on a blockchain with no company, no custody and no KYC. You connect your own wallet and trade directly from it. Uniswap, Curve, and dYdX are the largest.

Your private keys never leave your control. No counterparty risk. But also no customer support, no fiat on-ramp, higher technical complexity, and smart contract risk.

How does an automated market maker work?

An automated market maker sets prices with a formula applied to a pool of tokens rather than by matching individual buyers and sellers. Traditional exchanges use an order book — buyers and sellers post orders that get matched. DEXs use a different model called an Automated Market Maker.

Liquidity providers deposit pairs of tokens into a smart contract "pool." The pool uses a mathematical formula (most commonly x × y = k, where x and y are the quantities of each token) to automatically set prices based on supply and demand. No order book needed.

Liquidity providers earn a share of trading fees but face impermanent loss — if token prices diverge significantly from when they deposited, they'd have been better off just holding the tokens. The "loss" is only realised if they withdraw, but it's a real risk that erodes yield.

AMM pricing — simplified

A pool holds 100 ETH and 200,000 USDC. Constant product: 100 × 200,000 = 20,000,000.

Someone buys 10 ETH from the pool. Now: 90 ETH must hold the constant, so USDC rises to 222,222. They paid ~22,222 USDC for 10 ETH — the price per ETH was ~2,222.

Larger trades create more "slippage" — the price moves against you as you trade. Deep liquidity pools have less slippage.

Which to use when: CEXs for buying crypto with fiat, for large liquid assets, for simplicity. DEXs for tokens only available on-chain, for DeFi interactions, for privacy (no KYC on most DEXs), and when self-custody is the priority. Most experienced crypto users use both — CEXs as fiat on-ramps, DEXs for on-chain activity.

Where this comparison breaks down

"Decentralised" is a spectrum, not a switch. Many DEXs have a company or foundation behind the front-end website, admin keys that can pause or upgrade the contracts, and a governance token concentrated in a few hands. A DEX can be blocked at the website level even if the contract itself keeps running, and a CEX can offer self-custody options that blur the line from the other side.

Self-custody removes the exchange as a point of failure and makes you the point of failure instead. Lose your seed phrase and nobody can reset your password. Sign a malicious transaction and nobody can reverse it. The FTX episode shows the cost of trusting a custodian; the steady flow of wallet-draining phishing attacks shows the cost of not having one.

The AMM example above is also simplified. Real pools charge fees, many use more complex formulas than x times y equals k, and quoted prices on a DEX can be worse than on a CEX for large trades because of slippage. Regulation is moving as well: the rules on who can offer a DEX to UK users, what KYC applies and how promotions are policed are still being written, so the trade-offs described here may look different in a few years.

CEX vs DEX FAQ

Is a DEX safer than a CEX?

Different, not safer. A DEX removes the risk that an exchange loses or freezes your funds, but adds smart-contract risk, phishing risk and the risk of losing your own keys, with no customer support to call. A CEX carries custodial risk but offers familiar protections and a way to recover a forgotten password. Which risk matters more depends on your skills and the amount involved.

What is slippage on a DEX?

Slippage is the gap between the price you expect and the price you actually get because your own trade moves the pool's price. In the example above, buying 10 ETH from a 100 ETH pool pushed the average price paid to about 2,222 USDC, above the 2,000 the pool implied before the trade. Bigger trades and smaller pools mean more slippage; most DEX interfaces let you set a maximum you will accept.

Why do exchanges ask for ID?

Because anti-money-laundering laws require it. A regulated exchange has to know who its customers are so that it can report suspicious activity and block sanctioned users, and in the UK crypto firms must register with the FCA to operate. Providing ID is the trade-off for access to fiat deposits, customer support and a regulated venue; decentralised exchanges avoid it by having no company to regulate.

Sources and further reading: FCA: Cryptoassets · FCA: Financial Services Register · SEC Investor.gov: Crypto assets

₿

Practise cex vs dex with virtual money

Open a free stock duel on RIP. and use cex vs dex against a friend on live prices. No real money is at risk.

Download free on iOS →