The barcode on your driver's license is a machine-readable version of the information printed on the front and back of the card
The barcode—usually a two-dimensional square pattern called a QR code or PDF417 barcode—encodes your name, address, date of birth, license number, expiration date, and restrictions or endorsements. When a police officer, cashier, or bouncer scans it with a handheld device or smartphone, they see the same data that's printed in human-readable form on your license itself. Nothing hidden, nothing extra.
The barcode format and what it contains are set by your state's Department of Motor Vehicles (DMV). Every state uses a barcode, but the exact format and data fields vary slightly. A barcode from California will look different from one from Texas, and the information encoded follows that state's standards.
The barcode exists purely for speed and accuracy. A scanner reads it in a fraction of a second and pulls the data directly into a computer system—no typing, no mistakes. This matters most in law enforcement (traffic stops, warrant checks), retail (age verification for alcohol or tobacco), and identity verification at airports or banks.
Key Takeaways
- Your driver's license barcode contains only the information already printed on your card: name, address, date of birth, license number, and restrictions.
- The barcode format is set by your state's DMV and differs between states, though all states use some form of machine-readable encoding.
- Scanning a barcode pulls data into a computer system for verification purposes, which is why police and retailers use barcode readers.
- The barcode does not track your location, store your driving history, or contain information beyond what appears on the physical card.
What data is actually encoded in the barcode
The barcode holds the core identification fields: your full name, date of birth, driver's license number, address, license class (what vehicles you can legally drive), expiration date, and any restrictions or endorsements. Restrictions might include "corrective lenses required" or "automatic transmission only." Endorsements might indicate you are licensed to drive a motorcycle or commercial vehicle.
Some states also encode your height, eye color, and whether you are an organ donor—information that is already printed on the card. A few states include a signature image or a photograph reference, though the actual photo is not stored in the barcode itself.
What is not in the barcode: your Social Security number, driving history, accident records, traffic violations, insurance information, or any location data. The barcode is a snapshot of your identity and driving privileges at the moment the card was issued, not a live feed to a database.
Why police and retailers scan driver's license barcodes
Law enforcement scans your barcode during a traffic stop to verify your identity and check whether your license is valid, suspended, or revoked. The scanner connects to the state's DMV database in real time. An officer can confirm in seconds that you are who you say you are and that your license is current.
Retailers scan barcodes for age verification when you buy alcohol or tobacco. The scanner reads your date of birth and confirms you meet the legal age requirement. This is faster and more reliable than a cashier reading the date by eye and doing mental math.
Banks and government agencies may scan your barcode as part of identity verification during account opening or document requests. The barcode provides a standardized, machine-readable way to confirm your name, address, and date of birth match what you have provided on a form.
How barcode scanning works and what happens to the data
A barcode scanner—whether a handheld device used by police or a smartphone app used by a retailer—reads the barcode and decodes the information into plain text. That data appears on the scanner's screen or is sent to a connected computer or database system.
For law enforcement, the data is sent to the state's DMV system and often to the National Crime Information Center (NCIC) database to check for warrants or license status. The transaction is logged, and records are kept according to state law and law enforcement policy.
For retail, the data is typically read locally on the device and not stored or transmitted anywhere. The retailer's system records only that an age verification scan occurred and whether it passed or failed—not the actual personal information from the barcode.
Your barcode data is not sold, shared with third parties, or used for marketing. The only exception is law enforcement access under warrant or subpoena, which is governed by state and federal privacy laws.
Differences between state barcode formats
Most states use one of two barcode formats: PDF417 (a stacked linear barcode that looks like a grid) or a 2D QR-style code. The format is chosen by each state's DMV and is not standardized across the country.
The data fields also vary. Some states encode more information than others. For example, one state might include your middle name and another might not. One state might encode your organ donor status and another might not. A barcode scanner designed for one state's format may not read another state's barcode correctly, which is why law enforcement agencies use multi-state capable readers.
If you move to a new state and get a new driver's license, your new barcode will follow that state's format and standards. Your old license's barcode becomes invalid once your new license is issued.
Privacy and security of barcode information
Your barcode is not encrypted or password-protected. Anyone with a barcode scanner can read it. This is by design—the barcode is meant to be readable by authorized parties (police, retailers, banks) without special access or permission.
However, the information in the barcode is the same as what is printed on your card. If you are comfortable showing your physical license to a cashier or police officer, the barcode itself does not expose anything additional. The risk is not the barcode format—it is whether the person or organization scanning it has legitimate authority to do so.
If you are concerned about barcode scanning, you can ask what information is being collected and why. Retailers are not required to scan your barcode; they can verify your age by reading the printed information. Law enforcement has legal authority to scan during a traffic stop. Banks and government agencies should explain their identity verification process before scanning.
What to do if your driver's license barcode is damaged or unreadable
If your barcode is scratched, faded, or otherwise unreadable, you can still use your license for identification. The printed information on the card is what matters legally. A barcode is a convenience tool, not a requirement.
If a scanner cannot read your barcode, the person scanning it can fall back to reading the printed information manually. This takes longer but is perfectly valid. You do not need to replace your license solely because the barcode is damaged.
However, if your license is damaged enough that both the barcode and the printed information are hard to read, your state's DMV may ask you to renew it early. Check your state's DMV website for their policy on damaged licenses.
Frequently Asked Questions
Can someone track my location using my driver's license barcode?
No. Your barcode contains only static information: name, address, date of birth, and license number. It does not include GPS data, cell phone information, or any real-time location tracking. Your address is printed on the card, but that is where you registered your license, not where you are right now.
What happens if a retailer scans my barcode and I am underage?
The scanner will show that you do not meet the age requirement, and the retailer will refuse the sale. The transaction is logged in the retailer's system as a failed age verification. This does not create a record with the government or affect your driver's license status.
Is my barcode the same as my license number?
No. Your license number is printed on the card and is also encoded in the barcode, but the barcode contains much more information—your name, address, date of birth, restrictions, and endorsements. The barcode is a package of data; the license number is one piece of it.
Can I refuse to let someone scan my barcode?
It depends on the situation. During a traffic stop, a police officer has legal authority to scan your license. For retail purchases, you can ask the cashier to read the printed information instead of scanning. For banks or government agencies, you can ask what information they need and why before they scan.
Does my barcode change if I renew my license?
Yes. When you renew your license, you receive a new card with a new barcode. The barcode encodes your new license number and updated expiration date. Your old barcode becomes invalid once the new license is issued.