What Is MEV? Maximal Extractable Value on Ethereum Explained
What is MEV? How validators and block builders can reorder or insert transactions for profit on Ethereum.
MEV, or maximal extractable value (originally "miner extractable value" before the Merge), refers to the profit that a block producer — a miner under proof of work, a validator or block builder under proof of stake — can capture by choosing how to order, include, or exclude transactions within a block, beyond the standard block reward and transaction fees.
Why MEV Exists at All
Whoever assembles a block has discretion over which pending transactions to include and in what order. Ordinarily, this discretion is used simply to maximize fee revenue by prioritizing higher-paying transactions. But in DeFi, transaction ordering can also directly affect financial outcomes — for example, the price a trade executes at on a decentralized exchange often depends on what other trades are processed immediately before it. This creates opportunities for a block producer (or anyone able to influence ordering) to extract additional value purely through strategic sequencing.
Common Forms of MEV
- Arbitrage — capturing price discrepancies between different decentralized exchanges or pools within the same block, a relatively benign and arguably even beneficial form of MEV, since it helps keep prices consistent across venues.
- Front-running — seeing a pending transaction in the public mempool (like a large trade that will move a price) and inserting your own transaction ahead of it to profit from the anticipated price movement.
- Sandwich attacks — a specific and widely criticized front-running pattern where an attacker places one transaction immediately before a victim's trade and another immediately after, profiting from the price impact the victim's own trade causes, at the victim's direct expense.
- Liquidation extraction — competing to be the first to trigger and capture the reward from liquidating an undercollateralized position in a lending protocol, discussed further in our guide on DeFi lending.
Why MEV Matters for Ordinary Users
MEV isn't just an abstract validator-economics topic — it directly affects the prices ordinary users get on DeFi trades. A sandwich attack, for instance, can mean a user's swap executes at a meaningfully worse price than expected, even though the transaction technically succeeds exactly as submitted. Slippage tolerance settings in decentralized exchange interfaces exist partly to limit how much worse a trade's execution price can be, which offers some protection against the more aggressive forms of MEV extraction.
How the Ecosystem Has Responded
Rather than trying to eliminate MEV outright (which is difficult, since transaction ordering discretion is inherent to how blockchains work), the Ethereum ecosystem has focused on making MEV extraction more transparent, competitive, and less harmful:
- Private transaction relays, pioneered by services like Flashbots, let users submit transactions outside the public mempool, reducing the ability of bots to see and front-run them before inclusion.
- Proposer-builder separation (PBS) splits the role of building a block's contents from the role of proposing it, aiming to reduce the incentive and ability for individual validators to extract MEV directly themselves, discussed in our dedicated article on proposer-builder separation.
- MEV redistribution mechanisms, where some portion of MEV profit is captured and shared back with users or validators more broadly, rather than being fully captured by whoever happens to build a given block.
Types of MEV at a Glance
| MEV Type | Effect on Users | General Perception |
|---|---|---|
| Arbitrage | Neutral to mildly positive (keeps prices aligned) | Generally accepted |
| Front-running | Negative for the front-run party | Widely criticized |
| Sandwich attacks | Directly costs the victim on trade execution | Widely criticized, actively mitigated |
| Liquidation extraction | Neutral for the protocol, competitive among bots | Generally accepted as part of protocol design |
Practical Steps Users Can Take
- Set reasonable slippage tolerance on trades, rather than leaving it wide open, to limit the maximum damage a sandwich attack could cause.
- Use private transaction submission options where available in your wallet or DEX interface, to reduce mempool visibility of your pending trades.
- Understand that "MEV protection" features vary in strength — some genuinely reduce exposure, others offer only partial mitigation, so treat marketing claims with the same scrutiny you'd apply to any other DeFi feature claim.
Bottom Line
MEV is the extra value a block producer or sophisticated bot can extract by controlling transaction ordering, ranging from relatively benign arbitrage to directly harmful sandwich attacks against ordinary traders. The ecosystem has responded with private relays, proposer-builder separation, and better slippage tooling, but MEV hasn't been eliminated — it's an inherent feature of how permissionless blockchains order transactions. Learn more about the infrastructure built specifically to manage it in our explainer on Flashbots.
Related articles
This article is for educational purposes only and is not financial advice. DeFi involves significant risk, including total loss of funds. Always do your own research.