PancakeSwap Not Connecting to MetaMask — Fixes and Checks
Quick checklist (fast fixes)
If pancake swap wont connect to metamask, try these small, fast checks first. They solve most cases.
- Is MetaMask unlocked? (Extension open or mobile app unlocked.)
- Are you on the correct network? PancakeSwap runs on BSC/BNB Chain — your MetaMask must be on that chain.
- Do you have enough BNB to pay gas? Even a small swap needs a gas token balance.
- Are other wallet extensions enabled (they can conflict)? Try disabling them temporarily.
- Did you try a hard refresh or an incognito window (with the extension allowed)?
And yes, sometimes the fix is embarrassingly simple: switch accounts in MetaMask and try again.
How PancakeSwap connects to MetaMask (what actually happens)
PancakeSwap detects a connection method (injected provider or WalletConnect). The site looks for a web3 provider injected into the page (window.ethereum) or it offers a WalletConnect QR/URI handshake. When you click Connect the protocol asks your wallet to give the dApp permission to view addresses and request signatures later.
So when connecting pancake swap to metamask you are either granting the site read access to your address or creating a WalletConnect session that proxies signing requests. If the network (chainId) doesn't match what PancakeSwap expects, the dApp will refuse to operate — you won't be able to swap or approve tokens until the wallet switches to BSC.
(Think of it like trying to use an app that only speaks Spanish — the wallet must be on the same "language" or chain.)
Step-by-step: desktop MetaMask extension fixes
1) Basic connect troubleshooting
- Unlock MetaMask and confirm the correct account is selected.
- Confirm your MetaMask network shows BSC/BNB Chain. If not, switch to the network or accept PancakeSwap's "Add network" prompt (review details before approving).
- Click Connect on PancakeSwap. If nothing happens, open the MetaMask extension and watch for any prompts.
2) If prompts don't appear
- Disable other wallet extensions (they can inject conflicting providers).
- Try a hard refresh (Ctrl/Cmd + Shift + R) or clear site data for PancakeSwap.
- Open a private window and enable the MetaMask extension for incognito to test.
3) Reset or advanced options (use with caution)
- Use MetaMask's "Reset account" only to clear the local transaction history (this does not change your private keys or seed phrase).
- If you have custom RPC issues, try switching to a different RPC endpoint (see network-switching-multi-chain).
What I've found after daily use: the desktop extension usually fails when another extension injects a provider or when the browser blocks popups.
Step-by-step: mobile & WalletConnect fixes
MetaMask mobile can connect directly or via WalletConnect. Which should you use? It depends on the device and how you prefer to operate.
- If using the MetaMask mobile browser: open the in-app browser, navigate to PancakeSwap, and connect from the site.
- If using a mobile browser or want to connect a desktop session, use WalletConnect: on PancakeSwap click WalletConnect → scan the QR or copy the link, then accept in the MetaMask app.
Common mobile pitfalls:
- Camera permissions block QR scanning.
- The WalletConnect session times out (disconnect and reconnect).
- Deep-links fail if the browser blocks popups. Try switching to the in-app browser.
See metamask-mobile-vs-desktop and walletconnect-guide for step-by-step screenshots and alternate flows.
Advanced troubleshooting: RPC, chain ID, and custom networks
If basic checks fail, the issue often lives in the RPC or chain configuration.
- Chain ID mismatch: PancakeSwap expects the BSC chain ID (commonly 56 on mainnet). If MetaMask shows a different chain ID, the site will not connect for swaps.
- RPC provider health: a slow or down RPC will cause requests to hang. Try switching RPCs or using a different provider.
- Custom networks and testnets: make sure you aren’t accidentally connected to a testnet or a private RPC.
Table: Connection methods at a glance
| Method |
How it works |
Pros |
Cons |
| Injected provider (MetaMask extension) |
Wallet injects window.ethereum into the page |
Fast, seamless connect |
Can conflict with other extensions |
| WalletConnect |
QR/URI handshake between dApp and mobile wallet |
Works across devices, no injection |
Sessions can time out or fail to handshake |
| Mobile in-app browser |
dApp opened inside wallet app |
Single-device UX, fewer redirects |
Some dApps may not fully support mobile browser features |
Security checks before you approve a connect
Never approve a connection without checking the site and the permissions. Why? Because a malicious site with a connect button can still ask for dangerous approvals later.
- Verify domain and SSL certificate (double-check the URL).
- A connect request normally only allows the dApp to view addresses. If a site asks you to sign a transaction or typed message to "connect", pause.
- After connecting, inspect token approval requests carefully (use revoke-approvals tools if unsure).
But don't ignore phishing: always confirm you are on the real PancakeSwap domain. See phishing-alerts and security-overview for defensive steps.
Common WalletConnect problems and quick remedies
- Session hangs during QR handshake: restart the WalletConnect session and ensure camera permissions are enabled.
- Stuck with an old session: go into MetaMask → WalletConnect sessions and disconnect the stale session.
- Mobile deep-linking fails: open the MetaMask app first, then retry the WalletConnect scan.
When PancakeSwap (the site) is the problem
Sometimes the issue is on the dApp side: router upgrades, DNS, or heavy traffic can make connections fail or time out. How can you check?
- Try a different RPC or network briefly to see if the connect flow responds.
- Wait and retry during maintenance windows or high congestion.
- Use an alternate device or browser to isolate whether it's your environment or the site.
Who MetaMask is best for — and who should look elsewhere
Who this software wallet is best for:
- Users who interact with EVM-compatible chains regularly and want simple dApp integration.
- People who swap and stake frequently and prefer a browser extension or mobile app for daily use.
Who should consider another approach:
- Large holders who need offline signing for every transaction should use a hardware wallet paired with MetaMask or a different cold-storage workflow.
- Users who need native Solana or non-EVM chain support should pick a wallet that lists those chains natively.
I've been using MetaMask daily for months; in my experience it's flexible, but the trade-off is obvious — convenience vs security.
FAQ
Q: Is it safe to keep crypto in a hot wallet?
A: Hot wallets are convenient for active DeFi use. For large balances hold long-term, consider hardware or cold storage. Always keep your seed phrase offline.
Q: How do I revoke token approvals?
A: Use an on-chain approval revocation tool or visit the dApp's approval page to remove unlimited allowances (see revoke-approvals). Always review approvals before revoking—they are on-chain transactions that cost gas.
Q: What happens if I lose my phone?
A: You can restore your MetaMask account on a new device with your seed phrase. If you used cloud backups or social recovery options, understand the risks before using them (see lost-phone).
Conclusion & next steps (short CTA)
If PancakeSwap still won't connect to MetaMask after the checks above, try these targeted guides: metamask-extension-troubleshooting for desktop issues or walletconnect-guide for mobile sessions. And if you're unsure about a signing request, pause and check the permission details (safety first).
Want more practical walkthroughs? See connect-defi-dapps for additional dApp connection tips and network-switching-multi-chain to learn safe ways to add or switch networks.
Good luck — and remember: small mistakes like connecting the wrong network or approving an unlimited token allowance are fixable, but paying attention now saves you a headache later.