The quiet zone in one sentence
The QR code quiet zone is the blank margin that must surround all four sides of a QR code. Under ISO/IEC 18004 (current edition: 2024) it must be at least 4 modules wide, where a module is one of the small squares in the code. Without it, a phone camera cannot tell where the code ends and the surrounding artwork begins. Micro QR codes need only 2 modules.
Graphic designers run into this all the time: a nicely styled QR code, placed inside a tight magazine ad or packaging layout, refuses to scan. You check the URL and the contrast, and the camera app still ignores it.
When the link and contrast are fine, the most likely cause is a squeezed quiet zone. It is also one of the easiest problems to fix before print, once you know how to measure it.
How Camera Sensors Use the Quiet Zone to Locate Barcodes
When you point a phone camera at printed material, the scanner first looks for three nested squares in the corners: the finder patterns. It cannot read a single bit of data until it has found all three.
To confirm a finder pattern, the scanner looks for a precise dark-light-dark-light-dark ratio of 1:1:3:1:1 along a line through the square. The light margin outside the square is part of that signature. If decorative text, a brand border or an adjacent photo comes right up to the corner squares:
- Neighbouring dark pixels distort the ratio.
- The scanner fails its first boundary-detection check.
- Decoding never starts, so the camera behaves as if there were no code at all.
This is also why error correction cannot rescue you. Levels L, M, Q and H repair damaged data modules once the code has been located. They cannot recover a finder pattern the scanner never found.
Calculating Your Exact Quiet Zone Width in Millimetres
The quiet zone is measured in modules, so its physical size depends on two things: how many modules wide your code is (its version) and how large you print it.
The formula
- Module size = printed code width ÷ number of modules
- Quiet zone per side = module size × 4
- Total space to reserve = code width + 2 × quiet zone
Worked example: Version 2 dynamic QR
- A Version 2 QR code is 25 × 25 modules. Short links, like the ones dynamic QR codes use, usually encode as Version 2 or 3.
- Printed at 25 mm wide, each module is 25 ÷ 25 = 1.0 mm.
- A 4-module quiet zone needs at least 4.0 mm of clean margin on every side.
- Total artwork width including the quiet zone: 25 + 4 + 4 = 33 mm.
Version numbers map to module counts by a simple rule: modules = 17 + 4 × version. Version 1 is 21 modules, Version 3 is 29 and Version 4 is 33. If you are unsure which version you have, count the modules along one edge, or use the method in the next section.
Quiet zone size chart for print
| Printed code width | Version 2 (25 modules): quiet zone / total | Version 3 (29 modules): quiet zone / total |
|---|---|---|
| 20 mm (business card) | 3.2 mm / 26.4 mm | 2.8 mm / 25.5 mm |
| 25 mm | 4.0 mm / 33 mm | 3.5 mm / 31.9 mm |
| 30 mm (flyer, label) | 4.8 mm / 39.6 mm | 4.1 mm / 38.3 mm |
| 40 mm (table tent) | 6.4 mm / 52.8 mm | 5.5 mm / 51 mm |
| 50 mm (poster at arm's length) | 8.0 mm / 66 mm | 6.9 mm / 63.8 mm |
| 100 mm (window, sign) | 16 mm / 132 mm | 13.8 mm / 127.6 mm |
Shortcut: for a Version 2 code, reserve about 1.32× the code width; for Version 3, about 1.28×. To pick the code width itself from viewing distance, use the QR code size calculator or our guide on how large a QR code should be.
Quiet zone in pixels (screens, slides, websites)
The same rule applies on screen. A Version 2 code displayed at 300 px has 12 px modules, so it needs a 48 px quiet zone and a 396 px bounding box. At 200 px, use 32 px per side (264 px total). Round up rather than down, and remember that video and social platforms may compress or crop the edges.
How to Check the Quiet Zone of an Existing QR Code
You do not need to know the version to check a file someone sent you. Use the corner squares as a built-in ruler.
The half-a-corner-square rule
Every finder pattern is exactly 7 modules wide in every QR version. A 4-module quiet zone is therefore a little more than half the width of one corner square. If the blank margin on any side looks narrower than half a corner square, it is too small.
For a precise check:
- Zoom in on the artwork in Illustrator, Figma, InDesign or Canva.
- Measure one corner square and divide by 7. That is your module size.
- Measure the blank space from the outer edge of the corner square to the nearest text, frame, photo or trim line. Do this on all four sides.
- Each side should be at least 4 × the module size.
Also check what your export actually contains. HoldQR exports include a 4-module quiet zone by default, and the Design Studio flags layouts where the code sits on a coloured background with no clear margin. Other tools vary: Apple's built-in CIQRCodeGenerator, used by many iOS apps, adds only about one module of margin by default. If you are not sure, measure.
Quiet Zone Colour, Tints and Dark Backgrounds
“Blank” does not have to mean pure white, but it does have to mean plain, light and uniform, and the same tone as the light modules inside the code.
- White: always safe.
- Very pale tints (cream, light grey, pale brand colours): usually fine if contrast with the dark modules stays high. Check them with the QR contrast checker.
- Gradients, photos and textures: do not count. The scanner sees noise, not a margin.
- Dark backgrounds (for example a matte black business card): place the code inside a white or light panel that includes the full 4-module quiet zone.
Inverted codes (light modules on a dark background) are allowed by the current standard, and recent iPhones and many Android camera apps read them. Support still varies across older phones and third-party scanner apps, so treat inverted codes as a design risk and test on several devices before a large print run.
Six Common Quiet Zone Violations to Avoid
- Cropping too tight. The code is exported without its white border, or trimmed to “tidy” it, then dropped straight onto a coloured background or photo.
- Frames drawn inside the margin. A “Scan me” badge or rounded border whose inner edge sits 1 mm from the corner squares. Move the frame outward so its inner edge is beyond the quiet zone.
- Text encroachment. Call-to-action text or a URL squeezed in just above or below the code. Treat the quiet zone as part of the code's footprint when setting type.
- Resizing that crops in design tools. In Canva or Figma, dragging the image beyond its frame, or using “fill” instead of “fit”, can push the margin out of view. Always scale proportionally.
- Transparent PNGs. A transparent export takes on whatever colour sits behind it. On a dark web page or video frame, the quiet zone disappears. Export with a solid light background, or see our note on transparent QR codes for video.
- Codes placed on dark or busy surfaces. Black cards, patterned packaging and photos behind the code. Give the code its own light panel.
Already printed with a crowded margin? If you used a dynamic QR code, you can usually print a corrected sticker for the same code without changing where it points. See what to do when a printed QR code fails.
Quiet Zone by Medium
Four modules is the minimum everywhere. Where you cannot control the surroundings, such as a screen share or a cropped social post, a little extra margin is cheap insurance.
| Medium | Main risk | What to do |
|---|---|---|
| Business cards | Tight space, dark card stock | Reserve a light square about 1.3× the code width; never run the code to the trim edge. |
| Product packaging | Regulatory text, curved surfaces, patterns | Lock a no-text zone early in the dieline. See QR codes on packaging. |
| Posters and signs | Photo backgrounds, frames | Put the code on a solid panel; scale the quiet zone with the code. |
| Slides and webinars | Template backgrounds, video compression | White panel behind the code, 5–6 modules of margin. See QR codes for presentations. |
| Video overlays | Moving footage behind a transparent code | Bake a solid light backing into the overlay; never rely on transparency. |
Quiet Zones in Other Barcodes
If you work with packaging or labels, you may see different margin rules side by side. The figures below are each symbology's minimum, where X is the narrowest bar or smallest module.
| Symbology | Minimum quiet zone |
|---|---|
| QR code | 4X on all four sides |
| Micro QR | 2X on all four sides |
| Data Matrix | 1X on all four sides |
| EAN-13 (retail barcode) | 11X left, 7X right |
QR codes need the widest margin of the common 2D formats because their finder patterns sit right at the corners. Do not borrow a smaller margin from another barcode type.
Pre-Flight Verification
Every QR code from the HoldQR free generator and the Design Studio includes an ISO-compliant 4-module quiet zone. Before you send artwork to print:
- Margin on every side is at least half a corner square wide.
- No text, frame, photo or trim line inside that margin.
- Margin is plain and light, the same tone as the light modules.
- Exported file has a solid background, not transparency.
- Test-scanned at final size, on the real material, with at least two phones.
For the full checklist, see how to test a QR code before printing. If the margin is fine and the code still fails, work through why a QR code is not scanning.
Frequently Asked Questions
What is the minimum quiet zone for a QR code?
Four modules on every side, per ISO/IEC 18004. A module is one small square of the code, so if each module prints at 1 mm, you need at least 4 mm of blank margin on the top, bottom, left and right. Micro QR codes are the exception: they need only 2 modules.
Can I put text, a logo or a frame inside the quiet zone?
No. Anything printed inside those 4 modules, including a "Scan me" label, a thin border or the edge of a photo, can stop the scanner from finding the corner squares. Put text and frames outside the quiet zone. Logos belong in the centre of the code, protected by error correction, not in the margin.
Does the quiet zone have to be white?
It has to be light and plain, and the same colour as the light modules of the code. White is safest. Very pale tints work if contrast stays high. Gradients, photos, textures and dark colours do not count as a quiet zone.
Why does my QR code scan without a quiet zone sometimes?
Modern phone scanners are forgiving in good conditions: bright light, a flat surface, the camera held square-on. The same code fails at an angle, in dim light, on older phones or on curved packaging. A code that only scans sometimes will fail for a share of real customers.
Is the quiet zone the same as print bleed or a safe margin?
No. Bleed (typically 3 mm) is extra artwork beyond the trim line, and the safe margin keeps content away from where the paper is cut. The quiet zone belongs to the QR code itself. It must stay blank whether or not the code sits near a trim edge.
Is the quiet zone included in the QR code size?
Usually not. When people say a QR code is 25 mm wide, they normally mean the dark pattern only. Add 8 modules (4 per side) to get the total space you must reserve in the layout. Check whether your exported file already includes the margin before you resize it.
Conclusion
The quiet zone is part of the QR code, not decoration around it. Reserve 4 modules of plain, light space on every side, which is about half a corner square, and keep frames, text and photos outside it. Measure once before print, and you remove one of the most common reasons a well-designed code fails to scan.