What to Do When a QR Code Won't Scan

Point the camera at the code, and nothing happens. It's one of the more quietly frustrating moments in tech, here's what's actually usually going on, in roughly the order worth checking.

Check the obvious first: lighting and glare

Screens are reflective. A QR code shown on a laptop screen, photographed at an angle under harsh overhead light, is the single most common cause of a failed scan. Tilt the screen slightly or move to reduce glare before assuming anything is actually broken.

Distance and focus

Too close, and the camera can't focus on the whole code. Too far, and the code's individual squares blur together at typical camera resolution. A middle distance, roughly arm's length, combined with giving the camera a beat to autofocus resolves most of the rest.

The code already timed out

A pairing QR code is usually only valid for a short window, for security reasons. Scanning a code that's already expired or been replaced by a fresh one will just silently fail to connect rather than show an obvious error. If the code has been sitting on screen a while, refresh the sending device's page for a new one before troubleshooting further.

Camera permission wasn't actually granted

A scanner that opens but shows a black frame instead of a live camera feed is almost always a permissions problem, not a scanning problem, check the browser's site settings for camera access rather than retrying the same scan over and over.

When scanning still won't work

Any QR-pairing tool worth using should offer a fallback. A numeric PIN or a spoken phrase is usually faster to fall back to than continuing to debug a camera, and it skips the whole problem entirely.

Why some phone cameras handle this better than others

Not every phone camera behaves identically here. Cheaper or older camera modules can struggle with autofocus speed specifically, taking noticeably longer to lock onto a small, high-contrast pattern like a QR code compared to a newer device. If a scan consistently takes several seconds to register on one particular phone but is instant on another, that's a real hardware difference, not something to keep troubleshooting as a settings problem, holding steady for an extra second or two is often the only real fix available in that case.

A less obvious cause: screen brightness set too low

A QR code displayed on a screen dimmed for battery saving, or in an auto-brightness mode that hasn't adjusted yet, can genuinely be too faint for a camera to read reliably, especially in a bright room. Manually bumping screen brightness up before showing a code to another camera is a small, easy step that solves this specific case outright, and it's one people rarely think to try because the code still looks perfectly readable to a human eye even at reduced brightness.

When it's actually the code, not the camera

Occasionally the problem really is the code itself, a screenshot of a QR code that got resized or recompressed by a messaging app can lose enough fine detail to become unreadable, even though it still looks fine at a glance. If a code was forwarded or saved from somewhere else rather than shown live from the source, generating a fresh one directly is worth trying before assuming the camera or lighting is at fault.

More from the blog

Related reading

QR Transfer Why Your File Transfer Gets Stuck at 99% (and How to Fix It) Why Your Browser Can Now Do What Used to Need an App Phone to PC