What Is Maximal Extractable Value (MEV) And How It Works
Maximal Extractable Value (MEV) is a hidden cost built into every DeFi transaction. Learn how it works, who benefits, and how to limit your exposure.
Key takeaways
- MEV is the extra profit block producers can capture by controlling how transactions are ordered inside a block beyond standard fees.
- MEV is a structural consequence of how public blockchains work: transparent mempools give anyone with block-building power an information advantage.
- There are two categories: predatory MEV that directly harms users, and efficiency MEV that helps keep markets balanced.
- MEV protection today is practical and accessible to any user without technical expertise.
Maximal Extractable Value (MEV) is the extra profit that block producers – validators or miners – can extract by reordering, inserting, or excluding transactions within a block, on top of standard block rewards and gas fees. In practice, it is a hidden cost built into every DeFi transaction.
Understanding MEV means understanding who actually controls your trade once it leaves your wallet and what happens in the milliseconds before it confirms.
What Is Maximal Extractable Value (MEV)?
| In short: MEV is the maximum value that can be extracted from block production by manipulating transaction order, beyond what block producers earn from standard fees and rewards. |
It naturally arises from the fact that block producers are responsible for coordinating users' preferences and are, therefore, in a position to profit from information asymmetries.
The term originated as "Miner Extractable Value" in the 2019 research paper Flash Boys 2.0 by Phil Daian et al., which first documented systematic front-running on decentralized exchanges.
After Ethereum transitioned to Proof-of-Stake, the term evolved to "Maximal Extractable Value" to include validators and other non-miner block producers, but the underlying dynamic remained unchanged.
Every public blockchain transaction passes through a waiting room (the mempool) before it gets confirmed. Anyone with the power to decide what goes into a block and in what order can use that power for profit. That is MEV.
How MEV Works: The Mechanics
| In short: MEV is a direct result of two structural features of public blockchains: visible pending transactions and discretionary block ordering. |
The Mempool: Where Everything Starts
When you submit a transaction, it does not go directly into a block. It first enters the mempool – a public queue of unconfirmed transactions visible to the entire network.
Every detail of your pending trade is readable, including
- Token pair
- Size
- Slippage tolerance
- Gas price
This visibility window creates the extraction opportunity. Bots continuously scan the mempool in real time, simulating whether they can profit from your transaction before it gets confirmed and acting in milliseconds when they can.
For a deeper look at how the mempool works, see: Bitcoin Mempool Explained: Where Transactions Compete
Three Core Actors in the MEV Ecosystem
MEV extraction today runs on a structured three-layer system:
Role | What They Do |
| Searcher | Scans the mempool, identifies opportunities, and builds profitable transaction bundles |
| Block Builder | Aggregates bundles from searchers, optimizes transaction ordering, constructs full candidate blocks |
| Validator | Selects which block to propose; receives a share of MEV revenue through competitive auctions |
Over 95% of Ethereum validators use MEV-Boost because it increases their staking rewards by 20–50%. This infrastructure, known as Proposer-Builder Separation (PBS), has turned MEV from individual opportunism into an organized, industrialized system.
In the MEV supply chain, value flows from user → searcher → builder → validator. Validators capture 80–95% of extracted value; builders take 3–10%; searchers net 5–15%. Users pay 100%.
Common Types of MEV Strategies
| In short: The five main MEV strategies are arbitrage, front-running, sandwich attacks, liquidation MEV, and back-running. Each differs in how they exploit transaction ordering and in how much harm they cause to ordinary users. |
Arbitrage
Arbitrage is the most common form of MEV by transaction volume. It exploits price differences for the same token across different DEX pools – buying where it is cheaper, selling where it is more expensive, in a single atomic transaction.
Since DEXs process billions in transactions daily, arbitrage transactions make up the majority of MEV activity, generating $3.37 million in profit over 30 days in September 2025, according to EigenPhi.
Unlike predatory MEV, arbitrage has a side effect that benefits the market. It pushes prices toward equilibrium across protocols, improving overall pricing accuracy for other users.
Front-running
Front-running happens when a bot detects a large pending trade in the mempool and inserts its own identical trade ahead of it at a higher gas price to guarantee earlier execution.
By detecting a large DEX swap that will move the price, a front-runner can buy first and sell immediately after at a profit. This directly harms the original transaction sender, who receives worse execution.
Example: You place a buy order for a token. A bot spots it, buys first, your order pushes the price up, and the bot sells immediately after, pocketing the difference while you pay more than you should have.
Approximately 0.8% of trades on Ethereum are front-run, costing users an average of 0.23% per transaction.
Sandwich attacks
A sandwich attack combines front-running and back-running into a single coordinated sequence around one target trade.
The sequence:
- Bot places a buy immediately before your swap (front-run)
- Your transaction executes at a worse price, because the bot's buy moved the market
- Bot places a sell immediately after your swap (back-run), profiting from the price impact your trade created
A 2025 Flashbots study found that 1.2% of all DEX trades on Ethereum are sandwiched, with an average loss of 0.41% of trade value per affected trade. On low-liquidity pairs such as new memecoins, sandwich attack losses can exceed 5% per trade.
Liquidation MEV
On DeFi lending protocols such as Aave, Compound, and MakerDAO, users must maintain a minimum collateral ratio. When a position drops below the threshold, it becomes eligible for liquidation.
When a user's collateral falls below the required threshold, liquidators can purchase the collateral at a discount by repaying the debt. This creates competition among liquidators to identify and execute liquidations as fast as possible.
And, validators can prioritize certain liquidation transactions or run liquidation bots themselves to capture this value.
Liquidation MEV is generally considered less harmful to the broader system. It actually keeps lending protocols solvent, though the competition for liquidation rewards can still disadvantage smaller, slower participants.
Back-running
Back-running is the passive end of the MEV spectrum. A bot places its transaction immediately after a known high-impact event to capture the residual price movement that event creates.
Back-running bots monopolize arbitrage opportunities between exchanges and deny regular users the chance to benefit from the price impact their own trades create.
Unlike front-running, back-running does not worsen the victim's execution directly. Its harm is more indirect: it extracts value from price movements that the original user's transaction caused, without offering anything in return.
Why MEV Is Important Today
In short: MEV has grown from a theoretical edge case into a multi-billion-dollar industry that:
|
Scale of extraction:
- In 2026, more than $3 billion in MEV is extracted annually from Ethereum, its rollups, and fast-finality chains like Solana – double the figures recorded just two years ago.
- MEV-Extracting Entities generated nearly $24 million in profit in just 30 days on Ethereum alone (December 2025 – January 2026).
- MEV now accounts for 30–40% of total validator revenue on Ethereum.
Distribution by type (cumulative since 2020):
MEV Type | Estimated Share | Cumulative Value |
| Arbitrage | ~35% | ~$2.5B |
| Sandwich attacks | ~30% | ~$2.2B |
| Liquidations | ~25% | ~$1.8B |
| Other | ~10% | ~$700M |
A DeFi user making 100 swaps per year on Ethereum mainnet with an average trade size of $500 might lose $150–$300 annually to MEV – money that could have stayed in their wallet.
As of 2026, the battleground has shifted from Ethereum L1 to Layer 2s and high-throughput chains like Solana. In Q1 2025, roughly 47% of DEX volume in the Ethereum ecosystem was occurring on Layer 2 networks – up from 35% in Q1 2024, bringing MEV dynamics with it.
At the protocol level, the Glamsterdam upgrade is introducing ePBS (Enshrined Proposer-Builder Separation), which brings the MEV auction directly into the protocol's code. This removes middleman relays and helps decentralize block builder power.
Is MEV Good or Bad?
| In short: MEV is both, depending on the strategy. Arbitrage and liquidations improve market efficiency and are considered beneficial, while front-running and sandwich attacks extract value directly from users with no systemic benefit. |
The honest answer is that MEV contains two fundamentally different things sharing the same name.
1. The case that MEV is harmful:
Predatory strategies, including sandwich attacks and front-running, extract value directly from users without contributing anything to the market. The user gets a worse price, and the bot gets the difference.
Research analyzing 534,198 Uniswap v3 swaps found that the visible liquidity-provider fee accounts for only 28–36% of the total cost of trading on DEXs. The remainder is composed of gas, adverse slippage, market impact, and MEV, all invisible to the average user.
In severe cases, where users mistakenly set high or no slippage limits, they can lose most or all of the expected value in a single swap.
2. The case that MEV is necessary:
Without rational searchers seeking and fixing economic inefficiencies, DeFi protocols may not be as robust as they are today.
- Arbitrage bots keep prices consistent across DEXs.
- Liquidation bots keep lending protocols solvent.
These are not side effects. They are load-bearing functions of how DeFi markets maintain efficiency.
3. Here’s a practical summary to look at:
MEV Type | Impact on User | Impact on Market |
| Arbitrage | Indirect, minimal | Positive – improves price efficiency |
| Liquidation | Neutral for traders | Positive – keeps protocols solvent |
| Back-running | Indirect value loss | Neutral to slightly negative |
| Front-running | Direct financial loss | Negative |
| Sandwich attack | Direct financial loss | Negative |
The debate is whether its more harmful forms can be structurally minimized, which is exactly what current research and protocol design is trying to address.
A different way to think about MEV:
In traditional finance, front-running by brokers is illegal and heavily regulated. On public blockchains, the same behavior is structurally permitted because whoever builds the block sets the rules. MEV is, in a sense, the price of permissionless transparency: the same openness that makes blockchains trustless also makes every pending transaction visible to anyone looking to profit from it.
— BytebyByte
How Users Can Reduce Exposure to MEV
| In short: Users can meaningfully reduce MEV exposure by controlling two things: where their transaction is visible and how much price movement they allow. Several accessible tools exist today to address both – no technical background required. |
Private transaction routing
The most effective protection is to keep your transaction out of the public mempool entirely. Private RPC services route your transaction directly to trusted block builders, bypassing the open queue where bots monitor pending trades.
Accessible options include:
- Flashbots Protect: routes transactions privately; users receive 90% of any back-run profits generated from their order flow
- MEV Blocker: free, open-source private RPC; available at mevblocker.io
- BloxRoute MaxProfit: private mempool routing with builder-level optimization
Limit orders
Limit orders specify an exact execution price rather than accepting whatever the market offers at the moment of confirmation. Since the final price is fixed, there is no profitable price gap for a sandwich bot to exploit.
Most major DEX aggregators, including 1inch and Paraswap, support limit orders. They are particularly effective for larger trades where slippage tolerance is typically wider.
Slippage controls
Slippage tolerance defines how much price movement you will accept between submitting and confirming a transaction. Higher slippage = wider window for bots to operate.
Practical guidance:
- Set slippage to 0.3–0.5% for large-cap tokens with deep liquidity
- Avoid auto-default settings (often 1–3%) on unfamiliar DEX interfaces
- For low-liquidity tokens, accept that tight slippage may cause more failed transactions, but this is preferable to being sandwiched
MEV-resistant protocols
Some protocols are designed from the ground up to eliminate or significantly reduce MEV exposure:
- CoW Swap: Uses batch auctions and intent-based order flow; trades are matched off-chain before settlement, making front-running structurally impossible
- 1inch Fusion: Routes orders through private solvers without public mempool exposure
- Uniswap v4 hooks: Introduces programmable pool logic that can enforce MEV-resistant execution conditions
Sources and Further Reading
- Maximal Extractable Value – Ethereum.org
- Flash Boys 2.0: Frontrunning, Transaction Reordering, and Consensus Instability in Decentralized Exchanges – arXiv (Daian et al., 2019)
- MEV Is the PFOF of Crypto: An Implicit Tax Per Transaction – SSRN
- What Is Backrunning? – CoW Protocol
- Flashbots Research – The Flashbots Collective
FAQs About Maximal Extractable Value
No. Any blockchain with a public mempool is vulnerable. MEV is active on BNB Chain, Solana, Arbitrum, Base, and Polygon. Ethereum has historically seen the most activity due to its DeFi volume, but as activity migrates to Layer 2s and alternative chains, MEV follows.