How to Add Alchemy RPC Endpoints to Metamask

Follow this guide if you're looking for an Infura alternative for Metamask.

Steps to update your Metamask

  1. Create a free account on Alchemy
  2. Create an API key for the desired Network on Metamask
  3. Choose "Custom RPC" in Metamask
  4. Fill in the network details

Why is Metamask not working?

MetaMask uses a default node provider to display and send transactions for your account. Because the node provider does not allocate dedicated resources to each user, it may be slow sometimes, i.e. for transactionbroadcasting.

Alchemy provides a much better experience when it is used as your MetaMask RPC provider. If you'd like to switch this over to Alchemy to be able to see your transactions in your Alchemy dashboard and use Alchemy-specific features and tools, this doc will show you how to integrate your MetaMask account in two easy steps.

NOTE: This does not mean that Alchemy will have access to your private keys or wallet!

For a video version of this guide, check this out:

Step 1: Create a free account on Alchemy

We'll need to use an Alchemy API key to replace our Metamask endpoint. You can create a free account here.

Step 2: Create an API key for the desired Network on Metamask

If we want to replace our Ethereum Mainnet endpoint (most popular) in Metamask we'll need to create an Ethereum Mainnet API key on Alchemy. For instructions on how to do so, check out step 1 of this guide. Or watch the video below.

Step 3: Choose "Custom RPC" in Metamask

Navigate to your MetaMask wallet and click the network dropdown at the top, selecting "Custom RPC" at the bottom


Click on "Custom RPC" at the very bottom of the network dropdown.

Step 4: Fill in the network details

This is where you'll grab your Alchemy API Key for the desired network.

Here is the information on specific Networks


Example Polygon Configuration


Example Ethereum Mainnet Configuration

And that's it! Your MetaMask is now hooked up to Alchemy 🎉 You've now unlocked game changing tools like the Mempool Visualizer (where you can view all your transactions as they are being mined), Alchemy Notify (receive notifications about address activity, dropped/mined transactions, etc.), and more!

An alternative to MetaMask? Try out Apex

If you’re looking to use Alchemy’s RPC services for faster and reliable transactions, you can also try using Apex. We recommend this wallet. Apex supports Ethereum, Polygon, Arbitrum, and Optimism (including all test networks) and uses Alchemy's best-in-class infrastructure. To download Apex click here.

The below doc has simple steps on how to add custom RPCs in Apex, with Alchemy configured under the hood: