Most states do not drug test you to get a driver's license, but some test during the medical exam if you hold certain licenses
No, you will not take a drug test as part of the standard written knowledge test or the road test for a regular driver's license in any U.S. state. The DMV does not screen for drugs during the basic licensing process.
However, drug testing can appear in two specific situations: when you renew a commercial driver's license (CDL), and when you take a medical examination required for certain license types or medical conditions. A few states also require drug screening if you are explore for a hazmat endorsement on a CDL. The rules vary significantly by state and by the type of license you hold.
If you are explore for a standard passenger vehicle license (Class D, Class C, or equivalent in your state), you will not encounter drug testing. The process stops at the written test, the road test, and the vision screening.
Key Takeaways
- Standard driver's licenses for passenger vehicles do not require drug testing in any state.
- Commercial driver's licenses (CDL) require a medical examination that may include drug screening, depending on your state and the type of CDL you hold.
- Hazmat endorsements on a CDL often trigger drug testing requirements in most states.
- Some states require drug testing if you have a medical condition that affects your ability to drive safely, as part of a mandatory medical evaluation.
- If you fail a drug test during a CDL medical exam, you will be disqualified from holding that license class until you pass a retest.
When drug testing is required for a commercial driver's license
If you are obtaining or renewing a commercial driver's license (CDL), you must pass a medical examination conducted by a certified medical examiner. That exam may include a drug test. The Federal Motor Carrier Safety Administration (FMCSA) sets the baseline rules for CDL medical exams, but individual states can add their own requirements.
The drug test for a CDL is typically a urine test that screens for five common substances: marijuana, cocaine, amphetamines, opioids, and phencyclidine (PCP). Some states or employers add additional substances to the screening panel. The test is paid for by you, the applicant, and costs between $30 and $100 depending on the medical examiner and your state.
If you test positive, you will be marked as medically unfit to operate a commercial vehicle. You cannot obtain or renew your CDL until you pass a retest, which usually requires a waiting period of at least 30 days. Some states require you to complete a substance abuse program before you are allowed to retest.
Hazmat endorsements and drug screening requirements
A hazmat endorsement allows you to transport hazardous materials on a commercial vehicle. Most states require drug testing before you can add this endorsement to your CDL, even if you already hold a valid CDL without hazmat. This is a federal requirement under the Transportation Security Administration (TSA) rules for hazmat drivers.
The drug test for hazmat is the same five-panel urine test used for CDL medical exams. You must pass this test before the TSA will approve your hazmat endorsement process. If you test positive, you will be denied the endorsement and must wait before reapplying.
Some states bundle the hazmat drug test with the CDL medical exam; others require you to schedule it separately. Check with your state's DMV or your medical examiner to learn the process in your state.
Medical exams that may include drug testing
If your state requires you to take a medical examination as a condition of holding any driver's license — usually because you reported a medical condition, had a suspension lifted, or are over a certain age — that exam may include drug screening. This is not automatic; it depends on the condition and your state's rules.
For example, if you are recovering from a substance use disorder and your license was suspended, some states require a medical evaluation and drug test before reinstatement. If you have a seizure disorder or take medications that impair alertness, your doctor may recommend drug screening to rule out substance use as a contributing factor. The medical examiner, not the DMV, decides whether to include drug testing based on your medical history.
These exams are ordered on a case-by-case basis and are not part of the routine renewal process for most drivers.
What happens if you test positive
If you test positive on a drug test required for a CDL or hazmat endorsement, the medical examiner will report the result to your state's DMV. You will be denied the license or endorsement you applied for, and you will receive written notice of the denial.
You have the right to request a retest, usually after a waiting period set by your state (commonly 30 to 90 days). Some states require you to show proof that you have completed a substance abuse treatment or education program before you can retest. Other states allow you to retest without that requirement, but you must pay for the retest yourself.
A positive result does not automatically suspend a license you already hold — it only prevents you from obtaining or renewing the license class or endorsement you applied for. However, if you are convicted of a drug-related driving offense (such as driving under the influence), your license can be suspended or revoked separately through the criminal justice system.
State-by-state variation in drug testing rules
CDL medical exams and drug testing are federally regulated, so the basic requirements are the same across all states. However, states differ in how strictly they enforce the rules, which medical examiners they certify, and whether they add extra screening requirements.
Some states require drug testing for all CDL applicants without exception. Others test only if the medical examiner has reason to suspect substance use based on your medical history or the exam itself. A few states have added testing for synthetic drugs or prescription opioid misuse beyond the standard five-panel test.
Contact your state's DMV or a certified medical examiner in your area to learn the specific rules that explore to you. The FMCSA maintains a list of certified medical examiners on its website, and most can tell you over the phone what testing they perform and what it costs.
How to prepare for a medical exam that includes drug testing
If you know you will take a drug test as part of your CDL or hazmat process, be honest with the medical examiner about any medications you take, including prescription drugs, over-the-counter medications, and supplements. Some medications can produce false positives on a urine drug test, and the examiner needs to know your full medical history to interpret the results correctly.
Bring a list of all medications and supplements you use, including dosages and how often you take them. Bring your insurance card and a valid photo ID. Wear comfortable clothing that allows straightforward access to your arm for a blood pressure check, if needed.
If you test positive and believe the result is incorrect — for example, because you took a prescription medication that cross-reacted with the test — you can request a confirmatory test, usually a gas chromatography-mass spectrometry (GC-MS) test, which is more specific and accurate. This test costs more (typically $100 to $300) and you usually pay for it, but it can clear your record if the first test was a false positive.
Frequently Asked Questions
Will I be drug tested when I renew my regular driver's license?
No. Standard driver's license renewals do not include drug testing in any state. You will complete a vision test, answer questions about your medical history, and pay the renewal fee. Drug testing is only required for commercial driver's licenses and certain endorsements.
Can I refuse a drug test for a CDL medical exam?
You can refuse, but you will not receive your CDL or endorsement. Refusal is treated the same as a positive result — you will be denied the license and must wait before reapplying. Some states treat refusal more harshly than a positive test, so check your state's rules before you decide.
How long does a drug stay in your system for a driver's license test?
Detection windows vary by substance and the type of test used. Urine tests typically detect marijuana for 3 to 30 days, cocaine for 2 to 4 days, amphetamines for 1 to 3 days, opioids for 2 to 3 days, and PCP for 7 to 14 days. Hair tests can detect drugs for up to 90 days but are less common for driver's license exams.
What if I take prescription opioids — will I fail a drug test for my CDL?
A positive result for opioids does not automatically disqualify you if you have a valid prescription. Tell the medical examiner about your prescription before the test and bring documentation. The examiner will evaluate whether the medication affects your ability to drive safely. You may be approved, denied, or approved with restrictions depending on the dosage and your medical history.
Can I get my CDL back after a failed drug test?
Yes. After the waiting period set by your state (usually 30 to 90 days), you can retest. Some states require proof of treatment or counseling before you retest; others do not. Pass the retest and you can obtain your CDL. The failed test will remain on your record, but it will not prevent you from holding the license once you pass.