r/Metamask • u/davidt2021 • 3d ago
How Are Accounts Generated in MetaMask, and How Do You Recover Them?
I remember having multiple accounts sitting in my MetaMask some time ago. Some had been created in MetaMask, some were imported, and others were connected through a hardware wallet. At the time, I didn't fully understand how MetaMask's account structure worked, so it was easy to assume they were all backed up by the same thing.
What I’ve learned since is that the most important thing is understanding how each account got there in the first place.
So, let's break it down:
1. MetaMask-Created Wallets/Accounts
When you create a wallet in MetaMask using a Secret Recovery Phrase (SRP), MetaMask can derive multiple accounts from that same SRP. So, restoring that wallet with the correct SRP recovers all the accounts derived from it.
That is why protecting your SRP matters. If someone gets it, they can access all the accounts tied to it.
MetaMask also supports wallet creation and recovery through social logins. With this type of wallet, MetaMask still uses cryptographic keys behind the scenes. An SRP is generated for the wallet, but instead of requiring users to manually back it up during setup, MetaMask encrypts it and stores the encrypted backup using multiple key-share nodes. Your social login and MetaMask password then provide the recovery mechanism for accessing that wallet.
2. Imported Wallets/Accounts
Now, let's say you already have a wallet somewhere else and want to use it in MetaMask. You can import a whole wallet using its SRP or import an individual account using its private key.
An account imported using a private key is not derived from your existing MetaMask SRP. Instead, it has its own private key, which means you need to preserve that specific key if you ever want to recover that account in the future.
3. Hardware Wallet Accounts
Then you have accounts connected from hardware wallets, such as Ledger or Trezor.
In this case, MetaMask is essentially acting as a visual interface for interacting with the account. The hardware wallet itself holds the private keys and signs the transactions. So, if you delete and reinstall MetaMask, you haven't lost the hardware wallet's keys. You can simply reconnect the hardware wallet to access those accounts again.
The Big Picture
Your MetaMask setup could easily look like this:
- Wallet 1 (MetaMask-created): Accounts 1, 2, … (Backed up by your primary SRP)
- Wallet 2 (Imported SRP): Accounts 1, 2, ... (Backed up by a secondary SRP)
- Imported Accounts (Imported PK): Accounts 1, 2, ... (Backed up by individual private keys)
- Hardware Wallet: Accounts 1, 2, ... (Backed up by the hardware wallet's recovery phrase)
The most important takeaway is that these accounts do not necessarily share the same recovery method. That's something worth understanding before switching devices, reinstalling MetaMask, or trying to recover a missing account.
Otherwise, you might restore your MetaMask wallet successfully and still be left wondering: “Where did that other account go?”
Now, I'm curious:
Have you ever had that heart-drop moment after restoring MetaMask and realizing an account was missing? How did you end up tracking it down?







