What Is MEV?
MEV (Maximal Extractable Value, formerly "Miner Extractable Value") represents the profit that can be extracted by including, excluding, or reordering transactions within a block. Block producers—validators on Proof of Stake chains—have the power to determine transaction order, creating opportunities to profit from this privileged position.
MEV encompasses a wide range of strategies: arbitrage between DEXs, liquidations, sandwich attacks, backrunning profitable trades, and more. While some MEV extraction is value-neutral or even beneficial (arbitrage improves price consistency), other forms extract value from regular users (sandwich attacks).
For sophisticated DeFi participants, MEV represents both a risk to manage and a potential yield source. Understanding MEV helps you protect your transactions from extraction while potentially participating in the value capture through various mechanisms.
How MEV Works
The Block Building Process
On Ethereum and similar chains, transactions flow through several stages:
- User Submission: User sends transaction to mempool (public waiting area)
- Visibility: Transaction becomes visible to everyone watching mempool
- Builder Selection: Block builders assemble profitable transaction bundles
- Proposer Selection: Validator proposes the block
- Execution: Transactions execute in chosen order
Common MEV Strategies
DEX Arbitrage:When prices differ between DEXs, arbitrageurs submit transactions to buy on the cheap venue and sell on the expensive one. This is generally positive—it improves market efficiency.
Liquidations:When lending protocol positions become unhealthy, liquidators race to liquidate them and claim the liquidation bonus. This is essential for protocol health but profitable for fast participants.
Sandwich Attacks:A malicious strategy targeting pending DEX trades:
- Observe pending swap (user buying Token A)
- Front-run: Buy Token A before user's transaction
- User's transaction executes at worse price
- Back-run: Sell Token A after user, profiting from price impact
Following a large trade with your own trade:
- Large buy creates price impact
- Backrunner immediately sells into the elevated price
- Less harmful than sandwiching but still extractive
Provide liquidity immediately before a large swap, capture fees, withdraw after:
- Observe pending large swap
- Add concentrated liquidity at optimal range
- Capture fees from the swap
- Remove liquidity immediately
The MEV Supply Chain
Modern MEV extraction involves specialized players:
Searchers: Find MEV opportunities and create bundles Builders: Aggregate bundles into complete blocks Proposers: Validators who propose the final block Relays: Connect builders to proposers (Flashbots relay)Through MEV-Boost, this separation allows specialized competition at each layer.
MEV as a Yield Source
Approach 1: Running MEV Bots
Direct Searching:Build and operate bots that identify and capture MEV:
- Arbitrage bots
- Liquidation bots
- Backrunning bots
- Sophisticated development skills
- Infrastructure investment (fast nodes, mempool access)
- Capital for transactions
- Continuous maintenance and optimization
Approach 2: Liquid Staking with MEV Share
Jito on Solana:Jito's liquid staking (JitoSOL) distributes MEV rewards to stakers:
- Validators using Jito capture MEV
- MEV shared with JitoSOL holders
- Enhanced staking yields (6-8% vs 5-6% base)
Approach 3: MEV Smoothing in Staking Pools
Ethereum Staking:Staking pools can smooth MEV across all stakers:
- Individual validator MEV is lumpy (proposal luck)
- Pools aggregate and distribute evenly
- More predictable enhanced returns
Approach 4: Providing MEV Infrastructure
Running Relays/Builders:Operate infrastructure that captures MEV flow:
- Block builders receive tips from searchers
- Relay operators may earn fees
- Requires significant technical investment
Approach 5: MEV Protection Products
Building Protection Services:Create products that protect users from MEV:
- Private transaction routing
- Order flow auctions
- MEV rebate mechanisms
Monetize by capturing portion of avoided MEV.
Protecting Yourself from MEV
Use Private Transaction Channels
Flashbots Protect:- Transactions sent directly to block builders
- Not visible in public mempool
- Free, simple wallet integration
- Prevents sandwich attacks
- Routes transactions privately
- May rebate captured MEV to users
- Integrated with CoW Swap
Choose MEV-Aware DEXs
CoW Protocol:- Batch auctions prevent front-running
- Solvers compete to find best execution
- MEV captured goes to better prices
- Limit orders reduce MEV exposure
- Oracle-based pricing for some operations
Use Appropriate Slippage Settings
Too High Slippage: Invites sandwich attacks (they exploit your tolerance) Too Low Slippage: Transactions may fail Optimal: Just enough for market conditions (usually 0.5-1% for liquid pairs)Time Large Transactions
Avoid:- Periods of high volatility
- Immediately after major news
- When gas is spiking
The Economics of MEV
MEV Distribution
Who captures MEV value:
- Searchers: Initial identification, historically majority
- Builders: Increasingly capturing value
- Proposers: Receive tips from builders
- Users: Negative (source of extracted value)
- Protocols: Some design to capture/redistribute
Scale of MEV
Historical MEV extraction on Ethereum:
- $600M+ extracted cumulatively (conservative estimate)
- $1-5M daily during high activity
- Growing as DeFi volume increases
MEV and Protocol Design
Protocols increasingly design around MEV:
- Batch auctions (CoW, 1inch Fusion)
- Time-weighted average prices
- Commitment schemes
- MEV-aware oracle designs
Risks and Considerations
Competition Intensity: MEV searching is hypercompetitive. Most opportunities are captured within milliseconds by sophisticated players with infrastructure advantages. Technical Complexity: Profitable MEV extraction requires deep technical knowledge of EVM execution, mempool dynamics, and DeFi protocols. Capital Requirements: While some MEV is "free" (just gas cost), many strategies require capital for trades, collateral, or failed transaction gas. Ethical Considerations: Some MEV strategies (especially sandwiching) directly harm users. Participants should consider the ethics of their approach. Regulatory Uncertainty: MEV practices, especially front-running, exist in a regulatory gray zone that may face future scrutiny.Common Mistakes to Avoid
- Underestimating competition: MEV is not easy money. The market is extremely efficient.
- Ignoring MEV protection: As a regular user, not using private transaction channels exposes you to unnecessary extraction.
- Over-optimizing slippage: Don't set 0% slippage—it just means transactions fail. Find the balance.
- Assuming MEV is always bad: Arbitrage and liquidations are beneficial. The ecosystem needs these functions.
- Building without edge: New MEV bots without unique advantages (speed, strategy, data) typically lose money.
FAQ
Is MEV extraction legal?MEV extraction generally occurs through valid blockchain transactions. However, the legality of specific practices (especially those resembling front-running in traditional markets) remains unclear and may face future regulatory attention.
How much can I earn from MEV?Highly variable. Top searchers earn millions, but they've invested years and significant capital in infrastructure. Most new entrants lose money to competition and gas costs. Passive MEV through liquid staking (like JitoSOL) might add 1-2% APY.
Should I be worried about MEV as a regular user?For normal-sized transactions, MEV extraction is usually modest. For large swaps ($10K+), using MEV protection (Flashbots Protect, CoW Swap) is worthwhile. The cost is zero, and protection can save significant value.
What's the future of MEV?Likely: continued specialization, more value flowing to validators/proposers, better user protection tools, and protocol designs that minimize harmful extraction. MEV will persist as long as transaction ordering has value.
Can protocols eliminate MEV?Not entirely, but they can redirect it. Protocols can design to capture MEV for users (better prices) or validators (protocol revenue). Eliminating MEV opportunities entirely is likely impossible.
Want to optimize your DeFi transactions? Fensory helps you navigate DeFi efficiently, finding the best yields while understanding the full landscape of opportunities and risks.[Explore DeFi Intelligence →](https://www.fensory.com)