The Slippage Desk

Home › Protection & Law › Is Sandwich Trading Legal? What the Rules Say and Don't

Is Sandwich Trading Legal? What the Rules Say and Don't

Editorial team · Updated 2026-10-14 · 5 min read

There is no single answer to whether sandwich trading is legal. It is not named as a banned practice in most places, but market-manipulation, fraud and consumer-protection rules may be argued to apply, and enforcement and case law are still developing. Anyone considering running a bot needs advice from a lawyer in their own jurisdiction.

Why the answer is unsettled

Traditional securities law grew up around exchanges, brokers and identifiable market participants. On-chain trading has none of those intermediaries, and transaction ordering is a technical feature of block production. Sandwich bots exploit that feature, and the question regulators and courts face is whether doing so is lawful opportunism or a form of manipulation or deception.

Arguments on each side are well rehearsed. Supporters say the bot trades openly on a public network, within rules the protocol allows, against a victim who agreed to a slippage limit. Critics say the practice deliberately profits from a specific user’s order at that user’s expense and relies on the user not understanding the risk. ethereum.org’s MEV page presents the technical landscape and notes concerns about harms from some MEV, including front-running of users, without giving a legal verdict.

What could be argued to apply

Depending on the jurisdiction, claims of different kinds could be raised. This is a map of categories, not a statement that any applies to a given trade.

Legal area Possible argument Practical uncertainty
Market manipulation Trading designed to move price against another party Whether crypto assets and DEX trades fall within the relevant definitions
Fraud or deception Exploiting a user’s misunderstanding Needs a deceptive act, not just a profitable ordering
Computer-misuse or exploit theories Manipulating protocol behaviour Depends on whether behaviour is “intended” by the protocol
Licensing and registration Operating a trading business or service Differs widely by country and by how a bot is offered
Tax Reporting gains and costs Treatment of fees, tips and token swaps varies

Recent regulatory frameworks, such as the EU’s MiCA regulation, deal with crypto-asset service providers and market abuse in crypto markets; how they would apply to an individual running their own bot is a question for local counsel. In the United States, several agencies and courts have addressed crypto assets from different angles, and positions can change.

Key takeaway: “the code allows it” is not the same as “it is lawful.” Treat legal review as a prerequisite, not an afterthought.

What software vendors say and don’t say

A product page is marketing, not legal advice. CryptoMEV Bot’s sandwich bot page explains what the software does and lists risks around failed attacks; it does not, in the part we reviewed, address legality in any jurisdiction. The company’s site also carries terms and a disclaimer that readers should read before buying. A vendor’s non-custodial design means it does not hold your keys. It does not move your legal responsibility for the trades you make to anyone else.

Practical questions to put to a lawyer

  1. Does my jurisdiction’s market-abuse regime cover trades in the tokens I would target?
  2. Does running automated strategies on my own account need any registration or licence?
  3. Could targeting specific retail users’ trades create civil liability, such as claims from users who lost value?
  4. How should I record transactions for tax, including tips and failed attempts?
  5. If I buy a product, what do the vendor’s terms and disclaimers put on me?

Where the burden of proof sits

Legal exposure usually turns on facts, not labels. A regulator or prosecutor would look at what the operator did, how it was described, whether any statements were misleading, what the operator knew about the victims and what the on-chain record shows. Detailed logs of strategy design, simulations and trades cut both ways: they can show a disciplined, rules-based approach, and they can also be evidence of intent. That is one more reason to speak with counsel before building a record, not after.

Civil exposure deserves a separate mention. Even where no authority acts, a user who lost value could attempt a claim, and the cost of defending one can exceed the profits that prompted it. The risk is higher where operators are identifiable and well capitalised.

Cross-border complications

On-chain trading is global, but legal systems are not. A bot operator in one country may be trading against a user in another, using infrastructure in a third. Which rules apply, and who can enforce them, may be unclear. Operators should not assume that a permissive local environment protects them elsewhere, particularly if they offer software or services to customers abroad.

The reputational side

Even if something is lawful, it may not be welcome. Wallets, routers and chains have been adding protection features precisely because users dislike being sandwiched. Operators may face blocklists, protocol changes or public criticism. If you prefer strategies that do not depend on harming a specific user’s order, sandwich bot alternatives lays out options, including arbitrage that corrects price gaps across venues. For the difference between related tactics that regulators may treat differently, sandwich attack vs front-running is useful.

Bottom line

The legal position is unsettled and varies by country. Do not rely on a blog, a vendor or a forum, including this one. Keep records, take advice, review the current rules from official regulators and be conservative about size until you understand your obligations. Also read sandwich bot risks for the commercial downside.

What to read from the vendor side

If you are evaluating software, the vendor’s own legal pages are part of the picture. The CryptoMEV Bot sandwich page links to terms, a privacy policy and a disclaimer, which are the documents that set out what the company does and does not take responsibility for. Reading them before purchase tells you how the vendor allocates risk to you. The company’s wider explainer on MEV bots acknowledges that sandwich attacks and front-running can extract value from regular users, which is relevant context for how a regulator or court might view the practice.

This article is general information, not legal, tax or financial advice.

Frequently asked questions

Is running a sandwich bot illegal?

There is no single answer. No universal law names sandwich bots, but market manipulation, fraud and similar rules may be argued to apply depending on jurisdiction and facts. Get legal advice.

Have authorities taken action over MEV?

Prosecutors in some jurisdictions have pursued cases involving MEV-related conduct. Outcomes and legal theories vary and are developing, so check current reporting rather than relying on summaries.

Does using a non-custodial bot change the legal position?

Not by itself. Non-custodial means the vendor does not hold your keys; you remain the party placing trades and are responsible for how you use the software.

Do I have to pay tax on bot profits?

Generally profits are taxable events in many countries. Rules differ, so consult a tax professional about your situation.

Sources