CDL Practice Test

CDL Classes A, B and C, Endorsements and Restrictions

Class A covers heavy combination vehicles, Class B covers heavy single vehicles, Class C covers smaller vehicles that carry 16 or more people or placarded hazardous materials, and endorsements (H, N, T, P, S and X) and restrictions (such as L, Z, E and O) fine-tune exactly what you may drive.

The class definitions and codes below come from federal CDL rules, which every state follows. States may add their own requirements, exemptions (for example for farmers, firefighters or military drivers) and fees, so check your state's CDL manual before you apply.

The three CDL classes

All weights are ratings, not what the vehicle weighs today. GVWR is the gross vehicle weight rating set by the manufacturer, and GCWR is the gross combination weight rating of a power unit and its trailer or trailers.

ClassFederal definition, simplifiedCommon examples
AA combination with a GCWR of 26,001 pounds or more, where the vehicle or vehicles being towed have a GVWR over 10,000 poundsTractor-trailers, truck and trailer combinations, tanker and flatbed combinations
BA single vehicle with a GVWR of 26,001 pounds or more, or such a vehicle towing a trailer with a GVWR of 10,000 pounds or lessStraight trucks, dump trucks, large city and tour buses, box trucks over 26,000 pounds
CA vehicle that doesn't meet Class A or B but is designed to carry 16 or more passengers including the driver, or is used to carry placarded hazardous materialsPassenger vans and small buses for 16 or more, smaller trucks hauling placarded hazmat

A Class A holder may also drive Class B and C vehicles, and a Class B holder may drive Class C vehicles, as long as they hold any endorsements the vehicle requires. A Class A holder still needs the P endorsement to drive a bus, for example.

Endorsements

CodeEndorsementTests requiredWhat it lets you do
HHazardous materialsKnowledge test plus a TSA security threat assessment; first-time applicants also complete entry-level theory training before the testHaul hazardous materials in amounts that require placards
NTank vehicleKnowledge testDrive a vehicle carrying liquids or gases in a tank of more than 119 gallons, with 1,000 gallons or more in total
TDouble/triple trailersKnowledge testPull double or triple trailers, where state law allows them
PPassengerKnowledge test and skills testDrive a vehicle designed to carry 16 or more people, including the driver
SSchool busKnowledge test and skills test in a school bus, plus the P requirementsDrive a school bus
XTank and hazmat combinedBoth the H and N requirementsHaul hazardous materials in a tank vehicle

Under the federal entry-level driver training (ELDT) rule, in effect since February 7, 2022, first-time applicants for the P, S and H endorsements must complete training from a provider listed on the FMCSA Training Provider Registry. Many states add their own background checks for school bus drivers.

Restriction codes

Restrictions limit what you may drive. They usually come from how you tested: which knowledge tests you passed and what kind of vehicle you used for the skills test.

CodeRestrictionTypical reason
ENo manual transmission CMVYou took the skills test in a vehicle with an automatic transmission
KIntrastate onlyYou may drive only within your state, for example because of age or medical qualification
LNo air brake equipped CMVYou did not pass the Air Brakes knowledge test, or took the skills test in a vehicle without air brakes
MNo Class A passenger vehicleYou hold a Class A CDL but earned the P or S endorsement in a Class B vehicle
NNo Class A and B passenger vehicleYou earned the P or S endorsement in a Class C vehicle
ONo tractor-trailer CMVYou took the Class A skills test in a combination that is not a tractor-trailer, such as a truck pulling a trailer with a pintle hook
VMedical varianceYou drive under a medical variance or exemption
ZNo full air brake equipped CMVYou took the skills test in a vehicle with air-over-hydraulic brakes

Two restrictions apply only to learner's permits: P (no passengers in a CMV bus) and X (no cargo in a CMV tank vehicle). Note that the same letter can mean different things: N is the tank endorsement, but N as a restriction means no Class A or B passenger vehicles.

How to choose what to get

Start with the job you want, then work backward:

  1. Over-the-road tractor-trailer: Class A with no air brake restriction. Many drivers add H, N or X, and T, to qualify for more freight.
  2. Local delivery, dump truck or straight truck: usually Class B, unless the truck tows a heavy trailer.
  3. City or tour bus: usually Class B with P.
  4. School bus: usually Class B or C with P and S, plus your state's added requirements.
  5. Small hazmat truck: Class C with H, if the vehicle is under the Class A and B weight limits.

Test in the vehicle you want to drive. If you take the skills test in an automatic, or in a truck without full air brakes, you will get a restriction, and removing it later usually means another skills test.

Other requirements

  • Age: 21 to drive commercial vehicles across state lines; many states allow 18-year-olds to drive within the state.
  • Medical: a DOT medical certificate from a certified medical examiner, unless your type of driving is excepted.
  • Training: ELDT for a first Class A or B license, an upgrade to Class A or B, or a first P, S or H endorsement.

To get ready for the knowledge tests that come with each class and endorsement, start with the CDL practice tests.

CDL Practice Test

CDL knowledge-test practice, test by test.

Start a free test

Questions

Can a Class A CDL holder drive a Class B vehicle?
Yes. A Class A license covers Class B and C vehicles too, as long as you hold any endorsement the vehicle needs, such as P for a bus.
What is the X endorsement on a CDL?
X combines the tank vehicle (N) and hazardous materials (H) endorsements, so you need to meet the requirements for both, including the TSA security threat assessment.
What does the L restriction on a CDL mean?
L means you may not drive a commercial vehicle with air brakes. It is added if you do not pass the Air Brakes knowledge test or you take the skills test in a vehicle without air brakes.