QRAnalytica

QR Code Not Scanning? How to Tell If It's the Phone or the Code

QR code not scanning? Test it on a second phone. If that works, fix your camera settings. If not, fix the code: contrast, quiet zone, size, file or logo.

Nookesh Karri · 9 min read
Dark cover card with the title 'QR Code Not Scanning? How to Tell If It's the Phone or the Code' in white and a lime accent bar

When a QR code is not scanning, first try it with a second phone. If the other phone reads it, the problem is your camera settings, lens or technique. If no phone reads it, the code itself is the problem: usually low contrast, a missing quiet zone, a size too small for the distance, a blurry file or an oversized logo.

QR code not scanning: is it the phone or the code?

A second phone is the fastest way to tell a phone problem from a code problem. Use a different brand if you can, because an iPhone and an Android phone use different scanning software.

  • Second phone scans it: the code is fine. Go to the phone fixes below.
  • No phone scans it: the code is broken. Go to the code fixes.
  • Scans on screen but not on paper: the print run is the problem. Look at size, surface and file quality.

A code often looks perfect on a monitor and then fails on a matte flyer, because the printed version is smaller, softer and lit by whatever light is in the room.

Phone fixes when your camera won’t scan a QR code

Most phone failures come from a setting or a camera mode, not a fault. Check these before you blame the code.

iPhone

Apple’s guide says to open Camera, stay in Photo mode, and position the iPhone so the code appears inside the frame. A link then appears at the bottom of the screen, and you tap it. Portrait, video and other modes are not what Apple’s instructions describe, so switch back to Photo first.

If Camera still won’t react, use the Scan Code control in Control Center. Add it to Control Center if you don’t see it. In low light, tap the flashlight in that scanner to add more light.

Pixel and other Android phones

Google’s Pixel help says to open Camera and, under Settings > More settings, make sure Camera scan suggestions is turned on. With it off, the camera sees the code but never shows the link. Pixels also have a “Scan QR code” Quick Settings tile, and Google Lens can read codes too.

Menu names on other Android brands vary. If the stock camera does nothing, try Lens or the scanner tile before you assume the code is broken.

Technique

Google’s troubleshooting list is short and applies to every phone:

  1. Hold the phone steady so the camera can focus.
  2. Scan in a well-lit area and avoid shadows or glare on the code.
  3. Wipe a smudged lens with a soft cloth.
  4. Move closer, but keep the full code visible on screen.

Code fixes when no phone can scan the QR code

If every phone fails, the code has a design or print problem. These are the usual causes.

Low contrast or inverted colors

Dark modules on a light background scan best. Razorpay’s size guide makes the same point: light backgrounds with dark foregrounds tend to provide the best scannability. Pale yellow on white, or navy on black, gives the camera too little difference to work with.

Inverting the colors to fit a dark design is riskier than it looks. A maintainer of ZXing, the open-source barcode library, wrote that inverted QR codes are not a part of the required spec and that checking every frame for them would waste half of all the CPU time consumed. Some scanners read white-on-black codes and some don’t. You can’t control which one your customer has.

No quiet zone

The quiet zone is the blank margin around the code that tells the scanner where the symbol starts. Denso Wave, the company that invented the QR code, says QR Code requires a four-module wide margin at all sides of a symbol. A module is one of the small squares. Razorpay gives the arithmetic: 1mm modules need at least 4mm of clear space on every side.

Designers often crop this margin to make the code “fit” a layout, or run a background pattern right up to the edge. Both break scanning.

Too much data in the code

A long URL makes a dense code. Denso Wave explains that as the amount of data increases, more modules are required. The grid runs from 21 × 21 modules at Version 1 up to 177 × 177 at Version 40. Print a Version 40 code at business-card size and each module becomes a speck.

The fix is a shorter link. A dynamic code stores a short redirect instead of your full tracking URL, so the pattern stays simple. Our dynamic vs static QR code guide explains the trade-off.

Too small for the scanning distance

Size the code for the distance people stand from it. A common rule of thumb in Razorpay’s guide is a distance-to-size ratio of at least 10:1, so a code scanned from 50cm needs to be at least 5cm x 5cm. The same guide gives 2cm x 2cm (0.8in x 0.8in) as the smallest practical size for close-up scanning, not counting the quiet zone.

A window poster read from the pavement needs a much bigger code than a table tent. Our QR code size guide for printing works through more distances.

A blurry or low-resolution file

A low-resolution file won’t scan reliably because the edges between modules turn soft. JPG compression and screenshots stretched to poster size both smear those edges. Denso Wave’s printing notes assume a 400 dpi printer and 0.254 mm modules for small codes, which shows how much detail a tiny code needs.

Don’t upscale an old image. Regenerate the code from its link and export it as SVG, or as PNG at the final print size. If all you have is the image, scan it once on a screen to recover the link, then generate a fresh code.

Error correction is what lets a logo sit in the middle. QR codes come in four error correction levels, and Seagull Scientific lists how much each can restore: about 7% for L, 15% for M, 25% for Q and 30% for H. A logo that covers more than the level can rebuild leaves the scanner with missing data.

Keep the logo small, keep it clear of the three large squares in the corners, and pick a higher level when you add one. Our post on putting a logo in the middle of a QR code covers sizes.

Damage, dirt and curved surfaces

Codes on bottles, cups and outdoor signs fail for physical reasons. Denso Wave says error correction lets a code be restored if it is dirty or damaged, and recommends Level Q or H in dirty places such as factories. Level M (15%) is the one most often chosen. For stickers on equipment or anything outdoors, I’d go to H and accept a denser code.

Glossy laminate is the other trap. It throws glare straight back at the camera under shop lights, which looks to the customer like a dead code.

A real example: the menu that only scanned at the counter

Take a café that prints a table-tent menu code. It scans fine for staff at the counter and fails at the tables. Run the second-phone test: no phone works at the tables, so it’s the code, not the customers’ phones.

Three causes stack up. The designer used the brand’s light grey on white, cropped the margin to fit the card, and the laminate catches the ceiling lights. Each one alone might pass. Together they push the code over the edge. Darker modules, a full four-module margin and a matte finish fix it without changing the link.

My take: test the printed proof, not the screen

I’d never sign off a QR code from a screen preview. Screens are backlit, sharp and evenly lit, which hides every contrast and resolution problem that paper shows. Print one proof at the real size, put it where it will live, and scan it from where your customers stand, with an iPhone and an Android phone.

If the code is dynamic, you get one more safety net: you can change the destination after printing when the problem is a broken page rather than a broken pattern.

Check the file before it goes to print

Our free QR validator checks a code for low color contrast and for hijacked links before you print it. That covers the most common design mistake here, plus the swapped-sticker risk people forget.

The limitation: the validator checks contrast and the link, not the physical print. It can’t tell you whether the code is big enough for the distance, whether the quiet zone survived the layout, or whether the laminate glares. Only a printed test at the real size and distance answers those.

FAQ

Why is my phone not scanning QR codes?

On an iPhone, the Camera must be in Photo mode with the whole code in the frame. On a Pixel, Camera scan suggestions must be on under Settings > More settings. A smudged lens, glare and shaky hands cause the rest.

Why won’t a low resolution QR code scan?

Scaling up a small or compressed image blurs the edges between the dark and light modules, so the scanner cannot tell where one module ends and the next begins. Export the code as SVG, or as a large PNG, instead of enlarging a small JPG.

Can a QR code with white squares on a black background scan?

Sometimes, but not reliably. Inverted codes are not part of the required spec, and some scanner libraries skip them to save processing time. Use dark modules on a light background.

What file format is best for printing a QR code?

SVG, because it is vector and stays sharp at any size. If the printer needs a raster file, use PNG at the final print size. Avoid JPG, whose compression smears the module edges.

Sources

Track your dynamic campaigns. 7-day trial, no credit card.
Generate Dynamic QR