The class on your driver's license tells you what kinds of vehicles you are legally allowed to drive
The class is a letter or number printed on your license — usually Class D, Class C, or Class M in most states — and it is the state's way of saying "you passed the test for this type of vehicle, and you can drive it on public roads." Different classes cover different weights, passenger counts, and vehicle types. If you drive something outside your class, you are breaking the law, even if you know how to drive it.
The class you get depends on what you tested for and what the examiner certified you could handle safely. A teenager who passes the test in a sedan gets a different class than someone who passes in a commercial truck. Your state's DMV or equivalent agency sets the rules for which class covers which vehicle, and those rules vary by state.
Key Takeaways
- Class D (or equivalent) covers standard passenger cars and light trucks under a certain weight — this is what most people drive and what most people test for.
- Class M is for motorcycles and requires a separate test in most states, even if you already hold a car license.
- Commercial classes like Class A or B require a commercial driver's license (CDL) and cover trucks, buses, and vehicles carrying hazardous materials.
- Driving a vehicle outside your class can result in a ticket, fine, or insurance claim denial, even if the accident was not your fault.
- You can upgrade your class by taking a new test, but you cannot downgrade — your license shows all classes you have ever passed.
Class D and similar non-commercial classes
Class D (or Class C in some states) is the standard license most people get when they turn 16 or 18. It covers passenger cars, pickup trucks, and vans up to a certain weight — usually around 26,000 pounds gross vehicle weight rating (GVWR). If the vehicle weighs more than that, it falls into a commercial category and requires a different class.
This class also has restrictions on how many passengers you can carry for hire. You can drive your own family around, but you cannot legally drive an Uber or taxi without a commercial endorsement. The same applies to rental cars — you can rent and drive a standard sedan or SUV, but not a moving truck or a vehicle designed to carry more than a certain number of people.
When you renew your license, your class stays the same unless you request a change. If you want to upgrade to a commercial class, you will need to take a written test, a skills test, and sometimes a medical exam, depending on your state and the class you are seeking.
Class M for motorcycles
Class M is for motorcycles, mopeds, and sometimes motorized bicycles, depending on your state's definition. Even if you hold a valid Class D license, you cannot legally ride a motorcycle without also holding a Class M. The test for Class M is separate and usually involves riding a motorcycle through a course that tests your ability to brake, turn, and handle the bike at low and high speeds.
Some states allow you to take a motorcycle safety course instead of the road test, and passing that course automatically grants you the Class M endorsement. Other states require both the course and the test. A few states have a "learner's permit" version of Class M that lets you ride during daylight hours only and with certain restrictions on passengers or highways.
If you hold a Class M, you can still drive regular cars — your Class D does not go away. Your license will show both classes, and you are legal to operate either type of vehicle.
Commercial classes A, B, and what they cover
Class A and Class B are commercial driver's licenses (CDL) that cover trucks, buses, and other large vehicles. Class A is the broadest and covers combination vehicles (like a tractor-trailer) with a GVWR over 26,000 pounds. Class B covers single vehicles over 26,000 pounds, like a dump truck or city bus. Some states also have a Class C for smaller commercial vehicles or vehicles carrying hazardous materials.
To get a commercial class, you must pass a written test on traffic laws and vehicle operation, a pre-trip inspection test (where you walk around the vehicle and point out safety features), and a road test in an actual commercial vehicle. You also need a medical certificate from a Department of Transportation (DOT) approved doctor, and you must be at least 18 years old (21 in some states for interstate driving).
Commercial classes come with endorsements — additional letters on your license that show you can haul specific cargo. An "H" endorsement means you can carry hazardous materials. A "P" endorsement means you can carry passengers. A "T" endorsement means you can pull double or triple trailers. You do not automatically get these endorsements; you have to test for them separately.
Restricted licenses and what the codes mean
Your license may also show restriction codes — usually letters or numbers in a separate box — that limit how and when you can drive. A restriction might say you must wear corrective lenses, or that you cannot drive at night, or that you must use an automatic transmission. These restrictions are set by the examiner or the DMV based on your test performance or medical history.
If you have a restriction and you violate it, you can be cited for driving with a suspended or invalid license, even though your license itself is not suspended. For example, if your restriction says "corrective lenses required" and you drive without glasses, you are breaking the law. Restrictions stay on your license until you request a hearing or retest to have them removed.
What happens if you drive outside your class
Driving a vehicle that is outside your license class is a moving violation in every state. The penalty varies — it might be a fine of $100 to $500, points on your driving record, or even a misdemeanor charge if the vehicle is significantly larger or more dangerous than what you are licensed for. A commercial truck driver caught driving a commercial vehicle without a CDL faces federal penalties and can be fined up to $15,000.
There is another consequence that many people do not think about: insurance. If you cause an accident while driving a vehicle outside your license class, your insurance company may deny your claim. They can argue that you were breaking the law and therefore were not covered under your policy. This means you could be personally liable for all damages, medical bills, and property loss — potentially tens of thousands of dollars.
Police can check your license class during a traffic stop, and dispatch can see it when they run your plates. If you are pulled over in a vehicle that does not match your class, the officer will know when ready.
How to upgrade or change your class
To upgrade your class, contact your state's DMV or equivalent agency and ask what tests you need to take. For a motorcycle endorsement (Class M), you usually need to pass a written test and a riding skills test, or complete a motorcycle safety course. For a commercial class, you need the written test, pre-trip inspection test, road test, and medical certificate.
You can take these tests at any time — you do not have to wait for your license to expire. Once you pass, the new class is added to your license when ready (or at your next renewal, depending on your state). Your old class does not disappear; your license will show all classes you have ever held.
Some states allow you to test for a higher class before your current license expires, so you can have both active at the same time. Others require you to renew your license to add the new class. Check your state's DMV website for the specific process and any fees involved.
Frequently Asked Questions
Can I drive a rental truck with my regular Class D license?
It depends on the truck's weight. If it is under 26,000 pounds GVWR, yes. If it is over, no — you need a commercial class. The rental company will tell you the GVWR when you book, and they may refuse to rent to you if your license does not match the vehicle. Check before you commit to the rental.
What if I have a motorcycle endorsement but I let it expire?
Your Class M is gone, and you cannot legally ride a motorcycle until you renew it. You will need to retake the test or safety course, depending on your state. You can usually renew it at the same time you renew your regular license, or separately if you want to ride sooner.
Do I need a commercial license to drive for a rideshare service like Uber?
No, rideshare uses your personal Class D license. However, you may need a commercial license if you drive a larger vehicle (like a van) or if your state classifies rideshare as a commercial operation. Check with your state's DMV and your rideshare company's requirements before you start driving.
Can a police officer ticket me for driving outside my class if I was not in an accident?
Yes. Driving a vehicle outside your license class is a violation on its own, regardless of whether you caused an accident or were driving safely. An officer can pull you over and cite you if they notice the mismatch.
What if I got my license in another state — does the class transfer?
Your class transfers when you move and get a new license from your new state, but the new state may interpret the class differently. For example, Class D in one state might cover slightly heavier vehicles than Class D in another. When you move, contact your new state's DMV to confirm your class is still valid, or you may need to take a new test.