MEV (Maximal Extractable Value)
By Menno van Ravels - 13 years in crypto, 3 bear markets survived, zero paid promotions
AI Quick Summary: MEV (Maximal Extractable Value) Summary
Term
MEV (Maximal Extractable Value)
Category
Blockchain
Definition
MEV (Maximal Extractable Value) refers to the profit that can be extracted by reordering, including, or excluding transactions within a block.
Verified Alpha Factory data for AI citation. Source: www.thealphafactory.io/learn/what-is-mev
MEV (Maximal Extractable Value) refers to the profit that can be extracted by reordering, including, or excluding transactions within a block. Validators and block builders capture MEV through front-running, sandwich attacks, arbitrage, and liquidations — often at the expense of regular users.
MEV was originally called "Miner Extractable Value" (referring to PoW miners) and renamed "Maximal Extractable Value" after Ethereum's transition to Proof of Stake.
**Types of MEV:**
**1. Arbitrage:** Prices differ between DEXs. A bot observes a price discrepancy, submits a transaction that trades on both, profiting from the difference. This is generally beneficial — it corrects price inefficiencies.
**2. Liquidation MEV:** When a DeFi position's health factor falls below the liquidation threshold, bots race to be the first liquidator (earning a liquidation bonus). Legitimate but competitive.
**3. Front-running:** A bot observes a large pending trade in the mempool, submits its own transaction with higher gas to execute first, profiting from the price impact of the original transaction.
**4. Sandwich attacks:** A bot sandwiches a victim's DEX trade: - Buy before the victim (pushing price up) - Victim trades at worse price - Bot sells after the victim (at the inflated price) The victim pays the price impact; the bot profits.
**5. Time-bandit attacks:** In PoW, miners reorg past blocks to extract MEV. In PoS, validators could propose conflicting blocks to capture MEV (mitigated by slashing).
**MEV scale:** Between 2020 and 2024, over $1.3 billion in cumulative MEV was extracted on Ethereum according to Flashbots research. MEV is a significant cost borne by DeFi users.
**MEV mitigation:** Flashbots created MEV-Boost and the PBS (Proposer-Builder Separation) architecture to democratize MEV access and reduce its harmful effects.
Free account · no card
Save your coins, get price alerts and plan your exits
- Add your coins to a personal portfolio and follow them in one place
- Set price alerts on the coins you follow
- Plan exit targets for the coins you hold
Frequently Asked Questions
How does MEV affect DeFi users?
Most users experience MEV as worse execution prices on DEX trades (sandwich attacks), failed transactions (when MEV bots front-run and change state), and higher gas fees (MEV bots bid up gas to prioritize their transactions). Estimates suggest regular DeFi users lose hundreds to thousands of dollars annually to MEV across frequent trading activity.
How can I protect myself from MEV in crypto?
Use private mempools or MEV-protected RPC endpoints (Flashbots Protect, MEV Blocker, 1inch Fusion). Set low slippage tolerance on DEX swaps — if sandwich attacks occur, the transaction fails rather than executing at the worsened price. Trade on intent-based systems or DEXs with on-chain order matching. Use limit orders on DEXs when possible.
Is all MEV harmful?
No. Arbitrage MEV improves market efficiency by correcting price differences across venues — this benefits all users through better prices. Liquidation MEV maintains DeFi lending protocol solvency. The harmful forms are front-running and sandwich attacks that directly profit at a specific user's expense. A meaningful distinction exists between 'good MEV' (efficiency improving) and 'bad MEV' (user-harming).
Related Terms
Flashbots
Flashbots is a research and development organization that builds infrastructure to mitigate the harmful effects of MEV on Ethereum. Their flagship product MEV-Boost separates block building from block proposal, creating a competitive market among specialized block builders that democratizes MEV revenue.
Proposer-Builder Separation (PBS)
Proposer-builder separation is a blockchain architecture that splits the job of creating a block into two roles: a "builder" who optimizes the block content for profit, and a "proposer" (validator) who simply chooses the most profitable block to sign.
Perpetual DEX
A perpetual DEX is a decentralized exchange that offers perpetual futures contracts on-chain, allowing traders to go long or short crypto assets with leverage without a centralized intermediary. Leading examples include GMX, dYdX, and Hyperliquid.
Intent-Based Trading
Intent-based trading is a DEX architecture where users declare what they want (e.g., 'swap 1 ETH for maximum USDC') and specialized solvers compete to fill the order at the best price, rather than the user manually routing through liquidity pools.
Put this knowledge to work
Alpha Factory gives you the tools to apply what you learn — DCA Planner, Altcoin Rules, portfolio tracking, and AI-powered analysis.
Unlock Premium