What's on the back of a driver's license
The barcode is a PDF417: a rectangular 2D barcode made of many stacked rows of tiny bars. Unlike the barcode on a cereal box, it holds whole sentences of text, so the main details printed on the front of the license fit inside it.
Every US state uses the same national format, and the federal REAL ID rule requires it on every compliant license and ID card. That's why one scanner, or one phone app, can read a license from any state.
What the barcode holds
Required on every REAL ID license
- Full legal name
- Date of birth
- Sex
- Address
- License or ID number
- Expiration date
- Date it was issued
- State that issued it
- Card design revision date
- Inventory control number
Usually there too
- Height and eye color
- License class
- Restrictions and endorsements
Not in the barcode
- The photo. The barcode holds text only, so matching the face is always done by eye.
What a scan can tell you
- The birth date, and the exact age today, without doing the math
- Whether the license has expired
- Whether the barcode follows the official format. A barcode that doesn't is a red flag.
- The encoded details, to compare with the front. A name or birth date that differs from the printed one means trouble.
What a scan can't tell you
- Whether the ID is real. The barcode isn't digitally signed, so a well-made fake can carry one that scans normally.
- Whether the person is the owner. Only the photo, and your eyes, can tell.
- Whether it was reported lost or stolen. That needs an official database, not the card.
The barcode holds personal data
Anyone who scans a license can read the holder's name, address, birth date and license number. Some states limit what businesses may do with that. California, for example, lets a business scan a license only for listed purposes, such as checking age or that the ID is genuine, and bars it from keeping or using the data for anything else.
Other states have their own rules, so check yours before you store anything from a scan.
Can you scan a license with your phone?
Yes. A phone camera reads the barcode just as well as a handheld scanner, with the right app. ID Scanner reads it on the phone and keeps only the verdict, the age and the time of each check: never the name, address or license number.
For the full door routine, see how to tell if an ID is fake.
Scan the barcode, get the answer
ID Scanner reads the barcode on the back of a US driver's license and turns the screen green for PASS or red for UNDER 21, with the age in big numbers. It flags expired licenses and barcodes in the wrong format, works offline, and stores no names. Free for iPhone and Android.

Questions
What is the barcode on the back of a driver's license?
It's a PDF417 barcode: a rectangular 2D barcode made of stacked rows of tiny bars. It stores the main details printed on the front of the license in a form a scanner can read, and every US state uses the same format.
What information is stored in a driver's license barcode?
Under the federal REAL ID rule, it must hold at least the full legal name, date of birth, sex, address, license number, expiration date, issue date, the state that issued it, and two card control fields. Most states also store details like height, eye color and license class.
Does the barcode contain my photo?
No. The barcode holds text only. The photo is printed on the card, so checking that the person matches the ID is always done by eye.
Can a scanner tell if a driver's license is fake?
Not on its own. A scan shows whether the barcode can be read and follows the official format, and it reads the birth and expiry dates. The barcode isn't digitally signed, so a well-made fake can carry a barcode that scans normally. Compare the scanned details with the front of the card and check the photo.
Can you scan a driver's license with your phone?
Yes. A phone camera can read the barcode with an ID scanning app. ID Scanner, for example, reads it on the phone and shows the age and expiry status in under a second, with no extra hardware.
Is it legal for a business to scan my license?
It depends on the state. California, for example, lets businesses scan a license only for listed purposes, such as checking age or that the ID is genuine, and bars them from keeping or using the data for anything else. Ask the business what it stores if you're unsure.
The required details come from the federal REAL ID rule on machine-readable technology (6 CFR 37.19). The California rules are in California Civil Code section 1798.90.1. This page is general information, not legal advice.

