Quick overview
Adding networks or custom RPCs to MetaMask lets the wallet interact with more blockchains than the default Ethereum mainnet. You can connect MetaMask to Binance Smart Chain, Polygon (Matic), Avalanche C-Chain, Cronos, Fantom, and other EVM-compatible blockchains. I’ve been adding and switching networks daily for months; it saves time when you use multiple DeFi apps. And it also increases your attack surface if you’re careless.
Why add a network? Short answer: to access tokens, staking, or dApps that run on that blockchain without leaving MetaMask.
Which networks this guide covers
This page focuses on these mainnets (examples used in forms and tests below):
- Binance Smart Chain (BSC / BNB Smart Chain)
- Polygon (Matic)
- Avalanche (C-Chain)
- Cronos
- Fantom (Opera)
If you want single-page instructions for a specific chain, see the related quick guides: add-bsc-to-metamask, add-polygon-to-metamask, and add-avalanche-to-metamask.
How MetaMask reads a network (under the hood)
MetaMask asks the RPC for two key pieces of information: the chain ID (via eth_chainId) and block responses (to detect fee market behaviour). Based on those responses the wallet decides whether to show legacy gas-price fields or EIP-1559 fields (max fee / priority fee). It also uses the RPC to fetch balances, transaction receipts, token metadata, and block explorers links.
So the RPC you enter must return the correct chain ID and handle standard JSON-RPC methods. If the RPC is slow or rate-limited, MetaMask can appear broken (missing balances, slow transaction submission).
Add a custom network — Desktop extension (step-by-step)
- Click the MetaMask extension icon and unlock your wallet.
- Open the network dropdown (top-center) and choose "Add network" or go to Settings → Networks → Add Network.
- Choose "Add a network manually" and fill these fields: Network Name, New RPC URL, Chain ID (decimal), Currency Symbol, Block Explorer URL (optional).
- Save and switch to the new network.
Tip: MetaMask expects the chain ID in decimal (e.g., 137 for Polygon). If you enter a hex value (0x89), it will be rejected.
If a dApp tries to call wallet_addEthereumChain (the RPC method for auto-adding networks), MetaMask will prompt you to accept — check the fields before approving.
Add a custom network — MetaMask mobile (iOS/Android)
The mobile UI is similar but located differently. custom rpc metamask mobile steps:
- Open the MetaMask app and unlock.
- Tap the menu (top-left or bottom-right depending on version) → Settings → Networks.
- Tap "Add network" → "Add custom network".
- Paste the Network Name, RPC URL, Chain ID, Currency Symbol, and Block Explorer URL. Save.
When I first set this up on mobile I missed the "Save" button because the keyboard covered it. If that happens, close the keyboard and scroll down. But be patient; mobile screens vary.
You can also accept a network add request from a dApp inside MetaMask's in-app browser or via WalletConnect from an external dApp.
Network settings cheat sheet (table)
(These RPC URLs are common public endpoints — confirm the current recommended RPC on the chain's official docs before using.)
Gas fees, EIP-1559 and swap behaviour across chains
Not all EVM-compatible chains implement the same fee market. MetaMask will detect the chain's fee model and show gas-price fields accordingly. If a network supports EIP-1559, you'll see "Max fee" and "Priority fee" fields. Otherwise you'll see a single "Gas Price" input.
Practical tip: when swapping on lower-cost chains (BSC, Polygon, Fantom), small priority fees are enough. On busier chains or during network spikes, increase your priority fee to reduce pending time. If you're doing frequent swaps, compare on-chain routing (in-wallet swap aggregator vs external DEX aggregators) for price slippage and gas overhead.
dApp integration and WalletConnect notes
If a dApp wants you to switch networks, it can call the standard RPC methods to request a chain switch or add the chain. Always inspect the popup. If the dApp uses WalletConnect, your MetaMask mobile will confirm the network change with a separate screen. Want the details? See connect-to-dapps-walletconnect.
Security & privacy: choosing RPC endpoints safely
A custom RPC endpoint can observe your outbound requests (addresses, pending txs) and serve manipulated data. It cannot directly take your keys — but it can hide balances, show false confirmations, or delay/fail transactions to trick you into re-sending.
Best practices:
- Prefer official RPC endpoints or reputable node providers; consider running your own node for high-value operations.
- Use HTTPS endpoints only (MetaMask rejects many HTTP endpoints for security).
- Avoid random RPC URLs posted in social media. Verify from chain docs.
- If privacy matters, look at privacy node providers (see privacy-node-providers).
I once configured a sketchy RPC and missed a token balance; lesson learned: verify RPC health before large transfers.
Troubleshooting: error while connecting to the custom network MetaMask
Common causes and fixes:
- Wrong Chain ID: verify the decimal chain ID. Use a curl test:
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":1}' https://polygon-rpc.com/ (result is hex, 0x89 for 137).
- Unreachable RPC: test in a browser or via curl. If the endpoint times out, MetaMask can't connect.
- CORS or extension-level blocks: browser extensions sometimes cache failing RPCs. Try removing the custom network and re-adding it.
- HTTPS requirement: MetaMask mobile and extension expect secure endpoints.
- Rate limits: public RPCs may throttle you. If transactions fail intermittently, switch to an alternate RPC or a paid node.
If you still see an "error while connecting to the custom network MetaMask" message, copy the RPC URL and test it outside MetaMask. That isolates whether MetaMask or the endpoint is failing. For persistent issues, see transaction-errors-and-fixes.
Who this guide is for — who should look elsewhere
Who this is for:
- Users who use MetaMask as a hot wallet to access DeFi, swap tokens, or stake via dApps across multiple EVM-compatible chains.
- People who want quick, manual control over RPC endpoints and understand basic JSON-RPC testing.
Who should look elsewhere:
FAQ (short answers)
Q: Is it safe to keep crypto in a hot wallet with custom networks?
A: Hot wallets are convenient but inherently higher risk than cold storage. For large holdings use hardware wallets; for daily DeFi activity a hot wallet is pragmatic if you follow the security-checklist.
Q: How do I revoke token approvals on a custom chain?
A: Use a revoke tool that supports the chain or interact directly with the token contract via a block explorer. See token-allowances-and-revoke for workflow and best practices.
Q: What happens if I lose my phone?
A: Restore your MetaMask using your seed phrase on another device. If you use cloud backups or social recovery, understand the trade-offs. Review seed-phrase-backup-recovery.
Q: Why don't I see my token balance after adding a network?
A: Common reasons: wrong network selected, token not added as a custom token, or the RPC is failing. Add the token contract under add-custom-token-to-metamask.
Summary & next steps
Adding BSC, Polygon, Avalanche, Cronos, and Fantom to MetaMask is a one-time setup per device and opens access to many DeFi apps. Follow the table above, verify RPC endpoints, and test with a small transfer first. In my experience small test transactions save headaches later. And yes, expect UI differences between desktop and mobile.
Next actions: add the network you need, then run a small receive/send or a low-value swap to confirm. For mobile-specific setup walkthroughs see metamask-mobile-ios-android and for more advanced custom RPC options check custom-rpc-network-settings.
If you hit errors, work through the troubleshooting steps above and consult transaction-errors-and-fixes.