The barcode on your driver's license is a machine-readable version of the information printed on the card itself

The barcode (usually a two-dimensional square code called a QR code or PDF417 barcode, depending on your state) contains your name, address, date of birth, license number, and expiration date — the same facts visible in printed form on the front and back of your license. When a police officer, store clerk, or security guard scans it with a barcode reader, they see that same information when ready on their screen instead of reading it by hand.

The barcode does not contain your Social Security number, medical history, or criminal record, despite what some people believe. It is straightforward a faster way to enter your license data into a computer system. Different states use different barcode formats, so a barcode scanner in one state may not read a license from another state — but the information encoded is always limited to what is already printed on your card.

Key Takeaways

  • The barcode stores only the information printed on your license: name, address, date of birth, license number, and expiration date.
  • Scanning the barcode is faster than typing that information by hand, which is why retailers and law enforcement use barcode readers.
  • Different states use different barcode formats, so a scanner in one state may not read every out-of-state license.
  • The barcode does not contain Social Security numbers, medical data, or criminal history — only what you can already see printed on the card.

Why police and retailers scan your license

When a police officer pulls you over, they scan your barcode to confirm your identity and check whether your license is valid, suspended, or revoked. The scanner connects to the state's motor vehicle database in seconds, which is much faster than the officer typing your name and date of birth into a radio dispatch system. A retailer selling age-restricted items (alcohol, tobacco, lottery tickets) scans your barcode to verify your age and create a record of the transaction for their own compliance purposes.

In both cases, the barcode is straightforward the tool — the real data lives in the government database or the store's point-of-sale system, not in the barcode itself. The barcode is just a faster way to look up or enter that data.

What information is actually encoded in the barcode

The barcode contains only what is printed on your license in human-readable form. This includes your full name, street address, city, state, ZIP code, date of birth, license number, license class (like "Class D" for regular passenger vehicles), expiration date, and sometimes your height, eye color, and whether you wear corrective lenses. Some states also encode restrictions or endorsements — for example, a note that you must wear glasses while driving.

The barcode does not contain your Social Security number, even though you provided it when you got your license. It does not contain your medical history, mental health records, or any criminal history. It does not contain information about traffic violations or points on your license. Those records exist in separate government databases that are not encoded in the barcode itself.

How different states encode barcodes differently

Most states use one of two barcode formats: PDF417 (a rectangular barcode with multiple rows) or a two-dimensional QR code. Some states use older formats. Because there is no single national standard, a barcode scanner designed for one state's format may not read a license from another state correctly.

This matters if you travel across state lines and need to show your license. A police officer in another state should still be able to read your license by looking at the printed information, even if their scanner cannot read your barcode. Retailers' barcode scanners vary widely — some are programmed to read multiple state formats, and some are not. If a scanner fails to read your out-of-state license, the clerk can usually type your information in by hand.

Privacy concerns and what you should know

The barcode itself is not a privacy risk because it contains only information that is already visible on your card. However, whoever scans your barcode can see all of that information at once — your full address, date of birth, and license number. This is why some people prefer to hand over their license for a clerk to read by eye rather than let them scan it, though most retailers now scan as standard practice.

Your real privacy concern is not the barcode but the database behind it. Police can access your full driving record, and in some states, law enforcement can access additional information through the barcode scan. If you are concerned about what information is stored about you in your state's motor vehicle database, you can contact your state's Department of Motor Vehicles to request a copy of your driving record.

Frequently Asked Questions

Can someone use my barcode to steal my identity?

The barcode contains only information that is already printed on your license — your name, address, and date of birth. These facts alone are not enough to open a credit card or take out a loan in your name. Identity theft requires additional information like your Social Security number or financial account details, which are not encoded in the barcode.

Why do some stores scan my license and some don't?

Retailers are not required to scan your barcode — they can verify your age by looking at the printed information. Some stores scan for speed and to create a record of the transaction for their own records. Others scan to check for fraud or to verify that the license is genuine. It depends on the store's policy and the type of product being sold.

What happens if my barcode is damaged or won't scan?

If your barcode is scratched or faded and will not scan, the person checking your ID can read the printed information instead. You can also request a replacement license from your state's Department of Motor Vehicles if the barcode is damaged, though this is usually not necessary unless the printed information is also hard to read.

Does the barcode update when I renew my license?

Yes. When you renew your license, you receive a new card with a new barcode that reflects your updated information — new expiration date, and any changes to your address or other details. Your old license and its barcode are no longer valid.