What Is MEV A Simple Guide to Maximal Extractable Value

What Is MEV? A Simple Guide to Maximal Extractable Value

User avatar placeholder
Written by NodeScribe

8 September 2026

Every time you swap tokens on a decentralized exchange, someone might be profiting from the order your transaction lands in. That someone is usually a bot, and the profit it captures is called maximal extractable value, or MEV. MEV has grown from an obscure research concept into one of the biggest hidden costs in DeFi, with documented extraction on Ethereum alone exceeding $1.38 billion through mid-2023 according to Flashbots Research. Understanding how MEV works, and what you can do about it, is the difference between losing a few percent on every trade and keeping more of what’s yours.

What is MEV (maximal extractable value)?

MEV is the profit that block producers can capture by choosing which transactions go into a block and in what order. On any blockchain where validators (or miners, before proof of stake) assemble blocks, they don’t just confirm transactions in the order they arrive. They decide the sequence. That discretion creates a monetary opportunity on top of standard block rewards and gas fees.

The concept was first documented in the 2019 research paper Flash Boys 2.0, which mapped out how bots on Ethereum were already extracting value by manipulating transaction order. Back then it was called “miner extractable value” because Ethereum still ran on proof of work. After Ethereum switched to proof of stake in September 2022 with the Merge upgrade, the name changed to “maximal extractable value” to reflect that validators, not miners, now control block production.

The mechanics are straightforward. When you submit a transaction, it lands in the mempool, a publicly visible waiting area where every pending transaction sits before a validator picks it up. Specialized bots called searchers, often called MEV bots, scan the mempool continuously, looking for trades they can profit from by reordering. When they find one, they construct their own transaction and attach a higher gas fee so validators include it first.

The numbers show the scale clearly. Pre-Merge Ethereum MEV extraction from December 2019 through September 2022 reached approximately $675 million. Post-Merge extraction from September 2022 through June 2024 added roughly 526,000 ETH, about $686 million by mid-2024. MEV isn’t limited to Ethereum, either. Solana sees an estimated $370 million to $500 million in annual MEV extraction. BNB Chain and other smart-contract platforms face the same dynamic wherever transaction ordering is discretionary.

MEV vs. MeV: crypto term versus physics unit

If you’ve searched “MEV” and landed on results about particle physics, you’re not losing your mind. The acronym shows up in two completely unrelated fields, and the difference comes down to capitalization.

MEV with a capital E and V refers to maximal extractable value, the blockchain concept covered in this article. MeV with a lowercase e stands for mega-electronvolt, a unit of energy used in nuclear and particle physics. One MeV equals one million electronvolts, which works out to approximately 1.602 × 10⁻¹³ joules.

The two share the same three letters and nothing else. Context tells you which one applies. If you’re reading about validators, mempools, or DeFi, it’s the crypto term. If you’re reading about gamma radiation or particle accelerators, it’s the physics unit.

How MEV extraction works

MEV extraction starts with the mempool. Every transaction you broadcast is visible to every participant on the network before it gets confirmed. That visibility is by design: it’s how blockchain nodes relay transactions to validators. But it also means your pending swap, liquidation, or transfer is an open book.

How MEV extraction works
How MEV extraction works

Because the mempool is public, bots monitor it around the clock, scanning for pending swaps large enough to move a token’s price or for arbitrage gaps between liquidity pools. The moment one appears, a bot builds its own transaction to capture the spread and attaches a higher gas fee than the original trade, buying priority in the upcoming block. The validator benefits by collecting that elevated gas bid as a premium, while the bot pockets the price difference. The original trader, you, ends up with a worse fill than the DEX quoted.

The entire process hinges on the transparency of public transaction queues. Your trade intent is announced before execution finishes, giving bots a window to act. How wide that window is depends on block time. Ethereum’s longer block intervals give bots more time to scan, simulate, and submit. Solana’s sub-second blocks compress the window significantly, but bots compensate by running lower-latency infrastructure closer to validators.

Common types of MEV attacks

MEV extraction falls into a few distinct patterns, each exploiting transaction ordering in a different way. Three show up most often: front-running, sandwich attacks, and back-running (arbitrage). A fourth, liquidation MEV, targets DeFi lending positions specifically.

Front-running

A front-running bot detects your pending buy order in the mempool and submits the same buy with a higher gas fee. Because the bot’s transaction gets included first, it pushes the token’s price up before your order executes. You end up buying at that inflated price, receiving fewer tokens than the DEX originally quoted. The bot then sells into the price it just moved, pocketing the difference.

The damage scales with trade size. A larger swap creates a larger price impact on the pool, which means a bigger spread for the bot and a worse fill for you. Consider a $1,000 swap where a bot front-runs and moves the price by 2%. You receive noticeably fewer tokens at that inflated price, and the bot walks away with the gap.

One defense is setting a tighter slippage tolerance, which limits how far the price can move before your transaction fails. But there’s a trade-off: set it too tight and your transaction won’t go through at all if the market moves even slightly during block production.

Sandwich attacks

In a sandwich attack, a bot wraps your transaction between two of its own. First it places a buy order right before yours, pushing the token’s price up so your swap executes at the inflated level. Immediately after your trade lands, the bot sells into the market it just artificially moved, locking in the spread between the two prices.

What makes sandwiching especially damaging is how invisible it is. Most traders see the loss as normal slippage in their transaction history, not as a distinct extraction event. Unless you compare your quoted price to your actual fill and account for the pool’s natural price impact, you won’t realize you were squeezed.

Losses scale with trade size and inversely with pool liquidity. Thin pools amplify the damage because smaller amounts of capital can move prices further. Analysis has found evidence of sandwiching in roughly 1 in 8 swaps on low-to-mid liquidity pairs on a major DEX. Across chains, documented sandwich attack losses exceed $500 million from verified on-chain data.

A March 2025 incident showed how severe the damage can get. A trader attempted to swap $220,764 USDC for USDT on a major DEX. A sandwich bot intervened, and the trader received only $5,271 USDT on a major DEX, a loss exceeding $215,000 on a single transaction.

Back-running and arbitrage

Back-running is the least harmful form of MEV for the original trader. Instead of jumping ahead of your transaction, a bot places its transaction immediately after yours to capture the price discrepancy your trade created between pools or DEXs.

Your fill isn’t directly worsened. The bot profits from closing cross-venue price gaps before other arbitrageurs can act. In isolation, back-running looks more like neutral market-making than extraction. Over time, though, persistent back-running tightens arbitrage windows across pools, which can produce worse effective prices for subsequent traders swapping in the same pool.

On Solana, sub-second block times force back-running bots to operate at extremely low latency and high frequency, creating an arms race for infrastructure speed that mirrors what traditional high-frequency trading firms deal with.

Liquidation MEV

DeFi lending protocols let users borrow against collateral. When that collateral’s value drops below a required threshold, the position becomes liquidatable, and anyone can execute the liquidation call to collect a reward from the protocol.

Bots monitor on-chain collateral ratios and race to be the first to execute these liquidation calls. Validators or searchers can reorder transactions to make sure their liquidation call lands before anyone else’s. The bot collects the liquidation reward, and during volatile periods, a cascade of rapid liquidations can add broader selling pressure to already-falling markets.

Why MEV is a problem for traders and networks

Beyond the direct cost to individual traders, MEV creates structural problems for the networks where it happens, and those problems compound over time.

  • Hidden cost with no receipt. Losses from MEV show up as routine slippage, not as a visible fee on your transaction. You don’t get a line item that says “extracted by bot.” That makes cumulative damage almost impossible to track without actively auditing your swaps. Unprotected swaps in mid-liquidity pools show effective costs 1 to 3 percentage points above expected slippage.
  • Gas fees inflated for everyone. When multiple bots compete to front-run the same transaction, they bid against each other in gas auctions. That bidding war raises the base cost of getting any transaction confirmed, even if you’re just sending tokens to a friend.
  • Centralization of block production. Participants with faster hardware, better mempool access, or proprietary order-flow relationships extract MEV more consistently. An analysis of Ethereum’s MEV-Boost in 2024 found that three builders produced over 80% of blocks within a six-month period. That concentration runs counter to the decentralization blockchains are built on.
  • Risk of network instability. When MEV profits exceed standard block rewards, validators face a financial incentive to attempt chain reorganizations or censor blocks to capture more value. That kind of behavior can undermine the finality guarantees the network depends on.
  • Erosion of trust in DeFi. Front-running and sandwiching distort how protocols behave in practice versus how they’re designed on paper. Traders who get burned lose confidence in decentralized markets, especially those trading lower-liquidity pairs and smaller-cap tokens, where MEV losses relative to trade size are disproportionately high.
Why MEV is a problem for traders and networks
Why MEV is a problem for traders and networks

In December 2024, a Solana validator reportedly extracted over $60 million in profits in a single month through sandwich attacks, illustrating how concentrated and aggressive MEV extraction can get when left unchecked.

Regulatory views on MEV

Regulators are starting to pay attention to MEV, but they don’t agree on how to classify it.

The EU’s securities regulator published a consultation paper that described MEV as a potential form of market abuse. It explicitly called out transaction reordering for front-running profit as an example of market manipulation, framing it in the same terms regulators use for traditional financial markets.

The U.S. judicial system has taken a narrower view. A 2024 indictment charged two individuals with stealing $25 million through MEV-related exploits. But the charges focused on fraudulent manipulation, specifically using invalid signatures to bypass MEV protocols, rather than on standard MEV activities like reordering or sandwiching. The distinction matters: the court treated the fraud as the crime, not the MEV extraction itself.

The emerging legal consensus treats MEV as a tool. Using it through normal means, submitting higher gas bids and reordering transactions within a validator’s existing authority, isn’t considered criminal in most jurisdictions. Deploying it through deception, exploiting protocol vulnerabilities, or bypassing security mechanisms crosses into fraud. Global regulators remain divided, and the legal framework around MEV continues to evolve.

How to protect yourself from MEV

You can’t eliminate MEV from the networks you trade on, but you can make your own transactions much harder to exploit.

  • Use private mempool routing. Private transaction relays send your swap through an encrypted off-chain channel directly to a block builder, bypassing the public mempool entirely. If bots can’t see your pending trade, they can’t front-run or sandwich it. Private RPC endpoints are available on Ethereum and several other chains.
  • Set tighter slippage tolerance. Narrowing the price range your swap can execute within reduces the profitability of a sandwich attack. If the bot can’t move the price far enough within your tolerance to turn a profit, it won’t bother. Just be aware that very tight settings cause failed transactions when normal market movement exceeds your limit.
  • Break large trades into smaller pieces. A $50,000 swap is a much more attractive target than five $10,000 swaps. Splitting trades reduces the price impact of each piece and makes individual transactions less profitable for bots.
  • Route through DEX aggregators or batch-auction protocols. Aggregators that pool multiple orders and execute them simultaneously reduce the opportunity for single-trade exploitation. Batch auctions settle all orders in a batch at the same price, removing the ordering advantage bots rely on.
  • Choose chains with MEV-resistant architectures. Some blockchains separate transaction selection, ordering, and execution across different node roles, making it structurally harder for any single participant to reorder transactions for profit.
  • Check your wallet and DEX interface for MEV protection toggles. A growing number of wallets, DEX front ends, and RPC providers include built-in MEV protection. In many cases, you just need to turn it on.

Private mempools and how they reduce MEV exposure

A private mempool is an encrypted, off-chain relay that carries your transaction from your wallet directly to a block builder or validator. Your trade stays hidden from the moment you submit it, traveling through an encrypted channel that keeps it out of the public mempool entirely rather than filtering it after broadcast.

That distinction matters because MEV extraction depends entirely on visibility. Bots can only front-run or sandwich transactions they can see. Private mempool routing removes the attack surface completely. There’s nothing to detect, nothing to exploit.

On Ethereum, private relay services deliver transactions to block builders who are already assembling the next block. Confirmation speed isn’t sacrificed because the transaction goes straight to the builder rather than waiting in the public queue. In practice, private relays often confirm faster because they skip the competitive public broadcast step.

On Solana, private transaction routing works at the validator level, providing structural MEV resistance even with sub-second block times. The speed of Solana’s blocks already compresses the window bots have to act, and private routing closes that window entirely.

A common concern is that private mempools add latency. That’s largely unfounded. Because the transaction bypasses the public relay network and goes directly to a builder, the path is often shorter, not longer.

Protocol-level solutions: proposer-builder separation and beyond

Individual protections help, but the long-term fixes for MEV are being built into the protocols themselves.

Proposer-builder separation (PBS) splits block production into two roles. Builders assemble and optimize block contents, then send sealed blocks to proposers. Proposers select the most profitable block to add to the chain without seeing the transaction details inside it. This separation prevents proposers from directly reordering transactions for personal gain, which reduces MEV-driven centralization.

Ethereum currently uses PBS through an external system (MEV-Boost), but plans to enshrine it directly into the protocol through EIP-7732, known as enshrined proposer-builder separation (ePBS). The exact timeline hasn’t been defined, but ePBS is part of Ethereum’s future upgrade roadmap.

Inclusion lists complement PBS by requiring proposers to include certain transactions in their blocks. Without inclusion lists, a proposer could selectively censor transactions to extract more value. With them, specific transactions are guaranteed a spot regardless of MEV considerations.

Flashbots created a separate communication channel between searchers and block builders. The goal is to make MEV extraction more transparent and less disruptive by moving the bidding process off the public mempool and into a structured auction. AXL Research Hub considers Flashbots one of the most consequential infrastructure projects in the MEV space because it shifted extraction from chaotic gas wars into an organized system.

Commit-reveal schemes take a different approach. They hide transaction details until after the block’s ordering is finalized. You submit a commitment (a hash of your transaction) first, and the actual transaction details are revealed only after your position in the block is locked in. Bots can’t front-run what they can’t read. The trade-off is additional latency, because the reveal step adds time to confirmation.

Zero-knowledge proof approaches aim to solve that latency problem. They conceal transaction contents until execution without requiring a separate reveal step. The cryptographic proof verifies the transaction is valid without exposing what it does, potentially offering strong MEV protection without the delays of commit-reveal.

How to check your own transactions for MEV losses

You don’t need specialized tools to spot MEV extraction in your own history. A block explorer and basic arithmetic are enough to get started.

  • Open a block explorer (like Etherscan for Ethereum or Solscan for Solana) and locate a recent swap transaction by pasting your wallet address or transaction hash.
  • Compare the token amount you actually received against the amount the DEX quoted when you submitted the swap. Most DEX interfaces show the expected output before you confirm.
  • Subtract the expected price impact for your trade size based on the pool’s depth. Every swap moves the price slightly; that’s normal automated market maker behavior, not MEV.
  • Whatever gap remains after accounting for normal price movement sits in the zone where MEV extraction and slippage interact. If the gap is consistently larger than the pool’s natural price impact for trades your size, MEV bots are likely taking a cut.
  • Repeat this across several transactions. A single swap might have been affected by ordinary market movement, but a pattern of fills consistently worse than quoted prices, especially on lower-liquidity pairs, points to systematic extraction.
  • Try the same comparison across protected versus unprotected swaps. If you run a few trades through a private mempool relay and a few through the public mempool, the gap between quoted and received amounts tells you directly whether private routing is closing the difference.

Cumulative drag from MEV compounds over dozens of trades. A 1 to 2% loss on each swap might seem small, but across months of active trading, it adds up to a meaningful portion of your returns.

Frequently asked questions about MEV

Can MEV be completely eliminated?
No. MEV can’t be removed at the protocol level because validators inherently control transaction ordering, and that control creates opportunities for value extraction. Protocol upgrades like PBS and inclusion lists can reduce the damage and make extraction more transparent, but the underlying dynamic persists as long as someone decides which transactions go where. What you can do is reduce your personal exposure to near zero by routing transactions through private relays.

Does MEV only affect large trades?
MEV affects trades of all sizes. Larger trades create more price impact and attract more bot attention, but smaller swaps aren’t safe either. Losses are proportionally larger on low-to-mid liquidity pairs, where even a modest trade can shift the pool price enough to make sandwiching profitable. A small swap in a thin pool can lose several percent to a sandwich bot.

What does turning on MEV protection do?
When you enable MEV protection in a wallet or DEX interface, your transaction gets routed through a private relay instead of the public mempool. Bots never see it, so they can’t detect or exploit it. The transaction goes directly to a block builder for inclusion. From your perspective, the swap works the same way, but your fill price is closer to what the DEX quoted because no one is front-running or sandwiching you.

Tracking MEV as DeFi matures

MEV is structural to any blockchain where block producers control transaction ordering. It will persist as long as public mempools exist and validators have discretion over sequencing.

Development isn’t heading toward eliminating MEV but toward transforming it from an uncontrolled tax on traders into a managed, transparent incentive within protocol design. Enshrined PBS, inclusion lists, and zero-knowledge approaches all work toward that goal from different angles.

For individual traders, the most effective defense right now is infrastructure-level protection: private mempools and MEV-aware execution tools. Behavioral adjustments like smaller trades and tighter slippage help, but they’re secondary to keeping your transactions out of the public queue entirely.

Knowing how MEV works puts you in a position to choose the right tools, set realistic slippage expectations, and actually verify your own execution quality instead of assuming every bad fill was just “the market.”

nodescribe

nodescribe

@nodescribe89

I started trading in 2018 and learned most of it the hard way. On axltoken.com I write guides based on real mistakes and small wins — from setting up wallets to avoiding bad trades.

Follow on:

More about nodescribe

Join Our Email List

Sign up to receive the latest articles right in your inbox.

Leave a Comment