What you can and cannot do online for a CDL test
You cannot take the actual Commercial Driver's License (CDL) written test online. The written knowledge test must happen at an approved testing location in your state, administered by a person who can verify your identity and watch you take the exam. However, some states do allow you to study for the test using online materials, and a few states have begun offering the hazmat endorsement written test through approved online proctoring services — but this is not yet standard across all states.
The practical skills test (the driving test) also cannot happen online. You must demonstrate vehicle control, safety procedures, and road awareness in an actual commercial vehicle with an examiner present. This is a safety requirement, not a bureaucratic one: the test exists to confirm you can operate a large vehicle without endangering other drivers.
What has moved online in many states is the medical certification process and some of the paperwork filing, but the actual testing remains in-person. Before you search for an online CDL test, check your state's Department of Motor Vehicles website to see what your state currently offers.
Key Takeaways
- The written CDL knowledge test must be taken at an approved testing location in your state, with an examiner present to verify your identity.
- The practical driving test cannot be completed online and requires you to operate a commercial vehicle with an examiner in the cab.
- Some states allow online study materials and a few offer hazmat endorsement tests through approved online proctoring, but this varies by state.
- Your state's DMV website lists approved testing locations and whether any portion of the CDL process can be done remotely in your area.
- Medical certification and some paperwork can sometimes be handled online, but the actual driving and knowledge tests remain in-person requirements.
Where the written test happens and what to bring
Your state's DMV operates or contracts with approved testing centers where you take the written CDL exam. These are not online platforms — they are physical locations staffed by examiners. You can find the list of testing centers on your state DMV website, usually under "CDL Testing" or "Commercial Driver's License." Some states allow you to schedule your test appointment online; others require you to call or visit in person.
Bring a valid government-issued photo ID (driver's license, passport, or state ID), your Social Security number or tax ID, and proof of residency if your state requires it. Some states also require you to bring your medical certification (FMCSA Form 70) before you can sit for the test. Check your state's specific requirements before you go, because testing centers will turn you away if you lack required documents, and you will forfeit your test fee.
The written test covers vehicle inspection, safe driving practices, air brake systems (if you are testing for that endorsement), hazmat rules, and other topics specific to the endorsement you are seeking. You will have a set amount of time — usually 60 to 90 minutes — to complete it. The passing score varies by state but is typically 80 percent or higher.
How the practical driving test is structured
The practical test has three parts: the vehicle inspection (pre-trip), the basic control skills test, and the road test. All three happen on the same day, usually at a testing facility or a route approved by your state's DMV. You must bring your own commercial vehicle or arrange one through a testing service — you cannot use the examiner's vehicle.
During the vehicle inspection, you walk around and point out safety components: lights, mirrors, tires, brakes, coupling devices, and emergency equipment. The examiner watches and listens to confirm you know what you are checking and why. This is not a written test; it is a demonstration that you understand the vehicle you are about to drive.
The basic control skills test happens in a closed course or parking lot. You perform maneuvers like backing in a straight line, backing into an alley dock, and parking between two vehicles. These test your ability to control the vehicle's size and weight in tight spaces — the situations where most commercial vehicle accidents happen. You then drive on public roads with the examiner in the cab, demonstrating lane changes, turns, braking, and response to traffic and hazards.
Why some states are testing hazmat endorsements online
A handful of states have begun offering the hazmat endorsement written test through approved online proctoring services. This is the test for transporting hazardous materials — explosives, flammables, poisons, and radioactive materials. The federal government allows states to administer this test remotely as long as the proctor is approved and can verify your identity in real time.
If your state offers this option, you take the test from home or another location with a computer and internet connection, but a proctor watches you through your webcam to prevent cheating. You still need to pass a background check and provide your fingerprints before you can take the hazmat test, whether online or in person. Not all states have adopted online hazmat testing yet, so check your state DMV website to see if this option is available to you.
Study materials and preparation resources
Most states provide free CDL study guides on their DMV websites, available as PDFs you can read and read online. These guides cover the knowledge test content for each endorsement: general knowledge, air brakes, combination vehicles, tanker vehicles, and hazmat. Some states also offer practice tests online, which let you take a sample exam to see what the real test looks like and identify weak areas.
Third-party websites and apps offer CDL practice tests as well, though you should verify that the content matches your state's test. CDL content is fairly standardized across states, but some states have specific rules or emphasis areas that differ. Using your state's official study guide as your primary resource and a third-party practice test as a supplement is a solid approach.
Many people also take CDL training courses — either in-person at a truck driving school or online classroom instruction followed by in-person driving practice. These courses are not required by law, but they can improve your chances of passing both the written and practical tests on your first attempt. If you go this route, confirm that the school is recognized by your state and that it covers the endorsements you need.
Medical certification and other pre-test requirements
Before you can take the CDL written test, you must have a valid medical certification from a Department of Transportation (DOT) medical examiner. This is a physical exam that confirms you are medically fit to operate a commercial vehicle. You schedule this exam with a certified medical examiner — not your regular doctor — and it costs between $50 and $150 depending on your location and whether you have any medical conditions that require additional evaluation.
Some states allow you to submit your medical certification online through the DMV portal; others require you to bring the original form (FMCSA Form 70) to the testing center. The medical certification is valid for two years, so if you already have one from a previous CDL or medical card, check the expiration date before you schedule your test.
You also need a valid regular driver's license and a clean driving record. Most states will not issue a CDL if you have certain traffic violations or criminal convictions. Your state DMV can tell you whether your record disqualifies you before you pay for tests.
What happens after you pass the tests
Once you pass both the written and practical tests, you go to your state DMV office to pay the CDL fee and have your photo taken for the license. The fee varies by state — typically between $50 and $150 — and the license is valid for four or eight years depending on your state. Some states mail the license to you; others issue it on the spot.
Your CDL will show which endorsements you have earned (hazmat, tanker, passenger, air brake restriction, etc.). If you want additional endorsements later, you take the written test for each one and, if required, the practical test. You do not have to retake the entire practical test if you are only adding an endorsement to an existing CDL.
Frequently Asked Questions
Can I take the CDL written test from home on my computer?
Not in most states. The written test must be taken at an approved testing location with an examiner present. A few states offer online proctoring for the hazmat endorsement test only, but you will need to check your state DMV website to see if this is available where you live.
Do I need to attend a truck driving school before I take the CDL test?
No, it is not legally required. You can study on your own using your state's free study guide and practice tests. However, many people find that formal training improves their chances of passing, especially the practical driving test, because instructors teach you the specific maneuvers and safety practices the examiner will be watching for.
What if I fail the written test?
You can retake it. The number of retakes allowed and the waiting period between attempts varies by state — some allow you to test again when ready, others require you to wait a few days. You will have to pay the test fee again each time you retake it. Your state DMV can tell you the specific rules.
Can I use my regular driver's license while I wait for my CDL to arrive?
No. Once you pass the CDL tests, you cannot legally operate a commercial vehicle until you have the actual CDL in hand. Some states issue a temporary permit or certificate while your license is being printed and mailed, but you need to ask about this at the DMV office when you complete your test.
How long does it take to get a CDL after I pass the tests?
If you take the tests at a DMV office and complete the paperwork the same day, you may receive your license when ready or within a few days. If the DMV mails it to you, allow one to three weeks depending on your state's processing time. Check with your state DMV about their current turnaround time.