Centralised vs decentralised exchange (CEX vs DEX)
A centralised exchange, or CEX, is a company. It holds customers' money and coins and matches buyers with sellers. A decentralised exchange, or DEX, is a set of smart contracts. You trade from your own wallet with a pool of tokens, and no company holds your coins.
Side by side
| Centralised exchange | Decentralised exchange | |
|---|---|---|
| Run by | A company | Smart contracts |
| Who holds your coins | The exchange | You |
| Sign-up | Account and identity checks | None. You connect a wallet |
| Pay with bank money? | Yes | No. You swap one token for another |
| How prices are set | An order book of buyers and sellers | The ratio of two tokens in a pool |
| Help if something goes wrong | A support team | Nobody |
| Who checks what is listed | The exchange | Nobody. Anyone can list a token |
What you are trusting
On a centralised exchange your balance is a record in the company's database. You hold a claim on the company and not the keys. Exchanges have been hacked, have frozen withdrawals and have gone bankrupt. Lesson 12 gives three examples.
On a decentralised exchange you keep your keys. You are trusting code. If the contract has a flaw, or you approve the wrong thing, nobody is obliged to make you whole.
What a trade costs
- Centralised: a trading fee, the spread, and fees to deposit and withdraw.
- Decentralised: the pool's fee, the network fee for the transaction, and the price impact of your own trade. In a small pool a large trade moves the price against you. A failed swap still costs the network fee.
Fake tokens
A centralised exchange decides what it lists. On a decentralised exchange anyone can create a token with the same name and symbol as a famous one. The only reliable identifier is the token's contract address, taken from the project's official site.
Which comes first
Most beginners start on a centralised exchange, because it accepts bank money and has a helpdesk. Lesson 13 gives a checklist for choosing one. A decentralised exchange only works from a wallet you control, which Level 2 teaches.
A centralised exchange holds your coins and can fail as a company. A decentralised exchange leaves the keys with you and can fail as code. The first is easier to start with, and the second has no helpdesk and no filter on what is listed.
This page explains a difference. It is not a recommendation, and we do not tell you what to buy.
Sources
- US Securities and Exchange Commission: Crypto asset custody basics for retail investors
- Wikipedia: Mt. Gox
- US Department of Justice: Samuel Bankman-Fried sentenced to 25 years
- FBI: North Korea responsible for $1.5 billion Bybit hack
- US Commodity Futures Trading Commission: Understand the risks of virtual currency trading
- US Federal Trade Commission: What to know about cryptocurrency and scams
- Uniswap docs: How Uniswap works
- Uniswap support: Price impact vs price slippage
- Uniswap docs: Understanding swaps
- ethereum.org: Maximal extractable value
- US Securities and Exchange Commission: Crypto assets
- ethereum.org: Ethereum wallets
- bitcoin.org: Securing your wallet
- European Securities and Markets Authority: Markets in Crypto-Assets Regulation
- UK Financial Conduct Authority: Cryptoassets anti-money-laundering regime
- UK Financial Conduct Authority: Crypto, the basics
- US Public Company Accounting Oversight Board: Exercise caution with proof of reserve reports
- ethereum.org: Ethereum security and scam prevention
- bitcoin.org: Exchanges
Drawn from Lessons 12, 42, 24, 13, last checked against these sources on 10 October 2026.
The course by email
Five short emails to get you started, each built on one lesson. After that, one short email a month about what is new. No price tips and no hype.
Free. Unsubscribe any time. See our privacy notice.
Want your progress saved too? Create a free account.