How to Swap Tokens on Solana
Swapping tokens on Solana takes less than a minute and costs under $0.01 in network fees. Jupiter is the standard swap interface — it’s an aggregator that checks prices across Raydium, Orca, Meteora, and 20+ other liquidity sources and automatically routes your trade through the cheapest path. This guide walks you through the entire process step by step, from prerequisites to verifying your completed swap on-chain.
What You Need Before You Start
Before you can swap tokens on Solana, you need three things:
- Phantom wallet. Download from phantom.app — available as a Chrome/Firefox/Brave browser extension and as a mobile app on iOS and Android. Create a wallet and write your 12-word seed phrase on paper. Not in a notes app, not in a screenshot. Paper. Store it somewhere physically secure.
- SOL in your wallet. Buy SOL on a centralized exchange (Coinbase, Kraken, or Binance) and withdraw it to your Phantom wallet address. Start with a small amount — $10–$50 is plenty to learn. Always send a $1 test transaction first to confirm you have the right address.
- SOL reserved for fees. Keep at least 0.05 SOL in your wallet at all times. Every Solana transaction requires a small SOL fee. If you convert all your SOL to another token, you’re stuck — you can’t do anything, including swapping back, until you get more SOL.
Step-by-Step: Swapping Tokens on Jupiter
Step 1: Go to Jupiter
Open jup.ag in your browser. This is Jupiter’s official swap interface. Verify the URL carefully — phishing sites copy the real one with subtle domain changes. Bookmark it after your first visit.
Step 2: Connect Your Wallet
Click “Connect Wallet” in the top right corner. Select Phantom from the list. A Phantom popup will appear asking you to approve the connection — click Connect. You’ll see your wallet address appear in the top right, confirming the connection.
Step 3: Select Your Tokens
Jupiter’s swap interface has two fields: the token you’re selling (top) and the token you’re buying (bottom).
- From (top): Click the token selector and choose the token you want to sell. SOL is usually selected by default.
- To (bottom): Click the token selector and choose the token you want to buy. For your first swap, USDC is a safe choice — it’s a stablecoin pegged 1:1 to the US dollar.
Enter the amount you want to swap in the top field. Jupiter instantly calculates and displays the amount you’ll receive.
Step 4: Set Your Slippage
Click the gear icon near the swap button to open settings. You’ll see a slippage tolerance option.
- 0.3–0.5% for major tokens (SOL, USDC, USDT, JitoSOL). These have deep liquidity and stable prices.
- 1–3% for smaller or newer tokens with less liquidity. Lower liquidity means the price can shift more between when you submit and when the transaction executes.
- 5%+ is almost never a good idea. If a token requires 5%+ slippage, it has very low liquidity and you’re likely overpaying. Proceed with extreme caution — or don’t.
The default 0.5% works for most swaps. If your transaction fails with a “slippage exceeded” error, you can increase it slightly — but understand that higher slippage means you’re accepting a worse potential price.
Step 5: Review the Route
Before swapping, Jupiter shows you important details:
- Rate: The exchange rate for your swap (e.g., 1 SOL = 148.52 USDC).
- Price impact: How much your swap moves the market price. Under 0.1% is ideal. Above 1% means your order is large relative to available liquidity — consider splitting it into smaller swaps.
- Route: Which DEXs Jupiter is routing through (e.g., “via Orca Whirlpool” or “split: 60% Raydium, 40% Meteora”). Jupiter picks this automatically for the best price.
- Minimum received: The worst-case amount you’ll receive after accounting for slippage. If the actual price is worse than this, the transaction reverts and you keep your original tokens.
Step 6: Confirm the Swap
Click “Swap”. Phantom pops up with a transaction preview — this is your last checkpoint before execution. Phantom’s transaction simulation shows you exactly what tokens will leave your wallet and what tokens will arrive. Read it. If the amounts look wrong or you see unexpected token transfers, click Reject.
If everything looks correct, click Approve. The swap executes on-chain in under a second. You’ll see a confirmation with a transaction link.
Step 7: Verify on Solscan
Click the transaction link after the swap completes, or go to solscan.io and search your wallet address. You’ll see:
- The exact tokens and amounts swapped
- The route Jupiter used
- The network fee paid
- The timestamp
This is your on-chain receipt. It’s permanent, public, and verifiable by anyone.
Tips for Better Swaps
Avoiding Fake Tokens
Anyone can create a token on Solana with any name, ticker, or logo. A token called “USDC” might not be the real USDC. Before swapping for any token:
- Use Jupiter’s verified token list. In settings, enable Strict mode, which only shows tokens that Jupiter has verified. This filters out the vast majority of scams.
- Verify the mint address. Every Solana token has a unique mint address. Check the project’s official website or CoinGecko listing for the correct address. Compare it to what Jupiter shows.
- Be wary of unsolicited tokens. If a random token appears in your wallet that you didn’t buy, don’t interact with it. Some scam tokens are designed to drain your wallet when you try to swap or transfer them.
Priority Fees During Congestion
During high network activity — major token launches, market crashes, popular airdrops — Solana can get congested. Transactions without priority fees may fail repeatedly.
In Jupiter’s settings, you can set a priority fee level:
- Normal: $0.001–$0.01. Works during calm periods.
- High: $0.01–$0.05. Recommended during moderate congestion.
- Very High / Custom: $0.05+. Use during extreme congestion if your swap is time-sensitive.
Priority fees are paid to validators on top of the base transaction fee. They don’t change your swap price — they just increase the likelihood your transaction gets processed quickly.
Splitting Large Swaps
If you’re swapping a large amount (thousands of dollars), the price impact can be significant — especially for tokens with less liquidity. Splitting your swap into 2–4 smaller transactions can reduce total price impact, though you’ll pay multiple network fees (still under $0.10 total on Solana).
Jupiter’s price impact indicator tells you when this matters. Under 0.1% impact — swap in one go. Above 0.5% — consider splitting.
MEV Protection
MEV bots can sandwich your swap — buying before you to push the price up, letting your swap execute at the worse price, then selling for profit. Jupiter includes MEV protection features in settings that help mitigate this by routing transactions through protected channels. Enable it if you’re making swaps above $500.
Tight slippage (0.3–0.5%) is your best defense. The less room a bot has to profit, the less likely your transaction is to be targeted.
What Can Go Wrong
- Transaction fails. Usually caused by slippage being too tight or network congestion. You don’t lose funds — the transaction simply reverts. Increase slippage slightly or add a priority fee and retry.
- Wrong token. You swapped for a fake token with a similar name. Use Strict mode and verify mint addresses. If you already received a fake token, don’t try to swap it — just ignore it.
- Out of SOL for fees. You swapped all your SOL and now can’t do anything. You’ll need to buy more SOL on a CEX and send it to your wallet, or have someone send you a small amount.
- Price moved significantly. Between checking the price and confirming the transaction, the market moved. This is normal in volatile markets. Your slippage setting protects you — if the price moved beyond your tolerance, the transaction was automatically cancelled.
After Your First Swap
Once you’re comfortable swapping tokens, you can explore:
- Liquid staking — Stake SOL with Jito and receive JitoSOL, which earns ~6.5% APY while remaining usable across DeFi.
- Lending — Supply USDC on Kamino or Jupiter Lend to earn 3–8% interest from borrowers.
- Limit orders on Jupiter — Set a target price and Jupiter executes the swap automatically when the market reaches it. No need to watch prices manually.
Swapping is the foundation of everything in Solana DeFi. Every other activity — staking, lending, providing liquidity — starts with a token swap.