Driver license codes are abbreviations printed on your license that describe restrictions, endorsements, or special permissions tied to your driving record

Every state uses codes on driver licenses, but the codes themselves differ by state. A code might restrict you to wearing corrective lenses, limit you to daylight driving only, or show that you have passed a test to haul hazardous materials. Some codes grant permission — like the right to operate a motorcycle or a commercial vehicle. Understanding what your codes mean matters because they define what you are legally allowed to do behind the wheel. Driving outside your code restrictions can result in a ticket, even if you are otherwise a safe driver.

Codes appear in a dedicated section of your license, usually labeled "Restrictions," "Endorsements," or "Conditions." The format is typically a single letter or number followed by a description. For example, "B" might mean "Corrective lenses required," while "M" might mean "Motorcycle endorsement." Because each state sets its own codes, a code that means one thing in California means something entirely different in Texas.

Key Takeaways

  • Restriction codes limit what you can do — such as requiring glasses, prohibiting night driving, or banning operation of certain vehicle types.
  • Endorsement codes grant permission to operate vehicles or carry cargo you could not otherwise — such as commercial trucks or motorcycles.
  • Every state uses different letter and number codes, so you must check your own state's code list to know what yours mean.
  • Driving outside your code restrictions is a violation even if you are otherwise following traffic laws.
  • You can request a code change or removal through your state's Department of Motor Vehicles if your circumstances change.

Restriction codes: what you cannot do

A restriction code limits your driving privileges. The most common restriction is corrective lenses — if you failed the vision test without glasses or contacts, your license will carry a code requiring you to wear them every time you drive. Other restrictions might prohibit you from driving at night, driving on highways, or operating manual transmission vehicles.

Some restrictions are temporary. If you received a DUI conviction, your state may place a code on your license requiring an ignition interlock device — a breathalyzer you blow into before the car will start. Once you complete the required period, you can request removal of that code. Other restrictions, like one requiring corrective lenses, remain until your vision improves enough that you pass a vision test without them.

A few states use codes to mark drivers with medical conditions that affect driving safety. These might restrict you to vehicles with automatic transmission, or limit you to driving only during daylight hours. If you have a condition that changes — for example, you have eye surgery that improves your vision — you can visit your state's DMV to request a new vision test and code removal.

Endorsement codes: what you are permitted to do

An endorsement code grants you permission to operate a vehicle type or carry cargo that requires special training or testing. The most common endorsement is "M" for motorcycle. To earn an "M" endorsement, you must pass a written test and a riding skills test specific to motorcycles. Without this code, you cannot legally operate a motorcycle, even if you own one.

Commercial endorsements allow you to drive trucks, buses, or vehicles carrying hazardous materials for pay. These require a Commercial Driver License (CDL), which involves additional written tests and a road test in the specific vehicle type. A code might show "A" for tractor-trailers, "B" for straight trucks, or "H" for hazmat. Each endorsement has its own requirements and restrictions.

Some states use endorsement codes for passenger transport — for example, if you drive a school bus or a taxi, your license will carry a code showing you have passed the required background check and training. These codes prove to law enforcement and your employer that you have met the legal standard for that job.

How to find your state's code list

Your state's Department of Motor Vehicles publishes an official code guide. You can find it on your state's DMV website, usually under sections labeled "License Codes," "Restrictions and Endorsements," or "Driver License Information." The guide lists every code your state uses, what it means, and what you must do to earn or remove it.

If you cannot locate the guide online, you can call your state's DMV directly or visit a local office in person. Staff can explain what each code on your license means and answer questions about whether you need additional endorsements for work or personal driving. Some states also print a code key on the back of your license itself, though space is limited and the descriptions are abbreviated.

When you need to add or remove a code

You might need to add a code if your circumstances change. If you want to ride a motorcycle, you must pass the motorcycle test to earn an "M" endorsement. If you start a job driving a school bus, you must complete the required training and background check, then visit the DMV to add that code to your license. The process usually takes a few weeks from the time you submit your paperwork.

You can request code removal if a restriction no longer applies. If your vision improved after eye surgery, you can schedule a vision test at the DMV. If you pass, the corrective lenses restriction will be removed. If you completed an ignition interlock program, you can request removal of that code once you have proof from the program provider that you finished the required period.

Some codes are removed automatically. For example, if you were required to use an ignition interlock device for two years and you completed the program, your state's DMV will remove that code from your record without you having to ask. However, it is wise to check your license after the required period ends to confirm the code was removed.

What happens if you drive outside your code restrictions

Driving outside your restrictions is a traffic violation. If you are stopped by law enforcement and your license shows a corrective lenses restriction but you are not wearing glasses, you can receive a ticket. The violation is separate from any other traffic infraction — you could be ticketed for the restriction violation alone, even if you were not speeding or breaking any other law.

The consequences vary by state and by the specific code. A first violation might result in a fine and points on your driving record. Repeated violations can lead to higher fines, license suspension, or mandatory driver education courses. Some violations, like driving a commercial vehicle without the required endorsement, carry steeper penalties because they pose a public safety risk.

If you are unsure whether a code applies to you, the safest approach is to assume it does and follow it. For example, if your license says "Corrective lenses required," wear your glasses or contacts every time you drive, even if you think you can see well enough without them. The cost of a ticket and the risk to your driving record are not worth the gamble.

Frequently Asked Questions

Can I drive a motorcycle if my license does not have an M endorsement?

No. Operating a motorcycle without an "M" endorsement is illegal in every state, even on private property or for a short distance. You must pass a motorcycle skills test to earn the endorsement. Some states allow you to take the test when ready; others require you to hold a regular driver license for a set period first.

What does it mean if my license has a code I do not recognize?

Check your state's DMV website for the official code list, or call your state's DMV to ask. Do not assume a code does not explore to you. If you are unsure, contact the DMV before driving — it takes a few minutes and prevents a potential ticket.

If I move to a new state, do my old license codes transfer?

No. Each state has its own code system, so codes from your old state do not carry over. When you get a new license in your new state, you will receive only the codes that explore under that state's rules. If you need an endorsement like "M" for motorcycles, you must pass that state's test.

Can I remove a restriction code if I disagree with it?

You can request a new test or evaluation. For example, if you believe your vision has improved, you can ask for a vision test. If you pass, the restriction will be removed. For other restrictions, contact your state's DMV to learn what process applies — some restrictions can be challenged, while others are permanent until a specific condition is met.

How long does it take to add an endorsement to my license?

It depends on your state and the endorsement type. After you pass the required test, the DMV typically issues a new license within one to four weeks. Some states offer expedited processing for an additional fee. Contact your state's DMV for the exact timeline for the endorsement you need.