MEV — Maximal Extractable Value, originally Miner Extractable Value — is the profit that block producers can earn by choosing which transactions to include in a block and in what order. It is an invisible tax on every blockchain with a public mempool, and understanding it explains phenomena every Ethereum user has experienced: failed swaps, sandwich attacks, and gas price spikes that seem to come from nowhere.
What Is MEV?
When you submit a transaction on Ethereum, it waits in the mempool — a public waiting room visible to everyone. Block builders and validators can see your pending trade before it executes. MEV is the value they (or specialized bots called searchers) extract by exploiting that visibility: reordering transactions, inserting their own trades around yours, or capturing arbitrage opportunities that your trade creates.
The term was coined as Miner Extractable Value under proof-of-work, when miners controlled ordering. After Ethereum’s Merge, validators and specialized block builders took over the role, so the community renamed it Maximal Extractable Value. The mechanics are the same.
Common Types of MEV
Sandwich Attacks
The most notorious form of MEV. A searcher bot spots your large DEX buy order in the mempool, buys the token first (frontrunning), lets your trade push the price up, then sells immediately after (backrunning). You get a worse price; the bot pockets the difference. Sandwich attacks cost ordinary DeFi users millions every year.
Arbitrage
When the same token trades at different prices on two decentralized exchanges, searchers race to buy low and sell high in a single atomic transaction. This form of MEV is generally considered benign — even beneficial — because it keeps prices aligned across venues.
Liquidations
In lending protocols like Aave and Maker, undercollateralized positions can be liquidated at a discount. Searchers compete fiercely to be first in line for these liquidations, paying high gas or bribes to block builders for priority placement.
Time-Bandit and Multi-Block MEV
More advanced strategies span multiple blocks — for example, manipulating an oracle price in one block to trigger profitable liquidations in the next. These attacks are rarer but represent the frontier of MEV research.
How MEV Affects Ordinary Users
For most users, MEV shows up as worse execution prices on swaps, failed transactions during volatile periods, and congested blocks that drive gas fees higher. Searchers bid up gas to win ordering priority, and those costs ripple through the network. During major market events, MEV competition can clog Ethereum so badly that regular users cannot get transactions through at any reasonable price.
The MEV Supply Chain: Searchers, Builders, and PBS
Modern MEV extraction is industrialized. Searchers find opportunities and bundle transactions; block builders assemble the most profitable blocks; validators (proposers) simply pick the highest-paying block header without seeing its contents. This separation — proposer-builder separation (PBS) — was designed to keep validators from abusing their ordering power directly. Services like MEV-Boost let validators outsource block building to a competitive marketplace, democratizing MEV revenue while containing its worst centralization risks.
Solutions: Reducing MEV’s Harm
- Private mempools and RPCs: Services that send your transaction directly to builders, hiding it from frontrunning bots until it is safely included.
- MEV-aware wallets and DEX aggregators: Tools that simulate trades, set tight slippage limits, and route through MEV-protected channels.
- Encrypted mempools: A research direction where transaction contents stay hidden until ordering is finalized, removing the information asymmetry MEV feeds on.
- Fair ordering protocols: Consensus-level designs that order transactions by arrival time rather than by bribe, limiting extraction.
- MEV redistribution: Protocols that capture MEV and return it to users or the protocol treasury instead of letting searchers keep it all.
MEV Beyond Ethereum
While MEV research centers on Ethereum, the phenomenon exists wherever transaction ordering is valuable. On Solana, high-speed block production and priority fees created an industrial MEV ecosystem of its own, with sandwich-style attacks adapted to its architecture. Centralized sequencers on Layer 2 rollups currently capture ordering power by default — most sequencers are run by a single operator who could theoretically extract MEV, which is why decentralizing sequencers is a major roadmap item across the L2 ecosystem. Even Bitcoin has MEV-like dynamics around fee sniping and transaction selection. Wherever there is a mempool and ordering discretion, extraction follows.
The Bottom Line
MEV is a fundamental consequence of transparent mempools and ordering power — it cannot be fully eliminated, only managed. The ecosystem’s response, from PBS to private transaction channels, has already reduced the worst harms. As a user, your best defenses are simple: use tight slippage settings, consider MEV-protected RPCs for large trades, and avoid trading during extreme volatility when extraction is fiercest. MEV is a structural feature of how blockchains work today, not a bug any single patch will fix — so trade accordingly. This article is educational and not financial advice; crypto markets are volatile and you should do your own research.



