Authenticator QR code not scanning

When a 2FA QR code won't scan, you can almost always continue by typing the key. First work out which of these situations you are in.

The app doesn’t recognise the code

  • Too small or blurry: zoom the page so the QR code fills more of the screen, then hold the phone a little further away.
  • Glare: raise screen brightness and avoid reflections.
  • Same device: a phone can’t scan its own screen. Use the service’s “can’t scan?” or “enter key manually” option.
  • Camera permission denied to the authenticator app.

It isn’t an authenticator QR code

A setup QR code contains an otpauth:// link. Codes for WhatsApp Web sign-in, payments or ordinary web links won’t work in an authenticator. Our QR code reader decodes an image in your browser; if no otpauth link comes out, it’s the wrong QR code.

It scans, but codes are rejected

  • Set the phone’s date and time to automatic.
  • The QR code may belong to an earlier attempt. Reload the service’s setup page and scan the new one.
  • The link may ask for 8 digits, a 60-second period or SHA-256, which some apps ignore. The otpauth validator shows these settings.

Fallback: type the key

Most services show the key as text next to the QR code. Add it in the app as a time-based entry. If the app says the key is invalid, see invalid secret key; if codes are rejected, see code not working.

The setup QR code is as sensitive as a password. Don’t send screenshots of it to anyone.