Skip to content
Custom QR Code Generator

QR code not scanning? Causes and fixes

The common reasons a QR code won't scan, from low contrast and a missing quiet zone to blurry prints and dead links, and how to fix each one.

By Felix Stiffel · ·

First, find out what is failing

“The code doesn't work” can mean two different things. Either the phone does not recognize the code at all, so nothing happens when the camera points at it, or the phone reads the code but what opens is wrong: an error page, the wrong network, a contact with a missing number. The first is a problem with the printed pattern; the second is a problem with the content. They have different fixes, so it is worth telling them apart before changing anything.

A quick test: scan the code from the screen in the generator, then scan the printed copy. If the screen version works and the print doesn't, the problem is in printing or placement. If neither leads to the right place, the problem is in what the code contains.

Too little contrast

Scanners look for the difference in brightness between the dark and light modules. Colors that look distinct to the eye can be very close in brightness: medium red on dark grey, light blue on white, gold on cream. The camera sees them as nearly the same and cannot separate the pattern from the background.

The scan check next to the preview rates exactly this. It calculates the contrast ratio between code color and background. Below 3 to 1 it says the code may not scan; below 7 to 1 it says the code scans, but contrast is low. Aim for a ratio that the check marks as fine, and remember that print usually loses some contrast compared with a bright screen, especially on uncoated paper or in dim light. The simplest fix is to darken the code color or lighten the background.

A light code on a dark background

A white code on a black background can look striking, but not every phone reads it. The QR code standard allows these inverted codes, and many current camera apps cope, yet some readers still expect dark modules on a light background and see nothing. The scan check warns about this case with “Light on dark scans on fewer phones”.

If your design needs a dark surface, put the code on a light panel within it instead: a white or pale square with the dark code on top. That keeps the dark look of the design and gives every phone a code it can read.

No room around the code

Around every code there should be an empty border, the quiet zone. Scanners use it to find where the code starts. When text, a frame, a photo or the edge of the paper runs right up to the pattern, phones often fail to lock on, even though the code itself is perfect.

The generator adds a quiet zone of four modules by default, which is what the standard asks for, and you can choose two, four or six in Settings. The problem usually appears later, in the layout: someone crops the white border to make the code fit, or places it on a busy background. Keep the border from the downloaded file intact, and give the code more room on patterned surfaces.

Too small for the distance, or too dense

A code has to be large enough for the distance it is scanned from. A common rule of thumb is a width of at least one tenth of the scanning distance: about 3 centimetres from 30 centimetres away, about 10 centimetres from a metre. A code on a poster that people see from across a room needs to be much bigger than one on a leaflet.

The amount of content matters too. A long link, a contact with every field filled in or a long text makes the pattern denser, so each module is smaller at the same size. If a code is hard to scan, shorten the content first: remove tracking parameters from links, use a shorter address and leave out fields you don't need. Then make it bigger if it still struggles.

Blurry, stretched or damaged prints

A small PNG enlarged for a poster gets soft edges, and a code that is stretched in one direction no longer has square modules. Both confuse scanners. For print, download SVG or PDF, which stay sharp at any size, and always resize the code with its proportions locked.

Some damage is unavoidable on real objects: a scratch on a sign, a crease in a flyer, a water stain on a menu. Error correction lets a code survive some of it. Level L recovers about 7 percent of the code, M about 15, Q about 25 and H about 30. The generator uses Q by default, which suits print, and you can choose H in Settings for codes that will take a beating. Higher levels make the pattern denser, so pair them with a slightly larger print.

Reflections, curves and light

Glossy paper, laminate, plastic sleeves and glass reflect ceiling lights and windows straight into the camera, which hides part of the code. Matte finishes avoid this. If you have to use a glossy surface, try the code from the angle people will actually look from, under the lights that will actually be there.

Codes on bottles, cups and other curved objects bend away from the camera at the edges. Keep such codes small compared with the curve, or put them on a flat part of the object. Very dim light also slows scanning down; a code by a dark entrance may need to be larger, or lit.

Logos and styling

A logo in the middle covers modules, and the code relies on error correction to fill the gap. This generator reserves a square of about a fifth of the code's width for the logo and switches error correction to H while it is shown, which keeps the logo within what the code can recover. Problems start when a logo is pasted over a downloaded code by hand, larger than that, or when it hides the three big squares in the corners that phones use to find the code.

Module shapes can also play a role at small sizes. Dots look softer than squares but cover less area, so a tiny dotted code is harder to read than a square one. If a small code fails, switch to square or rounded modules before changing anything else.

The code scans, but the content is wrong

If the phone reads the code but the result is wrong, look at what the code contains. The generator shows it next to the preview under “Encodes”. For link codes, the most common problem is a page that has moved or no longer exists, or a typo in the address. Open the address in a browser yourself; if it fails there, fix the page or make a new code.

For Wi-Fi codes, check that the network name is spelled exactly as the router shows it, including capital letters, that the password is current and that the encryption setting matches. If you changed the password on the router, the old code stops working and needs replacing. For contacts, open the saved entry and check each field; international phone numbers starting with + work best across countries.

Test before and after printing

Most scan problems are caught by a simple test: print one copy at the final size on the final material, put it where it will be used and scan it with at least one iPhone and one Android phone, from a normal distance, in the real light. Then check again from time to time, especially for link codes, because the page behind a code can break long after the code was printed.

All guides