A QR code not scanning is almost always one of twelve specific problems, and they fail in a predictable order: something about the code, something about the light, or something about the reader. Work down the ladder below — the fixes are ordered by how often they resolve the case, not by how technical they sound — and the code that has been refusing you for five minutes usually scans on the first or second try.
The 30-Second Triage
Before any fix, run one test: scan a code you know is good — any code from this site's sample pages on your screen will do. If the good code scans, your reader and camera are fine and the problem is the stubborn code itself, so start at Fix 1. If the good code also fails, the reader is the patient — jump to Fix 10. That single test splits the twelve fixes into the half that can help you, which is why it comes first.
Fixes for the Code Itself (1–7)
Fix 1: Restore the contrast. Readers separate modules by brightness, not color, so light gray on white, gold on kraft paper, and pale pastels all drop below the detection threshold. Re-print or re-render in dark modules on a light background — near-black on near-white is the combination every reader is tuned for.
Fix 2: Give it a quiet zone. The blank margin around the pattern is part of the symbol, not decoration; four modules of clear space is the working minimum. A code cropped tight in a screenshot, or printed flush against text and borders, starves the finder patterns. Add margin and the code often starts scanning untouched.
Fix 3: Make it bigger. Size follows scan distance — roughly a tenth of it, so about 2.5 centimeters at arm's length and proportionally more for a poster scanned from across the room, with dense payloads demanding more still. If you are waving a 1-centimeter code at a phone, no other fix matters; the full chart is in the QR code size requirements guide.
Fix 4: Re-export the image. Screenshots of screenshots, heavy JPEG compression, and upscaled thumbnails all fuzz the module edges until readers guess wrong. Go back to the source: re-export as PNG or SVG from the generator, or regenerate from the original payload, and never pull a print file from a compressed preview.
Fix 5: Flatten the surface. Curved bottles, crumpled flyers, and wrinkled labels bend the pattern's straight lines; readers compensate for modest curvature and fail past it. Flatten the material against something rigid, or move the code to a flat zone of the packaging.
Fix 6: Assess the damage honestly. Scratches, smears, and torn corners test the symbol's built-in error correction, which can absorb real damage — up to the level chosen when the code was generated — before failing outright. Whether this one is recoverable depends on how much of the pattern is gone; the tear-and-smear limits are covered in the damaged-code error-correction guide, and past them the only fix is reprinting.
Fix 7: Undo the inversion. Dark mode inverts the classic polarity — light modules on a dark background — and some readers simply refuse it. If the code lives on a dark-themed screen or was printed white-on-black, re-render it dark-on-light for a compatibility win that costs nothing.
Fixes for the Environment (8–9)
Fix 8: Kill the glare. A glossy surface bounces your light source straight into the lens, whiting out whole rows of modules. Tilt the code a few degrees so the reflection travels away from the camera, move the lamp rather than the code, or screen the reflection with your hand's shadow.
Fix 9: Fix the light and the shake. Dim rooms force long exposures and handheld blur; harsh shadows do the same damage as glare. Add even light, brace the phone or rest the code on a table, and give the autofocus a half-second to settle before judging the attempt.
Fixes for the Reader (10–12)
Fix 10: Clean the lens. A fingerprint or pocket lint on the camera defocuses everything quietly — every other symptom improves except the one you are fighting. One wipe with a soft cloth is the cheapest fix on this list and resolves a surprising share of "broken" codes by itself.
Fix 11: Check the reader's switches. Two settings silence scanning without any error: the QR toggle inside the camera app's settings (some phones ship it off, updates can flip it) and camera permission for the app or browser doing the scanning. Both live in the device settings; flip them on, reload, and retest. The step-by-step paths are in the basic scanning guide.
Fix 12: Switch readers. If a known-good code scans in one app but not another, the reader is the fault — decoding is standardized by ISO/IEC 18004, so a failing reader is deviating, not the code. Try the built-in camera, then a browser-based scanner, then a second device; whichever reader finally decodes tells you where the bug lives. The no-app scanning guide lists the reader built into every platform.
The Ladder at a Glance
| Fix | Symptom it addresses | The action |
|---|---|---|
| 1. Contrast | Pale or low-contrast print | Re-print dark on light |
| 2. Quiet zone | Cropped or bordered code | Add blank margin |
| 3. Size | Scanning from too far | Scale to one tenth of distance |
| 4. Image quality | Blurry, compressed, upscaled | Re-export PNG/SVG from source |
| 5. Surface | Curved or crumpled | Flatten the material |
| 6. Damage | Scratched, torn, smeared | Test error correction; reprint past limits |
| 7. Inversion | White-on-black / dark mode | Re-render dark on light |
| 8. Glare | Shine across the pattern | Tilt code or move the light |
| 9. Light and shake | Dim, shaky, out of focus | Add light, brace, let focus settle |
| 10. Lens | Everything scans blurry | Clean the camera |
| 11. Settings | Reader never fires | QR toggle and camera permission on |
| 12. Reader fault | Works in one app only | Switch readers, isolate the bug |
When the Fixes Point Deeper
Two outcomes send you further down the road. If Fix 6 revealed damage — the code scans intermittently or only at one angle — the error-correction guide explains how much abuse a symbol absorbs and when a reprint is the only honest option. And if codes keep failing on one particular device while every other device passes, run that device through a scored workup — the 10-point scanner test separates a weak camera from a bad reader in about ten minutes, and the fixes above will be waiting when it is done.
One habit turns a one-off rescue into a permanent fix: note which number on the ladder solved it. A code that needed Fix 1 will need it again after the next reprint from the same artwork; a code that needed Fix 3 is placed too ambitiously and will fight every customer at that distance. Recurring failures on printed material point back to the design step — fix the artwork, the size, or the placement once, and that code stops appearing on this page's logs entirely.
Frequently Asked Questions
Why do some QR codes work with one scanner but not another?
Because readers differ in the parts the standard leaves open: decoder tolerance, camera tuning, and which edge cases the developers hardened. The payload is identical everywhere; the margin around it is not. A code at the edge of one reader's tolerance fails there and passes elsewhere — Fix 12's reader swap makes that diagnosis in seconds.
Can damaged QR codes still work?
Often, yes — error correction rebuilds missing modules up to the level chosen at generation, so scratched and smudged codes can scan cleanly. The limit is real though: past roughly the level's capacity, failures come fast and partial. Assess the damage, test at the real scan distance, and reprint when the pattern is genuinely gone.
How small can a QR code be and still scan?
Small enough that one tenth of the scan distance is a comfortable floor — around 2 centimeters at arm's length for a sparse payload, more for dense data or greater distance. Below that, module size outruns the camera's resolution and no reader setting recovers it; print larger rather than hoping.
Do QR codes expire?
The pattern never expires — it is just data. What expires is what it points at: a static URL that was taken down, a dynamic redirect whose subscription lapsed, or a WiFi password that was rotated. A code that scans but goes nowhere is Fix 12's cousin: decode it with a second reader to read the payload and see where it actually points.
Wrap-Up
Run the 30-second triage, then walk the ladder — contrast, margin, size, image quality, surface, damage, inversion on the code side; glare and light on the environment side; lens, settings, and a reader swap on the device side. Twelve fixes, and one of the first four usually ends it. When a case survives the whole ladder, the linked guides above take over from exactly the fix that stopped working.