MEV stands for Maximal Extractable Value — profit extracted by validators (or miners) and bots by controlling the order in which transactions are included in a block. It's an invisible tax on DeFi users, and understanding it helps you reduce its impact on your trades.
Where MEV Comes From
Every block producer has discretion over which transactions to include and in what order. Most order by fee (higher fee = included first). But this creates opportunities: by inserting or reordering transactions, a sophisticated actor can extract profit from other users.
The most common MEV strategies:
Frontrunning — A bot sees your pending transaction (e.g., a large buy order on a DEX) and submits an identical transaction with a higher fee, executing first. Your order then executes at a worse price. The bot instantly profits from the price movement your order causes.
Sandwich attacks — A bot places a buy order before your transaction and a sell order after. They buy before your large buy pushes up the price, then sell into your transaction. You pay more; they profit.
Liquidation MEV — When a collateralized position becomes undercollateralized, bots race to be the first to liquidate and collect the liquidation bonus.
Arbitrage — Bots find price differences between DEX pools and profit from equalizing them. This is mostly benign — it keeps prices consistent across venues — but still extracts value from the system.
MEV on Ethereum vs. Solana
On Ethereum, MEV is formalized through Flashbots and MEV-Boost. Validators auction off the right to build blocks to specialized searchers/builders, who extract MEV and share proceeds with validators. This makes MEV somewhat transparent and redirects some value back to stakers.
On Solana, there's no mempool in the same sense — transactions are forwarded directly to the current leader. Jito Labs built a mempool-like system (Jito bundles) that allows MEV extraction on Solana. Validators running Jito earn extra from MEV auctions; Jito-stakers earn a share.
How Much Does MEV Cost You?
For small swaps ($50–500), MEV impact is usually minimal — bots target larger orders where the profit justifies gas costs.
For larger swaps, the impact is real. A $50,000 swap on a thin DEX pair can lose 0.5–2% to sandwich attacks if not protected.
How to Protect Your Swaps
Use private RPC endpoints — Public RPCs broadcast your transactions to everyone, including MEV bots. Private RPC services (Helius Shield on Solana, Flashbots Protect on Ethereum) route transactions directly to validators, bypassing the public mempool.
Set strict slippage limits — Sandwich attacks only work if your slippage tolerance is high enough for the sandwiched price to still execute. Setting slippage to 0.5% or less on major pairs makes sandwich attacks unprofitable. For volatile pairs, balance this against failed transactions.
Use DEX aggregators with MEV protection — Jupiter on Solana has built-in MEV protection features for Jito-based orders. SovereignSwap uses Jupiter's routing infrastructure, which includes these protections.
Split large orders — Instead of one large swap, split into smaller chunks over time. This reduces the profit available to MEV bots and also reduces your own price impact.
Time-of-day awareness — MEV activity is correlated with overall network congestion. Off-peak hours (by UTC timezone) often have lower MEV activity.
MEV as a Feature, Not Just a Bug
From the network's perspective, MEV isn't entirely bad. Arbitrage MEV keeps DEX prices consistent across venues — users benefit from accurate pricing. Liquidation MEV keeps lending protocols solvent — without bots racing to liquidate, bad debt would accumulate.
The harmful MEV (frontrunning, sandwiching) costs retail users. The beneficial MEV (arbitrage, liquidations) maintains market efficiency. The goal isn't to eliminate MEV entirely — it's to minimize the extractive kind while allowing the functional kind.
Swap on SovereignSwap — Jupiter routing with MEV protection →