Driving under the influence of any medication which impairs your driving is permitted:

It is illegal to drive under the influence of any substance that impairs your ability to drive safely. This includes alcohol, prescription medications, over-the-counter medications, and illegal drugs.

Wait, before you go

Ace Your California DMV Written Test with our Guaranteed Cheat Sheet