Quick answer: Can you connect MetaMask to Uniswap and PancakeSwap?
Yes. Can you connect MetaMask to Uniswap? Yes — Uniswap (an EVM-compatible DEX) accepts MetaMask via the injected browser extension or via WalletConnect on mobile. And connect MetaMask to PancakeSwap? Also yes — but PancakeSwap runs on a different EVM-compatible chain (BSC/BEP-20). That means you may need to add or switch to the correct network in MetaMask before a successful connection. The rest of this guide shows step-by-step how to connect to Uniswap, Aave, Lido and PancakeSwap, plus safety and troubleshooting tips.
How dApp connections actually work
Think of a dApp connection like asking a doorman to hand a receipt to a bank teller instead of giving them your wallet. When you “Connect” a dApp, you allow it to read your public address and prompt MetaMask to create signatures or transactions on your behalf. On desktop the extension injects a provider (window.ethereum) into the site. On mobile you either use the in-app browser or WalletConnect (a QR/code handshake that links the dApp to your wallet).
Under the hood this uses JSON-RPC calls (account list, chain id, sendTransaction) and cryptographic signatures. The dApp never sees your private keys. It sends a transaction request; MetaMask shows a confirmation UI where you inspect gas fees, nonce, and the exact data you sign. Simple enough. But sloppy approvals can be expensive later (token allowances, unlimited approvals — I learned this the hard way).
Step by step: Connect MetaMask to Uniswap (desktop + mobile)
How to connect MetaMask to Uniswap — step by step.
Desktop (browser extension)
- Open the Uniswap site (double-check the domain).
- Click Connect Wallet → choose MetaMask (the site will detect the injected provider).
- MetaMask opens a popup asking which account to share. Select an account and click Connect.
- Pick the correct network (Ethereum mainnet or the supported network you want). If you need L2s, switch networks in MetaMask first.
- For swaps, approve the token (single approval transaction) and then confirm the swap transaction (review slippage and gas).
Mobile (in-app browser or WalletConnect)
- Open MetaMask mobile and use its in-app browser to visit Uniswap. Or open Uniswap in your phone browser and choose WalletConnect.
- If using WalletConnect, scan the QR (or confirm the pairing on mobile).
- Approve the connection in MetaMask mobile, then follow on-screen steps to approve tokens and sign swaps.
Want extra reading on using DEXs inside MetaMask? See using-uniswap-and-other-dexes and metamask-built-in-swap-guide.
Step by step: Connect MetaMask to Aave and Lido
Both Aave and Lido require a standard wallet connection. The flows are very similar to Uniswap but with some protocol-specific points.
For Aave: connect your wallet, switch to the right market (mainnet or an L2), then supply or borrow. Supplying most ERC-20 assets requires a token approval transaction first. Aave will show permissions — inspect the allowance and gas before confirming.
For Lido: connect and choose the staking amount. Lido issues a liquid staking token in exchange. You still approve the deposit transaction with MetaMask. Note: Lido does not let you pick individual validators through the UI — you get the protocol-managed service.
If you plan to supply or stake regularly, consider using a hardware wallet for large balances (see ledger-and-hardware).
How to connect MetaMask to PancakeSwap (BSC) safely
PancakeSwap runs on an EVM-compatible chain using BEP-20 tokens. To connect MetaMask:
- Add the BSC network to MetaMask (Custom RPC). You’ll need to enter network name, chain ID, RPC URL and currency symbol. Only use RPC details from an official source.
- Switch MetaMask to BSC in the network dropdown.
- Visit PancakeSwap, click Connect Wallet, and choose MetaMask.
- For tokens you don’t see, add them manually using the contract address (double-check on a block explorer).
Be careful bridging assets between chains. Bridges can be a point of risk. Read about bridging basics in bridging-overview if you plan to move funds between Ethereum and BSC.
Mobile vs desktop vs WalletConnect — quick comparison
| Method |
Best for |
Pros |
Drawbacks |
| Browser extension (desktop) |
Frequent desktop trading & developer work |
Fast dApp detection, injected provider, easy account switching |
Exposed to browser-based phishing if you mistype URLs |
| MetaMask mobile (in-app browser) |
Phone-first users |
Seamless mobile dApp experience, WalletConnect built-in |
Smaller screen; watch for copy-paste mistakes |
| WalletConnect |
Connecting mobile wallets to web dApps |
No extension required, works with many wallets |
Session pairing adds steps; some sites have partial WalletConnect support |
| Hardware (Ledger) integrated |
Large balances & high-risk transactions |
Private keys offline; safer signing |
Extra steps for each transaction; some dApps limit features |

Security checklist before connecting to any DeFi dApp
- Verify the site domain and SSL certificate. Phishing sites are common. (Look closely.)
- Connect only when you need to interact. Disconnect when finished and manage connections in MetaMask’s "Connected sites".
- Approve minimal token allowance amounts. Avoid unlimited approvals. If you made a mistake, revoke approvals — see revoke-approvals and token-approvals-revoke.
- Use transaction simulation or a small test transaction for large actions. What I've found: simulating a transaction would have stopped one bad swap.
- For big balances, use a hardware wallet for signing.
- Keep your seed phrase offline and never enter it into a website or a cloud form. I believe this cannot be stressed enough.
Troubleshooting common connection issues
- dApp doesn't detect MetaMask: ensure the extension is enabled and page is refreshed; allow pop-ups. See metamask-extension-troubleshooting.
- Wrong network: switch networks in MetaMask or add a custom network (see network-switching-multi-chain).
- Pending or stuck transactions: try speeding up or canceling (if supported) or check nonce conflicts. See transactions-and-gas.
- Token not visible: add a custom token (add-custom-token) with the correct contract address.
And yes, sometimes the popup gets blocked by an adblocker. Disable it for the site.
Who MetaMask is for — and who should look elsewhere
Who MetaMask is for:
- Users who need quick access to many DeFi dApps and EVM-compatible chains. I’ve been using this setup daily for swaps and staking on multiple protocols.
- People who like a mix of desktop and mobile access and who accept the trade-off between convenience and risk.
Who should look elsewhere:
- Users who prefer a fully managed custodial experience (MetaMask is non-custodial).
- People who want zero exposure to browser-based attack vectors for large holdings — consider a pure hardware-first workflow.
FAQ
Q: Is it safe to keep crypto in a hot wallet?
A: Hot wallets are practical for daily DeFi use but come with higher exposure than cold storage. Keep only what you actively trade or stake; store the rest offline.
Q: How do I revoke token approvals?
A: Use the built-in approval manager or third-party revocation tools. Search revoke-approvals and metamask-approval-management for step-by-step guides.
Q: What happens if I lose my phone?
A: Restore on a new device using your seed phrase (seed-phrase-backup-and-recovery). If you used cloud backups, understand the privacy trade-offs.
Q: connect metamask to pancake swap — is it different?
A: The connection flow is the same; you must be on the BSC network. Add or switch to the network in MetaMask before connecting.
Q: can you connect metamask to uniswap on mobile?
A: Yes. Use the MetaMask mobile in-app browser or WalletConnect pairing from the Uniswap web UI.
Conclusion & next steps
Connecting MetaMask to Uniswap, Aave, Lido and PancakeSwap is straightforward once you understand networks, approvals, and the difference between desktop injection and WalletConnect. Start with small, low-value transactions until you’re comfortable. For installation and setup, follow the extension and mobile guides: metamask-extension-installation and metamask-mobile-guide. If you plan to swap often, check out metamask-built-in-swap-guide and swap-gas-optimization for saving on gas. Stay cautious, confirm every approval, and disconnect when you're done.
Ready to connect? Follow the step-by-step sections above and review the security checklist before you sign anything.