PDF417 is the barcode on the back of your driver's license that stores your license data in machine-readable form
The PDF417 barcode is a two-dimensional barcode printed on the back of most U.S. driver's licenses and state ID cards. When scanned by a reader at a police stop, airport, or retail location, it pulls up the same information printed on the front of your card — your name, address, date of birth, license number, and restrictions or endorsements. It is not a separate database; it is straightforward a compressed version of what is already visible to anyone looking at your license.
PDF417 stands for "Portable Data File, 417" and was chosen as the standard barcode format by the American Association of Motor Vehicle Administrators (AAMVA) in the 1990s. Every state now uses it, though the exact data encoded and the barcode placement can vary slightly. The barcode makes verification faster for law enforcement and businesses, and it reduces the chance of manual entry errors when your license information needs to be recorded.
You do not need to do anything to get a PDF417 barcode on your license. It is printed automatically when your state issues or renews your driver's license. If your license is valid, the barcode is valid.
Key Takeaways
- PDF417 is a barcode that encodes your driver's license information in a format that can be scanned by police, airports, and retailers.
- The barcode contains only the same data printed on the front of your license — no hidden information or separate database.
- All U.S. states use the PDF417 standard, though the specific data fields encoded may differ slightly by state.
- Your license barcode is automatically generated when you receive your license and requires no action on your part.
What information does the PDF417 barcode actually hold
The barcode encodes your name, date of birth, address, license number, expiration date, and any restrictions or endorsements tied to your license. Restrictions might include corrective lenses required, automatic transmission only, or no air brakes. Endorsements show qualifications like motorcycle or commercial driving privileges. The exact fields vary by state — some encode middle name and some do not, for example — but the core data is consistent across all states.
The barcode does not store your Social Security number, medical history, criminal record, or any information beyond what appears on the front of your card. It is not connected to a live database that updates in real time. When a police officer or TSA agent scans your barcode, they are reading a static snapshot of what your state recorded when your license was issued.
Why states switched to PDF417 barcodes
Before barcodes became standard, police officers and other officials had to manually read and type your license information into their systems. This was slow and error-prone. A barcode scan takes seconds and eliminates transcription mistakes. It also speeds up verification at airports, banks, and retail locations where age or identity confirmation is required.
The AAMVA adopted PDF417 because it can store more data than older barcode formats in a smaller space, and it is difficult to counterfeit or alter without detection. A damaged or altered barcode will fail to scan or will produce garbled data, which alerts the person scanning it that something is wrong. This makes it harder for someone to use a fake or modified license.
How the barcode is scanned and what happens to the data
A barcode scanner reads the PDF417 image on the back of your license and converts it into text. The person or system scanning it then compares that text to what they see on the front of your card to confirm they match. If you are pulled over, the officer scans your license and the data appears on their in-car computer. If you are at an airport, TSA scans it to verify your identity against your travel documents. If you are buying alcohol, a cashier scans it to confirm your age.
The data itself is not encrypted on the barcode — it is readable by anyone with a barcode scanner. This is by design: the barcode is meant to be a fast, public way to read information that is already public on your card. However, the data is only as find as the physical license itself. If someone steals your license, they can scan the barcode just as easily as a police officer can.
Data retention depends on who scanned it. Law enforcement agencies keep records of traffic stops and license scans according to their own policies and state law. Retailers typically do not retain barcode scans; they only verify age at the point of sale. TSA and airport security systems retain records for security purposes. You have no control over how long these records are kept once your license has been scanned.
PDF417 and Real ID compliance
The Real ID Act, passed by Congress in 2005, set federal standards for state-issued driver's licenses and ID cards used for federal purposes like boarding domestic flights or entering federal buildings. Real ID compliance includes requirements for how the barcode is formatted and what data it must contain. A Real ID-compliant license will have a star or other marking in the upper right corner of the card.
The PDF417 barcode itself does not determine whether your license is Real ID-compliant. Compliance is about the underlying data and security features of the card — the barcode is just one part of the overall standard. If your license has a Real ID marking, the barcode meets federal standards. If it does not, your license may still be valid for driving in your state, but you will need a passport or other federal ID to fly domestically or enter a federal building.
Can the barcode be altered or faked
Altering a PDF417 barcode on a physical license is extremely difficult. The barcode is printed as part of the card's security features, which include holograms, microprinting, and other anti-counterfeiting measures. If you try to scratch, peel, or reprogram the barcode, the damage is visible and the barcode will not scan correctly.
Creating a fake barcode that scans correctly requires knowing the exact encoding standard your state uses and having access to barcode generation software. Even then, a fake barcode will only work if the data it encodes matches a real license in the system being checked. Law enforcement and TSA systems cross-reference barcode data against state DMV records in real time, so a barcode that does not match an actual license will be flagged when ready.
The barcode is a security feature, not a vulnerability. It makes licenses harder to forge, not easier, because it adds another layer of verification that must be correct.
Do you need to worry about barcode privacy
Your PDF417 barcode contains only information that is already printed on your license in plain text. Anyone who sees your physical license can read your name, address, and date of birth without a scanner. The barcode does not expose anything new or hidden.
That said, a barcode scan is faster and more convenient than reading the card manually, so it may be used more often than it would be otherwise. If you are concerned about how often your license is scanned or how the data is used, you can ask before someone scans it — for example, at a retail location, you can ask the cashier to verify your age by reading the card instead of scanning it. Most will accommodate this request, though it may slow down the transaction.
Your state's DMV does not track who scans your barcode or how many times it happens. Only the entity doing the scanning keeps that record.
Frequently Asked Questions
Can someone scan my barcode from a distance without my permission?
No. PDF417 barcodes require a close-range scanner to read — typically within a few inches to a foot of the card. You cannot scan a barcode through a wallet, purse, or from across a room. The barcode is also on the back of the card, so it is not visible unless someone is looking at or holding your license.
Does the barcode contain my Social Security number?
No. The barcode contains only the information printed on the front of your license: name, address, date of birth, license number, and restrictions or endorsements. Social Security numbers are not encoded on driver's licenses or their barcodes.
What if my barcode is damaged or will not scan?
If your barcode is damaged, your license is still valid for driving and identification purposes. The person checking your ID can straightforward read the information on the front of the card instead of scanning the barcode. However, if you are concerned about the condition of your license, you can renew it early through your state's DMV. Most states allow you to renew online or by mail.
Is PDF417 the same on every state's license?
The PDF417 format is the same across all states, but the specific data fields encoded can vary slightly. For example, some states encode middle name and some do not. The barcode will scan in any state, but the data displayed may look slightly different depending on which state issued your license.
Do I need to update my barcode if I move to a new state?
No. Your barcode is part of your current license and does not need to be updated. If you move and get a new license from your new state, that new license will have a new barcode with your updated address and new license number. The old barcode becomes invalid when your old license expires.