What Is MEV in Crypto? Maximal Extractable Value Explained (2026)
— By Tony Rabbit in Tutorials

MEV is the extra value that validators and searcher bots extract by reordering, including or excluding transactions inside a block. Complete guide covering frontrunning, sandwich attacks, MEV protection, Flashbots, and how to defend your trades in 2026.
MEV stands for Maximal Extractable Value (originally Miner Extractable Value). It is the extra profit that block producers — and the “searcher” bots that work alongside them — can extract by carefully ordering, including, or excluding transactions inside a block. MEV is invisible to most users but it is one of the largest hidden taxes in crypto, costing DEX traders hundreds of millions of dollars per year in worse fills than they should have received.
This guide explains what MEV is, how the main attacks work (frontrunning, sandwiching, backrunning), the modern Flashbots-style infrastructure that pipes MEV bids to validators, and the practical steps any trader can take to protect themselves in 2026.
Quick answer
- MEV = the value extractable by reordering or selectively including transactions in a block.
- Main forms: frontrunning, sandwich attacks, backrunning, liquidation hunting, NFT sniping.
- Players: searchers (find opportunities), builders (assemble blocks), validators / proposers (publish them).
- Defense: private RPCs, MEV-resistant routing (CowSwap, 1inch Fusion), Flashbots Protect, MEV Blocker.
What is MEV?
Every blockchain transaction enters a public waiting area called the mempool before it is included in a block. Anyone can see what is queued. Block producers (miners on PoW, validators on PoS) decide which transactions go into the next block and in what order.
That ordering power is valuable. If a producer notices a pending DEX swap that will move price, they can insert their own transactions before and after it to capture the price movement. The profit from that ordering is MEV.
The term originated as “Miner Extractable Value” on proof-of-work Ethereum. After the Merge it was renamed “Maximal Extractable Value” because validators — not miners — now order transactions, but the concept extends to any chain with a public mempool: Solana, BNB Chain, Arbitrum, all of them have MEV in some form.
Who extracts MEV?
The main types of MEV extraction
Frontrunning
A searcher sees a pending transaction in the mempool that will move price (e.g., a large DEX swap). They submit their own copy of the trade with higher gas, pushing it ahead in block order. They buy the asset, the victim’s trade then moves the price up, and the searcher sells back into that movement at a profit.
Sandwich attacks
The most common attack on retail DEX users. A searcher sandwiches a victim’s swap with two of their own:
Anatomy of a sandwich attack
- Front leg: attacker buys the same token just before the victim’s swap, pushing price up.
- Victim swap: the user’s buy executes at the now-worsened price (within their slippage tolerance).
- Back leg: attacker sells immediately after, capturing the price impact the victim’s trade caused.
The victim still gets their tokens, but receives less than they would have without the sandwich. The attacker pockets the difference, minus gas.
Backrunning
The mirror image of frontrunning. The searcher waits for a transaction to land and then immediately follows it to capture the price move it caused. Common after large oracle updates, large liquidations, or new pool deployments. Less hostile to retail than sandwiches because it does not change the victim’s execution price.
Liquidation hunting
Lending protocols like Aave and Compound let anyone liquidate undercollateralized positions in exchange for a fee. Searchers race each other to be the first to liquidate vulnerable positions when oracle prices update. Beneficial to the protocol (positions get closed quickly) but a pure MEV game.
NFT sniping
Bots scan NFT marketplaces for mispriced listings or new mints and outbid normal users with higher gas, beating them to popular drops. Closely related to but distinct from token sniping bots that scan for new pool deployments.
Flashbots and the modern MEV stack
Before Flashbots, MEV was extracted via gas wars in the public mempool. Searchers bid up gas to outpace each other, creating priority fee spam that congested the network. Ethereum responded by formalizing the auction.
MEV-Boost: how block production works in 2026
- Searchers build transaction bundles and submit them to builders.
- Builders assemble the most profitable block (combining searcher bundles, regular transactions, and self-built strategies).
- Builders submit their block bid to relays (e.g., Flashbots, BloXroute).
- The validator selected to propose the next block queries relays for the highest-paying valid block and signs it without seeing the contents.
- The block is published. Searchers, builders, and validators split the MEV revenue.
More than 90% of Ethereum blocks are produced via this MEV-Boost auction. It separates block building from block proposing — reducing centralization risk while still allowing the auction to clear efficiently.
How to protect yourself from MEV
Most retail users cannot prevent sandwich attacks just by lowering slippage — bots can still extract whatever the slippage tolerance allows. The right defenses involve where you submit your transaction.
How to set up MEV protection in your wallet
The simplest fix: change the RPC in MetaMask (or any EVM wallet) to a protected one.
Setup checklist
- Open MetaMask → Settings → Networks → Add a network manually.
- For Flashbots Protect: RPC URL
https://rpc.flashbots.net, Chain ID1, CurrencyETH. - For MEV Blocker: RPC URL
https://rpc.mevblocker.io, Chain ID1, CurrencyETH. - Save and switch to that network for any swap that matters.
- Keep a public-RPC profile for transactions that benefit from public mempool inclusion (rare).
Why MEV matters for the ecosystem
MEV is not purely negative. Some forms (arbitrage, liquidations) make markets more efficient. The problem is when extraction harms ordinary users without producing value — sandwich attacks being the canonical example.
The current debate is whether MEV should be:
- Suppressed via private mempools and intent-based DEXs that route around the public auction.
- Democratized via auctions that share extraction revenue with the original transaction senders (MEV refunds, MEV-Share, MEV Blocker rebates).
- Redistributed at the protocol level, where chains design ordering rules that limit harmful MEV (proposer-builder separation, encrypted mempools, randomized ordering).
All three approaches are progressing in 2026. For end users, the practical takeaway is simpler: route transactions through a protected RPC and prefer MEV-resistant DEXs whenever the trade is large enough to matter.
Frequently Asked Questions
Related DEXTools tutorials
This article is for educational purposes only and does not constitute financial advice. DEXTools does not recommend buying, selling or holding any cryptocurrency or token. Always do your own research before sending transactions on public blockchains.