Skip to the article
Crypto Talk

Opinion and debate across crypto

MetaMask’s duplicate Chain ID warning points to an existing entry

Chain ID already used by another network in MetaMask means an existing entry owns that ID; find it, check its RPC, and edit the entry.

Crypto Talk Editorial2 min read

MetaMask’s duplicate Chain ID warning points to an existing entry

MetaMask says a Chain ID is already used because it already has a network saved under that ID. A wallet keeps one network entry per Chain ID, which EIP-155 uses to identify an EVM network. Chainlist shows network IDs alongside RPC endpoints, so you can compare the ID you are adding with the one in MetaMask.

Why does MetaMask say the Chain ID is already used by another network?

MetaMask keys each saved network by its Chain ID, so it refuses a second entry with the same ID. The network name can differ, but the matching ID tells the wallet it is the same network identity.

The existing entry may have come from a dApp’s earlier wallet_addEthereumChain request, the method EIP-3085 defines for asking a wallet to add an Ethereum network. You may have approved that request without later recognizing the network name. Look for an unfamiliar name holding the ID you are trying to add.

How do I find and fix the existing network in MetaMask?

MetaMask’s network settings show the saved entry and let you inspect its name and RPC endpoint, the address MetaMask uses to connect. Find the entry with the matching ID, then update that entry with the RPC details you intend to use.

  • The Chain ID identifies the entry.
  • The network name labels it for you.
  • The RPC endpoint connects MetaMask to the network.

These values belong together in one saved entry. If you are adding a different RPC for the same network, edit the existing entry rather than trying to create another one.

  1. Open MetaMask’s network settings and find the entry with the matching Chain ID.
  2. Compare its name and RPC with the network details you have.
  3. Edit the name or RPC as needed and save the existing entry.

Can two networks use the same Chain ID in MetaMask?

Two chains that reuse a registered Chain ID cannot coexist as separate entries in one MetaMask wallet. The wallet treats that ID as the network’s identity, so it cannot distinguish the chains by name alone.

Before changing anything, verify the intended Chain ID and RPC against Chainlist. If two chains claim the same ID, confirm the correct details with the network’s own source; changing the name will not resolve the identity conflict.