lingose.games

Private key vs seed phrase: what does metamask actually store?

MetaMask stores your encrypted seed phrase locally on your device, and from that seed phrase it derives the private keys for every account you create. The seed phrase is the master key; private keys are account-specific subkeys that MetaMask regenerates on demand.

What a seed phrase actually is

A seed phrase (also called a recovery phrase or mnemonic) is a list of 12 or 24 words from a fixed dictionary of 2048 words. MetaMask generates this phrase randomly when you create a new wallet. The phrase encodes a large number (the "seed") that serves as the root of a mathematical tree. Every private key in your MetaMask wallet - for Ethereum mainnet, Arbitrum, Polygon, or any other EVM chain - is derived deterministically from that single seed.

This means: if you lose your device but have the seed phrase, you can restore all accounts. If you lose the seed phrase but still have MetaMask running, you can still use the wallet - but you cannot recover it onto a new device.

What private keys are

A private key is a 64-character hexadecimal string (256 bits) that directly controls a single Ethereum address. MetaMask generates a unique private key for each account you add: Account 1, Account 2, and so on. These keys are derived from the seed phrase using a standard path known as BIP-44 (specifically m/44'/60'/0'/0/0 for the first account, m/44'/60'/0'/0/1 for the second, etc.).

You can export the private key for any individual account from MetaMask's account details menu. However, that exported key only controls that one address - not the entire wallet.

What metamask stores locally

MetaMask stores the following encrypted data in your browser's local storage (or on your phone's internal storage):

The seed phrase is never sent to MetaMask's servers. It is encrypted with your password and stored only locally. The private keys are derived from the seed phrase at runtime; they are not stored permanently in most cases.

Common confusion: seed phrase vs private key

Many users think the seed phrase and private key are interchangeable. They are not.

Property Seed Phrase Private Key
Controls All accounts in the wallet One specific address
Length 12 or 24 words 64 hex characters
Can restore wallet? Yes No (only that one address)
Can export from MetaMask? In Settings > Security & Privacy In account details menu
Should you share it? Never Never

A common mistake: exporting a private key from one account and thinking that gives you access to the whole wallet. It does not. Conversely, storing only the private key for each account means you lose the ability to recover the wallet structure - including custom networks, token lists, and transaction history.

What happens when you "export private key"

When you export a private key from MetaMask, you are pulling the specific derived key for that account. This is useful for importing that single account into another wallet that accepts raw private keys (like MyEtherWallet or a hardware wallet via the "import private key" option). However, it is not a backup strategy for the entire wallet.

What happens when you "reveal seed phrase"

The seed phrase is the master backup. If you reveal it, anyone who sees it can:

  1. Import the entire wallet into any compatible software (MetaMask, Trust Wallet, Rainbow, etc.)
  2. Derive all private keys for all accounts
  3. Access all funds across all chains

This is why the seed phrase must be stored offline - written on paper or stamped into metal - and never entered into any website, browser extension, or screenshot.

How metamask handles hardware wallets

When you connect a Ledger or Trezor to MetaMask, MetaMask does not store the seed phrase or private keys. The hardware wallet keeps the seed phrase on its secure element. MetaMask only stores the public addresses and a reference to the hardware wallet. When you sign a transaction, MetaMask sends the request to the hardware device, which signs it internally and returns the signature. (This was covered in detail in the "MetaMask not connecting to Ledger or Trezor" page.)

Security Implications

Practical Advice

The core takeaway: MetaMask stores the seed phrase encrypted on your device. Private keys are transient derivations from that seed. Protect the seed phrase above all else - it is the single point of failure for your entire wallet.

Not financial advice. lingose.games publishes market data and general information about digital assets. Crypto assets are volatile and you can lose everything you put in. Nothing here is a recommendation to buy, sell or hold, and we make no price predictions.

Prices are sourced from third parties and may be delayed or wrong. Verify anything you intend to act on against a primary source.

Back to metamask