MRZ stands for Machine Readable Zone, the two or three lines of letters, numbers, and chevrons (the << symbols) printed at the bottom of your passport or ID card. It’s a standardized strip of text designed to be scanned by optical character recognition (OCR) systems at border crossings, airports, and identity checkpoints. Every passport, visa, and national ID card issued worldwide follows the same MRZ format, set by the International Civil Aviation Organization (ICAO) in its Doc 9303 specification.
What Information the MRZ Contains
The MRZ packs your key identity and document details into a compact, machine-scannable format. It includes your surname and given names, date of birth, nationality, document number, expiration date, the country that issued the document, and your sex. Each of these fields sits in a fixed position within the zone so that scanners worldwide know exactly where to look for each piece of data.
Most of this information also appears in the Visual Inspection Zone (VIZ), the human-readable part of your document with your printed name, photo, and any security features like holograms. The one thing unique to the MRZ is its check digit system: single-digit numbers embedded throughout the lines that act as a mathematical error check. These digits let a scanner instantly verify that the data hasn’t been altered or misread, something the printed text on the front of your document can’t do on its own.
The Three MRZ Formats
Not every document uses the same layout. ICAO defines three standard sizes, each with its own MRZ structure:
- TD3 (passports): The format you’ll find in nearly every passport worldwide. It uses two lines of 44 characters each, printed at the bottom of the data page.
- TD2 (larger ID cards): Used on some national ID cards and official travel documents measuring about 74 × 105 mm. It also has a two-line MRZ, but each line is 36 characters. The MRZ sits on the front side alongside the photo and printed details.
- TD1 (credit card-sized IDs): The most common format for national ID cards, at 85.6 × 54 mm. It uses three lines of 30 characters each. Uniquely, the MRZ is printed on the back of the card while the photo and personal details are on the front, meaning a full inspection requires flipping the document over.
How Check Digits Work
Scattered through the MRZ lines are single digits that don’t represent any personal information. These are check digits, and they exist purely for validation. When a scanner reads your passport number, for example, it runs a quick calculation on those characters and compares the result to the check digit that follows. If they don’t match, the system flags a potential error or tampering.
The math behind it uses a repeating weight pattern of 7, 3, 1. Each character in a data field is converted to a number (digits keep their face value, letters A through Z become 10 through 35, and the filler character < counts as zero). The scanner multiplies each value by the next weight in the 7-3-1 cycle, adds all the products together, then divides by 10. The remainder is the check digit. This approach catches the most common types of errors: single misread characters, transposed digits, and intentional alterations.
Your passport typically has five individual check digits (covering the document number, date of birth, expiration date, optional data, and a composite check over all of them combined), making it extremely difficult for a forged or altered document to pass machine validation.
The MRZ’s Role in Biometric Passports
If your passport has a small gold chip symbol on the cover, it’s an e-passport with an embedded RFID chip storing your biometric data, typically a digital photo and sometimes fingerprints. The MRZ plays a critical security role here: it generates the access key that unlocks the chip. A border agent’s scanner first reads your MRZ optically, derives a cryptographic key from specific fields (your passport number, date of birth, and expiration date), and only then can communicate with the chip. If the MRZ data is incorrect or has been tampered with, the chip simply cannot be accessed.
This design is intentional. It means no one can wirelessly skim your passport chip without first having physical, visual access to the MRZ on the open document. The printed text on the page and the digital data on the chip are cryptographically linked.
Why the MRZ Matters at Borders
Before machine-readable travel documents existed, every passport check relied on a human officer reading printed text and manually typing details into a system. The MRZ replaced that process with a single swipe or scan that takes a few seconds, simultaneously pulling your identity data and verifying its integrity through check digits.
For travelers, the practical takeaway is straightforward: keep your MRZ clean and undamaged. Stickers, stamps, dirt, or wear on those bottom lines can prevent scanners from reading your document, causing delays at automated gates and border checkpoints. When filling out visa applications or airline forms that ask for “MRZ data,” they’re asking you to transcribe the information from those specific lines, not from the printed text above them. Small differences sometimes exist between the two zones (name truncation is common in the MRZ due to character limits), so using the correct zone matters for matching records.

