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
Last updated: March 13, 2026

What Is MetaMask and Why You Need It

MetaMask is the most widely used Ethereum wallet and your primary gateway to Web3. 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. Nearly every DeFi protocol, NFT marketplace, and Web3 platform supports 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.

While alternatives like Rabby and Coinbase Wallet exist, MetaMask's massive user base means it has the widest compatibility with dApps and the most extensive documentation. If you are new to DeFi, start with MetaMask.

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, Edge, and Opera. 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 the extension has millions of users and a high rating. 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 for security, we recommend starting fresh.
  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: Go to Settings, then Advanced, and set the auto-lock timer to 5 minutes. This ensures MetaMask locks automatically if you step away from your computer, preventing unauthorized access.
  • Privacy mode: In Settings, then Security, enable the privacy mode that hides your balance by default. This prevents shoulder-surfing when you open MetaMask in public.
  • Phishing detection: Ensure the built-in phishing detection is enabled. MetaMask will warn you when you visit known phishing sites.
  • Token detection: Enable automatic token detection in Settings, then Security. This shows tokens you have received without needing to add them manually. Review any unexpected tokens carefully — scam tokens are sometimes airdropped to lure you to malicious sites.
  • Connected sites review: Regularly check Settings, then Connected Sites and disconnect any sites you no longer use. Each connected site can see your wallet address and request transactions.

Adding Networks and Layer 2s

MetaMask defaults to Ethereum mainnet, but you will want to add Layer 2 networks for lower transaction costs:

  1. Open network settings. Click the network dropdown at the top of MetaMask and select Add 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 DeFi interaction now requires physical button presses on your hardware wallet, making it impossible for malware to approve transactions without your knowledge. 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. The transaction typically confirms within 15-30 seconds on Ethereum mainnet, or 1-2 seconds on Layer 2 networks. 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 itself is well-audited and widely trusted. The primary risks come from user behavior: falling for phishing sites, approving malicious transactions, and storing seed phrases insecurely. By following this guide's security practices and connecting a hardware wallet, MetaMask is safe for managing significant crypto holdings.

Can I use MetaMask with Bitcoin?

MetaMask is designed for Ethereum and EVM-compatible networks. It does not natively support Bitcoin. You can hold Wrapped Bitcoin (WBTC) on Ethereum in MetaMask, but for native Bitcoin, use a Bitcoin-specific wallet like BlueWallet or Sparrow. See our Bitcoin wallet guide for recommendations.

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. During high-activity periods, fees can spike to $20-50 or more per transaction. To reduce fees: use Layer 2 networks (Arbitrum, Base, Optimism) where fees are typically under $0.10, time transactions during low-demand periods (weekends, early morning UTC), and customize gas settings in MetaMask to avoid overpaying.

Complete guide to installing and using MetaMask for DeFi and Web3.

Introduction

This comprehensive guide will walk you through everything you need to know about this topic. Whether you're a beginner or looking to deepen your knowledge, we've got you covered with step-by-step instructions and expert tips.

What You'll Learn

  • Understanding the fundamentals and key concepts
  • Step-by-step instructions for getting started
  • Best practices and security considerations
  • Common mistakes to avoid
  • Advanced tips for experienced users

Getting Started

Before diving in, make sure you have the prerequisites ready. This typically includes a cryptocurrency wallet, some initial funds, and basic understanding of blockchain technology.

Step-by-Step Guide

  1. Step 1: Set up your wallet and secure your recovery phrase
  2. Step 2: Choose a reputable platform or protocol
  3. Step 3: Connect your wallet and verify the connection
  4. Step 4: Start with a small amount to test the process
  5. Step 5: Monitor your activity and adjust as needed

Security Best Practices

Always prioritize security when dealing with cryptocurrency. Use hardware wallets for large amounts, enable two-factor authentication, and never share your private keys or seed phrases with anyone.

Common Mistakes to Avoid

  • Not backing up your wallet properly
  • Falling for phishing scams
  • Investing more than you can afford to lose
  • Not understanding the risks involved

Conclusion

With the knowledge from this guide, you're now equipped to navigate this aspect of cryptocurrency confidently. Remember to start small, stay informed, and always prioritize security.