MEV Explained: The Hidden Tax on Every Crypto Swap
MEV is the value extracted by reordering, inserting, or censoring transactions inside a block. Here is what it costs you and how to avoid paying it.
MEV — Maximal Extractable Value — is the profit a block builder, validator, or searcher can capture by choosing what transactions go into a block, in what order, and whether to insert their own transactions before or after them. On Ethereum and most EVM chains, MEV extraction has become a multi-hundred-million-dollar industry, and a meaningful fraction of it is paid by ordinary users on every unprotected DEX swap.
The Three Common MEV Patterns
- Sandwich attack: a searcher sees your buy in the mempool, front-runs with a buy, lets your trade move the price up, then sells into your slippage — extracts the difference
- Back-running: a searcher trails large trades, profits from the post-trade arbitrage to other venues without harming the original user
- Just-in-time (JIT) liquidity: a searcher provides concentrated liquidity in the same block as your swap, captures the trading fee, then withdraws — extracts fee that would have gone to passive LPs
- Liquidation racing: searchers compete to be first to liquidate undercollateralised loans — fast and capital-efficient, mostly net-positive for the system
- Censorship MEV: builders refuse to include certain transactions for regulatory or strategic reasons — corrosive but rare
What It Actually Costs You
Empirical studies of Ethereum mainnet mempool data put the average sandwich tax at 0.05% to 0.40% of trade size for trades above $10,000 on shallow pools, with worst-case extraction on long-tail tokens hitting 1-3%. On a $50,000 USDC-to-PEPE swap routed naively, you might lose $250-$1,500 to a single sandwich. Over a year of active DeFi trading, MEV exposure can dwarf protocol fees.
How to Avoid It
- Use a DEX aggregator that submits through a private mempool — Flashbots Protect, MEV-Share, or BeaverBuild
- Prefer intent-based protocols (CoW Swap, UniswapX) where solvers compete to fill your order without front-running risk
- Set tight slippage tolerance — sandwich attacks cannot extract more than the slippage you authorise
- Avoid trading thin-liquidity tokens during high-gas hours — that is when sandwichers are most active
- Use limit orders or RFQ flow for large trades — quotes are bound off-chain and cannot be sandwiched
The Steyble Default
Steyble routes every swap through MEV-protected mempools by default, with intent-based settlement available for large orders. Slippage tolerance defaults to a tight 0.5% and can be tightened further. The result is that Steyble users avoid the unprotected mempool entirely — the typical user pays zero sandwich tax across thousands of swaps, instead of the 5-15bps drag accumulated by users on default mempool routes.