Turn on Google 2-Step Verification with an authenticator app

Your Google Account is the master key to Gmail, YouTube, Drive, Google Ads and every site you sign in to with Google. It deserves your strongest protection.
Step 1: Turn on 2-Step Verification
- Open myaccount.google.com → Security.
- Under "How you sign in to Google", choose 2-Step Verification → Turn on.
- Google needs at least one second step (phone number, Google prompts, passkey or authenticator). Follow the on-screen steps.
Step 2: Add an authenticator app
- On the 2-Step Verification page, choose Authenticator → Set up authenticator.
- Google shows a QR code. Click "Can't scan it?" to reveal the 32-character secret key. Copy it somewhere safe.
- Scan the QR with your authenticator, or paste the key into an app or into Code2FA.
- Enter the 6-digit code → Verify.
To move to another phone, come back here and choose Change authenticator app. Google issues a new key and the old one stops working.
Step 3: Backup codes and passkeys
- Backup codes: 2-Step Verification → Backup codes → ten 8-digit single-use codes. Print them or keep them in a password manager. See how to store them.
- Passkeys: Security → Passkeys → Create. Sign in with fingerprint or face, phishing-resistant. See what passkeys are.
Google prompts
If an Android phone or Google app is signed in to the account, Google may show "Are you trying to sign in?". Tap Yes only if you just signed in yourself. If you didn't, tap No and change your password.
Good to know
- If you use Google Authenticator with sync to this same Google Account, make sure you have another way in (backup codes, a passkey) in case you lose your phone.
- App codes rejected? Check your phone's clock first. See 7 causes.
- Google Workspace (work) accounts may have methods enforced by an admin.
FAQ
Where do I find the Google Authenticator secret key for Gmail?
While setting up the authenticator in 2-Step Verification, click "Can't scan it?" under the QR code. If it's already set up, choose Change authenticator app to get a new key.
How do I get into Gmail if I lost my phone?
Use a backup code, a passkey on another device, or a device that's still signed in. Otherwise use Google's account recovery page.


