Skip to content

QR Code Error Correction Levels Explained: L, M, Q, H Guide (2026)

Ahmad Tayyem
Founder & QR Code Technology Specialist
· 8 min read
QR Code Error Correction Levels Explained: L, M, Q, H Guide (2026)

Key Takeaway

Understand QR code error correction levels (L, M, Q, H) — how they work, which to use for logos and print, and how Reed-Solomon encoding keeps codes scannable.

QR code error correction is a built-in technology that allows QR codes to remain scannable even when part of the code is damaged, dirty, or obscured. This is one of the key reasons QR codes are so reliable — they can lose a significant portion of their data and still work.

The technology was developed by DENSO WAVE when they invented QR codes in 1994. It uses Reed-Solomon error correction, the same mathematical algorithm used in CDs, DVDs, and satellite communications. The algorithm adds redundant data to the QR code so that a scanner can reconstruct the original information even if some modules are unreadable.

Every QR code has one of four error correction levels, and choosing the right level affects both the reliability and the data capacity of your code.

The ISO/IEC 18004 standard defines four error correction levels for QR codes:

LevelNameData RecoveryUse Case
LLow~7% of data recoverableClean digital displays, screens
MMedium~15% of data recoverableGeneral purpose (default)
QQuartile~25% of data recoverableIndustrial, outdoor signage
HHigh~30% of data recoverableHarsh environments, logo overlay

Level M (15%) is the most commonly used default. It balances reliability with data density for most everyday applications. Level H is essential when you want to add a logo in the center of the QR code, because the logo effectively damages up to 30% of the code area.

Without getting too deep into mathematics, here is how QR code error correction works in simple terms:

  1. Data encoding: Your URL, text, or data is converted into a binary sequence of 1s and 0s
  2. Redundancy addition: The Reed-Solomon algorithm calculates additional "error correction codewords" and appends them to the data. The higher the error correction level, the more redundant data is added
  3. Module placement: Both the original data and the error correction codewords are placed as dark/light modules (squares) in the QR code grid
  4. Scanning and recovery: When a scanner reads the QR code, it checks for errors. If modules are missing or damaged, the algorithm uses the redundant codewords to reconstruct the original data

Think of it like sending a message with extra copies of key words. If some words get smudged, the reader can fill in the blanks from the copies.

There is a direct trade-off between error correction level and QR code density:

  • Higher error correction = more modules = larger or denser code
  • Lower error correction = fewer modules = smaller or simpler code

For the same data content, a QR code with Level H error correction will have roughly 65% more modules than one with Level L. This means:

  • The code needs to be printed larger for reliable scanning
  • Or each module becomes smaller, requiring a higher-quality printer and camera

This is why choosing the right level matters. Using Level H when Level M would suffice wastes space and makes the code harder to scan at small sizes. See our QR Code Size Guide for specific minimum dimensions.

Choose based on where your QR code will be used:

ScenarioRecommended LevelWhy
Digital screen/displayL (Low)No physical damage risk, smallest code size
Business cards, flyersM (Medium)Standard handling, good balance
Product packagingM or QMay get scuffed during shipping
QR code with logo overlayH (High)Logo covers ~7-10% of the code
Outdoor signageQ or HWeather, dirt, and UV exposure
Industrial/warehouseH (High)Harsh conditions, dust, moisture
StickersQ (Quartile)May peel, scratch, or fade

When using QR codes with logos, always use Level H. The logo effectively destroys a portion of the code, and Level H ensures the code remains scannable despite this intentional damage.

How to Choose and Set Error Correction Level

1

Assess your environment

Where will the QR code be displayed? Indoor/clean environments can use Level L or M. Outdoor, industrial, or high-wear environments need Q or H.

2

Check if you are adding a logo

If you plan to overlay a logo on the QR code center, you must use Level H (30% recovery). The logo typically covers 7-10% of the code area. Level M would not survive this.

3

Consider the data size

Longer URLs or more data require more modules. Higher error correction adds even more. If your QR code is getting too dense, shorten the URL (use a dynamic QR code) or reduce the error correction level.

4

Test before mass production

Print a sample QR code and scan it from the expected distance, in the expected lighting, with multiple phone models. If it scans reliably, your error correction level is appropriate.

Error correction is what makes creative QR code design possible. Without it, any modification to the standard black-and-white grid would break the code. With Level H error correction, you can:

  • Add logos: Place a small image in the center covering up to ~10% of the code
  • Use custom colors: As long as there is sufficient contrast between foreground and background
  • Use rounded dots: The shape of individual modules can be changed without affecting scannability
  • Add gradient effects: Subtle gradients work if contrast is maintained

The key rule: high error correction enables more creative freedom, but always test the final design before printing. Creative designs that reduce contrast or obscure too many modules will still fail.

Avoid these pitfalls that cause QR codes to become unscannable:

  • Using Level L with a logo: Level L can only recover 7% of data — a centered logo destroys more than that
  • Ignoring the quiet zone: The white border around a QR code is not optional. Without it, scanners cannot detect the code boundaries
  • Low contrast with Level L: Light gray on white might scan with Level H but will fail with Level L
  • Printing too small: High error correction adds more modules. If you then print the code too small, individual modules become unresolvable by cameras
  • Compressing as JPG: JPEG compression blurs module edges. Always use PNG or SVG for QR codes

If your QR code is not scanning, check our 12 Common Fixes guide.

Frequently Asked Questions

What is QR code error correction?

Error correction is a built-in feature of QR codes that allows them to remain scannable even when part of the code is damaged, dirty, or obscured. It uses Reed-Solomon encoding to add redundant data, enabling recovery of 7% to 30% of the code depending on the level chosen.

What are the four error correction levels?

Level L (Low, ~7% recovery), Level M (Medium, ~15%), Level Q (Quartile, ~25%), and Level H (High, ~30%). Level M is the most common default. Level H is required when adding a logo overlay.

Which error correction level should I use for a logo QR code?

Always use Level H (High) when adding a logo to your QR code. A centered logo typically covers 7-10% of the code area. Level H can recover up to 30% of data, providing enough margin for the logo plus any additional wear or damage.

Does higher error correction make a QR code bigger?

Yes. Higher error correction adds more redundant data modules. A Level H code has roughly 65% more modules than a Level L code for the same data. This means the code is denser and needs to be printed larger for reliable scanning.

What is Reed-Solomon error correction?

Reed-Solomon is a mathematical algorithm that creates redundant data from the original data. If some of the data is lost, the algorithm can reconstruct it from the redundant portion. It is used in QR codes, CDs, DVDs, satellite communications, and data storage systems.

Can a damaged QR code still work?

Yes, thanks to error correction. A QR code with Level H can lose up to 30% of its modules and still be scannable. This means scratches, dirt, partial tears, or even intentional design elements like logos will not prevent scanning.

What is the default error correction level?

Most QR code generators use Level M (Medium, ~15% recovery) as the default. This provides a good balance between reliability and code size for standard use cases like business cards, flyers, and digital displays.

Does error correction level affect scan speed?

Negligibly. Modern smartphone cameras decode QR codes in milliseconds regardless of the error correction level. The difference is in reliability — higher levels are more likely to scan on the first attempt in challenging conditions.

Why does my QR code with a logo not scan?

The logo may be too large (covering more than 10% of the code), the error correction level may be too low (use Level H), or the logo may obscure critical alignment patterns. Reduce the logo size or increase the error correction level.

Can I change the error correction level after creating a QR code?

No. The error correction level is embedded in the QR code during generation. To change it, you must regenerate the QR code. With a dynamic QR code, the visual code changes but the destination URL stays the same.

Is Level H always the best choice?

No. Level H creates the densest, largest codes. For clean digital displays or short URLs on high-quality prints, Level L or M produces a simpler, easier-to-scan code. Use Level H only when you need the extra reliability (harsh environments, logo overlay).

How do I test if my error correction level is sufficient?

Print a test QR code and scan it from the expected distance with 3-5 different phones. Try covering parts of the code with your finger to simulate damage. If it still scans, your error correction level is adequate.

Enjoyed this article? Share it!

Ready to Create Your Own QR Codes?

Start for free and upgrade as you grow. All plans include dynamic QR codes, analytics, and custom branding.

All plans include Unlimited Static QR Codes 47 QR Code Types Unbranded QR Codes Email Support
Starter
For personal projects
Free
No card required
  • 3 Dynamic QR Codes Editable QR codes — change the destination URL anytime
  • Unlimited Scans All plans include unlimited scans — no caps, no throttling
  • 30-Day Analytics View scan data from the last 30 days
  • AI Insights AI-generated plain-language summaries of your scan performance with key trends and takeaways.
  • 1 Folder Organize your QR codes into a folder
  • JPG, PNG, WEBP Downloads
  • Pause & Activate QR Codes Pause QR codes to stop scans, reactivate anytime within your plan limit
Starter+
For frequent personal use
$5.83 /mo
$70 billed yearly
  • 15 Dynamic QR Codes
  • Unlimited Scans
  • 30-Day Analytics
  • AI Insights AI-generated plain-language summaries of your scan performance with key trends and takeaways.
  • Custom Logo Upload
  • SVG / PDF Downloads
  • 3 Folders
  • 5 MB PDF Upload
  • JPG, PNG, WEBP Downloads
Most Popular
Pro
Best for marketers
Everything you need for QR campaigns
$11.67 /mo
$140 billed yearly
  • 50 Dynamic QR Codes
  • Unlimited Scans
  • 60-Day Analytics Upgraded from 30 days
  • AI Insights (Advanced) Adds deeper AI analysis including anomalies, trends, and actionable recommendations.
  • Password Protected QRs Require a password before showing QR content
  • Smart Redirect Rules Redirect by device, country, or time
  • Access Consent Screens Age verification, terms, disclaimers
  • Expiry Rules Auto-expire by date or scan count
  • QR Scheduling Set start/end times for QR activity
  • 5 Folders
  • 10 MB PDF Upload
Business
For teams & agencies
$24.17 /mo
$290 billed yearly
  • 250 Dynamic QR Codes
  • Unlimited Scans
  • 90-Day Analytics Upgraded from 60 days
  • AI Insights (Advanced) Adds deeper AI analysis including anomalies, trends, and actionable recommendations.
  • Bulk QR (100/batch)
  • Team Management (3 Members) Invite team members to collaborate on QR codes, analytics, and folders
  • Lead Capture Forms Collect leads directly from QR code scans
  • 25 Folders
  • 20 MB PDF Upload
  • CSV Report Export
Enterprise
For large organizations
$82.50 /mo
$990 billed yearly
  • 1,000 Dynamic QR Codes
  • Unlimited Scans
  • AI Insights (Advanced) Adds deeper AI analysis including anomalies, trends, and actionable recommendations.
  • Bulk QR (500/batch)
  • Retargeting Pixels Add Facebook, Google, GTM tracking pixels to QR landing pages
  • Team Management (10 Members) Invite up to 10 team members with role-based access control
  • White Label Domains Use your own domain for QR redirects (e.g. qr.yourbrand.com)
  • 100 Folders
  • 50 MB PDF Upload
  • Dedicated Success Manager

Free forever on Starter. Try Pro free for 14 days — no credit card needed.

Why businesses choose QRLynx

Features most competitors charge extra for — included in every plan

47
QR Code Types
URL, WiFi, vCard, PDF & more
Bio Pages
Built-in Landing Pages
No Linktree needed
Unbranded
No Watermark on Free
Even on the Starter plan
Unlimited
Scans on All Plans
Free and paid — no caps ever
275+
Edge Locations
Sub-50ms redirects globally
Lead Forms
Capture Contacts
Built-in lead gen from scans
Smart Rules
Conditional Redirects
By device, location, or time
PDF QR
Upload & Share PDFs
Menus, flyers, documents

Ready to Transform Your QR Code Experience?

Join thousands of businesses already using QRLynx to create, customize, and track their QR codes with ease.

Talk to Sales
No credit card
Free forever
Cancel anytime