How to export an account's private key

Warning!

Exporting your account could be risky as it displays your private key in clear text. To avoid possible loss of funds, make sure no one else sees or is able to capture a screenshot while you retrieve your private key. Many phishing campaigns ask for your private key to gain access to your account. You should never share your private key with anyone, including the MetaMask team. No MetaMask representative, including our Support team, will ever ask for your private key, regardless of the context. If someone does ask for your private key, assume they are trying to scam you, and do not hand it over.

For more information on accounts and private keys, start here.

 

An Ethereum account's private key can be used to import it into any compatible wallet. Naturally, to import your account elsewhere via private key, you'll need to locate it in MetaMask first. Here's how:

Extension Mobile
  1. Click on the identicon in the top right 
  2. Select the account you'd like to export
  3. On the account page, click on the menu (three dots) in the upper right corner, and then on the "Account Details" button:

    Where_to_find_account_details.png

  4. Click “Export Private Key”:

    Account_details.png

  5. To access your private key, you'll now need to enter your wallet password. Once you've done so, click “Confirm” to proceed.

    Enter_password.png

  6. Your private key will now be revealed. Click to copy it, and save it somewhere safe. (Note: we aren't showing it in the below screenshot for obvious reasons -- but yours will be there.)

    Private_key_revealed.png

  7. Click “Done” to close the screen.

Please make sure to never share this key with anyone as you can compromise your account in doing so.

 

If you'd like to restore your MetaMask wallet and the accounts you create on it instead, please see here.

Was this article helpful?
56 out of 120 found this helpful

Articles in this section

MetaMask Support on Twitter
Beware of scam Twitter accounts. Never give anyone your Secret Recovery Phrase!
MetaMask YouTube
Fow how-to and support videos please visit our channel