en

CEX or DEX: what's the difference, and which kind of crypto exchange should you use?

Published
10.06.2026
Updated
25.10.2026
A business user choosing between a centralized crypto exchange and a decentralized network while holding a crypto wallet.
Contents

    A CEX, short for centralized exchange, is a company such as Binance, Coinbase or Kraken: it keeps your crypto in an account it controls, asks for your ID and lets you pay in from a bank card. A DEX, or decentralized exchange, such as Uniswap or PancakeSwap, is a program on a blockchain: you connect your own wallet, trade straight from it, and nobody holds your coins or asks who you are. Most people buy their first crypto on a CEX and turn to a DEX later, once they keep coins in their own wallet and want a token the big exchanges don't list.

    What CEX and DEX mean, with examples you already know

    Both kinds of exchange do the same job: you hand over one asset and get another. The difference sits in the first word. Centralized means one company runs the venue, holds the money and sets the rules; decentralized means a program on a blockchain does the swapping, and no company stands between you and the trade.

    The names you are most likely to meet:

    • Centralized exchanges (CEX): Binance, Coinbase, Kraken, OKX, Bybit. You open an account, send money in, trade and withdraw, much as you would in a brokerage app.
    • Decentralized exchanges (DEX): Uniswap, PancakeSwap, Curve, Raydium. Uniswap runs on Ethereum and several other networks, PancakeSwap mostly on BNB Chain, Raydium on Solana, and Curve specialises in swaps between stablecoins.

    A quick way to tell them apart: a service with a sign-up form and a "Deposit" button is a CEX. A site with a "Connect wallet" button and no account at all is a DEX.

    How a trade happens on each

    On a CEX, trades run through an order book, a live list of other customers' offers to buy or sell a coin at a set price. The exchange pairs a buyer with a seller and changes two numbers in its own database. Nothing touches the blockchain until you withdraw.

    Most DEXs have no order book and no trader on the other side. Instead there is a liquidity pool: a stash of two tokens, say ETH and USDC, that other users deposited to earn a share of the fees. You put one token in, take the other out, and the price follows the ratio of the two in the pool: the more ETH people take out, the dearer the remaining ETH becomes.

    The pool is run by a smart contract, a program stored on the blockchain that anyone can call and nobody can quietly change. It lives on the same shared ledger that records who owns every coin, so if that ledger is still a black box to you, start with how cryptocurrency and the blockchain under it work.

    Some DEXs, mostly those built for futures trading, do keep an order book on a blockchain. The pool model is what you meet on Uniswap, PancakeSwap and most places where people swap one token for another.

    Two ways to trade crypto: on the left a laptop shows an exchange order book in green and red rows; on the right a woman with a phone wallet tips Ethereum coins into a jar beside a jar of USDC coins, the two jars joined by a swap arrow, like a DEX liquidity pool.

    Because the price comes from the pool itself, a big trade in a small pool moves the price against you. Say a pool holds $100,000 of a token and $100,000 of USDC. Buying $5,000 of the token there gets you about 5% less than the price you saw before the trade, fees aside.

    That gap between the quoted price and what you actually get is called slippage. DEX apps let you set the most you will accept, and if the price moves further before your swap goes through, the trade is cancelled and only the network fee is spent.

    On a CEX the same problem shows up differently: a large order eats through the best offers in the order book and fills partly at worse prices. On the coins everyone trades, the big exchanges' order books are deep enough that a few thousand dollars barely move them.

    A DEX swap is one blockchain transaction, but your wallet may ask you to sign more than once, and the screens can be confusing the first time. What happens between pressing the button and the new tokens landing in your wallet is laid out in how a crypto swap works step by step.

    CEX and DEX side by side

    CEXDEX
    Who holds your coinsThe exchangeYou, in your own wallet
    Getting startedAccount, email, ID checkNo account, you connect a wallet
    How trades are matchedOrder book run by the companyMostly a token pool run by a smart contract
    Paying in dollars or eurosBank card or bank transferOnly through a separate payment partner
    Choice of tokensOnly what the exchange listsAny token someone has put in a pool
    What you payTrading fee, spread, withdrawal feePool fee, network fee, price impact
    If something goes wrongSupport team, account recoveryNo support, a lost seed phrase means lost coins
    Main riskThe exchange freezes, fails or gets hackedYour own mistakes, fake tokens, faulty contracts

    Who holds your coins, and why that matters most

    When you deposit crypto on a CEX, the coins move to wallets the exchange controls, and your account shows a balance. That balance is a promise: the exchange owes you that much. The upside is real: forget your password and support restores your access.

    The downside comes from the same fact. If the exchange freezes your account, goes bust or gets robbed, your balance is only as good as the company. In November 2022 FTX, then one of the largest exchanges, stopped withdrawals and filed for bankruptcy days later; customers waited more than two years for the first repayments.

    A hack does not always end that way. In February 2025 attackers stole roughly $1.5 billion in ether from Bybit, and the exchange covered the loss, so customers kept their balances. With a CEX, you are betting on the company being both honest and solvent.

    On a DEX your coins stay in your own wallet, an app that keeps the keys to your address on your device. The coins leave the wallet only for the moment of the swap and come back as the other token. No company can freeze the trade or lose your money in a bankruptcy.

    So before your first DEX trade you need such a wallet, plus a little of the network's own coin to pay fees with. On Ethereum and the networks built like it, the best-known wallet is MetaMask, and topping it up, paying for transactions and getting money back out are explained in how MetaMask works, from fees to cashing out.

    The price of that independence is that you become your own support desk. A self-custody wallet is restored from a seed phrase, a list of 12 or 24 words: whoever has the words owns the coins, and if you lose them, nobody can bring the coins back.

    Who holds the coins: on the left an exchange clerk with a key stands by a vault full of Bitcoin and Ethereum coins; on the right a man holds his own phone wallet with the Ethereum logo and a paper card of seed words.

    Why a CEX asks for your ID and a DEX doesn't

    A CEX holds and moves other people's money, so the law treats it as a financial business. Two examples of what that means:

    • European Union. As of October 2026, an exchange serving EU customers needs authorisation under the MiCA regulation. The transitional period ended on 1 July 2026, and firms without authorisation must stop offering crypto services to EU clients. Authorised firms appear in a public register kept by ESMA, the EU's markets authority.
    • United States. FinCEN has treated crypto exchangers as money transmitters since its guidance of March 2013. Federal rules for money services businesses require their anti-money-laundering programs to include verifying customer identity.

    That is why sign-up on an exchange ends with a passport photo and a selfie, and sometimes a proof of address. The exchange may also come back with questions later, for example before a large withdrawal, and until you answer, the account can be limited. What exactly gets checked and what happens to your documents is covered in why a crypto exchange asks for your ID.

    A DEX's smart contract checks nothing: any wallet can call it. The websites in front of the big DEXs are run by companies, though, and some of them refuse wallets linked to sanctioned addresses; the Uniswap app does.

    Trading on a DEX is not anonymous either. Every swap sits on a public blockchain under your wallet address, and anyone can look through that wallet's history.

    That history follows the coins to an exchange. When you deposit, the exchange runs the incoming transfer through analytics tools that trace it back through earlier wallets. Say your tokens passed, two hops earlier, through a wallet tied to a hack: the exchange may hold the deposit and ask where the coins came from. From that moment, your exchange account with your name on it and your DEX history are tied together.

    Exchanges are not the only ones running these checks. Shops and services that take crypto use the same tools on incoming payments, and the receiving side of it is explained in how wallet screening and AML checks work on crypto payments.

    What you pay in fees on a CEX and on a DEX

    Fees on the two kinds of exchange are built differently, so comparing one percentage with another misses most of the bill. On a CEX you usually meet three charges:

    • Trading fee. A percentage of each trade. On Binance a regular user pays 0.1%, or 0.075% if the fee is paid in BNB, and the rate drops as monthly trading volume grows.
    • Spread on the quick-buy screen. The simple "Buy" button in exchange apps can price in a margin above the market rate, so the same purchase may cost less on the trading screen with the order book.
    • Card and withdrawal fees. Paying by card costs extra, and moving crypto out to a wallet costs a flat fee that depends on the coin and the network.

    On a DEX the bill has four parts:

    • Pool fee. Taken from every swap and paid to the people whose tokens fill the pool. On Uniswap it is 0.3% in the original pools and 0.01% to 1% in the newer ones; in the latest version the pool's creator can set any rate.
    • Network fee, or gas. Every swap is a blockchain transaction, and the network charges for it in its own coin: ETH on Ethereum, BNB on BNB Chain, SOL on Solana. Gas does not depend on the size of the trade and is noticeably higher on Ethereum's main network than on most others.
    • Price impact. The pool price moves as you trade, as in the $5,000 example above. In a large pool a small trade barely moves it.
    • App fee. Uniswap Labs switched off its own interface fee at the end of 2025, but some wallets and apps that route swaps for you add a fee of their own.

    Take a $1,000 purchase of ETH with USDC. On Binance the trading fee is $1, and the ETH stays on the exchange until you pay a withdrawal fee to move it out. On Uniswap the pool fee is 50 cents in a 0.05% pool or $3 in a 0.3% pool, plus gas, and the ETH lands straight in your wallet.

    Gas on a DEX is not the exchange's charge: it is the same network fee anyone pays to move crypto on that blockchain, and it is the part of a DEX bill that weighs most on small trades. If the line between a network's fee and a service's own fee is still blurry, see how network fees, gas and service fees differ.

    One practical catch follows from this. A wallet holding USDT on Ethereum and no ETH cannot swap anything, because there is nothing to pay the gas with. Keep a little of the network's own coin next to whatever you plan to trade.

    Is Binance a CEX or a DEX?

    Binance is a CEX, and one of the largest in the world. You open an account, pass an ID check and deposit, and from then on Binance holds your coins and matches your orders in its own order book.

    The confusion comes from the app. Inside it sits Binance Wallet, a separate self-custody wallet that routes swaps through DEXs such as PancakeSwap. Coins in Binance Wallet are under your control and its swaps are DEX trades; coins in your exchange balance are held by Binance.

    The network adds to the mix-up. BNB Chain, the blockchain that grew out of Binance, hosts its own DEXs, PancakeSwap among them. A DEX running on that network is still a DEX, and the network itself is not an exchange.

    Binance also runs Binance Pay, which moves crypto from one Binance account to another, to a friend or to a shop, without a blockchain transfer. It is the CEX model applied to payments: Binance keeps both balances and simply changes the numbers. If you sell online and are thinking of such a button at your own checkout, here is what a merchant actually gets from Binance Pay, Crypto.com Pay or Bybit Pay.

    Is Uniswap a DEX or a CEX?

    Uniswap is a DEX, and the best-known one. It launched on Ethereum in 2018 as a set of smart contracts with liquidity pools, now runs on Ethereum and a number of other networks, and its pool design was borrowed by many later DEXs, PancakeSwap among them.

    Uniswap Labs, the company behind it, builds the app and a wallet, but it never holds your coins. The contracts do the swapping, and other apps and wallets can call them directly without going through the Uniswap site.

    Anyone can create a token and a pool on Uniswap, including a copy carrying the name of a famous coin. A DEX shows you whatever matches your search, not what is genuine, so check the token's contract address on the project's own website before buying.

    Before your first swap of a given token, the wallet asks for a separate signature called an approval: permission for a contract to move that token out of your wallet. An approval stays in force until you withdraw it, and an approval given to a malicious contract can be used to drain that token later. It is worth knowing how to check and revoke token approvals in your wallet.

    Moving coins from a CEX to a DEX

    The usual route uses both kinds of exchange, in three steps:

    1. Buy on a CEX. Pay in dollars or euros and get the coin you want to trade.
    2. Withdraw to your own wallet. The coins leave the exchange and travel over the blockchain to an address you control.
    3. Trade on a DEX. Connect that wallet to the DEX site and swap.

    Two things decide whether the withdrawal in step 2 arrives where you expect it:

    • The network. The exchange asks which network to send on, and it has to be the network your DEX works on. USDT sent on BNB Chain arrives on BNB Chain, and it will not show up while your wallet is looking at Ethereum.
    • The gas coin. Withdraw a little of that network's own coin along with the tokens, or you will have nothing to pay the first swap with.

    If the coins already sit on the wrong network, the way across is a bridge: a service that locks tokens on one blockchain and releases matching ones on another. Bridges have been the target of some of the largest thefts in crypto, so for a large sum it is often simpler to send the coins back to the exchange and withdraw them again on the right network.

    A withdrawal from an exchange is an ordinary blockchain transfer, so it gets a transaction ID, a hash you can paste into a block explorer to see where the coins are. When a withdrawal seems to have vanished, that ID is the first thing to look up, and you can read how to check a crypto transfer by its TXID, network and status.

    Where dollars come in and go out

    Here the two kinds of exchange are not equal. A CEX is connected to banks and card networks, so it is where dollars or euros turn into crypto and where crypto turns back into money in your account.

    A DEX only swaps tokens for tokens. Swap ETH into USDC on Uniswap and you hold a dollar-pegged token, not dollars: to pay rent with it, it still has to pass through an exchange or a payout service that sends money to a bank. Some DEX apps show a "Buy with card" button, but behind it stands a separate payment company that does the CEX part, ID check included.

    Where banks refuse to deal with exchanges, people also buy and sell crypto directly with each other on P2P markets. That route skips the exchange's order book but not the risk: the other side can be a scammer, and the exchange hosting the market can only partly protect you.

    This matters most to people who get paid in crypto rather than buy it. A freelancer or a small business holding USDT faces the same choice between an exchange account and a service built for business payouts, and that path is covered in how a business turns crypto payments into usable money.

    CEX or DEX: which is better for you?

    Neither kind of exchange is better across the board; each fits a different job. Here is how the choice usually falls by situation:

    • Buying your first crypto with a card or a bank transfer: a CEX. A DEX does not take dollars itself, so the first step almost always goes through an exchange account.
    • Trading large sums of major coins often: a CEX. Deep order books and a fee around 0.1% are hard to beat, as long as you accept that the coins sit with the company while you trade.
    • Cashing out to a bank account: a CEX. Crypto bought or swapped anywhere ends up passing through an exchange or a payment service to become money in a bank.
    • A token the big exchanges don't list: a DEX. That is where new tokens appear first, along with copies and outright scams, so the contract address check is on you.
    • Keeping your coins under your own control: your own wallet and a DEX. No one can freeze or lose your balance, and no one can restore it either, so learn how to protect your seed phrase and private key.

    Plenty of people use both, and that is the sensible default: an exchange as the gate between bank money and crypto, a wallet of your own for keeping coins, and a DEX for whatever the exchange does not offer.

    In short

    A CEX is a company that holds your coins, checks your identity and connects crypto to the banking system. A DEX is a program on a blockchain that swaps tokens straight from your wallet and holds nothing for you. Pick by the job: dollars in and out, and heavy trading in big coins, go through a CEX; control over your coins and tokens nobody lists go through your own wallet and a DEX.

    FAQ

    Is Trust Wallet a CEX or a DEX?

    Neither: Trust Wallet is a self-custody wallet, the kind of app you connect to a DEX. Binance bought it in 2018, but the coins in it are not held by Binance; the keys stay on your phone. Its built-in swap routes trades through DEXs, so a swap inside Trust Wallet is a DEX trade. If you are still choosing one, compare which crypto wallet fits your situation.

    Can a DEX freeze my coins?

    The smart contract cannot, and the company behind the website can only refuse to show you its interface. The issuer of a token is a different story: Tether can freeze USDT and Circle can freeze USDC at any address, wherever the tokens sit. Coins like ETH or BTC have no issuer able to do that.

    What is a DEX aggregator, and should I use one?

    An aggregator, such as 1inch or Jupiter on Solana, compares prices across many DEXs and can split one trade between several pools to get you more tokens. It is still a DEX trade from your own wallet, with the same approvals and gas. It earns its keep mostly on larger swaps, where a single pool would move the price more.

    Do I need a CEX at all if I already have crypto in a wallet?

    Not for swapping: a wallet and a DEX cover token-to-token trades on their own. You will need an exchange, or a service that pays out to bank accounts, the day you want that crypto back as ordinary money.

    This article is general information, not legal advice.

    Start accepting crypto payments

    Create an account and connect the checkout yourself, or talk to sales and we will plan the integration with you.