QR code · 4 modules

QR quiet zone

Four empty modules on every side, required for the scanner to find the symbol.

Key facts

Required width4 modules
SidesAll four
ContentsNothing — same color as the light background
WhyFinder-pattern detection
Common mistakePlacing the symbol flush against text or a border

The margin is part of the code

Scanners locate a QR symbol by looking for the 1:1:3:1:1 dark–light–dark–light–dark pattern of the three finder patterns. A four-module light margin makes that ratio unambiguous. Cropping the margin, putting the code on a dark background or surrounding it with a busy pattern can all break detection even though the modules themselves are intact.

Designing around it

If a layout demands a tight frame, inset the symbol by at least four modules inside the light area rather than shrinking the quiet zone. Never place the code on a photo without a solid light panel behind it. The same rule applies on screen: leave padding inside the card that holds the canvas.

Frequently asked questions

Can the quiet zone be another light color?

It needs enough contrast against the dark modules. Off-white is usually fine; a mid-tone or patterned background is not.

Does a white border count as the quiet zone?

Yes, if it is at least four modules wide and not interrupted by other graphics.

Can I invert the colors?

Some scanners support inverted symbols, but many older ones do not. Keep dark modules on a light background for maximum compatibility.

New tools, straight to your inbox

One short email when we add tools worth using. No spam, unsubscribe anytime.