Can a damaged QR code still be scanned?
Often yes: error correction rebuilds 7–30% of a QR code. Which damage is survivable, which isn't (corner squares, margins), and how to read a damaged code.
Often, yes. QR codes have built-in error correction that can rebuild missing or misread parts: about 7%, 15%, 25%, or 30% of the code, depending on which level it was made with (Denso Wave). A scratch, a stain, or a torn corner of the data area is often survivable. Damage to one of the three large corner squares, or to the blank margin around the code, is much more likely to stop it scanning, because those are how the phone finds the code in the first place.
What damage a QR code can survive
| Damage | Usually readable? | Why |
|---|---|---|
| Small stain, smudge, or scratch in the data area | Yes | Error correction rebuilds the affected modules |
| Faded print with good contrast left | Usually | Modules are still distinguishable |
| Crease or fold through the code | Often | Flatten it; the timing patterns help with mild distortion |
| A torn edge of the data area | Depends on the level | Missing area must be within what error correction can recover |
| One corner square damaged | Rarely | The phone can’t reliably locate and orient the code |
| Margin covered by tape, a sticker, or text | Rarely | The phone can’t separate the code from its surroundings |
| Very faded or low-contrast print | Rarely | Modules can’t be told apart |
| More than about a third of the code missing | No | Beyond what any level can rebuild |
Why the corner squares matter more
A scanner first looks for the three finder patterns, the large squares in three corners. They tell it where the code is, how big it is, and which way up. Only then can it read the data. A code can lose a chunk of its data area and still be found, but a smeared or torn finder pattern often means the code isn’t found at all. How QR codes work explains each part.
Two smaller parts matter too: the format information next to the corner squares, which tells the scanner the error correction level, and, on larger codes, the alignment patterns. The format information is stored twice for this reason.
How much damage depends on the code’s level
The level is chosen when the code is made, and you can’t tell it by looking. Here’s what each recovers:
| Level | Recovers about |
|---|---|
| L | 7% |
| M | 15% |
| Q | 25% |
| H | 30% |
These figures are measured in codewords (blocks of data), not area. A long scratch that crosses many codewords can do more harm than a compact hole of the same size. QR code error correction levels explains the details.
How to read a damaged QR code
- Flatten it. Smooth out folds and hold curved labels flat.
- Light it evenly. Use daylight or a lamp from the side. Avoid glare on glossy or laminated surfaces.
- Clean it gently. Wipe dust or grease off a sign or screen.
- Move back and zoom in. Many phones focus better a little further away.
- Try another scanner. Different apps handle damage differently.
- Photograph it, then scan the photo. A still, sharp photo can work when the live camera struggles. How to scan a QR code from a screenshot or photo shows how.
- Restore the margin. If something is stuck right up against the code, cover it with a sheet of white paper to make a blank border.
- Repair the corner squares. For a code you own, carefully filling in a faded finder pattern with a black marker may help; scan it again afterward to check. Don’t try to repair the data area by hand.
If none of this works, look for the same code elsewhere, such as on the company’s website, or ask for the link directly. QR code not scanning? Fixes that work covers more causes.
Making codes that survive damage
- Choose a higher level (Q or H) for codes on equipment, outdoor signs, or labels that get handled, and print them a little larger.
- Laminate or use durable materials outdoors, with a matte finish to avoid glare.
- Keep the margin clear of edges, folds, and staples.
- Avoid placing codes over folds in leaflets and packaging.
- Print several copies of important codes in different places.
A note on EveryQR
EveryQR can read codes from a photo or screenshot in your gallery, which often helps with damaged codes the live camera won’t catch. When you make codes, you can choose the error correction level in its settings, or let it pick one.
Related guides
- QR code error correction levels explained
- QR code not scanning? Fixes that work
- How to scan a QR code from a screenshot or photo
Browse all QR code guides.
About the author
I’m Shekhar Roy, a software engineer in New Delhi. I build EveryQR, a QR code scanner and creator for Android, and I write these guides from what I’ve learned making and testing it.