How to Add Polygon to Metamask

Polygon is an Ethereum scaling platform that is decentralized and enables developers to build scalable dApps. This guide will teach you how to add a custom Polygon RPC endpoint to your Metamask.


  1. What is Polygon?
  2. Mainnet vs. Testnet (Mumbai)
  3. Create a free Alchemy account
  4. Create a Polygon App
  5. Add to Wallet

Updating your Metamask RPC manually

  1. Copy your HTTP API Key
  2. Update Polygon Mainnet
  3. Update Polygon Testnet Mumbai

What is Polygon?

Polygon is an Ethereum scaling platform that is decentralized and enables developers to build scalable user-friendly dApps. This comes with low transaction fees without ever sacrificing security.

This tutorial will include ways to add Polygon Mainnet and Mumbai Testnet as your custom MetaMask RPC node provider. We’ll be able to add Polygon to Metamask with only a few steps.

Mainnet vs. Mumbai Testnet

There are two networks on Polygon: Mainnet and Mumbai testnet. The endpoints are as follows:

  1. Mainnet:
  2. Mumbai:

Set up a free Alchemy account

This is an essential step. Just do it. here.

Since Polygon is a Layer 2 solution, be sure to select the Ethereum + L2 Ecosystem during sign-up.

Create a Polygon App

Check out these instructions for creating a new app. Make sure to specify Polygon as the chain and choose Mainnet or Mumbai.

Add to Wallet

Alchemy provides an Add To Wallet button for Polygon apps.

This is a more convenient way to add the Polygon network to your Metamask wallet rather than manually configuring it.


Add to Wallet button

That's it! You should see your Metamask work a lot better now 😉

Updating your Metamask RPC Manually

The below instructions are for updating your Metamask RPC manually instead of using the "Add to Wallet" button.

Copy your HTTP API Key

After creating your app, you should be able to see your Alchemy app’s chain matches the chain you want to connect to.

Here, you can find your HTTP which you will use for your RPC URL in Metamask.

Updating Polygon Mainnet

  1. Open Metamask and click the network name located at the top-right of the window
  1. Click the Add Network button at the bottom of the pop-up window
  1. Enter the following network details and click Save

After clicking Save, you will be directly switched to Polygon’s Network within the dropdown list.


That's it! You've now added the Polygon network with Alchemy connected.



⛓️ To explore other free and public Polygon RPC endpoints, visit Alchemy Chain Connect.

Update Polygon Testnet (Mumbai)

Mumbai Testnet replicates the Polygon Mainnet, which is to be used for testing.

Adding the testnet is the same process as adding the mainnet shown above but with a different RPC endpoint.

  1. First, make sure you’ve enabled the Show test networks toggle.

This will list all the default test networks within your network list. You can find this in Settings>Advanced>Show test Networks

  1. Enter the following network details and click Save