Skip to content
Crypto Almanac Daily
on-chainadvanced

MEV in plain English: how value leaks out of your trade

Because pending transactions are public and ordering is for sale, someone can profit from knowing what you are about to do. Here is how that works and what actually protects you.

Kayla PetersonKayla PetersonDeFi Research Analyst· Published October 12, 2026· 3 min read

Reviewed by Mason Walker, Ethereum & Layer-2 · Last reviewed October 12, 2026

MEV in plain English: how value leaks out of your trade
On this page

Maximal extractable value is the profit a block producer, or someone paying one, can earn by choosing which transactions go into a block and in what order. Because pending transactions are visible and ordering is valuable, a market has formed around it. Some of that activity is benign and keeps prices consistent across venues; some of it takes value directly from the user whose transaction was reordered around.

Where does the opportunity come from?

Two facts combine. Pending transactions sit in a public queue, so their contents are known before they execute. And whoever builds the block decides the order in which they execute. Put together, a searcher can construct a bundle that places their own transactions immediately before or after yours, capturing the price movement your trade creates.

What are the main forms?

  • Arbitrage: buying where a price lags and selling where it leads, which keeps venues aligned. Generally healthy.
  • Liquidations: repaying an undercollateralised loan to claim the bonus. A necessary function of lending markets.
  • Back-running: acting immediately after a known transaction, usually harmless to the original sender.
  • Sandwiching: buying before your swap and selling after it, so your trade executes at a worse price. Direct extraction.
  • Time-bandit reorgs: attempting to rewrite recent blocks to capture past opportunities. Rare and destabilising.

How does a sandwich actually work?

You submit a swap with a slippage tolerance of, say, two percent. A searcher sees it pending, buys the same asset first — pushing the price up — lets your swap execute at the higher price, then sells into the pool immediately afterwards. Their profit is bounded by your tolerance, which is why that setting is effectively a bid you did not know you were making.

How is block ordering auctioned?

Rather than each producer running their own search, an ecosystem developed in which specialised builders assemble complete blocks and bid for the right to have them proposed. Searchers submit bundles to builders, builders compete on total value, and the proposer takes the highest bid.

This separation was designed partly to prevent large producers gaining an insurmountable advantage from in-house extraction. It has made the market more efficient and more visible; it has not removed the underlying incentive, which comes from ordering itself.

What protects an ordinary user?

DefenceHow it helpsCost
Tight slippage toleranceCaps how much can be extractedFailed transactions in volatile conditions
Private transaction relayKeeps the swap out of the public queueTrust in the relay; possible slower inclusion
Aggregators and split routingSpreads the trade so no single pool moves muchSlightly higher gas
Trading deep poolsSmaller price impact means less to captureLimits which assets you can trade cheaply
Smaller order sizesReduces the prizeMore transactions, more gas
Defences, and what each costs

Is MEV always bad?

No, and treating it as uniformly malicious leads to bad decisions. Arbitrage is what keeps a token priced consistently across a dozen venues. Liquidations are what keep lending protocols solvent when collateral falls — without someone profiting from performing them, the system would accumulate bad debt. The problem is the subset that targets individual users, and that subset is the one you can defend against.

For the underlying mechanics of the queue this depends on, see our guide to the mempool; for why layer 2s change the picture — they often have a single sequencer rather than an open auction — see our guide to Ethereum rollups.

How much does it actually cost a normal user?

For most people the honest answer is very little, most of the time. Sandwich attacks target trades big enough to move a pool's price meaningfully; a modest swap in a deep pool is not worth a searcher's gas. The users who pay are those making large swaps in thin pools, and those who widen slippage tolerance to force a transaction through.

That said, the cost is invisible unless you look for it. Comparing the amount you expected against the amount that arrived, across a few trades, is the only way to know whether you are paying it. If the gap is consistently near your tolerance rather than near zero, you are being sandwiched rather than experiencing ordinary price movement.

  • Compare quoted output against received output on every sizeable swap.
  • A gap that repeatedly lands close to your tolerance is a pattern, not bad luck.
  • Switching to a private relay and re-measuring is a decisive test.
  • Trading smaller sizes in deeper pools removes the incentive entirely.
Sources
  1. 1. Maximal extractable value (MEV) — ethereum.org
  2. 2. Proposer-builder separation — ethereum.org
  3. 3. Automated market makers and DeFi — ethereum.org
Share
Reference

Frequently asked

What does MEV stand for?

Maximal extractable value — the profit available from choosing which transactions are included in a block and in what order. It was originally called miner extractable value.

Is MEV theft?

Some of it is extraction from a specific user, such as sandwich attacks. Other forms — arbitrage and liquidations — perform necessary market functions and are not directed at anyone in particular.

How do I protect myself from sandwich attacks?

Keep slippage tolerance tight, use a private transaction relay where your wallet supports it, trade deep pools, and split large orders rather than sending one big swap.

Does MEV exist on layer 2s?

Yes, in different forms. Many rollups use a single sequencer, which removes the public auction but concentrates ordering power with the operator instead.

Does a higher gas fee protect me?

No. Paying more speeds up inclusion but does not stop a searcher paying more still to sit around your transaction. Slippage settings and private routing are the effective controls.

Kayla Peterson
About the authorKayla PetersonDeFi Research Analyst

Kayla Peterson is a DeFi Research Analyst at Crypto Almanac Daily, where she specializes in decentralized finance, lending protocols, decentralized exchanges (DEXs), liquidity markets, yield strategies, and tokenomics. Her work focuses on analyzing the mechanics behind DeFi ecosystems, helping readers understand how lending platforms, automated market makers, liquidity incentives, and governance models influence the broader digital asset economy. Kayla regularly covers major protocols, emerging trends in on-chain finance, and the evolution of decentralized financial infrastructure through data-driven research and in-depth market analysis. Before joining Crypto Almanac Daily, she researched blockchain-based financial systems and digital asset markets, building expertise in protocol design, token economics, and decentralized capital markets. Her reporting combines technical accuracy with clear explanations, making complex DeFi concepts accessible to both experienced investors and newcomers to the industry. At Crypto Almanac Daily, Kayla contributes daily market coverage, protocol analyses, educational guides, and long-form research articles. Her goal is to provide readers with reliable, objective insights into the rapidly changing world of decentralized finance while highlighting the opportunities and risks shaping the next generation of financial innovation.

This guide is educational and general in nature. It is not financial, investment, legal or tax advice, and it does not account for your circumstances. Crypto assets are volatile and you can lose the money you put in. See our editorial policy and methodology.

Keep reading

More from the almanac