Centralized vs Decentralized Exchanges: Custody, Costs and Risks Compared

By · Published 2026-09-01 · Updated 2026-11-02 · Last verified 2026-11-02

The difference comes down to who holds your coins and who matches your trade. On a centralized exchange (CEX), a company holds your funds and matches orders in its own order book; you get an account, customer support, fiat deposits and usually identity checks. On a decentralized exchange (DEX), you trade straight from your own wallet through smart contracts, with no account, but you sign every transaction yourself and nobody can reverse a mistake. Neither is "safer" in every way. They move the risk to different places: a CEX concentrates it in the company, a DEX in the code and in your own hands. This guide compares them on custody, identity, costs, prices and what can go wrong, so you can pick the right one for each job.

Educational content, not financial advice. Crypto-assets are volatile, and both kinds of platform carry risks that can cost you your full deposit.

Two columns comparing centralized exchanges, where a company holds coins and runs an order book, with decentralized exchanges, where coins stay in your wallet and swaps use pools
CEX vs DEX at a glance.

Custody: whose keys?

On a CEX, you deposit coins to an address the exchange controls. Your balance is a number in its database, backed by whatever the exchange actually holds. If it's hacked, freezes withdrawals or fails, your access depends on the company and on the law where it operates. That's why authorisation and custody terms matter; our checklist for choosing a secure trading platform covers both.

On a DEX, the coins stay in your wallet until the moment of the swap, and the result comes straight back to it. No company can freeze your balance, but there is also nobody to call. If you lose your recovery phrase or sign a malicious transaction, the loss is final. A careful self-custody wallet setup is the price of entry.

How trades are matched

A CEX runs an order book: buyers and sellers post limit orders at chosen prices, and the exchange's engine matches them. You can place limit orders, see depth, and trade large liquid pairs with tight spreads. Our beginner's guide to reading an order book shows what the bids, asks and spread tell you.

Most DEXs use an automated market maker instead. Uniswap's documentation describes swaps against a pool of two tokens whose price moves along a formula as the pool's balances change. Uniswap calls the effect of your own trade size on the price "price impact", and calls any further change while your transaction is pending "slippage". You set a slippage tolerance, and the swap fails rather than filling at a worse price than that.

Identity and access

What it costs

On a CEX you pay trading fees, usually a percentage per trade, and a fixed withdrawal fee per coin and network when you move funds out. Depositing crypto is often free.

On a DEX you pay a pool fee that goes to liquidity providers, the network's gas fee for every transaction, and the price impact of your trade. On a busy network, gas can outweigh everything else on a small trade. Approving a token for the first time is a separate transaction with its own gas.

Risks side by side

Which one for which job?

Vertical Pinterest graphic with five points comparing centralized and decentralized exchanges
Pinterest pin: centralized vs decentralized exchanges.

The same trade, both ways

Picture swapping one token for another that you already hold on the same network.

On a CEX: you send the token from your wallet to your exchange deposit address and wait for confirmations. You place a market or limit order in the order book. Once it fills, you request a withdrawal of the new token to your wallet, pay the withdrawal fee and wait for the exchange to process it. Three steps, an account, identity checks done in advance, and the exchange holds your funds between the deposit and the withdrawal.

On a DEX: you connect your wallet to the DEX's real website, check the token's contract address, approve the token if it's the first time, set a slippage tolerance and sign the swap. The new token arrives in the same wallet in the same transaction. Fewer steps, no account, but you pay gas for the approval and the swap, and every signature is your responsibility.

Neither is better in general. The CEX route makes sense when you also need fiat, limit orders or deep liquidity; the DEX route when you want to keep custody throughout.

A simple safety routine for either

  1. Start with a small amount and complete the full round trip once.
  2. Bookmark the real exchange or DEX address; never use links from messages or ads.
  3. On a CEX, switch on strong 2FA and a withdrawal allowlist.
  4. On a DEX, read what you're signing, approve only the amount you need, and revoke old approvals.
  5. Keep long-term holdings in a wallet you control, separate from the one you trade with.

FAQ

Is a decentralized exchange safer than a centralized one?

Not automatically. A DEX removes the risk of a company holding your coins, but adds smart contract risk and puts every signing decision on you. A regulated CEX adds company risk but gives you account protections and support.

Do I need KYC to use a DEX?

The smart contracts themselves don't check identity. Front-end websites can still restrict regions or addresses, and you need crypto in your own wallet to start, which usually means buying it somewhere first.

Why did my DEX swap fail?

Often because the price moved beyond your slippage tolerance, you didn't have enough of the network's gas coin, or the token needed an approval first. A failed transaction usually still costs some gas.

Can I place limit orders on a DEX?

Basic automated market maker swaps execute at the current pool price. Some DEXs and aggregators offer limit-order features on top, but how they work varies, so read each one's documentation.

Sources

Educational content, not financial, legal or tax advice. Crypto-assets are volatile and you can lose the full amount you put in. Exchange features, fees and rules differ by venue and country and change over time; confirm details on official pages. Last verified 2026-11-02.