How to avoid getting sandwiched on Solana
Sandwich bots prey on high-slippage trades in thin pools. Here is how to reduce your exposure and stop handing bots free profit on every swap.
Why this matters
A sandwich attack directly worsens your fill and steals from your trade. The usual "just raise slippage" advice makes it worse — the real fixes are different.
Step by step
- Understand the attack. A bot sees your pending swap, buys ahead to push price up, lets you fill worse, then sells right after. High slippage on a thin pool is what it hunts.
- Keep slippage as tight as fills allow. On deeper pools, use low slippage. Tighter tolerance gives bots less room to move your fill.
- Reduce trade size on thin pools. On shallow pools, smaller size lowers your price impact and the profit a sandwich can extract — far more effective than cranking tolerance.
- Use private transaction routing where available. Routing that keeps your trade out of the public mempool hides it from front-runners.
- Avoid telegraphing huge visible swaps. A large, visible pending swap on a thin pool is an invitation. Split size or trade deeper venues.
- Recognize when you were sandwiched. A fill much worse than quoted with two bracketing trades is the signature — adjust size and slippage next time.
Common mistakes to avoid
- "Fixing" bad fills by raising slippage (the opposite of the fix).
- Trading huge size on a thin pool.
- Ignoring private routing options.
- Leaving a wide global slippage setting.
- Not recognizing the sandwich pattern in your fills.
Quick checklist
- ☐ Attack mechanics understood
- ☐ Slippage kept tight on deep pools
- ☐ Size reduced on thin pools
- ☐ Private routing used where possible
- ☐ Large visible swaps avoided
- ☐ Sandwich pattern recognized
Want these moves caught for you automatically?
Get real-time Solana memecoin alerts the moment volume, buyers, and liquidity line up — free tier available, Pro $29/mo, Lifetime $499.
Education only — not financial advice. Memecoins are extremely high risk.
Related guides
- How to monitor a memecoin catalyst
- How to evaluate a Solana airdrop
- How to spot a Solana airdrop
- How to understand a Solana airdrop
- How to avoid a Solana airdrop
- How to understand a token migration
- How to evaluate a token migration
- How to avoid a token migration
- What to do when you realize you bought a token that you cannot sell
- What to do when a dev or admin DMs you about your position
- What to do when a coin passes your safety checks but still feels off
- What to do when you have a string of winning trades