What Google Changed and Why
In late 2025 and continuing through 2026, Google began rolling out QR code-based authentication as a replacement for SMS text message verification (one-time passwords sent via text) for Google Account sign-ins across billions of users.
The shift addresses a fundamental weakness in SMS-based 2FA that has allowed attackers to compromise accounts for years: the SIM-swap attack.
A SIM-swap attack works when a criminal contacts your mobile carrier, impersonates you using your name and basic personal details (often purchased from data breaches), and convinces the carrier to transfer your phone number to a SIM card the criminal controls. For a window of time - sometimes hours - every SMS message sent to your number, including your Google verification codes, is received by the attacker. Your account is then fully compromised even though you did nothing wrong and your password was never leaked.
A QR code-based authentication system eliminates SIM-swap entirely, because no information ever travels through the phone network to reach you.
How Google's QR-Based 2FA Works
When you sign in to your Google account on a new device, instead of a text-message code, Google displays a unique QR code on the sign-in page. Here is the authentication sequence:
- You enter your Google email address on the new device (laptop, tablet, or unfamiliar phone).
- Google displays a unique QR code on the sign-in page instead of a password field or SMS prompt.
- You open the Google app on your trusted mobile device (the phone already linked to your Google account).
- The Google app activates the camera and you scan the QR code displayed on your computer screen.
- A confirmation prompt appears on your trusted phone: "Are you trying to sign in from [device type] in [city]?"
- You tap Yes. Your computer is instantly signed in.
The QR code contains a one-time cryptographic challenge token. Your trusted device sends a signed response to Google's servers using a private key stored securely in the phone's hardware chip (Secure Enclave on iPhone, Titan Security Chip on Pixel devices). The private key never leaves the device. The challenge token expires in 60 seconds.
Why This Is Dramatically Safer Than SMS
The security advantages over SMS are significant:
- SIM-swap immune: No code travels through the phone network. A criminal who steals your phone number receives nothing useful.
- Phishing resistant: The QR code challenge is cryptographically bound to Google's exact domain. A phishing site showing a copied QR code image cannot successfully intercept the authentication - the challenge token will not match.
- Real-time location awareness: The confirmation prompt shows you the city and device type of the sign-in attempt. You can immediately reject unauthorized attempts from the same prompt.
- No interception point: SMS messages pass through carrier infrastructure where they can be intercepted using SS7 protocol vulnerabilities. QR-based challenges use encrypted HTTPS connections to Google's servers only.
What This Means for Business Google Workspace Accounts
For organizations running Google Workspace (formerly G Suite), Google is gradually enforcing QR-based or hardware key authentication for administrator accounts and flagging accounts that still use SMS 2FA as "at risk" in the Admin Console.
IT administrators managing Workspace environments should:
- Audit which user accounts still rely on SMS 2FA (Admin Console → Security → Authentication).
- Migrate critical accounts (finance, HR, IT admin) to Google QR-based or hardware key (YubiKey) authentication immediately.
- Train employees on the new sign-in flow before the migration - the QR scan step confuses users who encounter it for the first time during a login attempt.
What to Do If You Cannot Use Your Trusted Phone
If you lose access to the trusted device linked to your Google account, QR-based authentication fails. This is why Google requires you to set up backup verification methods at account setup:
- Backup codes: Generate 10 single-use backup codes from your Google Account Security page. Store them in a password manager or print them and store them securely offline.
- Recovery phone/email: A secondary email or trusted phone number (different from your primary) that Google can contact for account recovery.
This change reinforces why understanding how QR codes work as a data transmission mechanism is increasingly important for everyday digital security. Read our full explainer on how QR codes work and our pre-scan safety checklist for day-to-day scanning in public.