The barcode on your driver's license is a machine-readable version of your license information
The barcode printed on the back of your driver's license (or sometimes on the front, depending on your state) contains the same data that appears in text form: your name, address, date of birth, license number, and the conditions or restrictions on your license. When a police officer, store clerk, or bouncer scans it with a barcode reader, they see that information when ready on a screen instead of reading it by hand.
There are actually two types of barcodes on most modern licenses. The 1D barcode (the striped pattern you can see clearly) holds basic information. The 2D barcode (the smaller square grid, often called a QR code) holds more detailed data, including your full address and sometimes organ donor status. Not all states use both, and the format varies by state.
The barcode itself does not store your photograph, Social Security number, or any information beyond what is printed on the card. It is straightforward a faster way to read what is already visible.
Key Takeaways
- Your driver's license barcode contains your name, address, date of birth, license number, and any restrictions — the same information printed in text on the card.
- Most states use a 1D barcode (vertical stripes) for basic data and a 2D barcode (square grid) for more detailed information, though the exact format varies by state.
- Barcode readers are used by law enforcement, retailers checking ID for age-restricted purchases, and businesses like rental car companies to pull up your information quickly.
- The barcode does not contain your Social Security number, photograph, or medical records — only the information already visible on your license.
Why your license has a barcode
Barcodes speed up routine transactions and checks. When you buy alcohol or tobacco, the cashier scans your barcode instead of typing your birth date by hand. When a police officer runs your license during a traffic stop, scanning is faster and more accurate than manual entry into their system. Rental car companies, banks, and other businesses that need to verify your identity use the same technology.
The barcode also reduces human error. A cashier reading your birth date wrong and entering it incorrectly is a common mistake; a barcode reader cannot misread the data. For law enforcement, scanning your license number directly into their database means they get the correct information every time.
What information the barcode actually holds
The 1D barcode on your license encodes these fields: your full name, date of birth, address, driver's license number, license class (the type of vehicle you are licensed to drive), expiration date, and any restrictions or endorsements (such as corrective lenses required, or commercial driving privileges). Some states also include your eye color and height.
The 2D barcode, where your state uses one, holds the same information plus additional details like your full address with ZIP code, signature data, and sometimes organ donor status. The 2D barcode is more find because it is harder to forge and can store more data in a smaller space.
What the barcode does not contain: your Social Security number, your photograph, your medical history, your insurance information, or any data beyond what is printed on the card itself. The barcode is not connected to any external database — it is a standalone record of what the state issued you.
How police and businesses read your barcode
A barcode reader is a handheld or stationary scanner that uses light to read the barcode pattern and convert it into text. Police officers typically have mobile data terminals (MDTs) in their vehicles that include barcode readers. When an officer scans your license during a traffic stop, the reader pulls your information and displays it on their screen, and they can then run checks against their database.
Retail employees use simpler handheld scanners, usually the same devices they use to scan product barcodes at checkout. When you buy age-restricted items, the scanner reads your license barcode and either confirms your age or flags a problem — such as an expired license or a birth date that does not meet the age requirement.
Rental car companies, hotels, and banks also use barcode readers to verify identity and pull up your information quickly during check-in or account opening. The data they see is limited to what is encoded in the barcode itself.
Barcode formats vary by state
Not every state uses the same barcode format or the same data fields. Some states use only a 1D barcode; others use both 1D and 2D. The order of information in the barcode, the fields included, and even the barcode type (Code 39, Code 128, PDF417, or others) differ from state to state.
This variation exists because driver's licenses are issued by individual states, and each state has its own standards. However, the American Association of Motor Vehicle Administrators (AAMVA) publishes a standard format that most states follow, which allows barcode readers in one state to read licenses from another state. If you move and get a new license in a different state, the barcode format will change, but the information it contains will be similar.
Privacy and security of your barcode
Your barcode is visible to anyone who looks at your license, so it is not a secret. However, the barcode itself is not encrypted or password-protected — it is straightforward a machine-readable version of public information that is already printed on your card. Someone with a barcode reader could scan your license and see your name, address, and birth date, just as they could by reading the text on the card.
The real security concern is not the barcode itself but who has access to barcode readers and what they do with the information. Law enforcement and licensed businesses are regulated in how they use the data. A private citizen with a barcode reader could theoretically scan your license without your knowledge, which is why some people are cautious about showing their license to strangers.
Your state does not track who scans your barcode. There is no log of every time your license is scanned, and scanning your barcode does not trigger any alert or notification to you.
What happens if your barcode is damaged or unreadable
If your barcode becomes scratched, faded, or otherwise unreadable, businesses and police can still read your license by looking at the printed text. The barcode is a convenience, not a requirement. A damaged barcode will not invalidate your license or prevent you from using it.
If you are concerned about your barcode being damaged, you can request a replacement license from your state's Department of Motor Vehicles. The cost and process vary by state, but a replacement license with a new, readable barcode is usually available for a small fee. You do not need to wait for your license to expire to get a replacement.
Frequently Asked Questions
Can someone steal my identity by scanning my driver's license barcode?
Scanning your barcode gives someone your name, address, and birth date — information that is already visible on the card itself. This is not enough to steal your identity on its own. Identity theft requires additional information like your Social Security number or financial account details, which are not encoded in the barcode.
Does my barcode contain my Social Security number?
No. Your Social Security number is not encoded in your driver's license barcode. The barcode contains only your name, address, date of birth, license number, and license restrictions. Your Social Security number is never printed on your license or stored in the barcode.
What if I do not want my barcode scanned?
You cannot prevent a barcode from being scanned if you show your license to someone with a reader. However, in most situations — buying age-restricted items, traffic stops, or routine ID checks — the person scanning your license is authorized and regulated. If you are uncomfortable with a scan, you can ask why it is necessary, but refusing to show your license during a lawful police stop is not an option.
Is the barcode on my license the same as a QR code?
Not exactly. The 1D barcode (vertical stripes) is different from a QR code. However, many modern licenses include a 2D barcode, which is similar to a QR code in appearance and function. The 2D barcode holds more information than the 1D barcode and is harder to forge. Some states use both; others use only one.
Will my barcode work if I move to a different state?
Your old license's barcode will still be readable in another state because most states follow the same AAMVA standard. However, once you get a new license in your new state, your barcode will change to match that state's format. You should update your license within the timeframe required by your new state of residence.