Quick answer
Slippage is the difference between the price you expect when initiating a DeFi swap and the actual price you receive when it executes. It occurs because blockchain transactions take time to confirm, during which other trades can shift the pool's price, and because your own trade changes the pool ratio (price impact). Setting a slippage tolerance on your DEX protects you by reverting the transaction if the actual price moves beyond your threshold.
Two types of slippage in DeFi
Slippage in DeFi comes from two distinct sources that are worth understanding separately, even though they both result in you receiving less than expected.
- Price impact (your trade)
- When you trade against a liquidity pool, your trade itself moves the price — you are buying a token from a fixed reserve, and as you deplete the supply, each additional unit costs more. The larger your trade relative to the pool size, the greater the price impact. A $100 trade in a $10M pool has negligible price impact; a $100,000 trade in the same pool moves prices significantly.
- Market movement (other trades)
- Between when you submit a transaction and when it confirms on-chain (seconds to minutes depending on gas price and network congestion), other traders' transactions can be processed first. If many people are buying the same token, the pool price shifts before your trade executes, and you receive less than the price displayed when you clicked 'confirm'.
How slippage tolerance works
Every major DEX interface (Uniswap, Curve, Aerodrome, etc.) has a slippage tolerance setting — typically accessed via a settings gear icon. This is the maximum percentage difference from the quoted price that you will accept. If actual slippage exceeds this tolerance, the transaction reverts (fails), and you only lose the gas fee.
Example: you want to swap 1 ETH for USDC at a quoted price of $3,000. With 0.5% slippage tolerance, your swap will succeed only if you receive at least $2,985 USDC. If market conditions mean you'd receive only $2,970, the transaction reverts.
Setting slippage tolerance too high (e.g., 5-10%) to force a transaction through exposes you to MEV bots that will sandwich your trade, extracting the allowed slippage as profit. Always use the minimum slippage that allows your transaction to succeed.
Recommended slippage settings
Slippage tolerance is not one-size-fits-all — the right setting depends on what you are trading, on which pool, and on network conditions.
| Trade type | Recommended slippage | Reason |
|---|---|---|
| Stablecoin pairs (USDC/USDT) | 0.01–0.05% | Pegged assets have minimal natural price movement |
| Major pairs (ETH/USDC) | 0.1–0.3% | Deep liquidity, predictable price movement |
| Mid-cap tokens | 0.5–1% | More volatile, less liquid pools |
| Small-cap / new tokens | 1–3% | Thin liquidity, high natural volatility |
| Memecoins | 3–5%+ | Extreme volatility; be aware of MEV risk |
How to minimise slippage
Several strategies reduce slippage on DeFi trades. The most impactful is using a DEX aggregator rather than trading on a single pool directly.
- Use 1inch, Paraswap, or Jupiter (Solana) — aggregators split your trade across multiple pools to find the best combined price
- Trade when network activity is low (lower gas costs and less mempool competition)
- For large trades, split into multiple smaller trades over time rather than one large transaction
- Use limit orders on DEXes that support them (Uniswap V4, dYdX) to set an exact minimum price
- Use MEV-protected RPCs (Flashbots Protect, MEV Blocker) to prevent sandwich attacks exploiting your slippage tolerance
Frequently asked questions
What is the difference between slippage and price impact?
Price impact is the portion of slippage caused by your own trade moving the pool's price — it is predictable and calculable before you trade. Slippage from market movement (other trades occurring before yours) is less predictable. Most DEX interfaces show you the estimated price impact of your specific trade size. Your slippage tolerance covers both sources of potential price change.
Why do some transactions fail with a slippage error?
A failed transaction due to slippage means the actual price at execution time exceeded your slippage tolerance setting. The transaction reverts automatically — you do not lose your tokens, only the gas fee for the failed transaction. Solutions: increase your slippage tolerance slightly, wait for lower network activity, split the trade into smaller amounts, or use a DEX aggregator for better routing.
Is slippage the same as trading fees?
No. Trading fees (0.01–1% on most AMMs) are paid to liquidity providers as a percentage of the trade value — they are predictable and listed on the DEX interface. Slippage is a separate, variable price difference caused by market movement and price impact. Both reduce how much you receive, but they are distinct costs.
Can I set 0% slippage?
Technically yes, but practically this means your transaction will almost always revert unless you are trading a stablecoin pair on a deep pool. Even a single other transaction processed before yours can change the pool price enough to breach 0% tolerance. For most trades, 0.1–0.5% is the practical minimum that allows reliable execution.
Do DEX aggregators eliminate slippage?
Aggregators reduce slippage by routing your trade across multiple pools for a better average price, and some (CoW Protocol, 1inch Fusion) use off-chain order matching that can eliminate MEV-driven slippage. However, price impact from your own trade size still applies — you cannot eliminate slippage entirely on large trades in thin markets, regardless of aggregator used.