55

i use metamask chrome extension with testRPC to do my testing

now metamask have over 20 dead accounts just sitting there in the list

my question how to you clear loose unused test accounts from Metamask

Nerdroid
  • 817
  • 2
  • 8
  • 19

3 Answers3

37

To clear all extra addresses:

  1. Take note of your 12 word seedphrase if you intent to use the same addresses again
  2. Make sure your account is locked (Click "Lock" in top right menu)
  3. In the unlock screen, click "Forgot password"
  4. Enter your 12 word seed phrase
  5. Set a new password (or use the same you used before)

Now only the first account is visible.

Edit:

In more recent versions of MetaMask you'll find a simple delete function in the account menu:

  1. If necessary, back-up the private key (Open account menu > Account details > Export private key)
  2. Select the account you want to delete
  3. Open account menu
  4. Select Remove account

Additional info: You can only remove imported accounts and external accounts that you imported with private keys or JSON (such as a hardware wallet). Accounts that you've added using the 'Create Account' button in MetaMask cannot be removed

kristofvdj88
  • 103
  • 3
TripleSpeeder
  • 920
  • 9
  • 16
  • 2
    My first thought was to scoff and say what a ridiculously bad UI.. however, on second thought, I suppose it's good idea that they don't let you accidentally delete your money that easily. – flakes Jan 23 '18 at 06:49
  • 10
    @flakes ok, not easily makes sense, but having to delete all accounts if you just want to remove a couple doesn't make any sense – Adil Jan 23 '18 at 16:16
  • 2
    "Now only the first account is visible." You might as well just reinstall the plugin. It's a horrible UI. Of course reinstall the plugin only after saving the private keys (or JSON files and passwords) to all your used accounts. – zylstra Feb 19 '18 at 21:50
  • 2
    Now, a year later, is it any better? – Walter K Aug 30 '18 at 20:23
  • 1
    horrible extension, would never use Metamask if I didn't had to but users request it – Nulik Apr 21 '20 at 20:33
  • Looks like this no longer works in MetaMask version 8.x – Majal Jul 20 '20 at 03:44
  • still works as of March 2021 – usernotnull Mar 24 '21 at 09:20
  • presumably customer login, similar with no export account function. it is disgusting web2 stuff – droid192 Nov 06 '21 at 08:48
3

I don't think you can - MetaMask currently doesn't have very advanced ID management.

A recent thread on Reddit, I believe involving certain MetaMask devs, had this to say:

If you are uncomfortable seeing too many empty accounts, (after securely backing up your seed phrase with redundancy) you can re-generate the wallet from seed and only add as many as you prefer. (You may also want to back up private keys individually for good measure before doing anything drastic.)

Richard Horrocks
  • 37,835
  • 13
  • 87
  • 144
3

Siple way is to uninstall plugin and install again - it worked for me

BACKUP YOUR SEED PHRASE FIRST !!!!!!!!!!!!!!!!!!!!