Skip to main content
GlossarySharing and scanning

What Is a QR Code Quiet Zone?

The quiet zone is the blank margin around a QR code that lets a scanner tell where the code ends and the surroundings begin. The QR specification calls for four modules of clear space on every side, and a code with less may fail to scan even when it is otherwise perfect.

What It Is

A module is one of the small squares that make up a QR code. The quiet zone is a border four of those squares wide, on every side, with nothing printed in it. It has to be a plain, light colour. The scanner uses it to separate the code from whatever it is printed on or next to.

Why Scanners Need It

A scanner locates a code by finding its three corner squares and the pattern of dark and light around them. Printed text, a photograph or a coloured edge touching the code looks like more code, and the scanner cannot find the boundary. The code is then not read at all. Because the failure is in finding the code and not in reading it, error correction cannot repair it.

Size in Practice

The size is counted in modules, so it grows with the code. A 29 module code printed 20 mm wide has modules of about 0.7 mm, which puts the quiet zone at roughly 2.8 mm on each side. More data means more modules and a smaller quiet zone for a given print size. A short link keeps the grid coarse.

Dark Codes on Dark Backgrounds

The quiet zone has to be light, because scanners expect dark modules on a light field. A code placed directly on a dark or busy background has no quiet zone however much empty space is around it. The usual fix is to put the code on a light panel, which is why codes are often seen on a white square.

Frequently asked questions

How big should the quiet zone around a QR code be?

Four modules on every side, where a module is one small square of the code. A smaller margin often still scans, but four is the specified minimum.

Can I print a QR code on a coloured background?

Place it on a light panel that includes the quiet zone. A code touching a dark or patterned background may not scan.

Does error correction make up for a missing quiet zone?

No. Error correction repairs damaged data inside the code. It cannot help a scanner that failed to find the code.

Keep reading

Put this into practice with your own card

Put your details on one card page, share it by link or QR code, and change them whenever they change. The printed code keeps working. No credit card required to start.