ThisCalculator

Everyday

How to Set Up Google Authenticator Add Codes

Updated · Standard formula, shown below

Google Authenticator adds a second layer of security to your online accounts by generating time-based, six-digit codes on your phone. This guide walks you through the initial setup and, more importantly, how to add new accounts (or codes) to the app after it’s already running. You’ll need your phone, the Google Authenticator app installed, and the account you want to secure (with its QR code or secret key handy).

What You’ll Need

  • A smartphone with the Google Authenticator app installed (iOS or Android).
  • Access to the account you want to add (e.g., email, social media, banking).
  • The account’s security settings page, where you can enable two-factor authentication (2FA).
  • Either a QR code to scan or a manual setup key (a long string of letters and numbers).

Step-by-Step

  1. Open Google Authenticator. If it’s your first time, you’ll see a blank screen with a plus (+) button. If you’ve used it before, you’ll see your existing codes.
  2. Tap the plus (+) button. It’s usually in the bottom-right corner (Android) or top-right (iOS).
  3. Choose “Scan a QR code” or “Enter a setup key.” Most services display a QR code on their 2FA setup page. If you can’t scan (e.g., using a desktop), select “Enter a setup key” and manually type the provided key.
  4. Scan the QR code. Point your phone’s camera at the QR code on your computer or other device. The app will automatically detect it and add the account.
  5. If using a setup key: Type or paste the key exactly as shown (it’s case-sensitive). Enter the account name (e.g., “Gmail”) and tap “Add.”
  6. Verify the code. After adding, the app will show a six-digit code that refreshes every 30 seconds. On the website where you’re enabling 2FA, enter the current code to confirm it works. This step is crucial—it proves the setup is correct.
  7. Repeat for other accounts. For each new account, go to its security settings, choose “Authenticator app” or “TOTP,” and repeat steps 2–6.

Common Mistakes

  • Entering the setup key incorrectly. A single wrong letter or number will generate codes that don’t work. Use copy-paste when possible, or double-check each character.
  • Scanning a QR code from a screenshot on the same phone. The app can’t scan a code displayed on its own screen. Use a different device or choose manual entry.
  • Skipping the verification step. If you don’t enter the code on the website immediately, you might not realize the setup failed until you’re locked out later.
  • Adding the same account twice. This creates two entries with the same name, which can confuse you when entering codes.
  • Not saving backup codes. Authenticator codes are tied to your phone. If you lose it, you’ll need backup codes to regain access.

Tips

  • Use the “Transfer accounts” feature when switching phones. In Authenticator, go to Settings > Transfer accounts > Export accounts. This lets you move all your codes at once, avoiding the need to re-add each one.
  • Keep your backup codes in a safe place. Print them or store them in a password manager. They’re your lifeline if you lose your phone.
  • Name accounts clearly. Use the service name and your username (e.g., “GitHub – john.doe”) to avoid confusion when you have many accounts.
  • Check your phone’s time settings. Authenticator relies on your device’s clock. Enable automatic time and time zone to prevent code mismatches.
  • Consider a backup method. Some services offer SMS or email codes as a fallback. Enable them alongside Authenticator for extra safety.

Troubleshooting

Codes aren’t working on the website.

  • Wait for the code to refresh (it changes every 30 seconds). Enter the new code immediately.
  • Check your phone’s time: Go to Settings > Date & Time and enable “Automatic” or “Set automatically.”
  • Re-scan the QR code if you suspect a typo in manual entry.

QR code won’t scan.

  • Clean your camera lens.
  • Increase screen brightness on the device showing the QR code.
  • Move closer or farther away until the code fits within the frame.
  • If it still fails, use the “Enter a setup key” option.

You lost your phone or the app was deleted.

  • Use backup codes you saved during setup.
  • If you have no backup, contact the service’s support. Many allow identity verification to reset 2FA, but it may take time.
  • If you had enabled “Transfer accounts” before, you can restore on a new phone.

You see a “Clock skew” error.

  • This means your phone’s time is off. Sync it by turning on automatic time, or manually adjust to the correct time zone.

Frequently Asked Questions

Can I add a code without a QR code?
Yes. Choose “Enter a setup key” and type the secret key provided by the service. It’s usually a long string of letters and numbers.

How many accounts can I store in Google Authenticator?
There’s no hard limit. You can add as many as you want, though a very long list may become unwieldy.

What if I get a new phone?
Use the “Transfer accounts” feature in the app’s settings to export your accounts, then import them on the new phone. Alternatively, you’ll need to re-add each account manually.

Is Google Authenticator safe if my phone is stolen?
The app itself is protected by your phone’s lock screen. However, if someone has your phone and knows your PIN, they could access codes. Always use a strong device password.

Why does the code change every 30 seconds?
It’s a time-based one-time password (TOTP). The time is used as a seed to generate a new code every 30 seconds for security.

Can I use Google Authenticator for my Google account?
Yes, but Google often recommends its own “Google Prompt” instead. You can still set up Authenticator by going to your Google Account > Security > 2-Step Verification and choosing “Authenticator app.”

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.