What Is MEV in Crypto?

MEV (maximal extractable value) is the profit a block producer can capture by reordering, inserting, or censoring transactions within a block. Originally named "miner extractable value" on proof-of-work chains, the term was renamed when Ethereum moved to proof-of-stake. MEV shows up as sandwich attacks, liquidation snipes, arbitrage, and DEX front-running — and is measured at hundreds of millions of dollars per year on Ethereum alone.

Also known as: maximal extractable value, miner extractable value

Ask Stingray anything about MEV

How MEV is extracted

Three canonical MEV patterns:

  • Sandwich attack — a searcher sees a pending DEX swap in the mempool, places a buy just before the victim’s transaction (pushing price up), the victim fills at the worse price, the searcher sells into the victim’s slippage. Net profit = the victim’s excess slippage.
  • Liquidation sniping — a searcher monitors underwater DeFi positions (Aave, Compound, MakerDAO) and races to be the first to call the liquidation function once the position crosses the threshold. The liquidation bonus (typically 5-10% of the collateral) is the reward.
  • Back-running arbitrage — after a large DEX swap creates a price gap between that pool and the rest of the market, a searcher immediately rebalances via a follow-up trade. This is the least user-hostile form of MEV; it mostly just restores equilibrium.

On Ethereum, MEV is auctioned via MEV-Boost and Flashbots — validators outsource block-building to specialized builders who run sealed auctions for transaction ordering rights.

Why MEV matters for traders

MEV is a hidden tax on any transaction that leaks information about a price move. DEX traders who set slippage tolerance too high can be sandwiched for the full slippage; large swaps on thin pools can lose 1-3% to MEV even with reasonable settings.

Defenses that work in practice:

  • Private mempools — tools like MEV-Share, CoW Protocol, and Flashbots Protect route transactions through private channels so searchers can’t see them until included in a block.
  • DEX aggregators with MEV protection — 1inch Fusion, CoW Swap, and Paraswap use batch auctions or private routing to internalize or neutralize MEV.
  • Tight slippage tolerance — setting 0.5% tolerance on a transaction means a sandwich that would require 2% has no room to profit; the attacker won’t touch it.

Risks and considerations

MEV is not going away — it’s an inherent feature of transparent block-ordered systems. The research frontier (PBS proposer-builder separation, SUAVE, encrypted mempools) aims to redistribute MEV more fairly rather than eliminate it. For protocol designers, accounting for MEV is mandatory — any lending, DEX, or oracle protocol that ignores MEV will eventually be exploited by sophisticated searchers. For traders, the practical stance is: understand your venue’s MEV profile, use protected routes for large swaps, and treat every on-chain transaction as a public broadcast.

Related terms