Driver’s License Barcodes by State: Standard, Contents, and Access

The barcode on the back of every U.S. driver’s license stores the same core set of identity data no matter which state issued the card, but driver’s license barcodes vary by state in the optional fields each state chooses to add on top of that shared minimum. The framework comes from the American Association of Motor Vehicle Administrators, and states pick and choose from a menu of extra fields based on their own administrative needs.

The Shared Standard Behind Every State’s Barcode

That rectangle of tightly packed lines on the back of your card is a PDF417 symbol, a two-dimensional stacked barcode. AAMVA’s 2020 Card Design Standard makes it mandatory: “The mandatory machine-readable technology for the DL/ID card shall be the PDF417 two-dimensional bar code.”1American Association of Motor Vehicle Administrators. 2020 AAMVA DL/ID Card Design Standard The current AAMVA barcode version number is 10.

PDF417 can hold roughly 1,700 text characters, enough to carry a full set of identity data without a scanner having to reach out to a remote database. Everything a TSA agent or police officer needs to verify is read directly off the card. The format also builds in error correction, so minor scratches don’t necessarily kill a scan; the AAMVA standard requires a minimum error correction level of 3 and recommends level 5 where the card has space.1American Association of Motor Vehicle Administrators. 2020 AAMVA DL/ID Card Design Standard

Because every state works from the same technical standard, a scanner in one state reads a license from another cleanly. An officer in Florida can pull structured data off an Oregon license in the same format an Oregon officer would see.

What Every State’s Barcode Must Contain

The AAMVA standard splits barcode data into mandatory and optional fields. Every compliant license barcode has to include these mandatory elements:1American Association of Motor Vehicle Administrators. 2020 AAMVA DL/ID Card Design Standard

  • Full legal name, with first, middle, and last name in separate fields
  • Date of birth, formatted as MMDDCCYY for U.S. cards
  • Residential address, broken into street, city, state, and postal code
  • Customer ID number, which is your driver’s license or ID number
  • Document issue and expiration dates
  • Sex, coded as 1 (male), 2 (female), or 9 (not specified)
  • Eye color and height
  • Vehicle class, restrictions, and endorsements
  • Document discriminator, a unique identifier tied to the specific physical card
  • Country of issuance

The document discriminator is the field most people don’t recognize. It’s a DHS-required identifier that distinguishes a particular card from any earlier card issued to the same person.1American Association of Motor Vehicle Administrators. 2020 AAMVA DL/ID Card Design Standard Your license number stays the same when you renew or replace a card, but the document discriminator changes. That lets a scanner tell whether the card in hand is your current valid one or an older, superseded copy.

How States Differ

Beyond the mandatory list, AAMVA defines dozens of optional data elements, and each state chooses which ones to write into its barcodes. Common optional additions include hair color, weight, race or ethnicity codes, organ donor status, and veteran designations.

The result is real state-to-state variation. One state’s barcode might carry your weight and hair color; another might skip those and instead flag veteran status or a commercial driving compliance code. A state that runs its own veterans’ benefits programs, for instance, might embed the designation in the barcode so agencies can spot it on the first scan.

These variations don’t break anything across state lines. A scanner that doesn’t need or recognize an optional field simply ignores it. The mandatory fields always come through in the standardized format, so basic identification works nationwide. The optional data adds local utility on top of that national baseline.

REAL ID’s Effect on What’s in the Barcode

The REAL ID Act narrowed the range of what states can leave out. Federal regulations require minimum standards for identification documents used for federal purposes, including boarding commercial flights and entering federal buildings.2eCFR. 6 CFR Part 37 – Real ID Drivers Licenses and Identification Cards REAL ID enforcement began on May 7, 2025, and noncompliant licenses are no longer accepted at TSA checkpoints or other federal facilities.3TSA. TSA Publishes Final Rule on REAL ID Enforcement Beginning May 7, 2025

A REAL ID-compliant barcode must encode the bearer’s legal name, date of birth, gender, address, license number, issue and expiration dates, and state of issuance. Those elements largely overlap with the AAMVA mandatory fields, which is no accident since AAMVA worked closely with DHS on the standard. If your card carries the REAL ID star, its barcode contains at least that federally required set.

Who’s Allowed to Read the Data

The federal Driver’s Privacy Protection Act governs access to personal information gathered by motor vehicle departments, including whatever sits in your license barcode.4Office of the Law Revision Counsel. 18 USC 2721 – Prohibition on Release and Use of Certain Personal Information From State Motor Vehicle Records Under the DPPA, “personal information” covers your name, address (though not zip code alone), phone number, driver identification number, photograph, and medical or disability information.5Office of the Law Revision Counsel. 18 USC 2725 – Definitions

The DPPA prohibits state DMVs and their employees from disclosing that data except for specific permissible purposes: government and law enforcement use, court proceedings and legal investigations, insurance claims, motor vehicle safety and recall work, and legitimate business verification of information you’ve already provided.4Office of the Law Revision Counsel. 18 USC 2721 – Prohibition on Release and Use of Certain Personal Information From State Motor Vehicle Records Police officers scanning during traffic stops, TSA agents at airports, and retailers verifying age for alcohol or tobacco sales all fall inside those recognized uses.

Anyone who knowingly obtains, discloses, or uses the data for an unpermitted purpose can be sued in federal court. Courts can award actual damages with a $2,500 per-person floor in liquidated damages, plus punitive damages for willful or reckless violations, plus attorney’s fees.6Office of the Law Revision Counsel. 18 USC 2724 – Civil Action

Retail Scans and Your Data

When a store scans your license to check your age, the barcode gives up everything it holds, not just your birthdate. Many states have their own laws restricting what businesses can do with that data afterward, with common rules against storing scanned data, selling it, or using it for marketing. No universal federal time limit exists for how long a business can hold the data; those rules vary by state and industry.

Whether you can refuse a barcode scan and insist on visual inspection of the card also varies by state. Retailers often have discretion to accept a manual check, but they aren’t universally required to offer one.

Mobile Licenses Use a Different Standard

If you’re comparing physical barcodes to a license stored on your phone, the two aren’t the same technology. More than 20 states and territories now participate in digital ID programs, and mobile driver’s licenses follow ISO/IEC 18013-5, published in 2021, rather than the PDF417 standard.7TSA. Participating States and Eligible Digital IDs A mobile license typically communicates through a QR code or NFC and can share only the specific data element requested, so a retailer checking whether you’re over 21 can get a yes-or-no answer without seeing your address or license number. A physical barcode has no such selectivity; every scan reads everything.

When the Barcode Won’t Scan

Barcodes wear out. A card carried in a back pocket gets flexed and scratched, and eventually the error correction in the PDF417 format can’t compensate. At a retail checkout, the cashier will usually inspect the card visually, key in the details, or ask for another ID. At TSA, agents have fallback procedures that don’t depend on the scan alone. During a traffic stop, an officer can run the license number through dispatch. A failed scan is an inconvenience rather than a dead end.

If yours fails repeatedly, get a replacement. Most states charge somewhere between $10 and $45 for a duplicate, with the exact fee and process set by your state’s motor vehicle agency. A new card comes with a fresh barcode and a new document discriminator.