MetaMask's built-in swap is an in-wallet feature that returns routed quotes from multiple liquidity sources and executes a single transaction to exchange one ERC-20 (or native) token for another on EVM-compatible networks. The UI groups quote details, price impact, and any routing or service fee so you can decide before you approve. I use the feature daily for small, quick swaps because it removes one browser tab and one step from my workflow. And it can save time when you want a fast trade without opening an external DEX.
If you want a deeper explanation of the aggregator mechanics, see built-in swap aggregator.
Below are step-by-step instructions for both the browser extension and mobile app. Follow these with a tiny test amount first (I swapped $5 worth when I started).
But always test with tiny amounts before committing larger trades.
The in-wallet aggregator queries multiple liquidity sources and returns best-price routes. Routes can be a single pool trade or multi-hop paths split across sources. That means you may see a route that routes through an intermediate token (for example: Token A → Token B → Token C). Why? Because some pools have better depth for the intermediate pair.
Comparison: in-wallet swap vs external aggregator vs direct dApp
| Feature | In-wallet swap | External DEX aggregator (site) | Direct dApp (single DEX) |
|---|---|---|---|
| Quote aggregation | Yes | Yes (often deeper) | No |
| Route visibility | Basic breakdown | Detailed route split | Single route |
| Fee transparency | Shown in UI | Varies | Varies |
| Approval steps | Same | Same | Same |
| Best for | Fast in-wallet trades | Price-sensitive large trades | Low-friction single-DEX users |
If route transparency or advanced splitting matters (for larger trades), you might compare quotes externally before approving the in-wallet quote.
Slippage tolerance is the max price movement you allow between quoting and execution. Lower slippage reduces the chance of front-running or bad fills but increases failed transactions. Higher slippage increases execution probability but invites sandwich attacks.
Typical settings I use (not financial advice):
Worried about sandwich attacks? You can reduce exposure by using lower slippage and smaller trade sizes. (Also consider submitting from a private RPC or L2 when possible.)
If you want deeper guidance on slippage mechanics, read gas-fees-and-eip-1559 for gas timing strategies.
MetaMask shows an estimated gas fee and supports EIP-1559 fields (max fee, priority fee). The UI offers speed presets but you can manually edit fees if time sensitivity matters. For many daily swaps I pick the recommended priority fee, but when congestion is high I manually bump priority.
Layer 2 (L2) networks reduce gas costs dramatically for swaps within that chain. But if you cross chains you also need to account for bridge fees and wait times. If you plan to move funds, consider whether staying on an L2 reduces overall cost even after bridge fees.
See gas-fees-and-eip-1559 for tips on speed-ups and cancels.
Every ERC-20 swap will usually require a token approval (a token allowance). Approving unlimited allowances is convenient but increases risk if a malicious contract is later approved to spend tokens. I once approved an unlimited allowance by accident and had to revoke it immediately; lesson learned.
Before approving:
Also be cautious of phishing dApps that ask to initiate a swap from your wallet. If a dApp initiates a swap, the approval and execution may involve different contracts. But if you only use MetaMask's internal Swap UI you reduce the attack surface (since you are not pasting approvals into random sites).
Transaction simulation (pre-flight checks) can show whether the swap will succeed. Use the simulation output when available (and see transaction-simulation-and-safety).
Transparency: I ran a set of small, repeatable tests so you can reproduce results.
Test plan summary:
You can repeat these steps with a throwaway account if you want to see how the quote vs execution behaves in your own region and time.
If a transaction hangs, try cancel-and-speed-up-transactions.
Best for:
Who should look elsewhere:
If you need hardware-level signing for swaps, integrate a hardware wallet via the hardware integration guide (see integrate-hardware-ledger-trezor).
Q: Is it safe to keep crypto in a hot wallet?
A: Hot wallets are for convenience and daily use. For large, long-term holdings use secure offline storage and backup your seed phrase (backup-and-recovery-seed-phrase).
Q: How do I revoke token approvals?
A: Use the revoke tool in the app or follow the step-by-step on token-approvals-and-revoke.
Q: What happens if I lose my phone?
A: Restore with your seed phrase on a new device (see lost-phone-reset-recovery).
MetaMask's in-wallet swap gives fast, convenient access to aggregated quotes and a one-click execute flow. I've found it saves time for day-to-day trades but I still check routes and slippage for larger orders. And always test with a small amount first. But if you need pro-level routing or advanced order types, compare external aggregators before transacting.
Ready to try a test swap? Start with the setup guides: create-metamask-wallet or review extension/mobile setup at install-metamask-mobile and install-metamask-chrome.
If you want deeper reads: check built-in swap aggregator, token-approvals-and-revoke, and gas-fees-and-eip-1559 for next steps.