How to Connect MetaMask to Uniswap or PancakeSwap — DEX Tutorial (2025)
A beginner-friendly walkthrough to connect your MetaMask wallet to Uniswap (Ethereum) or PancakeSwap (BNB Smart Chain), complete your first swap, set slippage, and avoid common mistakes.
Before You Begin
- Install MetaMask (desktop extension or mobile app) and back up your Secret Recovery Phrase safely.
- Have a small balance of ETH (for Ethereum) or BNB (for BSC) to pay network gas fees.
- Always verify you’re on the official site: app.uniswap.org or pancakeswap.finance.
Never share your seed phrase or private keys. Bookmark official URLs to avoid phishing.
Path A — Connect MetaMask to Uniswap (Ethereum)
- In MetaMask, select Ethereum Mainnet.
- Open app.uniswap.org and click Connect → choose MetaMask.
- Approve the connection in the MetaMask pop-up.
- Select tokens (e.g., From ETH → To USDC). If first time, click Approve for the token.
- Review gas fee, set slippage (start 0.3%–0.5%), then click Swap and confirm in MetaMask.
Tip: For volatile pairs, increase slippage gradually (e.g., 1%–3%), but understand price impact and MEV risk.
Path B — Connect MetaMask to PancakeSwap (BSC)
- In MetaMask, switch network to BNB Smart Chain (add it if needed).
- Open pancakeswap.finance and click Connect Wallet → choose MetaMask.
- Approve the connection in the MetaMask pop-up.
- Select tokens (e.g., From BNB → To CAKE/USDT). Approve token if prompted (first use).
- Set slippage (start 0.5%–1%), review gas fee in BNB, click Swap and confirm.
Tip: For new or illiquid tokens, check the contract address on bscscan.com to avoid impostors.
Troubleshooting & Safety
- Swap failing? Raise slippage slightly, increase gas, or try a smaller amount.
- Token not showing? Click Import and paste the official contract address.
- Wrong network? Ensure MetaMask network matches the DEX network.
- Revoke risky approvals: Periodically review and revoke token allowances on reputable tools if needed.
FAQ — Frequently Asked Questions
Do I need to approve every token before swapping?
Yes, the first time you use a token, you must approve its smart contract to spend your tokens. Approval is separate from the swap.
Which fees will I pay?
You pay network gas (ETH on Ethereum, BNB on BSC) and the DEX liquidity provider fee embedded in the price quote.
Can I use MetaMask mobile?
Yes. Use the in-app browser in MetaMask mobile, then open the DEX and connect your wallet.