Strategies
Published 2026-10-10 · 8 min read
CEX vs DEX arbitrage is the practice of profiting from price disagreements between centralized exchanges and decentralized exchanges. The two venue types price assets in completely different ways: a CEX matches buyers and sellers in an order book, while a DEX reprices assets with an automated formula every time someone trades against its liquidity pool. When markets move quickly — or when a token is thinly traded on one side — these two pricing engines can disagree for minutes at a time. That disagreement is the raw material of the trade: buy where the token is cheap, sell where it is expensive, and keep whatever survives after every fee and cost.
The reason this gap keeps recurring is structural. Centralized order books update with every limit order, so CEX prices track sentiment almost instantly on deep pairs. DEX pools only reprice when a trade actually happens — a modest-liquidity pool can sit stale for minutes while the market moves. Arbitrage scanners surface these moments, but spotting the gap is the easy part; executing it profitably is the real skill.
Speed of information is the biggest driver. When bitcoin jumps 2% in a minute, order books on major CEXs adjust in milliseconds, while a DEX pool waits for an arbitrageur's trade to bring it back in line. Liquidity depth is another: a large market sell moves a thin DEX pool's price far more than it moves a deep CEX order book, creating a temporary discount that reverses once arbitrageurs step in. New token listings add a third driver — many tokens trade on DEXs for days before any CEX lists them, and the first CEX listing price often differs sharply from the DEX price.
Network and venue frictions widen gaps further. If deposits to a CEX are congested or a chain is under heavy load, capital cannot move quickly to close the gap, so it persists longer. Stablecoin pricing quirks matter too — a DEX pool quoting in a bridged or older stablecoin variant may diverge from a CEX quoting in native USDC. Understanding which driver is behind a gap matters, because each carries different risks: a gap caused by a congested network is much harder to trade than one caused by a stale pool.
A typical trade runs in one of two directions. In the common pattern, a token is cheaper on the DEX: you swap stablecoins for the token in the pool, transfer it to the CEX (or sell from inventory you already hold there), and sell into the CEX order book. In the reverse pattern, the CEX is cheaper: you buy on the CEX, withdraw to your wallet, and swap out on the DEX. The reverse direction is usually slower because CEX withdrawals need confirmations, which is why many traders keep working balances on both sides. For a deeper look at the transfer-versus-inventory decision, see our cross-exchange arbitrage guide.
CEX-DEX trades carry more cost layers than pure CEX trades, and each one eats the spread. On the DEX side you pay network gas (which spikes exactly when volatility creates the best gaps), the pool's swap fee, and price impact if your trade is large relative to the pool. On the CEX side you pay trading fees and possibly a withdrawal fee if you move coins between venues. Miss any one of these and a 1% spread can easily go negative — which is why the fee math, not the headline spread, decides every trade.
| Cost | Where it hits | Typical size |
|---|---|---|
| DEX swap fee | On-chain trade | 0.05%-0.3% of trade value |
| Network gas | On-chain trade | Varies widely; spikes with congestion |
| CEX trading fees | Buy and sell legs | Around 0.1% per side for most users |
| Price impact / slippage | Thin pools, market orders | Can exceed 1% on small pools |
| Withdrawal / bridge fees | Moving funds between venues | Fixed fee plus time delay |
On-chain trades can fail expensively
A DEX transaction can revert after you have paid gas, and MEV bots can frontrun your swap and worsen your price. Never trade sizes where a failed transaction would hurt, and test every new route with a small amount first.
Smart-contract risk is the one CEX-only traders never face: pool code, router contracts, and token contracts can all misbehave or be exploited. MEV is the second on-chain risk — bots watching the public mempool can frontrun your swap and leave you with a worse fill price. Failed transactions still consume gas, so a paper-profitable strategy can bleed money through execution friction. Private relays, slippage limits, and simulation manage these risks — but never fully eliminate them.
This strategy suits traders who are comfortable with self-custody wallets, can read a block explorer, and enjoy systems work: monitoring, checklists, and careful cost accounting. It does not suit anyone looking for a passive or guaranteed return — spreads are thin, competition from bots is real, and execution skill matters more than idea quality. Start by learning the vocabulary in our crypto arbitrage glossary, then paper-trade the full loop (spot the gap, simulate both legs, compute net profit) before risking real funds. The gaps will still be there when you are ready.
Not to start. Manual trading with small sizes teaches you the mechanics — gas estimation, slippage settings, transfer timing — that any automation would need anyway. Bots become useful when you trade frequently or compete for gaps that last seconds, but they add failure modes of their own.
DEX-to-CEX is usually faster because selling into a CEX order book is instant once your deposit confirms, while CEX-to-DEX requires a withdrawal with confirmation delays. Many traders keep inventory on both sides to trade either direction without waiting.
Enough that fixed costs like gas and withdrawal fees are a small fraction of the trade. On Ethereum mainnet during congestion, a single on-chain leg can cost several dollars in gas alone, which prices out very small trades. Layer-2 networks lower this bar considerably.
On deep, heavily traded pools, mispricings last seconds because arbitrage bots correct them constantly. Longer-lived gaps usually involve thin pools, volatile tokens, or congested networks — and they persist precisely because they are harder or riskier to trade.
Crypto Arbitrage Scanner monitors 16 exchanges in real time — try it free for 3 days.
Start Free Trial