Crypto

CEX vs DEX

In one sentence

A centralised exchange holds your coins and matches trades on its own servers; a decentralised exchange never takes custody and settles on-chain from your own wallet.

The difference decides who can freeze, lose or return your money. A CEX offers speed, deep liquidity, fiat rails and customer support, in exchange for custody and identity verification. A DEX offers self-custody and permissionless access, in exchange for gas fees, slippage on thin pools and no one to appeal to when you sign the wrong transaction.

Neither is safer in the abstract. They fail in different ways: CEX failures are institutional, DEX failures are individual and irreversible.

The mistake it causes: choosing on ideology rather than on which failure mode you are actually prepared for.

The question each one answers differently

Who can freeze, lose or return your money. That is the whole comparison.

Centralised (CEX)Decentralised (DEX)
CustodyExchange holds coinsYou hold coins
IdentityKYC requiredUsually none
FeesMaker / takerSwap fee plus gas
SupportA desk to appeal toNone
Failure modeInstitutional, affects everyoneIndividual, irreversible

Neither is safer in the abstract

CEX failures are institutional and collective: an exchange becomes insolvent or freezes withdrawals, and every user is affected at once. DEX failures are individual and permanent: you sign a malicious approval, send to the wrong chain, or get sandwiched on a thin pool, and there is nobody to call.

Choosing on ideology rather than on which failure mode you are actually prepared for is how people end up exposed to both.

The hidden DEX costs

The swap fee is the small part. Gas is charged whether the transaction succeeds or fails, slippage on a thin pool can dwarf any fee saving, and MEV means your pending transaction is visible to bots that can trade around it. On small positions these together frequently make on-chain trading uneconomic.

What to do with this

  • Use a CEX for fiat in and out, and for liquidity on majors.
  • Use a DEX for assets that are not listed anywhere else, with position sizes that justify the gas.
  • Either way, do not store long-term holdings on a trading venue.

This term is explained in context in the primer - and the venues are compared in our crypto exchange reviews .

More in Crypto: Perpetual futures, Funding rate, Liquidation, Isolated vs cross margin.

Education only, not financial advice. Trading is high risk and most retail accounts lose money.