Key Takeaways
MetaMask is a popular crypto wallet that can connect to multiple blockchain networks, including Avalanche.
Only the Avalanche C-Chain is compatible with MetaMask. If your AVAX tokens are on the X-Chain or P-Chain, you will need to transfer them to the C-Chain first.
Always verify network details from official sources before adding any custom network to your wallet. Using incorrect details can result in lost funds.
Introduction
To interact with the Avalanche (AVAX) blockchain and its ecosystem of decentralized applications, you will need a compatible wallet. MetaMask is one of the most widely used options, available as a browser extension and mobile app. This guide explains how to add the Avalanche network to your MetaMask wallet and transfer AVAX tokens, whether you are setting up a new wallet or connecting an existing one.
What Is Avalanche (AVAX)?
Avalanche is a blockchain platform designed for speed, scalability, and low transaction costs. It uses a unique multi-chain architecture consisting of three built-in blockchains: the Exchange Chain (X-Chain) for creating and trading assets, the Contract Chain (C-Chain) for running Ethereum-compatible smart contracts, and the Platform Chain (P-Chain) for coordinating validators and subnetworks.
The C-Chain is the most relevant for MetaMask users because it is fully compatible with the Ethereum Virtual Machine (EVM). This means you can use Avalanche with the same wallet addresses and tools you already use on Ethereum, making it straightforward to explore the Avalanche ecosystem.
What Is MetaMask?
MetaMask is a non-custodial cryptocurrency wallet that works as a browser extension for Chrome, Firefox, Brave, and Edge, as well as a mobile app for iOS and Android. It allows you to store, send, and receive tokens, and interact with decentralized applications directly from your browser.
By default, MetaMask connects to the Ethereum mainnet. However, you can add custom networks like Avalanche, Polygon, or BNB Smart Chain, giving you access to different blockchain ecosystems from a single wallet interface.
How to Set Up MetaMask?
If you already have a MetaMask wallet, you can skip to the next section. If not, download the extension or app from the official MetaMask website. After installation, click "Create a Wallet" and set a secure password. You will then receive a 12-word seed phrase, this is the master key to your wallet. Write it down in the correct order and store it in a secure offline location. Remember, you should never share your seed phrase with anyone.
MetaMask will ask you to confirm your seed phrase by selecting the words in the correct order. Once confirmed, your wallet is ready to use. You can pin the MetaMask extension to your browser toolbar for quick access.
How to Add Avalanche to MetaMask?
By default, MetaMask connects to the Ethereum mainnet. To add the Avalanche network, open your MetaMask extension and click the network dropdown menu at the top of the wallet window. Select “Networks".
You’ll see a list of network options that have already been added, and more options that you can choose to add. Look for Avalanche and click the "+" button to add, then "Approve." Your wallet will switch to the Avalanche C-Chain immediately.
If you prefer to add the network manually, or if the predefined option is not available in your version of MetaMask, follow the steps in the next section.
How to Add Avalanche Manually
To add Avalanche manually, you can use the option to “Add a custom network”, found at the bottom of the Networks menu.
Enter the following verified details:
Network Name: Avalanche
New RPC URL: https://api.avax.network/ext/bc/C/rpc
Chain ID: 43114
Currency Symbol: AVAX
Block Explorer URL: https://snowtrace.io/
Click "Save" and your MetaMask wallet will connect to the Avalanche network. Always verify network details from official sources, as incorrect RPC URLs or Chain IDs can lead to transaction failures or loss of funds.
How to Transfer AVAX to MetaMask
After connecting to the Avalanche network, you can send AVAX tokens to your MetaMask wallet. There are three blockchains on the Avalanche network: the X-Chain, P-Chain, and C-Chain. Only the C-Chain is compatible with MetaMask, so your AVAX tokens must be on the C-Chain before you can transfer them.
If your AVAX tokens are currently in an Avalanche wallet on the X-Chain or P-Chain, use the "Cross Chain" feature in the Avalanche wallet interface to move them to the C-Chain first. This requires a small transaction fee. Once your tokens are on the C-Chain, open the "Send" tab, select "C" as the source chain, paste your MetaMask wallet address, and confirm the transfer.
You can also send AVAX from an exchange that supports C-Chain withdrawals. Log in to your exchange account, navigate to the withdrawal page, select AVAX, and paste your MetaMask wallet address. Make sure to select the Avalanche C-Chain as the withdrawal network. Using the wrong network can result in permanent loss of funds, so double-check your selection before confirming.
How to send AVAX tokens to MetaMask?
After connecting the Avalanche network, you can now send your Avalanche tokens (AVAX) from another Avalanche wallet to MetaMask.
There are 3 blockchains on the Avalanche network: the Exchange Chain (X-Chain), the Contract Chain (C-Chain), and the Platform Chain (P-Chain).
Note that only the C-Chain is compatible with MetaMask, meaning that you can only use the C-Chain to transfer AVAX to your MetaMask wallet.
Be careful! If you select the wrong chain, you might lose your tokens.
Log in to your Avalanche wallet and check where your AVAX tokens are from the [Balance] box on the top.
If your AVAX tokens are in your X-Chain wallet, you’ll need to transfer them to your C-Chain wallet before you can send them to MetaMask. Click [Cross Chain] on the left menu bar.
Then, select [C Chain] as the destination chain. Enter the amount you wish to transfer from your X-Chain wallet and click [Confirm]. Note that you’ll need to pay a small transaction fee.
Now go to [Send] from the left menu bar.
Select [C] as the source chain. Enter the amount you want to send to MetaMask.
Now go to your MetaMask wallet and copy the address.
Finally, go back to your Avalanche wallet, find the [To Address] field, and paste the MetaMask wallet address. Check the gas fee and click [Confirm] to transfer. As soon as the transaction is confirmed, you will see the AVAX in your MetaMask wallet.
FAQ
Can I add Avalanche to MetaMask on mobile?
Yes, the MetaMask mobile app for iOS and Android supports adding Avalanche as a custom network. The process is the same as the browser extension: open the network dropdown, select "Add Network," and either choose Avalanche from the predefined list or enter the network details manually.
What happens if I enter the wrong RPC URL or Chain ID?
Entering incorrect network details may prevent your wallet from connecting to the Avalanche network. In some cases, a malicious actor could set up a fake RPC endpoint to intercept your transactions. Always use the verified details from the official Avalanche documentation and double-check before saving any custom network.
Why can't I see my AVAX tokens after adding the network?
If you have added the Avalanche network but do not see your AVAX balance, first confirm that your tokens were sent to the C-Chain. Tokens on the X-Chain or P-Chain will not appear in MetaMask. You may also need to manually import the AVAX token using its contract address on the C-Chain: 0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7.
Can I use the same MetaMask address on Avalanche and Ethereum?
Yes, because the Avalanche C-Chain is EVM-compatible, your MetaMask wallet address works across both networks. You can use the same address and private key on Avalanche, Ethereum, and other EVM-compatible blockchains. Just switch networks in the dropdown menu to view your assets on each chain.
Is there a fee to add Avalanche to MetaMask?
Adding the Avalanche network to MetaMask is free. You only pay network transaction fees (gas fees) when you send tokens or interact with smart contracts on the Avalanche C-Chain. Avalanche transaction fees are typically much lower than Ethereum fees.
Closing Thoughts
MetaMask was originally built for Ethereum, but its multi-network support makes it a versatile wallet for exploring different blockchain ecosystems. By adding Avalanche, you can access the network's growing range of DApps, from decentralized exchanges to NFT marketplaces. The same method works for other EVM-compatible chains like BNB Smart Chain and Polygon.
Further Reading
Disclaimer: This content is presented to you on an "as is" basis for general information and educational purposes only, without representation or warranty of any kind. It should not be construed as financial, legal, or other professional advice, nor is it intended to recommend the purchase of any specific product or service. You should seek your own advice from appropriate professional advisors. Where the content is contributed by a third-party contributor, please note that those views expressed belong to the third-party contributor, and do not necessarily reflect those of Binance Academy. Digital asset prices can be volatile. The value of your investment may go down or up and you may not get back the amount invested. You are solely responsible for your investment decisions and Binance Academy is not liable for any losses you may incur. For more information, see our Terms of Use, Risk Warning and Binance Academy Terms.