Aztec Code
Published by the QRinsec Editorial Team — practical documentation about QR codes, barcode standards, and QRinsec’s client-side tools. Content is reviewed against product testing and published technical documentation from sources such as GS1, Denso Wave, and ISO standards where applicable.
Have questions or corrections? Contact us.
Aztec Code is a 2D matrix barcode recognisable by the bullseye finder at its centre; it needs no surrounding quiet zone, so it fits in tight spaces.
Important Notice
Damage to the central bullseye finder pattern makes the entire symbol unreadable — unlike QR codes where partial corner damage is recoverable.
Important Notice
Aztec Code is not natively supported by all smartphone camera apps — users may need a dedicated scanning app outside of transport terminals.
Key Facts
- Type
- 2D matrix (concentric)
- Max Capacity
- 3,832 numeric / 1,914 bytes
- Error Correction
- 5%–95% selectable
- Quiet Zone
- None required
- Primary Use
- Rail / airline tickets
What is an Aztec Code barcode?
Aztec Code is a two-dimensional matrix barcode invented in 1995 by Andrew Longacre Jr. and Robert Hussey at Welch Allyn. Its defining characteristic is a concentric square 'bullseye' finder pattern at the centre — resembling an Aztec pyramid viewed from above, hence the name. Aztec Code is the official barcode standard for railway and airline tickets across Europe (IATA, ERA, UIC) and is used in Amtrak, Eurostar, Deutsche Bahn, and many national rail systems.
Symbol structure explained
An Aztec Code consists of:
- Bullseye finder: Concentric alternating rings at the centre used for orientation and module size calibration — no quiet zone required.
- Orientation patterns: Small L-shaped patterns at the four orientations indicating rotation.
- Mode message: Encodes symbol size and error correction level.
- Data layers: Concentric rings of data modules surrounding the finder, spiralling outward.
Capacity and error correction
Aztec Code supports up to 3,832 numeric characters, 3,067 alphanumeric characters, or 1,914 bytes per symbol. Error correction is user-selectable from 5% to 95% of the codewords. Railway and transport specifications typically mandate 23% error correction. The 'compact' variant (1–4 data layers, 15×15 to 27×27 modules) is used for small payloads; the 'full' variant supports up to 32 data layers (151×151 modules).
Aztec Code vs. QR Code vs. Data Matrix
Aztec Code's key advantage over QR Code and Data Matrix is its zero quiet zone requirement — the bullseye finder provides all necessary orientation information, allowing the symbol to be printed edge-to-edge. This makes it ideal for thermal-printed tickets where every millimetre counts. QR Code requires a 4-module quiet zone; Data Matrix requires 1 module.
| Feature | Aztec Code | QR Code | Data Matrix |
|---|---|---|---|
| Quiet Zone | None required | 4 modules | 1 module |
| Max Numeric | 3,832 digits | 7,089 digits | 3,116 bytes |
| Finder Location | Centre (bullseye) | 3 corners | L-border edge |
| Primary Use | Transport tickets | Consumer / marketing | Pharma / electronics |
When to use Aztec Code
Aztec Code is required or preferred in:
- Rail tickets (ERA TAP TSI, UIC 918-3 standard).
- Airline boarding passes where space is constrained.
- Any ticket or transit application using thermal kiosk printers.
- Applications where zero quiet zone is operationally required.
For general consumer applications, QR Code remains more universally supported.
Printing requirements
No quiet zone required (unique advantage). Minimum X-dimension: 0.33 mm for handheld scanners; 0.5 mm recommended for thermal ticket printers. Aspect ratio: always square. Colour: dark modules on light background. For transport applications, follow the specific ERA or IATA barcode specification for minimum symbol size and error correction level.
Common scanning failures
Damage to the central bullseye finder pattern prevents all decoding — unlike QR codes where corner finder patterns can be partially damaged. Printing with insufficient ink coverage on the concentric rings, or paper jams that smear the centre, are the primary Aztec failure modes on thermal printers.
Frequently Asked Questions
Why is Aztec Code used for train tickets instead of QR codes?
Aztec Code requires no quiet zone, allowing more of the small thermal-printed ticket surface to carry the barcode. It was also adopted by European rail standards (UIC, ERA) before QR codes became ubiquitous, and the infrastructure investment in fixed Aztec scanners makes migration costly.
Can smartphones scan Aztec Code?
iOS 11+ and most Android camera apps support Aztec Code natively. However, coverage is less universal than QR — some devices may require a dedicated barcode scanning app.
Does Aztec Code really need no quiet zone?
Correct. The concentric bullseye finder at the centre provides all orientation and calibration information. The symbol can be printed with content touching the border — a unique advantage over QR and Data Matrix.
What is the difference between compact and full Aztec Code?
Compact Aztec uses 1–4 data layers (15×15 to 27×27 modules) for small payloads. Full Aztec uses 1–32 data layers (up to 151×151 modules) for larger payloads. Most transport tickets use compact Aztec.
What error correction level should I use for Aztec Code?
A minimum of 23% error correction is recommended for transport applications per ERA specifications. For general use, 25% (approximately Level M equivalent) provides a good balance between data capacity and damage resilience.
References
Need to create a Aztec Code barcode?
Generate high-quality, scannable Aztec Code barcodes for free with our advanced barcode generator. Download in vector SVG or PNG format.
Create Aztec Code Barcode Now