It isn’t illegal to drive on Xanax in California if you have a valid prescription and the drug doesn’t affect your driving. But California’s DUI law covers every drug, legal or not, so you can be charged with a drug DUI if Xanax leaves you unable to drive like a sober person.1
Example: Maria takes her prescribed Xanax before a stressful work meeting, then drives home in the afternoon. She drifts between lanes and misses a stop sign, and an officer pulls her over. Even though the pills were prescribed to her, she can be charged with a drug DUI if the Xanax impaired her driving.
Below, we answer the questions people most often ask about Xanax and driving in California. For more detail, see our pages on drug DUI in California and Vehicle Code 23152(f).
Does a prescription protect you from a DUI?
No. California law says outright that being allowed to use a drug is not a defense to a drug DUI.2 The question is never whether you had a prescription. It’s whether the drug affected your ability to drive.
Xanax is the brand name for alprazolam, a sedative in the benzodiazepine family. California lists alprazolam as a Schedule IV controlled substance.3 That matters in two ways:
- With your own prescription, having and taking Xanax is legal. The only DUI issue is impairment.
- Without a prescription, you could face a separate drug charge on top of a DUI. See our article on possessing prescription drugs not prescribed to you.
How long after taking Xanax can you drive?
California law sets no waiting period. What matters is whether Xanax was still affecting you when you drove.
The drug’s own label is cautious. The FDA-approved prescribing information for Xanax says patients should be warned against “driving a motor vehicle” and other activities “requiring complete mental alertness,” and it advises patients not to drive while taking the drug.4 The label also explains how long Xanax stays in your body:
- levels in the blood peak about 1 to 2 hours after a dose, and
- the average half-life (the time it takes for half the drug to leave the body) is about 11 hours, ranging from about 6 to 27 hours in healthy adults.5
In plain terms, Xanax can still be in your system the next morning, and people react to it differently. The label also warns about combining Xanax with alcohol or other drugs that slow the brain, such as sleep aids or opioid painkillers, which can make impairment worse. Your doctor or pharmacist is the right person to ask how it affects you. Until you know, the safest choice is not to drive after taking it.
What if you mixed Xanax and alcohol?
California has a separate DUI rule for driving under the combined influence of alcohol and a drug.6 You can be charged even if your blood alcohol level was below the 0.08% limit, if the mix of alcohol and Xanax impaired your driving.
This is a common situation because both are depressants, and the Xanax label specifically warns about combining the drug with alcohol. A small amount of wine with dinner can hit much harder than usual if you’ve also taken Xanax that day.
Example: John has one beer at a ballgame in Los Angeles and takes his prescribed Xanax afterward. His breath test shows 0.03%, but he fails the field sobriety tests. He can still be charged with DUI for the combined influence of alcohol and Xanax.
How do police decide you’re impaired on Xanax?
Unlike alcohol, there is no “legal limit” for Xanax in California. Prosecutors have to prove you were actually impaired. Officers usually build a drug DUI case on:
- your driving, such as weaving, slow reactions or a collision,
- what they observed, such as drowsiness, slurred speech or slow, unsteady movements,
- field sobriety tests, and
- a chemical test.
If you’re arrested for a drug DUI in California, you can choose a blood or breath test. If you choose breath, the officer can also ask for a blood test when there is reasonable cause to believe it will show you were under the influence of a drug.7 A breath test can’t detect Xanax, so the blood test is usually the key evidence.
A blood test shows that alprazolam was in your system and how much. It doesn’t show, by itself, that you were impaired when you drove. That gap is often the heart of the defense.
Refusing the test after a lawful DUI arrest has its own cost. The DMV will suspend your license for 1 year for a first refusal, and for longer if you have a prior refusal or DUI within 10 years.8 See our page on refusing a DUI chemical test.
Do the same rules apply to Klonopin, Valium and Ativan?
Yes. California’s drug DUI law covers “any drug,” so the same rules apply to other benzodiazepines such as clonazepam (Klonopin), diazepam (Valium) and lorazepam (Ativan). Like alprazolam, all three are Schedule IV controlled substances in California.9 A prescription allows you to possess and take them, but it’s no defense if the drug impaired your driving.
What are the penalties for a Xanax DUI?
A Xanax DUI carries the same penalties as an alcohol DUI. A first offense is a misdemeanor. The court can sentence you to:
- 96 hours to 6 months in county jail, and
- a fine of $390 to $1,000, plus penalty assessments that add substantially to that amount.10
Judges often grant probation instead of most of the jail time. The DMV also suspends your license for 6 months after a first DUI conviction.11 See our page on DUI probation for the usual conditions.
A Xanax DUI becomes more serious when:
- it’s your fourth DUI in 10 years. It can then be charged as a felony, with a term of 16 months, 2 or 3 years, or 180 days to 1 year in county jail.12
- someone was injured. The charge becomes DUI causing injury under Vehicle Code 23153. Even a first offense can mean state prison, or 90 days to 1 year in county jail.13 See our page on DUI causing injury.
How can you fight a Xanax DUI charge?
Drug DUI cases are often weaker than alcohol cases because there is no blood level that proves impairment. Common defenses include:
- The stop was illegal. Police need a valid reason to pull you over. If they didn’t have one, the evidence can be thrown out.
- Your symptoms had another cause. Fatigue, nerves, a medical condition or simply being pulled over can look like impairment.
- The blood test doesn’t prove impairment. An expert may be able to show your level was within the normal range for a prescribed dose.
- The blood sample was mishandled. Errors in collecting, storing or testing the sample can make the result unreliable.
In our experience, many Xanax DUI cases turn on what the officer saw rather than the blood test, so a careful look at the stop and the field sobriety tests often makes the difference. If you also take other prescriptions, see our article on driving after taking hydrocodone and our page on DUI on sleeping pills.
Talk to a California DUI defense lawyer
If you were arrested for driving on Xanax, our California DUI defense lawyers can review the stop, the officer’s report and the blood test results. Contact us for a free consultation.
Legal references:
- California Vehicle Code 23152(f) VC: “It is unlawful for a person who is under the influence of any drug to drive a vehicle.”
- California Vehicle Code 23630 VC: “The fact that any person charged with driving under the influence of any drug … is, or has been entitled to use, the drug under the laws of this state shall not constitute a defense against any violation of the sections.”
- California Health and Safety Code 11057(a), (d)(1) HSC: “The controlled substances listed in this section are included in Schedule IV.” Depressants listed include “(1) Alprazolam.”
- XANAX (alprazolam) tablets, prescribing information (DailyMed, revised April 2024), section 5.4: “Because of its CNS depressant effects, patients receiving XANAX should be cautioned against engaging in hazardous occupations or activities requiring complete mental alertness such as operating machinery or driving a motor vehicle.” Section 17: “Advise patients not to drive a motor vehicle or operate heavy machinery while taking XANAX due to its CNS depressant effects.”
- XANAX (alprazolam) tablets, prescribing information (see note 4 above), Clinical Pharmacology: “peak plasma concentration of alprazolam (Cmax) occurs in 1 to 2 hours post dose” and “The mean plasma elimination half-life (T1/2) of alprazolam is approximately 11.2 hours (range: 6.3 to 26.9 hours) in healthy adults.”
- California Vehicle Code 23152(g) VC (see note 1 above): “It is unlawful for a person who is under the combined influence of any alcoholic beverage and drug to drive a vehicle.”
- California Vehicle Code 23612(a)(2)(B)-(C) VC: a person arrested for driving under the influence of a drug “has the choice of whether the test shall be of his or her blood or breath,” and a person who chooses breath “may also be requested to submit to a blood test if the officer has reasonable cause to believe that the person was driving under the influence of a drug … and if the officer has reasonable cause to believe that a blood test will reveal evidence of the person being under the influence.”
- California Vehicle Code 23612(a)(1)(D) VC (see note 7 above): failing to submit to or complete the required tests “will result in (i) the administrative suspension by the department of the person’s privilege to operate a motor vehicle for a period of one year, (ii) the administrative revocation by the department of the person’s privilege to operate a motor vehicle for a period of two years if the refusal occurs within 10 years” of a prior refusal or DUI conviction, and a three-year revocation with two or more priors.
- California Health and Safety Code 11057(d) HSC (see note 3 above): Schedule IV depressants include “(7) Clonazepam,” “(9) Diazepam” and “(16) Lorazepam.”
- California Vehicle Code 23536(a) VC: a first violation of Section 23152 is punished “by imprisonment in the county jail for not less than 96 hours, at least 48 hours of which shall be continuous, nor more than six months, and by a fine of not less than three hundred ninety dollars ($390), nor more than one thousand dollars ($1,000).”
- California Vehicle Code 13352(a)(1)(A) VC: “upon a conviction or finding of a violation of Section 23152 punishable under Section 23536, the privilege shall be suspended for a period of six months.”
- California Vehicle Code 23550(a) VC: if the offense “occurred within 10 years of three or more separate violations,” the person “shall be punished by imprisonment pursuant to subdivision (h) of Section 1170 of the Penal Code, or in a county jail for not less than 180 days nor more than one year, and by a fine of not less than three hundred ninety dollars ($390) nor more than one thousand dollars ($1,000).”
- California Vehicle Code 23554 VC: a first violation of Section 23153 is punished “by imprisonment in the state prison, or in a county jail for not less than 90 days nor more than one year, and by a fine of not less than three hundred ninety dollars ($390) nor more than one thousand dollars ($1,000).”