The back of a driver’s license or state ID is mostly a machine-readable data block wrapped in security features. What’s on the back of an ID typically includes a PDF417 two-dimensional barcode holding your personal and license information, printed restriction and endorsement codes that define your driving privileges, personal designations like veteran or organ donor status, and hidden anti-counterfeiting features. Some cards add a magnetic stripe or, on enhanced licenses issued near the borders, a machine readable zone and an RFID chip.
The PDF417 Barcode
That dense block of black-and-white bars is a PDF417 barcode, a two-dimensional format that stores far more data than the single-line barcodes on grocery items. Federal regulations require every REAL ID-compliant license to use this format, and the American Association of Motor Vehicle Administrators publishes detailed standards so a scanner in one state can read a card issued by another.1eCFR. 6 CFR Part 37 – Real ID Driver’s Licenses and Identification Cards
Federal rules mandate at least ten data elements in the barcode: your full legal name, date of birth, sex, home address, card expiration date, issue date, unique license number, the card’s design revision date, an inventory control number, and the issuing state or territory.1eCFR. 6 CFR Part 37 – Real ID Driver’s Licenses and Identification Cards The AAMVA standard adds fields for eye color, height, vehicle class, restriction codes, and endorsement codes.2AAMVA. AAMVA 2020 DL/ID Card Design Standard When a police officer scans your license at a traffic stop, all of this populates their system in seconds. Retailers scan the same barcode to verify your age for alcohol or tobacco.
The barcode has built-in error correction, so a scanner can still read it if part of the surface is scratched. Heavy damage or a badly worn barcode can make the card useless for anything requiring a scan. Replacement fees vary by state but most fall in the $10 to $30 range.
Magnetic Stripes and Machine Readable Zones
Not every card carries the same hardware on the back. Older licenses include a magnetic stripe similar to a credit card’s, encoded with data on magnetic tracks. Many jurisdictions have moved away from stripes because they wear down and are easier to clone than barcodes. Some states still issue them, but the PDF417 barcode is the primary machine-readable element nationwide.
Enhanced Driver’s Licenses, issued by a handful of states near the Canadian and Mexican borders, add a Machine Readable Zone on the back. The MRZ is a block of alphanumeric text printed in a standardized font that optical scanners read at border crossings. These cards also carry a Radio Frequency Identification chip that transmits a reference number to Customs and Border Protection systems as you approach the inspection booth.3Department of Homeland Security. Enhanced Drivers Licenses: What Are They? The MRZ acts as a backup when the RFID signal isn’t available. Its format follows international standards set by the International Civil Aviation Organization, the same body that governs the MRZs on passports.
Restriction and Endorsement Codes
Flip the card over and you may see a short string of codes printed in plain text. Each letter or number corresponds to a specific legal permission or limitation on your driving privileges, and officers read them as quickly as they read your photo.
Restrictions
Restriction codes flag conditions you have to meet while driving. The most common is the “B” restriction, meaning you need corrective lenses behind the wheel. Others cover daylight-only driving, mechanical vehicle aids, or geographic limitations. These codes are stored in the barcode as well as printed on the card, so they appear automatically when an officer scans your license.2AAMVA. AAMVA 2020 DL/ID Card Design Standard Driving without meeting a restriction is typically a misdemeanor, though the fine and additional consequences vary by state.
Endorsements
Endorsements work in the opposite direction. They expand what you’re allowed to do. A motorcycle endorsement means you passed the skills test to ride on public roads. A hazardous materials endorsement on a commercial license means you cleared a federal background check. Operating a vehicle that requires an endorsement you don’t hold is a separate offense that can carry steeper penalties than a simple restriction violation.
Personal Designations
Cards often display personal designations alongside the codes. A veteran indicator lets the cardholder prove military service without carrying discharge papers; applicants generally must present a DD-214 or equivalent documentation showing honorable discharge to qualify. Organ donor status appears as a printed symbol or the word “DONOR.” Some states also print medical alerts for conditions like hearing impairment or diabetes, giving first responders context during emergencies.
Commercial License Medical Certification
Commercial driver’s licenses carry an additional layer. Federal rules require commercial drivers to maintain a current medical examiner’s certificate, and the Federal Motor Carrier Safety Administration has been shifting this to electronic reporting. As of June 2025, certified medical examiners must submit examination results electronically through the National Registry, and that data links directly to the driver’s license record.4Department of Public Safety. Commercial Driver License Medical Certification Requirement Restriction and medical variance information now flows into the barcode data without the driver handling paper forms.
Security Features
The back of a modern ID is also built to resist counterfeiting. Ultraviolet ink patterns stay invisible under normal lighting and glow under blacklight. Ghost images reproduce the cardholder’s portrait as a semi-transparent overlay, making a photo swap obvious. Microprinting looks like a simple line to the naked eye but reveals tiny repeating text under magnification, often spelling out the jurisdiction name or other identifying details. These features are standardized so security personnel anywhere in the country know what to look for.5AAMVA. AAMVA DL/ID Card Design Standard 2025
Behind the scenes, AAMVA operates a Driver’s License Data Verification service that lets approved businesses check scanned barcode data against official state records in real time. The system returns a match or mismatch flag for each data element without releasing the state’s underlying records, so a fake card with plausible-looking data still fails verification.6American Association of Motor Vehicle Administrators. Driver’s License Data Verification (DLDV) Service
Who Can Scan Your Barcode, and What They Can Keep
Every scan of the back of your ID potentially captures your full name, address, and date of birth. Federal law sets a baseline for how that information is protected, and many states add their own restrictions on top.
The Driver’s Privacy Protection Act prohibits state DMVs and their employees from disclosing personal information from motor vehicle records except for a limited set of purposes. Permitted uses include law enforcement, motor vehicle safety and recall efforts, court proceedings, insurance claims investigations, and business verification of information you’ve already submitted. A state DMV with a pattern of noncompliance faces civil penalties of up to $5,000 per day.7Office of the Law Revision Counsel. 18 USC 2721 – Prohibition on Release and Use of Certain Personal Information From State Motor Vehicle Records Anyone who knowingly violates the law faces criminal fines.8Office of the Law Revision Counsel. 18 USC 2723 – Penalties
For private businesses scanning your ID at a bar or dispensary, the rules are primarily state-level. Some states require electronic scanning for alcohol or tobacco sales; others restrict what data a business can store after verifying your age. A few prohibit retaining any information beyond the age-verification result. You’re generally allowed to refuse a scan, but the business can refuse the sale. Check your state’s specific ID scanning laws if you’re concerned about how your data is stored.
Federal Penalties for Fake or Altered IDs
The security features on the back of your card exist because federal law treats ID fraud seriously. Producing or transferring a fake driver’s license or personal identification card carries up to 15 years in prison. Possessing five or more false identification documents with intent to distribute them unlawfully falls under the same sentencing range. Using someone else’s identification to commit or aid any federal crime carries up to five years.9Office of the Law Revision Counsel. 18 USC 1028 – Fraud and Related Activity in Connection With Identification Documents, Authentication Features, and Information
Penalties climb sharply if the fake ID is connected to drug trafficking (up to 20 years) or terrorism (up to 30 years). State-level penalties vary widely but typically range from misdemeanor charges for a first offense to felony charges for manufacturing or distributing fakes. The people who get caught most often aren’t criminal masterminds. They’re college students buying cheap fakes online, and they’re often shocked to learn that a federal felony statute covers what they assumed was a minor gamble.