Beginner

MetaMask Setup Guide

What You'll Learn

  • How to safely install MetaMask and create your first wallet
  • Step-by-step guide to adding networks, tokens, and connecting to DeFi
  • Essential security settings every MetaMask user should configure
  • How to connect MetaMask to a hardware wallet for maximum security

What Is MetaMask and Why You Need It

MetaMask is a widely used Ethereum wallet and a common way to connect to Web3 apps. It functions as a browser extension (Chrome, Firefox, Brave, Edge) and mobile app (iOS, Android) that stores your private keys, manages your crypto assets, and connects you to decentralized applications. Many DeFi protocols, NFT marketplaces, and Web3 platforms support MetaMask as a login and transaction method.

Think of MetaMask as your Web3 identity card, bank account, and authentication system rolled into one. When you visit a decentralized exchange like Uniswap and click Connect Wallet, MetaMask handles the connection. When you approve a transaction, MetaMask constructs, signs, and broadcasts it to the network. When you need to prove you own a specific address, MetaMask signs a message on your behalf.

Alternatives such as Rabby exist. MetaMask is widely supported by dApps and has extensive documentation.

Installing MetaMask Safely

  1. Visit metamask.io directly. Type the URL into your browser's address bar. Do not click links from search results, emails, or social media: phishing sites frequently impersonate MetaMask. Verify the URL certificate shows metamask.io.
  2. Click Download for your browser. MetaMask supports Chrome, Firefox, Brave, and Edge. The link should redirect to your browser's official extension store (Chrome Web Store for Chrome/Brave, Firefox Add-ons for Firefox).
  3. Verify the extension details. On Chrome Web Store, check that the publisher is metamask.io and that the listing is the one linked from metamask.io. Fake MetaMask extensions appear regularly: verification is critical.
  4. Click Add to Browser and confirm. The extension installs and the MetaMask fox icon appears in your browser toolbar.
  5. Pin the extension. Click the puzzle icon in your browser toolbar and pin MetaMask for easy access. This also lets you see when MetaMask is requesting attention for pending transactions.

Creating Your Wallet

  1. Click Get Started then Create a New Wallet. If you already have a seed phrase from another wallet, you can import it instead: but starting fresh avoids carrying over a phrase that may already be exposed.
  2. Create a strong password. This password encrypts your MetaMask data on your local device. Use at least 12 characters with a mix of letters, numbers, and symbols. This password is separate from your seed phrase: it only protects the local MetaMask installation.
  3. Secure your Secret Recovery Phrase. MetaMask displays 12 words. This is your seed phrase: the master key to your entire wallet. Write these words on paper or, better yet, stamp them into a metal backup plate. Never store digitally. Never share with anyone.
  4. Confirm your seed phrase. MetaMask asks you to click the words in the correct order. This verifies you recorded them properly. If you make a mistake, go back and double-check.
  5. Your wallet is ready. You will see your first Ethereum account with an address starting with 0x. This address is safe to share publicly: it is like a bank account number that people use to send you funds.

Configuring Essential Security Settings

Before using MetaMask for any real transactions, configure these security settings:

  • Auto-lock timer: In Settings, set an auto-lock timer so MetaMask locks automatically if you step away from your computer.
  • Privacy settings: Open the security and privacy section of Settings and review what is shared or enabled. Settings names change between MetaMask versions, so read each option's description.
  • Phishing detection: Keep the built-in phishing warnings turned on so MetaMask can warn you about known phishing sites.
  • Token detection: Automatic token detection shows tokens you have received without adding them manually. Review any unexpected tokens carefully: scam tokens are sometimes airdropped to lure you to malicious sites.
  • Connected sites review: Regularly review which sites are connected to your wallet and disconnect any you no longer use. Each connected site can see your wallet address and request transactions.

Adding Networks and Layer 2s

MetaMask opens on Ethereum mainnet. You can add Layer 2 networks, which often have lower fees. MetaMask may list popular networks for you to add. If you enter details by hand, copy them only from the network's official documentation and check them against the values below:

  1. Open network settings. Click the network dropdown at the top of MetaMask and choose the option to add a network.
  2. Add Arbitrum One: Network Name: Arbitrum One, RPC URL: https://arb1.arbitrum.io/rpc, Chain ID: 42161, Currency: ETH, Explorer: https://arbiscan.io
  3. Add Optimism: Network Name: Optimism, RPC URL: https://mainnet.optimism.io, Chain ID: 10, Currency: ETH, Explorer: https://optimistic.etherscan.io
  4. Add Base: Network Name: Base, RPC URL: https://mainnet.base.org, Chain ID: 8453, Currency: ETH, Explorer: https://basescan.org

Many dApps automatically prompt MetaMask to add their network when you visit them. Only approve network additions from trusted sites. Learn more about why these networks exist and how they reduce fees in our gas fees explainer.

Connecting MetaMask to a Hardware Wallet

For maximum security, use MetaMask as the interface but sign transactions with a hardware wallet. This gives you MetaMask's wide dApp compatibility with the security of never exposing your keys to the browser.

  1. Connect your Ledger or Trezor to your computer via USB.
  2. In MetaMask, click the account icon and select Add Account or Hardware Wallet, then Hardware Wallet.
  3. Choose your device brand (Ledger or Trezor) and click Continue.
  4. Select the accounts to import. MetaMask will display a list of addresses derived from your hardware wallet. Select the one(s) you want to use and click Unlock.
  5. Verify the hardware wallet label. Your imported hardware account appears in MetaMask with a small hardware wallet icon. When you make transactions from this account, your hardware device will prompt you to physically confirm.

Every transaction from that account now needs confirmation on your hardware wallet, which makes it much harder for malware to approve transactions without your knowledge. Always read what the device screen shows before you confirm. For detailed hardware wallet configuration, see our hardware wallet setup guide.

Making Your First DeFi Transaction

  1. Fund your wallet. Send ETH from an exchange to your MetaMask address. Copy your address from MetaMask (click to copy), paste it in the exchange withdrawal form, double-check the address, and confirm the withdrawal.
  2. Visit a DeFi protocol. Navigate to app.uniswap.org (bookmark this URL). Click Connect Wallet and select MetaMask. Approve the connection in the MetaMask popup.
  3. Make a test swap. Swap a small amount of ETH (0.01 ETH or less) for USDC. Review the transaction details in MetaMask: check the estimated gas fee, the amount you are sending, and the expected output. Click Confirm.
  4. Wait for confirmation. Confirmation time depends on the network and the fee you set. Ethereum produces a block about every 12 seconds, and Layer 2 networks are generally faster. You can view the transaction status in MetaMask or on Etherscan.

Congratulations: you have completed your first DeFi transaction. From here, you can explore lending on Aave, providing liquidity on Uniswap, or any other DeFi activity using MetaMask as your interface. Always follow the security practices outlined in our security guide.

Frequently Asked Questions

Is MetaMask safe to use?

MetaMask is widely used, and most losses come from user behavior rather than the software: falling for phishing sites, approving malicious transactions, and storing seed phrases insecurely. No wallet is risk-free. Following this guide's security practices and connecting a hardware wallet reduces the risk.

Can I use MetaMask with Bitcoin?

MetaMask started as an Ethereum and EVM wallet. It has since added native Solana support (announced in May 2025) and Bitcoin support. Which networks you can use depends on your MetaMask version, so check MetaMask's support pages. Wrapped Bitcoin (WBTC) on Ethereum also works in any version. See our Bitcoin wallet guide for other options.

What do I do if I see unexpected tokens in my wallet?

Scammers frequently airdrop worthless tokens to wallets to lure you to phishing sites. If you see tokens you did not buy or receive from a known source, do not interact with them. Do not try to swap or transfer them. Some malicious tokens contain code that drains your wallet when you approve a transaction involving them. Simply ignore unknown tokens.

How do I recover MetaMask if I lose access to my computer?

Install MetaMask on your new device and select Import Wallet. Enter your 12-word Secret Recovery Phrase. Your accounts, balances, and transaction history will be restored. This is why safeguarding your seed phrase is the most important security measure: it is your complete backup.

Why are my MetaMask gas fees so high?

Gas fees on Ethereum mainnet reflect network demand, and they can spike when the network is busy. To reduce fees, use Layer 2 networks such as Arbitrum, Base, or Optimism, where fees are generally lower, wait for lower-demand periods, and check the gas estimate in MetaMask before you confirm.