CEX vs DEX: Centralized vs Decentralized Exchanges
A CEX (centralized exchange) is run by a company that holds your funds and matches your trades, much like a brokerage or banking app. A DEX (decentralized exchange) runs on blockchain smart contracts with no central custodian, so you trade directly from your own wallet and keep your coins the whole time. The biggest difference is custody: a CEX holds your money, a DEX never does. Most beginners start on a CEX and move toward a DEX only later.
What Are CEX and DEX?
Crypto exchanges come in two broad families, and the labels describe who is in control. A CEX, short for centralized exchange, is a platform run by a company. That company operates the software, holds customer funds, and matches every buy with a sell. It is the model most people encounter first because it works much like the financial apps they already know.
A DEX, short for decentralized exchange, has no company sitting in the middle. Instead it runs on smart contracts, which are self-executing programs deployed on a blockchain. There is no central custodian holding your coins. You connect your own wallet, the smart contract carries out the swap, and the funds move directly between wallets on the chain. Nobody can freeze your account or approve your trade, because there is no account and no approval — just code.
That single distinction, whether a company or a smart contract is in charge, drives nearly every other difference in custody, fees, security, and ease of use. The sections below unpack each one so you can see how the two models actually behave in practice. If you are still weighing platforms in general, our guide on how to choose a crypto exchange covers the wider checklist.
How a Centralized Exchange Works
A centralized exchange acts as a trusted middleman for the entire trading process. When you sign up, you create an account with the company, and from there the platform handles the mechanics on your behalf.
Custody and Funding
The defining feature of a CEX is that it takes custody of your funds. When you deposit money or crypto, the exchange holds it in its own systems and credits your account balance. Because a company operates the platform, it can offer a fiat on-ramp: you can fund your account with a bank transfer or a debit or credit card, turning ordinary money into crypto in a few taps. This is one of the main reasons beginners start here.
Order Book and Matching
Most centralized exchanges use an order book, a live list of the buy and sell orders that traders have placed. When you submit a market order, the exchange matches it against the best available order on the opposite side. This matching happens on the company's servers, which is why trades feel fast and familiar.
KYC and Support
Because a CEX is a regulated business in most regions, it typically requires identity verification, often called KYC, or know your customer. You provide personal details and sometimes a photo ID before you can trade at full limits. In return, you usually get customer support: a team you can contact if a deposit goes missing, a login fails, or you need help with your account. That safety net does not exist on a DEX.
How a Decentralized Exchange Works
A decentralized exchange flips the model. There is no company holding your money and no account to open. You trade directly from your own self-custody wallet, meaning a wallet whose private keys only you control. To use a DEX, you connect that wallet to the exchange's interface and approve each swap yourself.
Rather than a traditional order book, many DEXs use an automated market maker, or AMM. Instead of matching individual buyers and sellers, an AMM lets you trade against a liquidity pool — a shared reserve of two tokens that other users have deposited. A formula built into the smart contract sets the price based on the ratio of tokens in the pool, and your swap draws from it directly. This is why a DEX can offer trading in tokens no company has chosen to list: anyone can create a pool.
Because everything runs on smart contracts, a DEX usually has no signup and no KYC. You do not hand over your identity or wait for approval. The trade-off is that you are fully responsible for every step, and understanding crypto wallets explained becomes essential before you begin.
Custody and Security
A common saying in crypto captures the heart of this comparison: "not your keys, not your coins." It means that if you do not hold the private keys to your crypto, you are trusting someone else to safeguard it. This is the deepest difference between a CEX and a DEX, and it cuts both ways.
On a CEX, the company holds your keys, which introduces counterparty risk. You are relying on that business to stay solvent, to secure its systems, and to honor withdrawals. Exchanges have in the past been hacked, frozen withdrawals, or become insolvent, and when that happens, customer funds can be lost or locked up. Choosing a reputable, well-established exchange reduces this risk, but it never disappears entirely as long as a third party holds your coins.
A DEX removes that counterparty risk because no one else ever holds your funds. But it does not remove risk — it moves it onto you. If you lose your private keys or recovery phrase, no one can restore access. If you approve a malicious smart contract, it may drain your wallet. If you buy a scam token from a fraudulent liquidity pool, there is no refund. Self-custody gives you full control, and full control means full responsibility. Neither model is simply "safer"; they carry different risks that suit different levels of experience.
Fees
Both types of exchange charge fees, but the structure differs. On a CEX, the main cost is a trading fee, often built on a maker and taker model. A maker fee applies when your order adds liquidity to the order book, while a taker fee applies when your order removes it immediately, such as a market order. Taker fees are usually higher, and rates commonly fall somewhere between 0.1% and 0.5% per trade depending on the platform and your volume.
On a DEX, you typically pay a swap fee that goes to the liquidity providers who funded the pool, plus a separate blockchain network fee, often called gas. Gas pays the network to process your transaction, and it can swing widely with congestion: when a blockchain is busy, network fees spike, and a small swap can cost more in gas than the trade itself. On a quiet day the same swap might be cheap. Because these costs are independent of the trade size, small swaps on a congested network can be surprisingly expensive.
Fees add up quickly either way, so it is worth understanding them before you trade for real. Our guide to crypto trading fees breaks down how each charge works and how to keep more of your money.
Ease of Use
For a newcomer, the experience of using each type of exchange is very different. A CEX is built to be beginner-friendly. It works through a polished app or website, walks you through funding your account with familiar payment methods, and presents buying and selling in a simple, guided way. If you get stuck, support is a message away. This is why the vast majority of first-time buyers start on a centralized platform.
A DEX has a steeper learning curve. Before you can trade, you need to set up and fund a self-custody wallet, safely store its recovery phrase, connect it to the DEX, and understand what you are approving each time you swap. You also need to hold the blockchain's native token to pay network fees. None of this is impossible, but it assumes a level of comfort that most beginners have not built yet. A single careless approval or a wrong wallet address can cost you funds permanently, with no undo button.
Side-by-Side Comparison
The table below sums up the practical differences at a glance. Read it as a starting point rather than a verdict — the right choice depends on how much you already know about managing crypto yourself.
| Factor | Centralized (CEX) | Decentralized (DEX) |
|---|---|---|
| Custody of funds | Exchange holds your funds | You hold your own funds |
| Ease of use | Beginner-friendly app | Steeper learning curve |
| Funding | Bank transfer, card, cash | Crypto only, from your wallet |
| Customer support | Usually available | None — you are on your own |
| Identity verification (KYC) | Typically required | Usually none |
| Main risk | Counterparty: hack or insolvency | User error: lost keys, scam tokens |
Which Should You Use?
For nearly everyone buying their first crypto, the answer is to start with a reputable CEX. A centralized exchange lets you convert regular money into crypto easily, gives you support when something goes wrong, and hides much of the technical complexity while you learn. That gentle on-ramp matters when you are still getting your bearings, and the counterparty risk can be managed by choosing an established, well-regarded platform and not leaving large balances sitting on it long term.
A DEX becomes genuinely useful once you can manage a wallet safely. When you are confident backing up a recovery phrase, reading what a smart contract is asking you to approve, paying network fees, and telling a legitimate token from a scam, a decentralized exchange opens up trading without an intermediary and access to tokens a CEX may not list. There is no need to rush. Many experienced users rely on both: a CEX for funding and everyday buying, and a DEX for specific trades once they know what they are doing.
The sensible path is to build skills in order. Learn how orders, fees, and price moves work first, then graduate to self-custody and decentralized trading when the basics feel routine rather than intimidating.
Practice First
Whichever type of exchange you eventually choose, the smartest first step costs nothing: rehearse trading before any real money is on the line. Learning how to place an order, how fees eat into returns, and how it feels to watch a position move is far cheaper to do with virtual money than with your own savings.
That is exactly what paper trading is for. A simulator lets you practice buying and selling at real market prices without financial risk, so the mechanics become second nature before you ever fund a live account. CustomCrypto is a free iOS app built for this. It gives you a virtual balance you can set anywhere from $100 to $1,000,000 (the default is $10,000), tracks 38 cryptocurrencies with real-time prices from CoinGecko, and keeps everything on your device. There are no accounts to create, no ads, and no tracking — your data stays entirely on your phone. It is for practice and education only and is not financial advice.
By the time you decide between a CEX and a DEX, you will already understand how trades and fees work, which makes either platform far less daunting. You can download the app and start rehearsing today.
Frequently Asked Questions
What is the difference between a CEX and a DEX?
A CEX, or centralized exchange, is run by a company that holds your funds, matches trades through an order book, and offers support. A DEX, or decentralized exchange, runs on blockchain smart contracts with no central custodian, so you trade directly from your own wallet. The core difference is custody: a CEX holds your coins, while on a DEX you always control them.
Are decentralized exchanges safe?
A DEX removes the risk of a company being hacked or going insolvent, since you keep custody of your funds. But it shifts risk onto you. You are responsible for your private keys, and mistakes are permanent: approving a malicious contract, trading a scam token, or losing your keys can cost you everything, with no support team to reverse it.
Do you need a wallet to use a DEX?
Yes. A DEX has no accounts to sign up for, so you connect a self-custody crypto wallet and trade directly from it. That wallet holds your funds and your private keys, and it pays the network fees for each swap. If you cannot yet manage a wallet safely, including backing up its recovery phrase, a DEX is not the right starting point.
Should beginners use a CEX or DEX?
Most beginners should start with a reputable CEX. It lets you deposit regular money from a bank or card, offers customer support, and feels like a familiar app. A DEX becomes useful only once you can manage a self-custody wallet, understand network fees, and spot scam tokens. There is no need to rush into a DEX before you are comfortable with the basics.
Practice Before You Trade on Any Exchange
Get comfortable with trading before you pick a CEX or DEX. CustomCrypto lets you paper trade at real prices — free on iOS, data kept on your device.
Download Free App