Skip to content
/articles / guides / mev-what-is-maximal-extractable-value-guide
Back to articles
Guides

MEV: What Maximal Extractable Value Is and How It Affects You

MEV (Maximal Extractable Value) is the value miners and validators can extract by reordering, including, or excluding transactions. Guide on how it works, types, and how to protect yourself.

ConcoDeFi Logo
Conco @conco
APR 29, 20267 min read𝕏TG

MEV (Maximal Extractable Value) is the extra value that actors who order transactions on a blockchain —miners in PoW, validators in PoS— can extract by reordering, including, or excluding transactions from the blocks they produce.

It's one of crypto's most critical and least understood concepts. It affects everyone using DeFi, and for many protocols represents a value leakage of hundreds of millions of dollars per year.

Why MEV exists

On a blockchain, when you send a transaction it doesn't directly enter the block. First it goes to the mempool: a public space where all pending transactions are visible. Validators (or miners) choose which transactions from the mempool to include in the next block and in what order.

Here's the problem: order matters. In DeFi, transaction order changes the economic outcome. If a user is going to buy a large amount of a token, someone watching that transaction can:

  1. Buy first (pushing price up).
  2. Let the victim buy at the inflated price.
  3. Sell immediately after (capturing the difference).

That's a sandwich attack, a common form of MEV. And since transactions in the mempool are public, anyone can do it.

Types of MEV

1. Arbitrage

Take advantage of price differences between DEXs. If ETH trades at $3,000 on Uniswap and $3,020 on SushiSwap, someone buys on Uniswap and sells on SushiSwap in the same transaction capturing $20 per ETH (minus fees).

This is "clean" MEV: helps prices between DEXs converge. Most protocols don't consider it problematic.

2. Liquidations

When an Aave or Maker loan falls below the liquidation ratio, someone has to liquidate it (pay the debt and claim the collateral at a discount, typically 5-15%). Bots compete to liquidate first.

Also "clean" MEV — necessary for protocol health. Liquidation bots make money providing a critical service.

3. Sandwich attacks

The most harmful. Mechanism:

  1. User sends a large swap (e.g., 100 ETH → USDC on Uniswap).
  2. Bot sees the transaction in mempool.
  3. Bot sends THEIR buy before (front-run) with more gas.
  4. Victim executes their transaction at the now-higher price.
  5. Bot sells immediately after (back-run) capturing the spread.

Result: victim receives less USDC than expected; bot captures the difference.

4. Pure front-running

Replicating your transaction with slightly more gas to execute first. Typical case: someone is going to buy a newly launched token; a bot copies them and buys first to sell to the victim.

5. Time-bandit attacks

Reorganizing past blocks if there's enough MEV to justify it. Rare on Ethereum today due to fast finality, but theoretically possible.

The MEV ecosystem: Flashbots and MEV-Boost

The industry responded to MEV with a protocol: Flashbots and, post-Merge, MEV-Boost.

How MEV-Boost works

Instead of validators building their own blocks from the mempool, they auction off the building to specialized "builders." Each builder builds an MEV-optimized block and bids the validator the most ETH possible.

The validator accepts the highest bid. Result:

  • Validators earn more (receive part of the MEV).
  • MEV becomes explicit and efficient (instead of amateur validators extracting little).
  • MEV value still comes out of user pockets (it's not eliminated, just redistributed).

In 2026 ~90% of Ethereum validators use MEV-Boost. This centralizes block building in few builders (Flashbots, BloXroute, Eden, Builder0x69, etc.), which is an emerging decentralization issue.

MEV-Boost pros and cons

Pros:

  • Increases staker yield (~$300M/year additional).
  • Reduces barrier for small validators (don't need their own MEV strategies).

Cons:

  • Block builder centralization.
  • Censorship: some builders comply with OFAC sanctions, filtering Tornado Cash transactions. ~30-50% of Ethereum blocks in 2024-2025 were "OFAC compliant."
  • Doesn't eliminate MEV — institutionalizes it.

How much MEV is in crypto

Public data (Flashbots, mevboost.org, eigenphi.io):

  • Ethereum extracts hundreds of millions of USD per year in MEV.
  • ~30-40% is sandwich attacks against DeFi users.
  • The rest is arbitrage and liquidations.

On L2 and other chains MEV exists but different. On Solana transaction ordering is faster and sandwiches are rarer (but exist).

How to protect yourself as a user

1. Use private RPCs / MEV protection

Instead of sending your transaction to the public mempool (where bots see it), use services that send it directly to builders without public exposure:

  • Flashbots Protect: free, recommended.
  • MEV Blocker: alternative.
  • MEV Share (Flashbots): returns you part of the extracted MEV.

Configure in MetaMask/Rabby: add a custom RPC pointing to these services.

2. Low slippage tolerance

On DEXs, lower slippage to the minimum possible (0.1-0.5%). If a sandwich would exceed that slippage, the transaction fails instead of executing at a loss.

Risk: with very low slippage, the transaction can fail in volatile markets even without MEV. Balance needed.

3. Use DEXs with native MEV protection

Some DEXs minimize MEV by design:

  • CoW Swap: batch auctions (process transactions in batches, not individually).
  • 1inch Fusion: uses intents executed via solvers.
  • UniswapX: similar to Fusion.

These protocols give you competitive price without sandwich attack exposure.

4. Split large orders

If you're going to swap $1M, split it into 10 orders of $100k spaced out. Each individual order is less attractive for sandwich attacks.

5. Avoid high volatility moments

Right after major macro events (Fed announcements, ETF approvals), MEV spikes because bots compete more aggressively. If possible, wait.

MEV on L2 and other chains

Ethereum Layer 2

L2s currently have a single sequencer. That technically means the sequencer could do unlimited MEV, but most self-impose restrictions (FIFO ordering).

When L2s decentralize sequencers, MEV will emerge there too.

Solana

Solana has MEV via Jito (validator client + MEV-Boost equivalent). The % of validators with Jito is similar to MEV-Boost on Ethereum.

Cosmos / Application-specific chains

Each app-chain decides its own ordering rules. Some have explicit anti-MEV mechanisms.

The future: can MEV be eliminated?

Several approaches in research:

  • PBS (Proposer-Builder Separation) native in Ethereum: enshrining MEV-Boost in the protocol.
  • Encrypted mempools: encrypted transactions until included. Threshold cryptography (e.g., Shutter).
  • Time-boost / fair ordering: protocols that order by timestamp instead of gas.
  • SUAVE (Flashbots): chain specialized in MEV with cross-chain coordination.

None have generalized yet. Meanwhile, MEV is an implicit cost of operating in DeFi.

FAQ

Is MEV illegal? No, technically not. It's rational behavior given blockchain design. But sandwich attacks against small users are morally questionable, and some protocols have called them "market manipulation."

Can I do MEV myself? Yes, technically. But it requires sophisticated infrastructure (fast nodes, optimized bots, capital). The space is dominated by professional teams with latency advantage.

How much MEV do I lose in a normal swap? For $100-1000 swaps in liquid pools: probably $0. For $10k+ swaps in shallow pools: 0.1-1% additional to normal slippage.

Is it worth using Flashbots Protect for everything? For large swaps (>$1k) or in illiquid pools: yes. For small swaps: the marginal improvement may not compensate the added delay.

Why don't protocols eliminate MEV? Because doing so requires fundamental changes in how public blockchains work. There's active work but the complete solution doesn't exist yet.

Conclusion

MEV is one of DeFi's "invisible taxes" that most users pay without knowing. Understanding what it is and how to protect yourself is part of the basic kit for operating in crypto.

The good news: the industry is responding actively. Tools like Flashbots Protect, CoW Swap, and UniswapX are making it easier and easier for the normal user not to be a victim. The bad: the fundamental problem has no clean solution today. As long as the mempool is public and order matters, MEV will exist in some form.

As a practical user: use MEV protection RPC on your large swaps, lower slippage to the reasonable minimum, and prefer DEXs with batch auctions when possible.

ConcoDeFi Logo
Conco @conco
Software engineer, analyst and developer with cryptocurrency experience since 2020. Started in the centralized exchange ecosystem and discovered DeFi through social media research, a world that fascinated him from the start. Since 2024, he shares his experience creating educational content about decentralized finance. ConcoDeFi is his personal project to bring DeFi, trading and crypto security to everyone — from beginners to advanced users.
// support the project

Did it bring you value?

Free access, no paywalls. If it helped, you can support the project.