Suppose I lost the phone with Google Authenticator on it. How do I restore it on another phone?

  • 3
    Possible duplicate of Is it possible to recover Google authenticator database – iBug Jan 26 '18 at 15:34
  • If you use an app like Authy it can sync 2FA codes to other devices, but otherwise you're going to have to go to each of your websites and set up 2FA on the new device again. – Kyle Applin Jan 26 '18 at 15:35
  • I don't think it's quite the same question, because that other question is about having deleted the files but still having access to the phone. – Dan Hulme Jan 27 '18 at 18:18

Unless you have previously backed up the QR code/secret key while initially setting up your Google Authenticator, this is not possible. Otherwise, you can contact each account's support team for help.

Alternatively, you can use another Authentication app like Authy (iOS and Android) or TOTP Authenticator (iOS and Android). These apps provide the feature to securely backup your codes and account details, so you can switch phone easily.


Yes, it's possible, if you had stored the initial QR code of your service. In that case, just scan your initial QR code when creation in the Google Authenticator.

  • But what if I didn't? Actually I'm pretty sure I didn't. – jayarjo Nov 28 '17 at 10:30
  • 1
    @jayarjo: then no way to retrieve your data – NicolasSmith Dec 7 '17 at 14:58

If you saved QR codes or secret keys in the moment of token enrollment, you should use them to restore your tokens on another phone. Otherwise, you should contact the Support team of the service which you protect with the Google Authenticator. They will help you to restore an access to your account. After this, you can issue tokens on your new phone.

  1. Copy com.google.android.apps.authenticator2 from data/data to a safe backup location.

  2. Locate the databases file in com.google.android.apps.authenticator2/database/database and view it with SQLite database viewer (included natively in Root Explorer)

  3. Select accounts - it will display all of the registered accounts along with the secret code next to it

  4. Open the Google Authenticator app and select "Enter a provided key" and copy the desired account code.

  • These codes gets changed over time, and in most cases are not reusable. – Neeraj Gulia Mar 16 '20 at 4:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.