Mango Markets swap
Swap any token, with up to 5x leverage
The Mango swap screen looks like any other DEX swap. Under the hood it checks the Mango order book and the major Solana pools, picks the cheapest route, and can borrow extra size for you in the same transaction using a flash loan.
Select a token Top 100
No token matches that search.
Swap
Max slippage 0.5%
You pay
You receive
48.0556
- Rate
- 1 SOL = 20.84 USDC
- Borrowed via flash loan
- 0 USDC
- Health impact
- 100% → 100%
- Route
- Mango book → Aggregated AMMs
How a leveraged swap actually works
Say you hold 1,000 USDC and want 3x exposure to SOL. On most platforms that takes several steps: deposit, borrow, swap, deposit again. Each step is a separate transaction and you pay slippage and fees on all of them.
Mango folds that into one action. A flash loan borrows the extra 2,000 USDC, the swap runs, the resulting SOL lands in your account as collateral, and the loan becomes a normal borrow against it. If any part fails, the whole thing reverts and nothing changes. You sign once.
The result is a position of roughly 3,000 USDC worth of SOL, a 2,000 USDC borrow, and an account health figure you can watch in real time. Your SOL still earns deposit interest while you pay the USDC borrow rate on the loan.
What happens in that single transaction
- 01Flash loan pulls the extra amount from the lending pool
- 02Router splits the order across the cheapest venues
- 03Purchased tokens are deposited to your Mango account
- 04Flash loan is repaid, leaving a regular borrow on your account
- 05Health check runs and the transaction confirms or reverts
Slippage
Picking a slippage setting
Slippage is the worst price move you'll accept between quote and fill. Tighter is safer, looser fills more often.
| Setting | Typical use | Trade-off |
|---|---|---|
| 0.1% | Stablecoin pairs, USDC to USDT | May fail in fast markets |
| 0.5% | SOL, ETH, BTC and other majors | Good default for most swaps |
| 1% | Mid-cap Solana tokens | Small extra cost, fewer failed swaps |
| 2% to 3% | New or thin tokens | Use only when you accept the price risk |
When traders use Mango swap
Fast directional bets
You like a token and want 2x without opening a perp. Swap with leverage and close the same way.
Rebalancing
Shift a portfolio from SOL to stablecoins in one step. Your health score updates as you go.
Collateral swaps
Move collateral from one token to another without closing positions that depend on it.


One click, best route, optional leverage
Connect your wallet and try a small swap first. You'll see the route and health impact before you sign.
