The PDF417 Barcode on a Driver's License
Flip any US driver's license over and you will see a dense rectangle of stacked horizontal bars. That is a PDF417 barcode, and it is the part of the card a scanner actually reads. It is not a random pattern. It encodes a defined list of identity fields in an order and format that every US jurisdiction agrees on, which is exactly why a mismatched barcode is one of the clearest signs a card is fake.
This guide has PDF417 explained from the ground up: the standard that defines the encoded fields, what those fields contain, and how the data is checked at the door. For how this fits into the broader scan, see whether fake IDs scan, and for the wider picture, the ID verification hub.
What PDF417 Is
PDF417 is a stacked, two dimensional barcode format. Unlike a simple retail barcode that stores a single product number, PDF417 packs hundreds of characters of text into a small area by stacking many rows of code. It also carries error correction, so a scuffed or partly worn card can still decode correctly.
US states settled on PDF417 for the back of the driver's license because it can hold a full identity record in a space the size of a postage stamp and be read by inexpensive hardware. That standardization is what lets a scanner in one state read a license issued in another.
The AAMVA Standard Behind It
The contents of that barcode are not left to each state to invent. The American Association of Motor Vehicle Administrators publishes the DL/ID Card Design Standard that defines exactly which fields appear, how each is labeled, and the order they follow. The current specification is available from the AAMVA design standard page.
Because the standard is public and consistent, a verification system knows precisely what a valid barcode should look like. A card whose barcode omits a mandatory element or uses the wrong element identifier does not match the specification, and that is detectable without any database lookup.
What the Barcode Encodes
The PDF417 record stores the same identity data printed on the front of the card, structured into labeled fields. Typical elements include:
- Full name (family, first, and middle name fields)
- Date of birth and document expiration date
- Issue date and the issuing jurisdiction
- Driver license or ID document number
- Address, sex, height, and eye color
- Document discriminator, a value that uniquely tags that specific card
The key point is that all of this is supposed to mirror the printed front exactly. The front and the encoded back are two copies of one identity record, and they are meant to agree.
Why Mismatched Barcodes Get Fakes Caught
A scanner decodes the barcode and compares the result against both the AAMVA format and, often, the printed front. A fake gives itself away in several ways: the barcode is blank or unreadable, the decoded birthdate does not match the printed one, a required field is missing, or the data uses the wrong identifier and fails to parse. Any of these resolves in about a second.
This is why cards that look flawless to the eye still fail. The visible front can be near perfect while the encoded back is empty or wrong. For the manual inspection that runs alongside the scan, see how to spot fake IDs by hand and the security features found on real cards.
What the Barcode Cannot Confirm
A correctly formatted barcode proves the data is well structured. It does not prove the card was issued by a real DMV or that the holder is the owner. That is the gap a cryptographically signed mobile credential is designed to close; see how mobile driver's licenses work. The physical card remains a printed copy of data, and a copy of data can be reproduced, which is why human verification still matters at the door.
Frequently Asked Questions
What does PDF417 stand for?
It refers to the structure of the symbol, which uses a pattern of bars and spaces grouped into codewords. It is a stacked two dimensional barcode format chosen for the back of US driver's licenses because it stores a lot of text in a small area.
Who decides what goes in the barcode?
The American Association of Motor Vehicle Administrators publishes the DL/ID Card Design Standard that defines the fields, their labels, and their order. States follow that AAMVA specification so cards are readable across jurisdictions.
Does the barcode match the front of the card?
It is supposed to. The PDF417 record is meant to be an exact encoded copy of the printed identity data. A mismatch between the decoded barcode and the printed front is a strong sign of a fake.
Can a scanner read the barcode without the internet?
Yes. Decoding the PDF417 barcode is a local operation that reads the data stored on the card. A standard reader checks the format and age without querying any government database.
What is the document discriminator?
It is a value encoded in the barcode that uniquely identifies one specific card, distinguishing it even from a reissued license with the same license number. It is one of the fields defined by the AAMVA standard.
Why do some fakes have a blank or unreadable barcode?
Encoding a valid PDF417 record correctly is harder than printing a convincing front. Cheaper fakes often leave the barcode blank, copy a template, or fill it with data that fails to parse, which a reader flags immediately.