Your driver's license barcode holds your personal and driving record in machine-readable form

The barcode on your driver's license is a two-dimensional code that stores the same information printed on the front and back of your card — your name, address, date of birth, license number, expiration date, and driving restrictions or endorsements. When a police officer, retailer, or other authorized person scans it with a barcode reader, the scanner decodes that data when ready instead of requiring manual entry.

Most U.S. driver's licenses use a format called PDF417, a stacked linear barcode that looks like a grid of small rectangles. Some states have switched to a two-dimensional QR-style code. The barcode itself does not contain your Social Security number, medical history, or any information beyond what is already visible on the card itself — though the specific data encoded varies slightly by state.

The barcode exists for speed and accuracy. A police officer can verify your license status in seconds without typing your name or number. Retailers use it to check your age at checkout. Courts and government offices use it to pull your record without asking you to spell your name or recite your address.

Key Takeaways

  • Your driver's license barcode encodes your name, address, date of birth, license number, and driving restrictions — the same information printed on the card itself.
  • Most states use PDF417 format, a stacked rectangular barcode, though some newer licenses use a two-dimensional QR-style code.
  • The barcode does not contain your Social Security number, medical information, or anything not already visible on the card.
  • Scanning the barcode is faster and more accurate than manual data entry, which is why police, retailers, and government offices use it.

What information is actually encoded in the barcode

The barcode contains your name, address, date of birth, driver's license number, expiration date, and any restrictions or endorsements on your license. If you have a commercial driver's license (CDL), the barcode will note that. If you have restrictions — such as corrective lenses required, or no commercial driving — those appear in the barcode too.

The barcode does not store your driving history, accident record, or ticket history. Those records exist in a separate database that the scanner operator can access only if they have authorization to do so. The barcode is essentially a fast way to read the card itself, not a gateway to your full driving record.

Different states encode slightly different fields. Some include your middle name or middle initial; others do not. Some include your eye color or height; others omit those details. The core information — name, address, date of birth, license number, and expiration — appears on every state's barcode.

Why police and retailers scan your barcode

Police officers scan your barcode during a traffic stop to confirm your identity and check whether your license is valid, suspended, or revoked. The scan takes a few seconds and is more reliable than reading the printed text, which can be worn, smudged, or hard to see in poor lighting.

Retailers scan your barcode when you buy age-restricted items like alcohol or tobacco. The scan confirms your date of birth and that your ID has not expired. Some retailers also use the scan to flag IDs that have been reported lost or stolen, though that depends on the retailer's system and the state's data-sharing agreements.

Government offices — DMV branches, courts, social services agencies — scan your barcode to pull up your file without requiring you to provide your license number or spell your name. This speeds up processing and reduces data-entry errors.

How barcode format differs by state

Most states use PDF417, a barcode format that looks like stacked horizontal lines with small rectangular blocks. It can store a large amount of data in a compact space and has been the standard for U.S. driver's licenses since the 1990s.

Some states have begun switching to two-dimensional QR-style codes, which look similar to the QR codes you scan with a smartphone camera. These newer codes can store data more efficiently and are easier for mobile devices to read, though they require different scanning equipment than PDF417.

Regardless of format, the information encoded is the same: your name, address, date of birth, license number, and restrictions. The barcode format does not change what data is stored, only how it is arranged and read.

What the barcode does not contain

Your driver's license barcode does not contain your Social Security number, even though you provide it when you explore for a license. The barcode holds only the information printed on the card itself.

The barcode does not contain your medical history, mental health records, vaccination status, or any health information. It does not contain your financial information, credit score, or banking details. It does not contain your full driving history or a list of every ticket you have received.

The barcode also does not contain biometric data like your fingerprints or facial recognition markers, though some states are exploring ways to link barcode scans to facial recognition databases for fraud prevention. As of now, the barcode itself is purely informational data that matches what is printed on the card.

Protecting your barcode information

Because your barcode contains your name, address, and date of birth, it is worth protecting from unauthorized scanning. Do not leave your license visible on a table or desk where someone could photograph it or scan it without your knowledge.

Be cautious about handing your license to someone you do not trust. A barcode scanner is inexpensive and portable, and someone with access to your license could scan it and store the data. If you are concerned that your license has been scanned or photographed without consent, contact your state's DMV to report it.

If your license is lost or stolen, contact your state's DMV when ready. They can flag your license number in the system so that if someone tries to use it, the scan will show it as invalid or stolen. You can then request a replacement license with a new number.

Frequently Asked Questions

Can someone scan my barcode without me knowing?

Yes, if they have a barcode scanner and physical access to your license. A barcode scanner is a handheld device that costs between $50 and $200. To protect yourself, keep your license in your wallet or pocket and do not leave it unattended on a table or desk where someone could scan it quickly.

Does the barcode show my full driving history?

No. The barcode contains only your name, address, date of birth, license number, and restrictions. Your driving history — tickets, accidents, suspensions — is stored in a separate database that a police officer or authorized person can access only if they have permission to do so.

What happens if my barcode is damaged or unreadable?

If the barcode is scratched, faded, or torn, a scanner may not be able to read it. You can still provide your license as identification, and the person can read the printed information manually. If the barcode is damaged, you can request a replacement license from your state's DMV.

Is my barcode the same as a QR code?

Most U.S. driver's licenses use PDF417 format, which looks different from a QR code. However, some states are switching to QR-style codes on new licenses. Both formats serve the same purpose: encoding your license information so it can be scanned quickly. A QR code can be scanned with a smartphone camera, while PDF417 requires a dedicated barcode scanner.

Can I scan my own license barcode to see what it contains?

You can scan it with a barcode scanner app on your smartphone if your state uses a QR-style code, though not all apps will decode it correctly. If your license uses PDF417 format, you will need a dedicated PDF417 scanner, which most people do not have. The easiest way to see what information is encoded is to look at what is printed on your card — the barcode contains the same data.