Home › Risk & Rules › How to Avoid MEV Bots on Solana: Practical Protection Steps
How to Avoid MEV Bots on Solana: Practical Protection Steps
To avoid MEV bots on Solana, use tight slippage, trade in deep pools, split large orders, send through a wallet or router that offers protected transaction submission, and review your fills afterwards. These steps reduce the chance of being sandwiched, but no method removes the risk entirely.
Know what you are defending against
Most losses to MEV for ordinary traders come from sandwich attacks: a bot trades before and after your swap so you receive a worse price. We explain the mechanism in Solana sandwich attacks. Other forms, such as arbitrage, adjust prices after your trade but usually do not cost you directly. So the defence is mainly about making your trade a poor target.
A bot attacks when expected profit exceeds its costs. Your job is to shrink the profit available. Three things set it: your trade size relative to the pool, your slippage tolerance and how visible your transaction is.
The practical steps
| Step | What to do | Why it helps | Trade-off |
|---|---|---|---|
| Tight slippage | Set the lowest tolerance that still fills | Limits how much price can be moved against you | Trade may fail in volatile markets |
| Deep pools | Prefer liquid pairs | Large pools are harder to move | Fewer options for new tokens |
| Split orders | Break big swaps into parts | Lowers profit per attack | More fees, more steps |
| Protected sending | Use wallets or routers that submit privately | Reduces visibility to attackers | Depends on provider and may change |
| Priority and tips | Attach a modest tip where offered | Can improve landing and protection | Costs a little; not a guarantee |
| Post-trade review | Inspect fills on an explorer | Spot patterns, adjust behaviour | After the fact only |
Slippage in practice
Slippage tolerance is the maximum price move you accept. If you set 10 percent, you invite an attacker to push the price almost that far. If you set 0.5 percent, there is little room, but your trade may fail when the market moves, and you pay a fee for the failed attempt. Try a modest setting and adjust. For a very volatile new token, the right answer may be not to trade, or to trade very small.
Key takeaway: loose slippage is an open invitation. The setting you choose is the main lever you control.
Protected sending and tips
On Ethereum, private relays such as Flashbots Protect route transactions away from the public pool. Solana works differently, but some wallets and apps send transactions through Jito infrastructure and let you attach a tip, as described in the Jito documentation. Our bundle explainer gives the background. Read your wallet’s documentation to see what it actually does, because “MEV protection” is a label, not a guarantee. Fees themselves are explained in the Solana fee documentation.
Checking whether you were sandwiched
- Open your transaction in a block explorer.
- Look at the transactions in the same slot touching the same pool.
- If an address trades just before and just after you, in the opposite direction, you may have been sandwiched.
- Compare your received amount with the quoted amount.
Repeated patterns suggest changing your habits.
The other side: operators
Readers sometimes arrive here after reading about bots and wonder what the ethical bots do differently. Arbitrage and liquidation bots do not need to target your swap. Vendor sites such as CryptoMEV Bot’s Solana MEV bot page describe such strategies alongside others; that page, for instance, names DEX arbitrage and liquidations, and says its approach uses private, atomic Jito bundles. It does not discuss which of its strategies affect other users, so read product pages with that question in mind. The vendor’s front-run bot page is another example of a product that profits from user transactions.
What not to do
- Do not trust DMs offering “MEV protection” tools or asking for your seed phrase.
- Do not approve unlimited token spending to unknown programs.
- Do not use random “anti-bot” browser extensions without checking their source.
- Do not assume a high priority fee protects you from sandwiching.
A short routine
Before a larger swap: check pool depth, set tight slippage, split if needed, use a wallet with protected sending, and review the result. Then decide whether the cost of protection is worth it for the size of the trade. For a wider view of the risks around MEV, see Solana MEV bot risks.
Reading a transaction like an investigator
If you suspect you were sandwiched, a block explorer gives you most of what you need. Find your swap and note the slot. Then look at the other transactions that touched the same pool in that slot, in order. A sandwich leaves a recognisable shape: a buy of the token you were buying, then your swap, then a sell of the same token, usually by one address and often within a bundle. Compare the amount you received with the quote you were shown. The gap is your cost, and it is often small for a modest trade and meaningful for a large one.
Do not jump to conclusions from a single case. Prices move, other traders arrive in the same slot, and your own slippage setting may explain a worse fill. What you are looking for is repetition: the same trade pattern across several swaps, in thin pools, with loose settings. When you find it, the fix is usually behavioural rather than technical.
Matching protection to trade size
| Trade type | Exposure | Sensible approach |
|---|---|---|
| Small swap in a deep, major pair | Low | Tight slippage, no special steps |
| Medium swap in a mid-liquidity pool | Moderate | Tight slippage, protected sending if your wallet offers it |
| Large swap in a thin pool | High | Split into parts, consider limit-style execution, or reconsider the trade |
| Newly launched token | Very high | Trade tiny or not at all; scams and bots concentrate here |
Protection has costs, in fees, time and sometimes failed trades. For a few dollars, none of this is worth the effort. For thousands, a few extra minutes is cheap insurance.
Why some MEV is fine
It helps to separate harm from mechanism. When an arbitrage bot closes a price gap between two pools, your next trade probably gets a fairer price, and you never notice. Trying to avoid all MEV would mean avoiding the activity that keeps prices consistent. The target is narrower: avoid strategies that trade against your specific order. Operators who build cleaner bots tend to focus on arbitrage and liquidations for exactly this reason, and the vendor’s Solana MEV bot page lists those among its strategies, though it does not tell you how the software behaves toward your trades if you are on the other side. If you would like background on the operator perspective, our guide to what a MEV bot on Solana is is the place to start.
Frequently asked questions
Can I completely avoid MEV on Solana?
No. You can reduce exposure, but not eliminate it. Some MEV, like arbitrage, is unavoidable and mostly harmless. The aim is to avoid being sandwiched.
What slippage should I use?
As low as still lets your trade succeed. The right level depends on the token’s volatility and pool depth, and there is no universal number.
Do tips protect my trade?
Attaching a tip and sending through protected routes can help, but it is not a guarantee. Check what your wallet actually does.
Are small trades at risk?
Less so. Attackers need profit above costs, so small trades in deep pools are usually poor targets.
Sources
- Jito Labs – Jito documentation – https://docs.jito.wtf/
- Flashbots – Flashbots Protect overview – https://docs.flashbots.net/flashbots-protect/overview
- Solana – Fees on Solana – https://solana.com/docs/core/fees