Barcode Not Scanning? 8 Fixes That Actually Work

Your barcode won't scan? Here are 8 proven fixes — covering print quality, quiet zones, contrast, size, damage, scanner compatibility, and how to verify your barcode before printing.

By BarcodeGenerate Team ·

Few things are more frustrating than a barcode that simply refuses to scan. Whether it’s a product label that cashiers keep having to key in manually, a QR code that customers can’t read, or a shipping label that gets rejected at the carrier’s facility — a non-scanning barcode wastes time and money.

The good news: the vast majority of scanning failures have simple, fixable causes. Here are the 8 most common reasons a barcode won’t scan, and exactly how to fix each one.


Fix 1: Check the Quiet Zone (The Most Common Culprit)

What it is: A quiet zone is the blank white space that must surround a barcode on all sides. It’s not decorative — it’s a functional requirement. Scanners use the quiet zone as a reference point to detect where the barcode starts and ends.

Required quiet zone widths:

  • EAN-13 / UPC-A: minimum 11× the narrowest bar width on the left, 7× on the right
  • Code 128: minimum 10× the narrowest bar width on both sides
  • QR Code: minimum 4 modules (cells) on all four sides
  • As a practical rule: at least 3mm (0.12 inches) of white space around any barcode

The fix: If your barcode is printed close to the edge of a label, box, or card, you’re likely violating the quiet zone requirement. Regenerate the barcode with increased margin settings, or redesign your label to give the barcode more breathing room.

In our barcode generator, use the Margin slider in Options to increase the quiet zone before downloading.


Fix 2: Improve Print Contrast — Dark Bars on White Background

Barcode scanners (both laser and image-based) work by detecting the difference in light reflectance between dark bars and light spaces. If this contrast is insufficient, the scanner can’t distinguish the bars from the background.

Common contrast problems:

  • Printing on colored labels (yellow, silver, kraft brown)
  • Using dark backgrounds under the barcode
  • Low-toner printing — bars appear gray instead of black
  • Inkjet bleeding where ink spreads into the spaces between bars

The fix:

  • Always use black bars on a white background for maximum reliability
  • If you must print on colored stock, use a white patch or white label area beneath the barcode
  • Check your printer’s toner/ink levels before printing barcode labels in bulk
  • For inkjet printers, use the highest quality print setting to minimize bleeding
  • GS1 specifies minimum contrast: bars should reflect less than 25% of light, spaces more than 62.5%

Fix 3: Verify the Barcode Size Is Large Enough

Barcode symbols have minimum size requirements. Print too small and even a perfect barcode won’t scan reliably.

Minimum sizes for reliable scanning:

Barcode TypeMinimum WidthMinimum Height
EAN-1329.83mm (80% magnification)20.74mm
UPC-A25.91mm (80%)18.28mm
Code 128Variable (depends on data density)15mm recommended
QR Code20mm × 20mm20mm × 20mm

The fix: Scale up your barcode image. For print work, always download as SVG — vector files scale to any physical size without quality loss. Then set the physical dimensions in your label design software rather than relying on the pixel dimensions of a PNG file.

The GS1 recommended “nominal” size for EAN-13 is 37.29mm × 25.93mm. You can go down to 80% (about 29.8mm wide) in constrained space, but avoid going smaller.


Fix 4: Check for Physical Damage or Contamination

This applies mainly to printed barcodes that worked initially but have stopped scanning.

Common physical issues:

  • Scratches through bar areas — even small scratches across bars interrupt the pattern
  • Moisture damage — water causes inkjet inks to bleed, changing bar widths
  • Sticker residue or grease — obscures reflectance
  • Faded labels — UV exposure fades inkjet prints; thermal label stock is especially vulnerable to heat
  • Wrinkles or creases — distort bar widths and spacing

The fix: Replace damaged labels. For durability, use thermal transfer labels (more resistant than direct thermal) or laminated label stock. For outdoor use or products that will be handled extensively, UV-resistant label materials are worth the added cost.


Fix 5: Confirm the Barcode Type Matches Your Scanner

Not all scanners read all barcode types. A barcode that scans fine on one device may fail completely on another.

Common compatibility issues:

  • Older laser scanners may not read QR codes (they require image-based scanners)
  • Some 1D scanners don’t support Code 128 Subset A or all character sets
  • Retail POS scanners are optimized for EAN/UPC — they may struggle with Code 39 or ITF
  • Industrial scanners typically support more formats than retail scanners

The fix: Check your scanner’s documentation for supported symbologies. If you’re designing labels for a specific system (retail POS, warehouse management software, etc.), confirm which barcode types it supports before printing thousands of labels.

For QR codes specifically, any smartphone camera (iOS 11+, Android 8+ with Google Lens) can scan them without an app. Older Android phones may need a dedicated QR reader app.


Fix 6: Check for Data Encoding Errors

This applies when you’ve generated the barcode yourself and it won’t scan, or it scans but returns incorrect data.

Common encoding errors:

  • Invalid characters for the barcode type — Code 39 only supports uppercase letters, digits, and a few symbols; lowercase letters will cause issues
  • Wrong check digit — if you manually calculated or entered a check digit and got it wrong, many scanners will reject the barcode
  • Data too long — encoding more data than the symbology supports causes malformed barcodes

The fix: Use a barcode generator with built-in validation (like ours). Our generator:

  • Validates the data before rendering
  • Calculates check digits automatically for EAN-13, UPC-A, EAN-8, UPC-E, and ISBN
  • Displays an error message if your data contains invalid characters for the selected format

After generating, scan the barcode with your phone and compare the scanned result to what you intended to encode. This takes 10 seconds and catches encoding errors before you print in bulk.


Fix 7: Fix Printer Resolution Issues

For inkjet and laser printers, the print resolution (DPI) directly affects barcode quality, especially for high-density barcodes with narrow bars.

The problem: At low DPI, the printer can’t accurately reproduce narrow bars. What should be a 0.33mm bar gets printed as either 0 bars (nothing) or a full pixel width (too wide) — destroying the barcode’s structure.

Minimum recommended print resolutions:

Use CaseMinimum DPI
QR codes (medium/high density)150 DPI
EAN-13, UPC-A (standard size)200 DPI
Code 128 (standard density)203 DPI
High-density Code 128300 DPI
Small labels, tight spaces600 DPI

The fix:

  • Set your printer to its highest quality mode for barcode labels
  • For thermal label printers, 203 DPI is standard; 300 DPI models produce better results for small labels
  • Always print a test label and scan it before running a full batch
  • If your printer can’t achieve sufficient resolution, download the SVG and use a print service or a dedicated label printer

Fix 8: Test Before You Print in Bulk

This isn’t a fix for a specific problem — it’s the habit that prevents all of them.

Testing workflow:

  1. Generate the barcode and preview it on screen
  2. Print a single test label at actual size
  3. Scan the test label with at least two different devices (e.g., a smartphone and your actual scanner)
  4. Verify the scanned data matches what you encoded
  5. Check that the barcode is readable at various angles, not just straight-on
  6. Only then print your full batch

You can use our free Barcode Scanner to verify any barcode with your computer’s camera or by uploading a photo of the printed label.


Barcode Won’t Scan on a Smartphone Camera?

QR codes that scan fine with dedicated scanners sometimes fail on smartphone cameras. Specific fixes:

Too much data: QR codes with very long URLs or large amounts of text become extremely dense and require a steady, high-resolution camera to read. Keep QR code content under 200 characters for reliable phone scanning.

Error correction too low: Use at least Level M error correction for QR codes on physical materials. Level H is recommended for codes that will be printed small or in environments where they may get dirty.

Display brightness (for screen-to-screen scanning): If scanning a QR code displayed on a screen, turn the screen brightness to maximum and ensure the camera can focus properly.

Glare and reflections: Laminated or glossy barcode labels can cause glare that prevents scanning. Matte lamination is better for scannability.


Quick Diagnostic Checklist

Before reprinting, work through this checklist:

  • Quiet zones: at least 3mm of white space on all sides
  • Contrast: black bars on white/light background
  • Size: meets minimum dimensions for the barcode type
  • No physical damage: no scratches, tears, or moisture
  • Scanner compatibility: scanner supports this barcode type
  • Data validation: no invalid characters, check digit is correct
  • Print resolution: at least 200 DPI for most barcodes
  • Test scan: verified with multiple devices before bulk printing

If a barcode fails all of the above checks and still won’t scan, regenerate it from scratch using a fresh barcode generator. Occasionally, corrupted source files can produce subtly malformed barcodes that look correct visually but fail to scan.


Summary

ProblemMost Likely Fix
Scans inconsistentlyInsufficient quiet zone
Never scansWrong size or poor contrast
Wrong data returnedEncoding error or wrong format
Worked before, now failsPhysical damage or faded print
Works on one scanner, not anotherScanner compatibility issue
QR won’t read on phonesToo much data or low error correction

Most barcode scanning failures are preventable with proper setup and a quick test scan before batch printing. Generate your barcodes, scan the test print, and you’ll rarely encounter issues in production.

Topics: barcode not scanningbarcode troubleshootingfix barcodebarcode won't scanbarcode quality

Try the free barcode generator

Create professional barcodes and QR codes instantly. No registration required.