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

Every U.S. driver's license issued in the last 20 years carries at least one barcode — usually on the back. That barcode contains your name, address, license number, date of birth, and other data already visible in text form on the front. When a police officer, retailer, or bouncer scans it with a handheld device, they get the same information they could read by looking at the card, just faster and with fewer errors.

The barcode is not a separate system or a choice you make. It is part of the standard license design in all 50 states. You cannot request a license without one, and you cannot remove it. Understanding what it contains and how it is used matters because the barcode is how most verification happens in real time — at traffic stops, age-restricted purchases, and airport check-ins.

The format and content of the barcode are set by federal standards called the AAMVA (American Association of Motor Vehicle Administrators) standard. This means a barcode from a California license and one from a New York license encode the same types of data in the same way, so any scanner can read either one.

Key Takeaways

  • The barcode on your driver's license encodes your name, address, license number, date of birth, and other printed information in a machine-readable format.
  • All U.S. states use the same AAMVA barcode standard, so any scanner can read any state's license barcode.
  • Police, retailers, and other organizations use barcode scanners to verify your identity and age faster and with fewer data-entry errors than manual reading.
  • The barcode does not contain medical information, criminal history, or any data not already printed on the card itself.
  • You have no option to decline the barcode — it is a mandatory part of the license design in all states.

What information is actually encoded in the barcode

The barcode stores the same fields that appear on the front and back of your license in printed form. This includes your full name, date of birth, address, license number, class of license (such as Class D for standard passenger vehicle), expiration date, and any restrictions or endorsements (such as corrective lenses required or motorcycle endorsement). Some states also encode your height, eye color, and signature on file.

The barcode does not contain your Social Security number, medical history, vaccination status, criminal record, or financial information. It is purely an identity and licensing document. If you see a barcode scanner at a pharmacy or medical office, it is reading only the fields needed to verify your identity — not pulling data from a separate database.

The exact fields encoded vary slightly by state. For example, some states include organ donor status in the barcode; others do not. The AAMVA standard allows for these variations while keeping the barcode format consistent enough that any scanner can read any state's license.

How barcode scanners are used at traffic stops and checkpoints

When a police officer scans your license during a traffic stop, they are running your information through the state's motor vehicle database in real time. The scanner reads the barcode, pulls up your license record, and shows the officer whether your license is valid, suspended, or revoked. This takes seconds and is far more reliable than manual entry, which can introduce typos.

The same process happens at airport security checkpoints, where TSA officers scan your license to verify your identity against your flight reservation. At border crossings and some state checkpoints, barcode scanners are used to check whether you have outstanding warrants or are on a watch list — but again, the barcode itself contains only the information printed on the card.

You have no control over when or how your barcode is scanned during a lawful traffic stop or security checkpoint. The barcode is part of the license you are required to carry and present to law enforcement upon request.

Barcode scanning at retail and age-restricted purchases

Retailers use barcode scanners to verify your age when you buy alcohol, tobacco, or other age-restricted items. The scanner reads your date of birth from the barcode and confirms you meet the minimum age requirement. This is faster and more accurate than a cashier reading the date manually, and it creates a timestamped record of the transaction for the store's compliance records.

When a retailer scans your license, they typically see only your name, date of birth, and license number on their register screen — not your full address or other personal details. The store's system is designed to show only the fields needed to verify age. However, the barcode itself contains all the information on your license, so a scanner with full-read capability would capture everything.

You can decline to provide your license for scanning at a retail location, but the retailer can then refuse the sale. Some states have laws about what data retailers can retain from a scanned license; check your state's privacy rules if you have concerns about how your information is stored after a scan.

Privacy and data retention after a barcode is scanned

When a barcode is scanned, the information is read from the card itself — the scanner does not access a government database or pull additional data about you. However, the organization doing the scanning may store that information. A police officer's scan is recorded in the law enforcement database. A retailer's scan may be stored in their point-of-sale system. An airport's scan is logged in TSA records.

Federal law does not prohibit barcode scanning, but some states have passed laws limiting how long retailers can keep scanned license data or what they can do with it. A few states require explicit consent before a retailer can scan a license for age verification. Check your state's motor vehicle handbook or privacy laws if you want to know the specific rules where you live.

The barcode itself does not transmit data wirelessly or track your location. It is a passive code that must be physically scanned by a device in close proximity. Once scanned, what happens to that information depends on the organization holding the scanner and the laws that govern them.

Differences between 1D and 2D barcodes on licenses

Most U.S. driver's licenses use a PDF417 barcode, which is a two-dimensional (2D) barcode that looks like a grid of small squares or rectangles. This format can store much more data in a smaller space than a traditional one-dimensional (1D) barcode. A few states still use older 1D barcode formats, but these are being phased out as licenses are renewed.

The PDF417 format is the AAMVA standard and is what most modern scanners are designed to read. If you have an older license with a 1D barcode, it still works, but when you renew, your new license will likely have the 2D barcode. The information encoded is the same; only the format changes.

You cannot choose which barcode format appears on your license. The format is determined by your state's license design and printing standards. When you renew your license, you will receive whatever barcode format your state currently uses.

What to do if your barcode is damaged or unreadable

If the barcode on your license is scratched, faded, or otherwise damaged so that a scanner cannot read it, you can still use the license — the printed information is still valid. However, organizations that rely on barcode scanning (such as retailers checking age or police running a quick verification) may have to fall back on manual reading or ask you to provide additional identification.

If you are concerned that your barcode is no longer readable, you can renew your license early in most states, though you may have to pay a full renewal fee rather than a reduced fee. Some states allow you to request a replacement card if the barcode is damaged, which is usually cheaper than a full renewal. Contact your state's DMV to ask about the cost and process for a replacement card.

A damaged barcode does not make your license invalid. It straightforward means that barcode-dependent verification will not work, and the person checking your license will need to read the printed information instead.

Frequently Asked Questions

Can someone scan my license barcode from a distance or without my knowledge?

No. A barcode must be scanned by a device held within a few inches of the card. The barcode does not transmit data wirelessly, and it cannot be read from across a room or through a bag. Someone would need physical access to your license and a barcode scanner to read it.

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 restrictions or endorsements. It does not include your Social Security number, financial information, or medical history.

What happens if I refuse to let someone scan my license barcode?

At a police traffic stop, you must present your license, and the officer can scan it as part of a lawful stop. At a retail location, the store can refuse the sale if you will not provide your license for age verification. At an airport, TSA can refuse to allow you to proceed if you will not present identification.

Is my barcode information stored in a government database that tracks me?

The barcode itself does not connect to a tracking system. When scanned, it reads the information on your card. Law enforcement and other organizations may store records of when and where your license was scanned, but the barcode is not a tracking device and does not transmit location data.

Do I need to do anything special to protect my barcode from being scanned?

No special action is needed. Your barcode is scanned only when you present your license to someone who has a scanner and a legitimate reason to use it. You cannot prevent scanning during a lawful police stop or airport security check, but you can decline to present your license in non-law-enforcement situations, though the organization may refuse service.