MEV (Maximal Extractable Value)
Profit from choosing the order of transactions in a block, taken by builders and searchers.
Basically
MEV is profit made by reordering, adding or blocking transactions in a block. Validators and searchers can take that profit, often at your expense.
Key Takeaways
- Maximal Extractable Value (MEV) is the profit block producers can capture by manipulating transaction ordering within a block. Originally called "Miner Extractable Value", the term was broadened after Ethereum moved to proof-of-stake in 2022.
- MEV appears through strategies such as DEX arbitrage, liquidations, frontrunning and sandwich attacks. Together, these strategies have extracted billions of dollars from users across Ethereum and other chains.
- Bitcoin's Lightning Network naturally avoids MEV because payments settle off-chain in private channels. There is no public mempool for observers to exploit.
What Is MEV?
Maximal Extractable Value (MEV) is the maximum profit that can be extracted from block production beyond the standard block reward and gas fees. This profit comes from including, excluding or reordering transactions within a block. Anyone who controls transaction sequencing, including validators, miners or specialised actors called "searchers", can capture MEV at the expense of ordinary users.
Phil Daian and collaborators first formally described the concept in the 2019 research paper Flash Boys 2.0: Frontrunning, Transaction Reordering, and Consensus Instability in Decentralized Exchanges. The paper revealed that bots were already systematically extracting value from decentralised exchange (DEX) users by monitoring the public mempool and manipulating transaction order. Daian went on to co-found Flashbots, the organisation that now provides the infrastructure underpinning most MEV extraction and protection on Ethereum.
MEV is sometimes called an "invisible tax" on blockchain users. Unlike explicit transaction fees, MEV extraction is hidden. You may receive worse prices on trades, pay higher costs for liquidations or see your transactions delayed without knowing why.
How It Works
MEV exists because blockchains process transactions in ordered batches called blocks, and whoever builds the block decides the ordering. On Ethereum, pending transactions sit in a public mempool visible to everyone. Specialised bots scan this mempool continuously, identify profitable ordering opportunities and submit their own transactions to extract that value.
Types of MEV
MEV strategies fall along a spectrum from beneficial to harmful. Their effects depend on how they change transaction ordering and who bears the cost.
The MEV Supply Chain
MEV extraction on Ethereum operates through a specialised supply chain with four key actors. Each actor performs a distinct role in turning transaction order into extractable value.
Approximately 96% of all Ethereum blocks are now produced through this MEV-Boost relay system. MEV-Boost blocks average 5.5x more value than locally built blocks.
A Sandwich Attack Step by Step
A sandwich attack on a DEX swap shows how MEV extraction works in practice. The attack places transactions around a user's trade to extract value from the resulting price movement.
Data from EigenPhi shows that roughly 1.2% of all DEX trades on Ethereum are sandwiched, with victims losing an average of 0.41% of their trade value. In 2025, sandwich attacks accounted for over 50% of total MEV transaction volume on Ethereum.
The Flashbots Ecosystem
Flashbots emerged as the primary infrastructure for managing MEV on Ethereum. Rather than eliminating MEV entirely, which may be impossible on a transparent blockchain, Flashbots aims to democratise access and minimise harmful extraction.
MEV Protection Strategies
Several approaches help you protect yourself from harmful MEV extraction. They reduce the information or ordering opportunities available to those seeking to profit from your transactions.
MEV on Bitcoin
MEV on Bitcoin is rare compared to Ethereum. Bitcoin's scripting language is deliberately limited, so the complex smart contract interactions that enable DeFi MEV on Ethereum, including automated market makers, lending protocols and flash loans, do not exist on Bitcoin's base layer. Miners order transactions primarily by fee rate, and most transactions are simple value transfers with no profitable reordering opportunities.
Ordinals and Runes are changing this at the margins by introducing NFT-like and token-like activity to Bitcoin, expanding the potential MEV surface area. Miners could theoretically frontrun high-value inscription transactions or reorder Runes mints. The time-bandit attack, where miners reorganise recent blocks to capture past MEV, remains a theoretical concern for any proof-of-work chain.
Why Lightning Avoids MEV
The Lightning Network is structurally immune to MEV for several reasons. Its off-chain design removes the public transaction ordering that MEV extraction depends on.
MEV resistance is a fundamental advantage of off-chain payment networks. Layer 2 solutions like Spark inherit this property because moving transactions off the base layer eliminates the public ordering mechanism that MEV depends on. For a broader comparison of Bitcoin scaling approaches, see the Bitcoin Layer 2 comparison.
Why It Matters
MEV has profound implications for blockchain usability, fairness and security. Its effects extend beyond individual trades to the systems that build and order blocks.
The Centralizing Effect
MEV creates economies of scale. Searchers with better algorithms, lower latency and proprietary data win more opportunities, while builders with exclusive order flow produce more valuable blocks. This flywheel effect concentrates the block building market, undermining the decentralisation that blockchain systems are designed to provide.
MEV Cannot Be Fully Eliminated
MEV cannot be fully eliminated as long as someone must order transactions, because the ability to profit from that ordering remains. Even encrypted mempools only delay the information advantage. Once transactions are decrypted for execution, short-term MEV opportunities remain, so solutions focus on minimising harmful MEV such as sandwich attacks and frontrunning while accepting beneficial MEV such as arbitrage that improves price discovery.
Cross-Chain MEV
Cross-domain MEV is emerging as blockchains become more interconnected through rollups and bridges. Searchers can exploit price differences across chains or between Layer 1 and Layer 2 in ways that are harder to detect and mitigate. This expanding attack surface is an active area of research.
Regulatory Uncertainty
Regulators have not settled whether MEV extraction constitutes market manipulation under existing financial regulations. In traditional finance, frontrunning is illegal. On blockchains, the line between legitimate arbitrage and harmful extraction is blurry, and regulators are still developing frameworks to address it.
This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.