The X endorsement restricts you from carrying certain hazardous materials

The X endorsement on a commercial driver's license is actually a restriction, not a permission. It means you are not allowed to haul hazardous materials that require placarding — the diamond-shaped warning signs on the side of trucks. If your CDL has an X, you cannot transport materials classified as explosives, flammable liquids, gases, poisons, or radioactive substances, even if you have other endorsements that would normally allow it.

You get an X endorsement automatically if you fail the hazmat knowledge test or choose not to take it. Most drivers who work in general trucking, local delivery, or construction hauling never need to remove it because they never transport hazmat. But if your job requires moving regulated materials, you will need to pass the hazmat test to remove the X and get the H endorsement instead.

The X is printed on your license as a restriction code. It does not prevent you from driving a commercial vehicle — it only limits what cargo you can legally carry. A driver with an X can still haul regular freight, food, furniture, or construction equipment without any problem.

Key Takeaways

  • An X endorsement is a restriction that prevents you from transporting hazardous materials that require warning placards on the vehicle.
  • You receive an X automatically if you do not pass the hazmat knowledge test or choose not to take it when you get your CDL.
  • Removing the X requires passing the hazmat written test at your state's DMV and paying a test fee, which varies by state.
  • Most local and regional trucking jobs do not require hazmat transport, so many drivers keep the X restriction throughout their careers.

When you automatically get the X endorsement

Every new CDL holder goes through the licensing process and must decide whether to pursue hazmat transport. If you do not take the hazmat knowledge test, the X is added to your license by default. If you take the test and fail it, the X is also added. Either way, the restriction appears on your physical license and in the state's records.

The X does not expire or go away on its own. It stays on your license until you specifically request to remove it by passing the hazmat test. Some drivers keep it for years without issue because their employers never ask them to haul hazmat cargo.

How to remove the X endorsement

To remove the X, you must pass the hazmat knowledge test at your state's Department of Motor Vehicles. The test covers regulations for transporting hazardous materials, how to identify hazmat shipments, proper placarding, emergency procedures, and security rules. You study from the same CDL manual you used for your general knowledge test, but you focus on the hazmat section.

You schedule the test at your local DMV office, pay the test fee (typically between $10 and $50 depending on your state), and take the written exam. Most states allow you to retake it the same day if you fail, though some require you to wait a few days. Once you pass, the X is removed and replaced with an H endorsement, which permits you to haul hazmat.

You do not need to renew your entire CDL or take the road test again. The change is made in the system and printed on your next license card, or you may receive a temporary document showing the endorsement change while you wait for the new card to arrive by mail.

What hazmat materials require the H endorsement

Materials that require hazmat placarding fall into nine classes: explosives, gases, flammable liquids, flammable solids, oxidizers, poisons, radioactive materials, corrosives, and miscellaneous hazardous materials. If your cargo falls into any of these categories and the shipment meets the Department of Transportation's threshold for quantity, you must have the H endorsement to transport it legally.

Common examples include gasoline, diesel fuel, propane, chlorine, pesticides, batteries, and certain pharmaceuticals. A truck carrying these materials must display placards on all four sides, and the driver must carry shipping papers documenting what is in the vehicle. Without the H endorsement, you cannot legally accept these loads, even if you have the knowledge to handle them safely.

The difference between X and H endorsements

The X is a restriction — it limits what you can do. The H is an endorsement — it grants permission to do something. A driver with an X cannot haul hazmat. A driver with an H can. Some states also use an X with an H together, which means the driver has hazmat permission but is restricted from transporting certain materials (such as passengers in a hazmat vehicle). Check your license to see exactly what codes appear in your restrictions section.

If you have an H but no X, you can transport all classes of hazmat. If you have an X with no H, you cannot transport any placarded hazmat. The codes work together to define your exact permissions and restrictions.

Why employers care about the X endorsement

Some trucking companies and freight brokers will not hire you if you have an X, because it means you cannot take certain loads. Other employers — particularly those doing local delivery, construction hauling, or food transport — do not care because they never move hazmat cargo. Before you accept a job offer, ask whether the position ever requires hazmat transport. If it does and you have an X, you will need to remove it before you start.

Some companies will pay for you to take the hazmat test as part of your onboarding. Others expect you to have the H already. Knowing what your job requires before you explore helps you decide whether removing the X makes sense for your career.

Frequently Asked Questions

Can I drive a commercial truck with an X endorsement?

Yes. The X only restricts hazmat cargo. You can still drive a commercial vehicle and haul regular freight, local deliveries, construction materials, or any non-hazardous load. Many professional drivers keep the X their entire career because their jobs never involve hazmat transport.

Do I need a background check or fingerprints to remove the X?

No. Removing the X requires only passing the hazmat knowledge test. You do not need a background check, fingerprints, or a medical exam. The process is straightforward: study the hazmat section of the CDL manual, schedule the test at your DMV, pay the fee, and take the exam.

What happens if I fail the hazmat test?

You can usually retake it the same day or within a few days, depending on your state's rules. There is no penalty for failing — you straightforward pay the test fee again and try once more. Most people pass on the second attempt after reviewing the material more carefully.

Does the X endorsement affect my insurance or driving record?

No. The X is a restriction on what cargo you can carry, not a mark against your driving record or safety. It does not raise your insurance rates or appear on your record as a violation. It is straightforward a limitation printed on your license.

Can I get the X removed if I have a criminal record?

A criminal record does not automatically prevent you from removing the X. However, certain serious felonies — particularly those involving explosives, weapons, or terrorism — may disqualify you from hazmat transport under federal law. Check with your state's DMV or a hazmat instructor about your specific situation.