How to recover your Secret Recovery Phrase
Does this article need to be translated?
MetaMask provides you with a unique 12-word Secret Recovery Phrase on the very first launch. If you did not write it down, or you lost it, you can unlock MetaMask and reveal your Secret Recovery Phrase.
Are you in a situation where you don't have access to your Secret Recovery Phrase?
This can happen, for example, if your computer broke and you didn't back up your SRP. Because the SRP is the tool that creates and controls all your accounts, it might be that you've lost access to them forever. Or maybe not.
If you can plug that old hard drive into your computer and access it, or if you have a cloud backup of your system, or some other method of accessing the system data, you may be able to recover the SRP.
If, for whatever reason, you cannot unlock MetaMask using your password, there may still be a possibility of recovering your Secret Recovery Phrase.
Follow these instructions, and if you get stuck, start a conversation with our Support agents.
This article is to be used under the following circumstances:
-
You do not know your Secret Recovery Phrase
-
You do know your password
-
For some reason you are unable to unlock MetaMask with your password
-
You are using MetaMask Extension in a desktop browser.
- Vault recovery on Android and iOS mobile devices is not currently possible.
- If you have uninstalled the MetaMask extension, your data has likely been deleted. However, you may attempt the method below, under the heading "What if you no longer have access to the browser...?," especially if you have a backup of your computer's data.
If you're not sure if this situation applies to you,consult the various scenarios here to help you determine which is right for you.
A few things before we begin...
- We know that potentially losing access to MetaMask and your assets is stressful — that's why we've put this content together, so that you might be able to resolve that stress. We wish we could do more, but MetaMask is self-custodial by design. We're rooting for you though!
- We do our best to keep these instructions up to date, but since they depend in part on the back end of third-party platforms (the browsers), sometimes things may have changed relative to what we describe below. If so, please let us know by getting in touch with Support.
- This is not a simple process, so make sure you set aside roughly 30 minutes and that you're in a location where you can focus. If you get stuck, get in touch.
- The final step of the process, once you've recovered your SRP, will be to restore your wallet. Keep in mind that MetaMask stores only one SRP per browser profile at a time, and importing an SRP into an existing MetaMask installation wipes any SRP data already present in that profile's vault.
- If you're only managing one SRP, then this isn't really an issue; if you're managing multiple SRPs, however, we strongly recommend you follow our best practices outlined here.
- Extension
- iOS
- Android
Vault extraction and decryption instructions
If you're here, you probably want to get straight to solving the issue. However, if you get stuck, it might help to understand what's going on. We 've provided an in-depth explanation of how this all works further down, in case you need it now, or want to read it another time.
Chrome-based browsers (includes Chrome, Brave, Edge, and Opera)
Step One: Load the vault decryptor tool
This tool was written by MetaMask co-founder Dan Finlay, and has recently been updated to be much more user-friendly. The decryptor can be accessed in a web page here:
https://metamask.github.io/vault-decryptor/
If you're concerned about someone having access to your computer over the Internet, you can load this page, and then disconnect your internet connection; it will work offline. You can even download the code and run it on your machine, if you want to. The repository is here.
Step Two: Locate your vault
When you load the tool, the easiest method by far of using it will be to click on "Database backup", then "Choose File":
At this point, a file explorer window will open, and you'll need to find the vault.
In Windows 10 or 11, you should be able to find the location of the vault by going to this folder location (you need to be able to see the hidden files):
C:\Users\USER_NAME\AppData\Local\Google\Chrome\User Data\Default\Local Extension Settings\nkbihfbeogaeaoehlefnkodbefgpgknn
On a Mac, the location of the folder should be:
\Library>Application Support>Google>Chrome>Default>Local Extension Settings>nkbihfbeogaeaoehlefnkodbefgpgknn
-
If you're having trouble finding this location, try the following:
- Open a Finder window.
- Select Go -> Go to Folder... in the menu bar.
- Type
~/Library
in the input field and click Go.
In that folder you'll see a file called 000003.ldb or something similar--the specific number may differ, but it should be a low numerical value, like 000005 or 000004. If it is a larger number, it is not the vault:
If you do try to decrypt a file that's not a vault, this will be the result: