What Is Maximal Extractable Value (MEV)?

What Is Maximal Extractable Value (MEV)?

Intermediate
公開済 Jan 27, 2023更新済 Dec 13, 2025
8m

Key Takeaways

  • MEV is the extra money block producers (miners or validators) make by choosing the order of transactions in a block.

  • It relies on the "mempool"—a public waiting room where pending transactions sit. Traders use bots to spot profitable trades in this line.

  • Some MEV is helpful, like fixing price differences. However, some types, like "sandwich attacks," cost normal users money.

  • New tools and "fair ordering" systems are being built to stop users from losing value to MEV bots.

Binance Academy courses banner

Introduction

When you trade on a decentralized exchange (DEX), you usually pay a transaction fee (gas). But sometimes, you might notice you received fewer tokens than you expected. This might be the result of a hidden economy running in the background.

This concept is called Maximal Extractable Value (MEV). Originally, it was called "Miner Extractable Value," but the name changed as blockchains moved away from mining. Simply put, MEV is a way for the people running the network to squeeze extra profit out of user trades.

What Is MEV and How Does It Work?

To understand MEV, you have to look at how a blockchain block is built.

The waiting room (Mempool)

When you click "swap" on your crypto wallet, your transaction doesn't happen instantly. It goes into a waiting room called the mempool. But since it’s on the blockchain, this waiting room is transparent. Everyone can see your trade sitting there before it is confirmed.

The power of ordering

Block producers (the validators or miners) are like the bouncers at a club. They decide which transactions get into the next block and, more importantly, in what order. Usually, they prioritize people who pay the highest fees. However, they can also rearrange the line to make money for themselves.

The "searchers"

Block producers usually don't find these opportunities themselves. They rely on "searchers." These are traders who run super-fast computer programs (bots) that watch the mempool 24/7. When they see a chance to make money from a pending trade, they pay the block producer a high fee to let them cut in line.

Common Types of MEV

MEV isn't always bad. It generally falls into two categories: things that help the market, and things that hurt individual users.

1. Arbitrage (the neutral type)

This is the most common form of MEV. Imagine Bitcoin costs $90,000 on Exchange A but $90,100 on Exchange B.

  • An MEV bot sees this difference.

  • It buys the cheaper Bitcoin on Exchange A and sells it on Exchange B.

  • Result: The bot makes a profit, and the prices become equal on both exchanges. This type of arbitrage is generally good for the markets.

2. Liquidations (the necessary type)

In DeFi lending, if you borrow money and your collateral (security deposit) drops in value, the protocol needs to sell your collateral to pay back the loan.

  • MEV bots race to be the first to trigger this forced liquidation sale because they get a fee for doing it.

  • Result: The protocol stays safe and doesn't go bankrupt.

3. Sandwich attacks (the bad type)

This is the type that hurts regular users. Imagine you want to buy a large amount of a token. A bot sees your order in the waiting room. It knows your large buy will push the price up.

  • Step 1: The bot jumps in front of you and buys the token first (front running).

  • Step 2: You buy the token, but now the price is higher because of the bot's trade.

  • Step 3: The bot sells the token immediately after you buy it.

  • Result: The bot makes a quick profit. You end up paying a higher price and getting fewer tokens than you should have.

Pros and Cons of MEV

Is MEV a good thing or a bad thing? The crypto community is still debating this.

Pros

  • Correct prices: Arbitrage bots ensure assets have the same price everywhere.

  • System health: Liquidation bots ensure lending apps don't run out of money.

  • Security: The extra money from MEV encourages more people to become validators, which can make the network more secure.

Cons

  • The "invisible tax": For normal users, sandwich attacks are like a hidden fee. You get a worse price on your trades.

  • Network traffic: When bots fight each other to grab a profitable trade, they spam the network with transactions. This makes gas fees more expensive for everyone else.

  • Instability: If the MEV profits are too big, validators might start fighting over blocks or trying to rewrite history to steal profits, which could cause network instability in some cases.

Can We Fix MEV?

Developers are working on ways to make the system fairer.

  • Fair Sequencing Service (FSS): Projects like Chainlink are building systems that order transactions by the time they arrive, not by who pays the most. This is a "first-come, first-served" rule.

  • Private transactions: Some wallets and apps (like Uniswap) now allow you to send your trade to a "private pool" instead of the public waiting room. If the bots can't see your trade, they can't “sandwich attack” you.

Closing Thoughts

Maximal Extractable Value (MEV) is a complex part of the crypto world. In some ways, it keeps markets efficient. In others, it acts like a predator taking value from regular users. As the technology improves, we are seeing more tools designed to minimize the "bad" MEV. For now, if you are trading large amounts, it is smart to use wallets or settings that offer protection against front-running.

Further Reading

Disclaimer: This content is presented to you on an “as is” basis for general information and educational purposes only, without representation or warranty of any kind. It should not be construed as financial, legal or other professional advice, nor is it intended to recommend the purchase of any specific product or service. You should seek your own advice from appropriate professional advisors. Products mentioned in this article may not be available in your region. Where the article is contributed by a third party contributor, please note that those views expressed belong to the third party contributor, and do not necessarily reflect those of Binance Academy. Please read our full disclaimer for further details. Digital asset prices can be volatile. The value of your investment may go down or up and you may not get back the amount invested. You are solely responsible for your investment decisions and Binance Academy is not liable for any losses you may incur. This material should not be construed as financial, legal or other professional advice. For more information, see our Terms of Use and Risk Warning.