The barcode on your driver's license stores the same information printed on the card itself

The barcode — usually a two-dimensional square pattern called a QD code, or sometimes a traditional linear barcode on the back — is a machine-readable version of your license data. When a police officer, store clerk, or bouncer scans it with a handheld reader or phone app, they see your name, address, date of birth, license number, and expiration date when ready instead of reading it by hand.

The barcode does not contain information beyond what is already visible on the card. It does not store your Social Security number, medical history, or financial data. It is straightforward a faster way to retrieve the information that is already printed there.

Different states format their barcodes differently, and not all states use the same barcode standard. Some use PDF417 (the rectangular barcode), others use QR codes, and a few still use older linear formats. The information encoded is always limited to what your state's DMV decided to include — typically the fields you can read with your eyes.

Key Takeaways

  • The barcode is a machine-readable copy of the printed information on your license, nothing more.
  • Scanning the barcode retrieves your name, address, date of birth, license number, and expiration date — the same facts visible on the card.
  • Different states use different barcode formats, but all are designed to be read by standard DMV or law enforcement scanners.
  • The barcode does not contain sensitive data like your Social Security number or medical information.

Why businesses and police use barcode scanners

Scanning is faster and more accurate than manual entry. A clerk checking your age at a store can confirm your birth date in one second instead of reading the small print and typing it. A police officer can run your license number through the DMV database when ready to check for outstanding warrants or license suspensions.

For businesses that check ID frequently — bars, liquor stores, casinos — a barcode scanner is a standard tool. It reduces human error and creates a timestamped record of who was checked and when. Some states' barcodes also include a photograph or signature for additional verification.

What information is actually encoded in the barcode

The barcode contains only the fields your state's DMV includes in its standard license format. Most states encode: full name, date of birth, address, license number, license class (what vehicles you can drive), expiration date, and sometimes a photograph or signature image.

The barcode does not include your Social Security number, even though you provided it when you applied for the license. It does not include your medical history, organ donor status (if your state offers that), or any information beyond the DMV's core license record. If your state's license has an organ donor indicator printed on the card itself, that may be encoded, but it is still just a yes-or-no flag, not medical details.

The barcode is also not encrypted. Anyone with a barcode scanner can read it. This is by design — law enforcement and businesses need to be able to scan licenses without special software or keys. The information is the same as what is printed on the card, so the lack of encryption does not expose anything that was not already visible.

How barcode standards differ by state

The American Association of Motor Vehicle Administrators (AAMVA) publishes a standard format for driver's license barcodes so that scanners in one state can read licenses from another. Most states follow this standard, but implementation varies.

Some states use a PDF417 barcode (the tall, rectangular one with many horizontal lines). Others use a QR code (the square with the three corner squares). A few older licenses still use a Code 128 linear barcode. The choice does not affect what information is stored — it is just a different way to encode the same data.

If you move to a new state and get a license there, your new barcode will follow that state's format and will include only the information that state's DMV collects. Your old license's barcode becomes unreadable to most new scanners once you no longer carry it.

Scanning your license for age verification

When a business scans your license to verify your age, the scanner reads your date of birth from the barcode and compares it to the current date. The system then displays "approved" or "denied" based on whether you meet the age requirement for the product (usually 18 for tobacco, 21 for alcohol).

Some scanning systems store a record of the transaction — your name, the date, the time, and the business location. This is legal in most states and is used to document compliance with age-verification laws. Other systems do not store anything; they straightforward confirm the age check was performed.

You have the right to ask a business what they do with the data from your scan. Many states have laws requiring businesses to delete age-verification records after a certain period, often 30 days. If you are uncomfortable with scanning, you can ask to show your physical license instead, though some businesses may decline the transaction.

Privacy concerns with barcode scanning

The main privacy concern is not what the barcode contains, but who has access to a scanner. Because the barcode is not encrypted, anyone with a barcode reader — a phone app, a handheld device, or a store scanner — can read your information. This is different from a credit card, which requires a PIN or signature to use.

In practice, most barcode readers are used by authorized businesses and law enforcement. However, it is technically possible for someone to scan your license without your knowledge if they have a scanner and you are close enough. Some people are concerned about this and choose to keep their license in a wallet or pocket rather than displaying it openly.

A few states have passed laws limiting who can scan licenses and what they can do with the data. For example, some states prohibit retailers from storing barcode data beyond what is needed for the when ready transaction. If you have concerns about how a specific business uses your license data, you can contact your state's attorney general or DMV to learn what protections exist in your state.

Frequently Asked Questions

Does the barcode contain my Social Security number?

No. The barcode contains only the information printed on your license: name, address, date of birth, license number, and expiration date. Your Social Security number is not encoded, even though you provided it when you applied for the license.

Can someone scan my license without my permission?

Technically yes, because the barcode is not encrypted. However, most barcode readers are used by authorized businesses and law enforcement. If you are concerned about unauthorized scanning, keep your license in a wallet or pocket rather than displaying it openly.

What happens when a police officer scans my license?

The officer retrieves your name, address, license status, and any outstanding warrants or suspensions associated with your license number. The barcode itself does not contain this information — the scanner sends your license number to the DMV database, which returns the results.

Is the barcode the same on every license from my state?

No. Each license has a unique barcode because each person's information is different. However, the format and fields encoded are the same across all licenses issued by your state.

Can I request a license without a barcode?

Most states do not offer this option. Barcodes are now standard on driver's licenses nationwide. If you have concerns about the barcode, contact your state's DMV to learn what options, if any, are available.