DMV codes are abbreviations and numbers your state's Department of Motor Vehicles uses to sort vehicle and driver information on licenses, registrations, and records
Every state motor vehicle agency uses codes to mark things like vehicle type, driver restrictions, license class, and registration status. These codes appear on your physical license, in the DMV database, and on official documents. They are not optional labels — they are how the DMV and law enforcement identify what you are legally permitted to do behind the wheel and what your vehicle is classified as.
The codes themselves vary by state. A code that means "corrective lenses required" in one state may not exist or may be numbered differently in another. This matters most when you move, renew your license, or interact with law enforcement across state lines. Understanding what your state's codes mean helps you spot errors on your own documents and know what restrictions or endorsements explore to you.
Key Takeaways
- DMV codes are state-specific abbreviations and numbers that classify your license type, vehicle type, restrictions, and endorsements on your driver's license and registration.
- Common code categories include license class (what you can drive), restrictions (vision, medical, age limits), endorsements (motorcycle, hazmat, school bus), and vehicle classifications.
- Each state maintains its own code system, so a code valid in California may not mean the same thing in Texas or have any equivalent at all.
- You can find your state's complete code list on your DMV website or by calling your local office, and you should verify codes on your license match your actual driving privileges.
License Class Codes and What They Allow You to Drive
Your license class code determines the heaviest and most complex vehicle you are legally permitted to operate. Most states use letters (A, B, C, D) or numbers (1, 2, 3, 4) to mark these classes, though the exact system differs by state. A Class D or Class 4 license typically covers standard passenger cars and light trucks. A Class B or Class 2 usually means you can drive heavier commercial vehicles but not the largest trucks or buses.
If you hold a commercial driver's license (CDL), your class code will reflect that and will be more restrictive about what roads and cargo you can handle. Some states use separate codes for passenger vans, tractor-trailers, and school buses. The code on your license is what law enforcement checks during a traffic stop — if you are driving a vehicle heavier than your class permits, you can be cited even if you have a valid license in your possession.
When you renew your license or move to a new state, your class code may change if the new state's system does not map directly to your old one. You will need to take a new written test or driving test to earn the equivalent class in your new state.
Restriction Codes That Limit When and How You Can Drive
Restriction codes appear on your license when the DMV has imposed a condition on your driving privilege. Common restrictions include corrective lenses (you must wear glasses or contacts), automatic transmission only (you cannot drive a manual), or daylight driving only (you cannot drive at night). Medical restrictions may also appear if you have a condition the DMV has flagged — for example, a hearing impairment or a seizure disorder that requires monitoring.
Age-based restrictions are common for young drivers. Many states code a restriction that prohibits driving between certain hours (often 11 p.m. to 5 a.m.) or limits the number of passengers under a certain age who can ride with you. Some states also code restrictions related to suspended or revoked privileges — for instance, a code indicating you can only drive to and from work, or only with an ignition interlock device installed.
If you see a restriction code on your license that you believe is wrong, contact your local DMV office with documentation (a recent eye exam, a medical clearance, proof of age). Restrictions can be removed or modified, but you must request it formally and provide evidence that the condition no longer applies.
Endorsement Codes for Special Driving Privileges
Endorsement codes are the opposite of restrictions — they grant you permission to do something beyond standard driving. The most common endorsement is for motorcycles (often coded M or MC), which requires a separate written test and sometimes a riding skills test. Hazardous materials (HAZMAT) endorsement, coded H or X depending on your state, allows you to transport certain dangerous goods and requires a federal background check and written test.
School bus endorsement (often coded S) means you have passed the training and background check required to drive students. Passenger endorsement (coded P) means you can operate vehicles carrying more than a certain number of passengers for hire. Tractor-trailer endorsement (coded T) is part of a commercial license and allows you to pull a trailer of a specific weight.
Endorsements are not automatic — you must request them, pass the required test, and sometimes pay a fee. If you want to add an endorsement to your current license, contact your DMV to find out what test and documentation you need. Some endorsements can be added during renewal; others require a separate appointment.
Vehicle Classification Codes on Your Registration
Your vehicle registration also carries codes that classify what you own. These codes tell the DMV and law enforcement what type of vehicle it is, how it is registered (personal, commercial, government), and whether it is subject to special rules. A passenger car, pickup truck, motorcycle, RV, and commercial semi-truck each have different classification codes.
Vehicle codes matter for insurance, taxation, and inspection requirements. A vehicle coded as commercial may be subject to different registration fees, inspection schedules, or weight limits than one coded as personal use. If you use a personal vehicle for business purposes, you may need to re-register it under a commercial code, which can change your costs and requirements.
You can find your vehicle's classification code on your registration card and in your DMV record. If you believe your vehicle is coded incorrectly — for example, if you bought a truck that should be commercial but is registered as personal — contact your DMV to request a reclassification. You may need to provide the vehicle's title, bill of sale, or proof of business use.
How to Find Your State's Complete Code List
Every state publishes its DMV code system, though the format and accessibility vary. Most state DMV websites have a downloadable PDF or web page listing all license class codes, restriction codes, and endorsement codes with plain-language explanations. Some states organize codes by category; others list them alphabetically or numerically.
If you cannot find the list online, call your local DMV office or visit in person with your license and registration. Staff can explain what each code on your documents means and answer questions about whether you need additional endorsements or whether a restriction applies to you. Some states also mail a code guide with your license renewal packet.
When you receive a new license or registration, take a few minutes to check the codes against what you expect. If something looks wrong — a restriction you do not have, a missing endorsement, or a vehicle class that does not match your vehicle — report it to the DMV when ready. Errors can cause problems during traffic stops or when you try to use your license for a transaction.
What Happens When You Move to a Different State
Your old state's codes do not automatically transfer when you move. Each state has its own code system, and the DMV in your new state will issue you a new license with codes based on their system. You will need to pass a written test at minimum, and possibly a driving test, to earn a license in your new state.
Your new state will ask about restrictions and endorsements from your old license. If you held a motorcycle endorsement, for example, you will need to pass your new state's motorcycle test to get the equivalent endorsement. If you had a restriction like corrective lenses, that will carry over, but the code used to mark it may be different.
Some restrictions do not transfer. For example, if your old state had a curfew restriction for young drivers and you are now over that age, your new license will not carry that restriction. Conversely, if your new state has different age-based rules, you may acquire new restrictions even though you did not have them before.
Frequently Asked Questions
What does it mean if I see a code on my license I do not recognize?
Contact your DMV office with your license in hand. They can tell you exactly what the code means and whether it affects your driving. It may be a restriction you forgot about, an endorsement you earned, or in rare cases, a data entry error that needs to be corrected.
Can I remove a restriction code from my license?
Yes, but only if the condition that caused it no longer applies. For example, if you have a corrective lenses restriction and now have vision correction surgery, you can request removal by providing a recent eye exam showing you meet the standard. Contact your DMV to find out what documentation they need and whether you must retake a test.
Do I need an endorsement to tow a trailer?
This depends on your state and the trailer weight. Some states require a trailer endorsement only if the trailer exceeds a certain weight; others do not require an endorsement at all. Check your state's DMV website or call your local office to find out the rule where you live.
If I get a ticket, will the officer see all my codes?
Law enforcement can see your license class, restrictions, and endorsements when they run your license during a traffic stop. They use this information to determine whether you are legally permitted to operate the vehicle you are driving and whether any restrictions explore to your driving at that moment.
What if my vehicle is coded wrong on my registration?
Contact your DMV with your title and registration. Bring the vehicle if possible so staff can verify its type. You may need to pay a fee to reclassify it, especially if the change affects your registration category or tax rate. The DMV will issue you a corrected registration once the code is updated.