
The quiet zone is the blank margin around a QR code, and a standard code needs at least 4 modules of it on every side. A module is the width of one small square in the code. If the margin is cropped, covered by artwork or filled with a busy background, many scanners cannot find the code's edges, and the code fails even though it looks fine on screen.
This guide shows what the rule says, how to turn it into real measurements on a menu, a box or a yard sign, and where designers usually break it.
TL;DR
- The quiet zone is a clear border on all four sides of a QR code. The ISO/IEC 18004:2024 standard sets it at 4 modules for standard codes and 2 modules for Micro QR codes.
- The border scales with module size. A 0.254 mm module needs at least 1.016 mm of margin per side.
- Count the margin as part of the code when you plan print size. A code that fits only without its margin does not fit.
- Test the flattened, print-ready file, not a screen mockup. Dot gain, glare and ink bleed change what a scanner sees.
Table of Contents
- What the quiet zone is
- The 4-module rule
- From modules to millimeters and inches
- Where branded QR codes lose their quiet zone
- Quiet zone and error correction are different things
- Printing, dot gain and why screens lie
- A pre-press checklist for the margin
- Examples by use case
- Our perspective
- Get a branded code you can trust on press
- FAQ
- Sources
What the quiet zone is
A QR code is a grid of dark and light squares. Three large squares in the corners, called finder patterns, tell a scanner where the code is and how it is rotated. To find them, the scanner has to separate the code from everything around it. The quiet zone is what makes that separation possible.
Denso Wave, the company that invented the QR code, describes the margin as a clear area around the symbol where nothing is printed. It is not decoration and it is not optional spacing. It is part of the symbol's specification.
That is why the margin is a bad place to save space. A scanner reading a code with no margin has to guess where the code ends and the surrounding design begins. Some apps manage it, and many do not. A code that scans on your phone and fails on a customer's older phone is a common result.
The 4-module rule
The current edition of the standard, ISO/IEC 18004:2024, requires a quiet zone around all four sides of the symbol. For a regular QR code the minimum is 4 modules wide. For Micro QR codes, which have a single finder pattern, the requirement drops to 2 modules. If you work with the smaller format, our Micro QR code overview covers when it makes sense.
Two details trip people up:
- The unit is the module, not a fixed length. Four modules of a tiny code is a thin margin. Four modules of a large code is a wide one.
- The margin is measured from the outermost modules. If you add a frame, a rounded badge or an icon next to the code, measure from the code's edge, not from your frame.
From modules to millimeters and inches
Designers work in millimeters, inches or points, so the rule has to be converted. Multiply the module size by 4.
Denso Wave gives a worked example: at a module size of 0.254 mm, a common value at 400 dpi, the quiet zone must be at least 1.016 mm on each side. Here are a few more cases using the same arithmetic:
| Module size | Quiet zone (4 modules) | Where you might see it |
|---|---|---|
| 0.254 mm (0.01 in) | 1.016 mm (0.04 in) | Small labels, tight packaging panels |
| 0.5 mm (0.02 in) | 2 mm (0.08 in) | Receipts, business cards |
| 1 mm (0.04 in) | 4 mm (0.16 in) | Table tents, flyers |
| 2 mm (0.08 in) | 8 mm (0.31 in) | Posters, window decals |
A second step catches many layouts. Add the margin to both sides of the code before you decide how large the printed area is. If a code is 25 modules wide, the full footprint including the quiet zone is 25 plus 4 plus 4, so 33 modules across. At a 1 mm module, that is 33 mm, not 25 mm.
When the space is too small, Denso Wave's guidance is to either use a lower symbol version or increase the print resolution so the modules can be smaller. The simplest fix is usually a shorter URL, which produces a code with fewer modules. Our guides to QR code versions and print sizes and minimum QR code size go deeper, and the QR code size calculator does the arithmetic for you.
Where branded QR codes lose their quiet zone
Plain black-and-white codes rarely have this problem, because generators add the margin by default. The trouble starts when a code goes into a designed layout. These are the situations we see most.
Cropping to fit a panel
A code is placed so its edge touches the trim line, a fold or the edge of a label. The margin is gone, and in print the cut may even take off part of the outer modules. Keep the code and its full margin inside the safe area, not just the code.
Artwork running up to the code
Photos, patterns, illustrations and brand shapes often extend right to the edge of the code. The scanner then sees texture where it expects blank space. If you want a pattern behind the code, place the code on a solid light panel and keep the whole margin inside that panel.
Dark backgrounds
A light code on a dark surface can work, but the margin still has to be a uniform field, and many older scanners handle inverted codes poorly. One guide on dark backgrounds says the safest option is a light panel behind a standard dark-on-light code, with the quiet zone as part of that panel. We agree with that for anything printed in volume.
Frames, call-to-action badges and logos
A "Scan me" label sitting 1 mm from the code looks tidy, but it eats the margin. Place labels outside the margin, not inside it.
Rounding and rescaling in the print file
A code exported at one size and then stretched or placed in a layout at another size can end up with blurred edges and uneven modules. Build the final layout at the real size and use the original vector or high-resolution master where possible. The same applies when a code goes onto a transparent background, covered in our piece on transparent background QR codes.
Quiet zone and error correction are different things
People sometimes assume that high error correction can make up for a missing margin. It cannot. Error correction adds redundancy so a scanner can rebuild data from damaged or obscured modules. The quiet zone helps the scanner locate the symbol in the first place. If detection fails, there is nothing to correct.

The two do interact in design work. Artistic codes use some of the error correction budget for the image, which leaves less room for print defects. That makes a clean margin more valuable, not less. You can see the trade-off in our error correction demo.
Printing, dot gain and why screens lie
A QR code that scans from your monitor tells you little about the printed result. Ink spreads into paper, which is called dot gain, and it makes dark modules swell into light ones. One study of graphic QR codes notes that dot gain affects decoding, especially at smaller print sizes. Glare on glossy stock and curvature on bottles and cups add further variation.
Denso Wave's guidance on generating codes warns that codes distorted by image processing or decoration may not scan reliably, which is why testing matters. Practical habits:
- Test the final flattened file, after all branding and packaging art are in place.
- Scan a physical proof, not just a PDF on a screen.
- Use more than one phone and more than one scanning app.
- Scan in poor light and at the real viewing distance, such as across a table or from a sidewalk.
Packaging has an extra risk: the press. Ink choices, varnish and printing method change how crisp small modules come out. A technical write-up on digital versus flexo printing for custom food packaging is a useful read if your code will sit on cups, sleeves or boxes, since the printing process decides how small a module can safely be. Our own notes on QR codes for product packaging and the packaging FAQ cover press-side rules.
A pre-press checklist for the margin
Run through this before you send a file to the printer.
- Find the module size. Divide the printed width of the code by its number of modules.
- Multiply by 4. That is your minimum clear margin per side.
- Draw a guide box. In your layout software, draw a box around the code that extends by that margin on every side.
- Clear the box. No text, borders, patterns, fold lines or edges of the artboard inside it.
- Check the trim and fold. Cuts shift by a millimeter or two, so leave extra room beyond the minimum when the code sits near an edge.
- Flatten and export. Export at the final size and resolution, and do not rescale afterward.
- Test the proof. Scan it on several devices in realistic conditions.
If you are unsure how large the code should be, the print size chart and our article on scanning at 1.5 cm help you set the module size before you build the margin.
Examples by use case
Restaurant menus and table tents
A code on a table tent is typically scanned from arm's length, so modules can be a millimeter or larger. That makes the margin 4 mm or more per side. Place the code on a solid light block with at least that much space, and keep logos and prices outside it.
Packaging and labels
Space is tight and surfaces curve. Plan the code and its margin as one unit from the start of the dieline design, instead of fitting a code into leftover space. If the unit does not fit, shorten the link or move the code to a flatter panel.

Yard signs and window decals
Scanning distance is larger, so the code is bigger and the margin grows in step. The risk here is the background: window glass shows whatever is behind it. Put the code on an opaque light panel.
Invitations and business cards
Small formats tempt designers to push the code to the edge. Keep the margin and shorten the URL, since a shorter link produces fewer modules and a larger module size in the same space.
Our perspective
Most failed branded QR codes we hear about share a pattern: the code itself was fine, and the layout around it was the problem. A designer fits the code into a finished composition, the margin shrinks to fit, and nobody scans a physical proof until the run is printed.
That is why we built AriaQR around verification. Each code is tested on real decoders before download, and the print-ready master files come at high resolution so you are not rescaling a small preview. We think the margin should be treated as part of the code, planned into the layout from the first sketch, not added at the end. Any artistic code, ours included, should be judged by scans of a physical proof, not by how it looks on a monitor.
If a design only works when the margin is cut, change the design. A slightly smaller illustration costs less than a reprint.
— Tharun
Get a branded code you can trust on press
If you want a code that carries your artwork and has been checked for scanning before you pay for print, AriaQR can generate it from your image. A single code costs 7 USD one-off, and the Quarter plan is 70 USD per quarter for teams or higher volume; details are on the pricing page. For a plain black-and-white code, the free QR code generator is available. To see what is possible with artwork, try the artistic QR code generator.
FAQ
How big should the quiet zone be on a QR code?
For a standard QR code, at least 4 modules on each side, according to ISO/IEC 18004:2024. Multiply your module size by 4 for the physical size. Micro QR codes need at least 2 modules.
Can I put a logo or pattern in the quiet zone?
No. The quiet zone must stay clear of anything printed that could be mistaken for part of the code. Logos belong inside the code area only where the error correction and testing allow it, and patterns should sit outside the margin or behind a solid panel.
Does the quiet zone have to be white?
It has to be a plain, uniform field with enough contrast against the modules. White or a very light color behind dark modules is the most reliable choice. For inverted codes the margin takes the background color, but support among scanners is less consistent, so test on several devices.
Is the quiet zone included in the QR code size?
Usually it is not, so add it when you plan layout space. A code that measures 25 modules across needs 33 modules of space once the 4-module margin is added on both sides.
Why does my QR code scan on screen but not in print?
Print adds dot gain, glare and ink bleed, and layout work often trims the margin. Denso Wave's guidance supports checking the final print file rather than relying on a screen test. Scan a physical proof on more than one phone.
Sources
- ISO/IEC 18004:2024, QR code bar code symbology specification
- Point for determining the code area, Denso Wave
- Generating a QR Code, Denso Wave
- FAQ, Denso Wave
- Micro QR Code, Denso Wave
- Improving readability by modifying graphic QR code microstructure, Electronics Letters
- QR Codes on Dark Backgrounds, SmartyTags
- Digital vs Flexo Printing for Custom Food Packaging