Main Street Guides
← All guides

Set up two-factor authentication with an authenticator app

A code from your phone stops someone who has your password from getting into your account.

Time
10 minutes
Cost
Free

Get an app, then go to the site

Install a free authenticator app on your phone from the App Store or Google Play. Google Authenticator and Microsoft Authenticator both work with almost every site. Many password managers can hold codes too, including Apple's Passwords app, 1Password and Bitwarden.

Then sign in to the site on your computer. Open your account or profile settings and look for Security, Two-factor authentication, 2-step verification or Login verification. When it asks how you want to get codes, choose the authenticator app option rather than text messages.

Scan the code

The site shows a square QR code. In the app, tap the + button and choose to scan a QR code, then point your phone's camera at the screen. The app adds the account and starts showing a six-digit code that changes every 30 seconds. Type the current code on the site to finish.

If you're setting it up on your phone alone, you can't scan your own screen. Look for a link under the QR code like "Can't scan it?" to get a setup key, then choose to enter a key in the app and paste it.

Keep your backup codes

Most sites then show backup or recovery codes. These are your way back in if you lose your phone. Print them, write them down, or save them in a password manager, and keep them away from your phone. Each code usually works once.

When codes don't work

If the site says the code is wrong, wait for a fresh code and type it before it changes. Codes depend on your phone's clock, so check that the date and time are set automatically in your phone's settings.

Changing phones

Move your codes before you reset or trade in your old phone. Google Authenticator can back up to your Google account or transfer accounts by QR code. Microsoft Authenticator can back up to your Microsoft account (on iPhone, through iCloud). If you lose your phone, sign in with a backup code, then set up the app again. Never give a code to anyone who calls or messages you: real support teams don't ask for them.

Your checklist