QR code not scanning? Causes and fixes
By TrackQR · Updated · 6 min read
Start here: does the camera react at all?
Point a phone at the code and watch what happens. The answer tells you which half of this guide you need.
- Nothing happens. The phone can't read the pattern. It's a design, print or camera problem: see the first sections below.
- A link appears, but the page doesn't load or says "expired" or "deactivated". The code is fine; the link behind it isn't. Jump to the link behind the code stopped working.
- It's a Wi-Fi code and the phone reads it but won't connect. Jump to Wi-Fi codes that scan but don't connect.
Before blaming the code, try a second phone. If one phone reads it and another doesn't, the code is probably borderline and worth fixing before you print more.
Too little contrast, or light dots on a dark background
Scanners look for dark modules on a light background. Pale colours on white, dark colours on dark backgrounds and busy gradients all shrink the difference the camera has to work with.
Inverted codes, with light dots on a dark background, are a special case. Some scanner apps can't read them, so an inverted code is a gamble on which phone your customer has.
Fix: use a dark colour for the dots and a light one for the background. Brand colours are fine as long as the dots stay clearly darker. TrackQR's static generators block downloads when the colours are inverted or the contrast is below 3:1, and the dashboard won't save a new design below 3:1 and asks you to confirm a test scan before saving inverted or transparent colours.
A transparent background printed on a dark surface
A PNG or SVG with a transparent background looks fine on your white screen. Printed on a dark T-shirt, a black box or a dark flyer, the "background" becomes dark, and you've made an inverted, low-contrast code by accident.
Fix: give the code its own solid light background, or print a white panel behind it.
Too small for the scanning distance
A code that scans from your desk may be unreadable on a wall across the room. A common rule of thumb is a code about one-tenth as wide as the distance people scan from, and at least 2 cm across for anything held in the hand.
Fix: print it bigger, or move it closer to where people stand. The QR code size guide has a table by distance.
No blank margin around it
The QR code specification asks for a blank margin, the quiet zone, four modules wide on every side. Text, frames, a busy background or the edge of the paper inside that margin can stop a code scanning even when it's big enough.
Fix: keep the margin clear. Don't crop the downloaded image to the edge of the pattern. TrackQR's downloads include a margin of at least four modules.
Too much data: a dense, crowded pattern
The more a code holds, the more modules it needs, and at the same printed size each module gets smaller. Long web addresses with tracking tags, contact cards with every field filled in and long text all make dense codes that need a steady hand and good light.
Fix: put less in the code. A dynamic code holds a short link instead of your long address, so its pattern stays simple whatever the destination; see static vs dynamic QR codes. For contact cards, cut the fields to the essentials.
A logo that's too big
A logo covers part of the pattern. QR codes carry error correction, extra data that lets them be read when part of the pattern is missing, and logo codes depend on it. The highest level (H) gives the most room, but it also makes the code larger.
Fix: use a high error correction level with any logo (TrackQR switches logo codes to level H automatically), keep the logo modest, never cover the three big corner squares, and test before printing.
Glossy, curved, creased or damaged prints
Shiny lamination reflects light into the camera. Bottles, cups and folds bend the grid. Rain, sun and scratches wear the dark modules away.
Fix: use a matte finish, put codes on flat panels, and replace worn ones. Outdoors, weatherproof material lasts longer.
The phone or its camera settings
Sometimes the code is fine and the phone needs help:
- iPhone: in the Camera app, Photo mode, frame the code and tap the link at the bottom of the screen. The Scan Code control in Control Center works too, and Apple suggests tapping its flashlight for more light.
- Pixel and other Android phones: Google's Pixel help says to make sure "Camera scan suggestions" is turned on in the Camera app's settings, or to use the Scan QR code tile in Quick Settings or Google Lens. It also suggests holding steady, getting good light without glare, cleaning the lens and moving closer while keeping the whole code on screen.
Settings names differ between phone makers, so if one route doesn't work, try Google Lens or the Quick Settings scanner.
The link behind the code stopped working
If the phone reads the code but the page is missing, expired or asks for payment, the pattern is fine. Either the page it points to was moved or deleted, or it's a dynamic code whose provider switched the short link off, often when a free trial or subscription ended.
Fix: restore the page, or point the code somewhere new if your provider lets you. If the provider deactivated it, why free QR codes stop working goes through your options. On TrackQR: Every code keeps scanning, on every plan, even if you stop paying.
Wi-Fi codes that scan but don't connect
A Wi-Fi code holds the network name, security type and password. If any of them is wrong, the phone reads the code and then fails to join.
- Wrong or old password. If the password changed, the printed code still holds the old one. Make a new code.
- Wrong security type. Most password networks use WPA (WPA / WPA2 / WPA3); a few older ones use WEP, and only open networks use "none".
- Network name typos. It must match exactly, including capitals and spaces.
- Hidden network. If the network doesn't broadcast its name, the code must be marked as hidden.
Make a fresh one with the Wi-Fi QR code generator.
What our own test shows
We run every design option in TrackQR's QR generator through an automated test. It is our test, with two decoders, not real phones: codes are drawn by our own generator, then read by two independent open-source decoders, jsQR and ZXing-C++, both on the exact image and on a blurred 480-pixel "camera" view, roughly how a phone sees a print. The run from 23 November 2026 covered 209 cases (156 design combinations and 53 payload, colour and export cases), each read four ways:
- 207 of the 209 cases were read in all four views. 833 of 836 reads succeeded.
- Inverted colours (light dots on dark) were read in all four reads in this test. Real scanner apps vary more than two decoders do, so we still treat inverted codes as risky: our free generators block them and the dashboard asks you to confirm a test scan.
- A transparent background placed on a near-black surface was read by jsQR in both views but by ZXing in neither.
- A near-limit payload (899 bytes at error correction H, a 153 × 153 module code) was read by ZXing on the camera view but not by jsQR. Dense codes may need a closer, steadier phone.
- All 51 exported images we measured had a quiet zone of at least four modules.
Your phone, light and print aren't in that test. Whatever generator you use, print one copy at full size and test-scan it on an iPhone and an Android phone before the print run.
Before you print: a five-point check
- Dark dots on a light, solid background.
- Big enough for the distance, with the blank margin intact.
- As little data as possible; use a short dynamic link for long addresses.
- Any logo small, with error correction high.
- Test-scanned at full size, on the real material, on two phones.
Ready to make one? Every type is on the QR code generator page.
Put it into practice
Free for your first codes, unlimited scans, and codes never expire.
Make a QR code that scansSources
- Information capacity and versions, module size and margin (DENSO WAVE, qrcode.com)
- Error correction feature (DENSO WAVE, qrcode.com)
- What's the minimum size for a QR code? (Bitly blog)
- Scan a QR code with iPhone (Apple Support)
- Scan QR codes with your Pixel phone (Pixel Phone Help)
- How do you scan QR codes on Android? (Android)
- jsQR (open-source QR decoder)
- ZXing-C++ (open-source barcode decoder)