Skip to content
multivanity

Import a vanity private key into MetaMask

Step-by-step MetaMask import for an Ethereum or EVM vanity private key, with the address checks, backup rules and network notes to do before funding it.

Import a vanity private key into MetaMask: a brass key entering an amber glass lock.

How do I import a vanity private key into MetaMask?

Open the account menu, choose Add account or hardware wallet, then Import account, and paste the 64-character hexadecimal private key. MetaMask adds it as a separate imported account.

  1. Copy the private key from the generator as soon as the address appears, and save an offline backup.
  2. In MetaMask, open the account menu and choose Add account or hardware wallet.
  3. Choose Import account, keep the private key option, paste the 64 hex characters and confirm.
  4. Compare the full 0x address MetaMask shows with the one the generator showed.
  5. Send a small test amount, then send it back out from the imported account.

Rabby and Trust Wallet offer a similar import private key option when adding an address. The Ethereum vanity generator makes keys in this format.

On MultiVanity, every search runs in your browser, on your device, for all supported chains, Bitcoin and TRON included. Generated addresses and private keys are created locally and are never sent to or stored on our servers.

Why does a vanity key need a separate import step?

Because it was not created from your MetaMask recovery phrase. MetaMask derives its own accounts from that phrase; a vanity key comes from a separate random search, so it can only be added as a standalone imported account.

That also means the recovery phrase does not back it up. If you reinstall MetaMask and restore from the phrase, the imported account will not come back. Keep a separate offline backup of the key.

Check the address before funding it

  • Compare all 40 characters, not only the pattern. Lookalike addresses can share your first and last characters.
  • Letter case: Ethereum shows a mixed-case EIP-55 checksum. A case-insensitive match and the checksum display can look different, and both are the same address.
  • Etherscan: a fresh address shows no transactions and no code. After the test transfer, the balance should appear.

The import and verification checklist covers the same checks for every chain.

Does the imported account work on Base, Polygon or Arbitrum?

Yes. Every EVM network derives addresses the same way, so the key controls the same 0x address on Base, Polygon, Arbitrum and the rest, with a separate balance on each. Switch network in MetaMask; there is nothing to import again.

What MetaMask import cannot do

  • Hardware wallets cannot import an external private key. Receive on the vanity address and sweep larger amounts to the hardware device.
  • Smart-account wallets that create a contract account for you will not use this address as the account. Use a wallet that supports plain externally owned accounts.
  • Contract addresses do not inherit the pattern of the account that deploys them. See vanity contract addresses.

Sources

Read next

Read as Markdown

Buy us a coffee

Our free tools run entirely on donations. Your support helps maintain the website and develop the tools. Your support also helps cover hosting costs. If we helped you today, a small donation helps keep this service free for everyone.

ETH · Ethereum network
0xcf5777b71c31146bd396cece6d3128e42d0ad9f7

Thank you for keeping us running! ❤️