How to Place a Barcode on Your Packaging: Position, Colours and Background

Written and reviewed by
José Enrique Ochoa
Founder of Global Barcodes · 45+ years in product coding
How to Place a Barcode on Your Packaging: Position, Colours and Background
In this article

    A valid barcode can still fail at the checkout if it is printed in the wrong place or the wrong colours. These are the practical rules we give every customer.

    Where to place the barcode

    Boxes and cartons

    Put the barcode on the back or the base of the pack, ideally in the lower right-hand area of the back panel. Keep it at least 8 mm away from any edge or fold.

    Bottles, jars and cans

    On curved surfaces, rotate the barcode so the bars run horizontally (like a ladder) when the container is small, so the curve does not distort them. On large containers, place the bars vertically on the side label, away from the curve’s sharpest part.

    Bags and flexible packs

    Avoid seams, folds and the areas that wrinkle when the bag is full. Flat areas near the bottom of the back panel usually work best.

    Clothing and accessories

    Use a swing tag or a sewn-in label. Each size and colour needs its own barcode.

    Colours that scan, colours that don’t

    Scanners read the contrast between dark bars and a light background, usually with red light. That has some surprising consequences:

    • Best: black bars on a white background.
    • Good: dark blue, dark green or dark brown bars on white, cream or light yellow.
    • Bad: red, orange or light yellow bars. Red bars are “invisible” to many scanners.
    • Bad: light bars on a dark background (inverted barcodes).
    • Bad: metallic or highly reflective inks and foils.

    Transparent and coloured packaging

    If the pack is transparent or coloured, print a white box behind the barcode, including the quiet zones. Without it, whatever is inside the pack (or the background colour) becomes part of the barcode and confuses the scanner.

    Checklist for your designer

    • Use the vector file (EPS or PDF) we supply. Do not redraw or retype the barcode.
    • Keep the size between 80% and 200%, without stretching. See minimum sizes.
    • Keep the clear margins free of text and graphics.
    • Do not place it over folds, seams, perforations or windows.
    • Do not cover it with stickers, price tags or other labels.
    • Scan a printed proof before approving the print run.

    Want a second pair of eyes before you print? Our barcode verification report checks position, size, contrast and quiet zones and tells you exactly what to change.

    Spotted a mistake, outdated information or a typo? Let us know and we’ll fix it

    We review every report. If we confirm the mistake, we correct the page and update its date.

    Free consultation · No obligation
    Any questions about your barcodes? Ask me.

    I’m José Enrique Ochoa and I have more than 45 years of experience in product coding. Tell me about your product and where you want to sell it, and I will tell you which barcodes you need.

    In this article
      Free consultation
      Which barcodes do your products need?

      Official barcodes with the Hong Kong 489 prefix, one-time payment and no annual fees. Free advice before you order.

      Mon–Fri 9:00–18:00 (HKT)

      Recently updated articles

      Keep reading

      Updated 28/11/2026
      Read article →
      Updated 28/11/2026
      Read article →
      WhatsApp Llamar