NewDIY Appeal Kit $49 · first 50 buyers

Authenticator app

An app on your phone that turns a secret key into a new six-digit login code every 30 seconds. How the codes work, and how to move the app to a new phone without locking yourself out.

Written by Shilder Recovery TeamReviewed by Shilder Editorial ReviewLast reviewed 2026-10-24

An authenticator app is a phone app, such as Google Authenticator or Duo Mobile, that generates a new six-digit login code every 30 seconds for two-factor authentication. The codes come from a secret key saved in the app when you set it up, so they work without signal or SMS. The catch is that the key lives on one phone, so changing phones needs planning.

How the codes work

When you choose an authentication app in Meta's two-factor settings, Meta shows a QR code and a text key. Both carry the same secret. Your app stores it, and from then on it combines the secret with the current time to produce a code that changes every 30 seconds. Meta does the same calculation on its side. If the two match, you're in.

This explains the app's main traits:

  • It works offline. Nothing is sent to your phone, so there is nothing for a SIM-swap attack to intercept.
  • The clock matters. If your phone's time drifts, its codes won't match. Automatic date and time fixes most "wrong code" errors.
  • The secret is the account. Whoever holds the key can make valid codes. That is why you should never share the setup key or a screenshot of the QR code, and why a lost phone without a backup can mean a lockout.

Meta's Instagram page Securing your Meta Account with two-factor authentication lists the authentication app as the recommended method, and notes that it can only be turned on from the Instagram app for Android and iPhone. Facebook's page Using an app for two-factor authentication names apps such as Google Authenticator and LastPass. It also says you can only add an app while you still have access to the account.

Example: moving to a new phone

This walkthrough uses Meta's own multiple-device feature, described on Instagram's page Turn two-factor authentication for multiple devices on or off. Do it while the old phone still works.

  1. Install an authenticator app on the new phone. Don't reset the old phone yet.
  2. Open the two-factor settings on a device where you're still logged in: Settings, then Accounts Center or Meta Account, then Password and security (or Login and security), then Two-factor authentication. Pick your profile.
  3. Choose Authentication app, then use Copy key or the QR code to add the account to the app on the new phone.
  4. Enter the six-digit code the new phone shows, to confirm the link.
  5. Log out and back in once to test the new phone, before you touch the old one.
  6. Remove the old phone from the connected devices list, then wipe it. Meta notes that removing a device from two-factor authentication doesn't log it out of your account, so also check where you're logged in.

Meta says you can connect up to five devices this way, which also gives you a spare. If your authenticator app has its own transfer or encrypted backup feature, that is a second way to move all your accounts at once.

If the old phone is already lost, you can't use this route. Log in with a backup code and set the app up again. Without codes, see Instagram 2FA locked out. After any recovery, the post-recovery security checklist covers setting the app up again properly.

FAQ

Common questions.

In Accounts Center, open two-factor authentication for the account, choose authentication app, then scan the QR code or enter the setup key and confirm with a code from the app.

Add the new phone before you wipe the old one, either with your authenticator app's own transfer feature or by linking the new phone through Meta's two-factor authentication settings. If the old phone is already gone, log in with a backup code and set up the app again.

No. The code is a second factor that changes every 30 seconds. You still need your password, and you should never share either one.

The most common cause is a phone clock that is out of sync, because the code depends on the current time. Set the phone's date and time to update automatically and try the newest code.

Ready to get your account back?

Submit your case in under three minutes. Expert review starts the same day.