How to Protect Yourself from MEV on Solana: Sandwich Attacks, Front-Running & Tips (2026)
Understand sandwich risk, set price limits, compare routing options and measure execution costs without assuming a tip or private relay guarantees protection.

Disclosure: This article contains affiliate links. If you sign up through them, MadeOnSol may earn a commission at no extra cost to you. This never affects our rankings, ratings, or reviews.
A sandwich attack places trades around a user's swap so that the user receives a worse execution price and the attacker attempts to profit from the price movement. It is one kind of maximal extractable value (MEV), and an unfavorable fill is not proof it happened. Thin liquidity, an old quote, ordinary price movement and routing fees can produce the same symptom. The Jito and MEV explainer covers the mechanics.
Understand your swap's exposure
Before signing in Jupiter or any other swap interface, compare expected output, minimum output, price impact, fees and available liquidity. A large swap through one thin Raydium or Orca pool can move the pool's price on its own. A high slippage tolerance allows a worse execution; a very low tolerance can make the transaction fail. Neither setting proves a trade was or was not sandwiched. Our slippage guide explains the price limit.
After execution, compare the quote and actual received amount with the market state and adjacent transactions. Solscan can help inspect the transaction, while Birdeye and DEXScreener provide market context. Attributing a loss to a particular attacker requires transaction-level analysis, including the order and amounts of the surrounding swaps. Keep the transaction signature and original quote.
What Jito submission does and does not do
Jito offers a block engine for transaction and bundle submission. Its current documentation describes MEV protection on the single-transaction path, optional bundle-only submission, tips and a jitodontfront account pattern that can reject a bundle placing the marked transaction after another transaction. Jito explicitly says this mitigation is not guaranteed and applies to its block engine, not to every other ordering path.
A Jito tip bids for bundle inclusion; it is not a universal privacy switch or insurance against a sandwich. The minimum bundle tip and competitive amount vary with demand. Jito's sendTransaction path sets skip_preflight=true, so using it trades away that pre-submission simulation check. Check the route, tip, fee and actual transaction status in the tool you use rather than assuming a toggle implies the same Jito path. bloXroute is another submission provider; evaluate its current documentation separately.
Priority fees, route and order size
A Solana priority fee increases scheduling priority. Solana's fee documentation explains how the fee is calculated and that a fee can be charged even for a failed transaction. Paying more can change landing probability and cost; it does not hide the transaction or guarantee protection. Jito tips and network priority fees pay for different mechanisms, and both should be counted in the executed trade's costs.
An aggregator such as Jupiter may compare or split routes, but an aggregator route is not automatically immune to MEV. Check the quote, minimum received amount and chosen route. Dividing an order can reduce impact in some pools but also adds fees, delay and price exposure. Jupiter's DCA feature and the DCA guide cover scheduled execution; limit-order guidance covers price constraints. A limit order can still face execution and market risks even though it specifies a price condition.
Trading interfaces including Photon, BullX, Axiom, Trojan, BonkBot and Phantom can change their routing, tip and simulation settings. Verify the current settings and transaction details in each product. A label such as “MEV protect” does not establish a universal outcome across venues.
A practical measurement loop
For each swap, record quote time, expected and minimum output, route, slippage tolerance, submitted and confirmed times, actual output, network fee, any provider tip and whether the trade failed. Compare strategies over similar tokens and liquidity conditions; do not use an invented “before/after sandwich loss” table as evidence. If you see repeatedly poor execution, first separate quoted price impact, ordinary market movement and fees before investigating transaction ordering.
MEV settings also interact with other trading controls. The stop-loss guide covers exit orders, and the bot comparison helps examine interface choices. The most defensible setting is the one whose cost and fill quality you can measure for your own route and trade size.
Tools mentioned
Compare features and read reviews.
Live health scores, average ratings, and direct links on MadeOnSol.

MevX
Ultra-fast Solana trading terminal with MEV-protected execution

Jito
Liquid staking and MEV protocol powering Solana validators

GoPlus Security
Multi-chain security APIs and user tools, including a dedicated Solana token-security endpoint

Octane Security
AI-powered smart contract security integrated into CI/CD pipelines

Jito Restaking
Restaking infrastructure on Solana
Build your own trading bot
KOL copy-trading, deployer sniping, and DEX trade streaming — all via API.
import { MadeOnSol } from "madeonsol";
const client = new MadeOnSol({ apiKey: "msk_your_key" });
// Mirror KOL trades in real-time
const { trades } = await client.kol.feed({ action: "buy" });
// Set up webhooks for instant alerts
const webhook = await client.webhooks.create({
url: "https://your-bot.com/hook",
events: ["kol:trade", "deployer:alert"],
});Keep reading
More from the blog.

Trading
Solana Mempool Monitoring: Tools, Techniques & What Actually Works (2026)
Solana has no traditional mempool, but pending transactions are still observable. Learn how Solana mempool monitoring works with Jito bundles, gRPC streams, leader TPU forwarding, and ShredStream — plus practical tools and use cases for MEV detection, frontrun protection, and latency optimization.

Trading
Solana Bundling Explained: How Token Launches Use Bundle Buys (2026)
Understand how Solana transaction bundling works, why token launches use bundle buys on Pump.fun, and how to detect bundled tokens as a trader.

Security
Solana Sandwich Attacks Explained: How They Work and How to Avoid Them
Understand sandwich attacks on Solana, why the lack of a public mempool does not remove MEV risk, and how to check execution controls.

Security
5 Practical Ways to Keep Your Solana Wallet Activity More Private
Every Solana transfer and swap is public. See what anyone can learn from your wallet address, and five simple habits that keep far more of it to yourself.

Comparisons
Solana Wallet Address Screening APIs for Payment Apps
Compare Chainalysis, TRM Labs and Elliptic for Solana counterparty screening. Learn what to screen, when to rescreen and how to test an analyst review.

Comparisons
Bug Bounty Platforms for Solana Protocols Compared
Compare Immunefi, HackenProof and Cantina for a Solana bug bounty. Review public scopes, triage responsibility, reward decisions and researcher access.
Enjoyed this article?
Explore the live data.
Real-time KOL trades, Pump.fun deployer intel, and 1,200+ ranked Solana & Robinhood Chain tools — free to explore.
Open the KOL Tracker