What Is MEV in Crypto? Maximal Extractable Value Explained (2026)

— By Tony Rabbit in Tutorials

What Is MEV in Crypto? Maximal Extractable Value Explained (2026)

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?

Searchers
Off-chain bots that scan the mempool for opportunities. They construct transaction bundles and bid for inclusion.
Builders
Specialists that assemble searcher bundles into the most profitable block, then sell that block to validators via auction (MEV-Boost).
Validators / proposers
Pick the highest-paying block from the builder auction and publish it on-chain. They earn the validator’s share of MEV revenue without running searcher infrastructure.

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

  1. Front leg: attacker buys the same token just before the victim’s swap, pushing price up.
  2. Victim swap: the user’s buy executes at the now-worsened price (within their slippage tolerance).
  3. 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

  1. Searchers build transaction bundles and submit them to builders.
  2. Builders assemble the most profitable block (combining searcher bundles, regular transactions, and self-built strategies).
  3. Builders submit their block bid to relays (e.g., Flashbots, BloXroute).
  4. The validator selected to propose the next block queries relays for the highest-paying valid block and signs it without seeing the contents.
  5. 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.

Private RPCs
Submit your transaction directly to a builder via a private RPC, bypassing the public mempool. Examples: Flashbots Protect, MEV Blocker, BloXroute Private TX. Free or low-cost for individual users.
MEV-resistant DEXs
Use frequent-batch-auction or intent-based protocols that net trades off-chain before settling. Examples: CowSwap, 1inch Fusion. They explicitly route around sandwich risk.
Tight slippage
Set slippage to the minimum that still lets the trade succeed (typically 0.1–0.5%). High slippage gives sandwich bots more room to extract.
DEX aggregators
Aggregators like 1inch, Matcha and OpenOcean route across pools and often offer optional MEV protection on the same UI.
Trade size awareness
Bigger trades = bigger MEV target. Split large trades into smaller chunks (TWAP) or route through aggregators.
L2s and rollups
Some L2s have private mempools or single sequencers (Arbitrum, Base) which currently reduce sandwich attacks — but this can change as decentralized sequencing rolls out.

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

  1. Open MetaMask → Settings → Networks → Add a network manually.
  2. For Flashbots Protect: RPC URL https://rpc.flashbots.net, Chain ID 1, Currency ETH.
  3. For MEV Blocker: RPC URL https://rpc.mevblocker.io, Chain ID 1, Currency ETH.
  4. Save and switch to that network for any swap that matters.
  5. 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

Is MEV illegal?
No. MEV is not illegal — it operates within the rules of public blockchains where anyone can bid for transaction ordering. Some forms (sandwich attacks) are predatory but technically permitted by the protocol.
Does MEV exist on Solana?
Yes. Solana’s Jito client introduced an MEV auction similar to Ethereum’s MEV-Boost. JitoSOL captures part of that revenue and shares it with stakers.
What is the difference between MEV and gas fees?
Gas fees pay for computation; everyone pays them. MEV is the extra value extracted from ordering transactions — a separate, often hidden cost paid disproportionately by users whose trades move price.
How much MEV is extracted per year?
Multiple research dashboards (Flashbots Explore, libMEV) track this in real time. Annual extraction on Ethereum alone has run in the hundreds of millions of dollars across the post-Merge era.
Should I always use a private RPC?
For DEX swaps that move price, yes — it is essentially free protection. For simple transfers and basic interactions, public mempool is fine and sometimes faster for inclusion.

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.