How to enable 2FA on Gmail
Gmail lets you secure your account with an authenticator app. With 2FA on, each login needs a fresh 6-digit code, keeping your Gmail account safe even if your password leaks.
Step-by-step setup
- 1
Sign in to Gmail and open your Gmail account security settings.
- 2
Turn on two-factor authentication and choose the authenticator-app option.
Look for "Authenticator app", "Authentication app", or "TOTP" rather than SMS.
- 3
Scan the QR code with MS Authenticator App.
Open MS Authenticator App, tap add, and point your camera at the QR code Gmail displays. Can't scan? Enter the setup key manually instead.
- 4
Enter the 6-digit code to confirm.
Type the code MS Authenticator App generates to verify and link your Gmail account.
- 5
Save your backup codes.
Store the recovery codes Gmail gives you somewhere safe — you'll need them if you lose your phone.
Menu names on Gmail can change — the official Gmail 2FA documentation ↗ always has the exact, current path.
Frequently asked questions
- Does Gmail work with authenticator apps like MS Authenticator App?
- Yes. Gmail supports TOTP authenticator apps, so you can generate its two-factor codes in MS Authenticator App.
- Is Gmail two-factor authentication free?
- Yes. Enabling authenticator-app 2FA on Gmail is free — you only need the free MS Authenticator App.
- What if I lose access to my Gmail 2FA codes?
- Use the backup or recovery codes you saved during setup. If you didn't save them, contact Gmail support to regain access, then re-add the account to MS Authenticator App.
- Should I use an authenticator app or a security key on Gmail?
- Gmail supports both. An authenticator app like MS Authenticator App is free and works on any phone; a hardware security key adds phishing resistance. You can enable both.
Generate your Gmail codes in MS Authenticator App
Free, offline, and encrypted. One tap for every 6-digit code.
Get the appMore Email guides
Novaz is not affiliated with, endorsed by, or sponsored by Gmail. Gmail and its logo are trademarks of their respective owner and are used here for identification only.

