CALL US NOW Text Us

Prescription Drug Charges Lawyers in Bay Area

A bottle of medication with someone else’s name on it. A leftover prescription from a surgery two years ago. A routine traffic stop that turns into a criminal investigation. Prescription drug charges in California often begin with situations that feel far removed from criminal conduct.

Most people arrested for prescription drug offenses are not career criminals. They are patients managing pain, professionals dealing with anxiety, or individuals who simply did not realize that possessing medication without a current, valid prescription is a crime under California law. But prosecutors do not make that distinction when filing charges, and the consequences of a conviction can follow you through every job application, professional license renewal, and immigration proceeding for years.

Understanding how California law treats prescription drug offenses, and where the prosecution’s case may have weaknesses, is the first step toward protecting yourself. Our team at The Nieves Law Firm Criminal Defense Attorneys has defended hundreds of drug cases across the Bay Area, and we know that the gap between a conviction and a dismissal often comes down to how early and how aggressively the defense gets to work.

If you are facing prescription drug charges in Oakland, Fremont, San Jose, or anywhere in the Bay Area, contact us for a consultation so we can evaluate the facts of your case.

How California Law Classifies Prescription Drug Offenses

Unlike street drug cases, prescription drug charges involve substances that are legal when obtained through a valid prescription. That distinction creates a legal landscape where the line between lawful and criminal conduct is thinner than most people realize. California prosecutes prescription drug offenses under several different statutes, and the charge you face depends on three factors: the substance, the quantity, and what prosecutors believe you intended to do with it.

Statute Offense Classification
Health & Safety Code, § 11350 Simple possession of a controlled substance (opioids, certain narcotics) Misdemeanor (post-Proposition 47)
Health & Safety Code, § 11375, subd. (b)(1) Possession of non-narcotic prescription drugs without a valid prescription Misdemeanor
Health & Safety Code, § 11351 Possession of a controlled substance for sale Felony
Health & Safety Code, § 11352 Sale, transportation, or furnishing of a controlled substance Felony
Health & Safety Code, § 11173 Fraud or deceit to obtain controlled substances (doctor shopping) Wobbler
Business & Professions Code, § 4060 Possession of any prescription drug without a valid prescription Misdemeanor

The substances most commonly involved in Bay Area prescription drug cases include opioids (oxycodone, hydrocodone, fentanyl, codeine), benzodiazepines (Xanax, Valium, Klonopin, Ativan), stimulants (Adderall, Ritalin), and sleep medications (Ambien).

The real question for anyone facing these charges is whether prosecutors can prove every required element beyond a reasonable doubt, and that is where a careful defense begins.

What Prosecutors Must Prove

Each prescription drug charge requires the prosecution to establish specific elements. When our attorneys analyze a case, we start with the most practical question: which of these elements is weakest?

Simple Possession (HS 11350)

Under CALCRIM No. 2304, the prosecution must prove all of the following1:

The defendant possessed a controlled substance. Possession can be actual (on your person) or constructive (within your control, like in a car or home). Constructive possession is frequently contested because proximity alone does not equal control.

The defendant knew the substance was present. If the medication was in a bag you borrowed, a vehicle you were riding in, or a shared living space, the prosecution must establish that you actually knew it was there.

The defendant knew the substance’s nature or character as a controlled substance. This is not about knowing the exact chemical name. But the prosecution must show you understood the substance was a controlled drug, not that you believed it was something innocuous.

The substance was in a usable amount. Trace residue or an empty bottle is typically insufficient. The quantity must be enough that it could actually be used as a controlled substance.

Possession for Sale (HS 11351)

Under CALCRIM No. 2302, the prosecution must prove the same knowledge and possession elements as simple possession, plus one critical additional element2:

The defendant intended to sell the substance. This is where most possession-for-sale cases are won or lost. Prosecutors typically rely on circumstantial evidence of intent: quantity beyond personal use, packaging materials (baggies, bindles), scales, pay-owe sheets, large amounts of cash, multiple phones, or expert testimony from a narcotics officer. The absence of these indicators can be powerful evidence that the quantity was for personal use, not sale.

Sale or Transportation (HS 11352)

Under CALCRIM No. 2300, the prosecution must prove3:

The defendant sold, transported for sale, furnished, or gave away a controlled substance. For transportation charges specifically, the prosecution must prove the transportation was for the purpose of sale, not merely moving the substance from one location to another for personal use. This “for sale” requirement was clarified by the California Supreme Court and is a significant defense opportunity in many cases.

The Valid Prescription Defense

Of all the defenses available in prescription drug cases, one stands above the rest in both simplicity and power: you had a valid prescription.

If you possessed medication that was lawfully prescribed to you by a licensed physician, there is no crime. This seems straightforward, but in practice, the valid prescription defense raises questions that prosecutors and defense attorneys frequently litigate.

Does the prescription need to be current? Generally, yes. A prescription that expired two years ago may not provide a complete defense, though it can demonstrate that you originally obtained the medication lawfully and may have simply continued using it without realizing the prescription lapsed.

Do you need to have the physical prescription with you? No. California law does not require you to carry your prescription bottle or paperwork at all times. The fact that you could not produce the prescription at the moment of arrest does not mean one did not exist. Medical records, pharmacy databases, and physician testimony can all establish that a valid prescription existed.

What if the prescription was valid but you possessed more than prescribed? This is a gray area that prosecutors sometimes exploit. Possessing a larger quantity than a single prescription covers can raise questions, but it does not automatically negate the defense. Patients legitimately accumulate medication from multiple refills, and physicians sometimes adjust dosages.

What about medications prescribed to a family member? This is where many people get into trouble. Even if a spouse or parent willingly gave you their medication, possessing someone else’s prescription drugs is illegal under California law. However, the circumstances matter significantly for how the case is prosecuted and what resolution is achievable.

From our experience defending these cases, the valid prescription defense is most effective when we can document the prescription early in the case. If you have been arrested for possessing medication you believe was lawfully prescribed, gathering your medical records and pharmacy history immediately gives your defense team the strongest foundation to work with.

Penalties and Sentencing

Simple Possession (HS 11350)

Thanks to Proposition 47, passed by California voters in 2014, simple possession of most controlled substances is now a misdemeanor for most defendants.4 The maximum penalty is up to one year in county jail and a fine. However, defendants with prior convictions for certain serious offenses, including sex offenses requiring registration under Penal Code, § 290, may still face felony charges.

Possession for Sale (HS 11351)

This is a straight felony carrying two, three, or four years in county jail.5 Weight enhancements under Health & Safety Code, § 11370.4 can add three to 25 additional years depending on the quantity involved.6

Sale or Transportation (HS 11352)

This felony carries three, four, or five years in state prison.7 If the transportation crossed two or more county lines, the sentence increases to three, six, or nine years.8 Prior convictions for specified drug offenses can add three years per prior.

Doctor Shopping/Fraud (HS 11173)

As a wobbler offense, this can be charged as a misdemeanor (up to one year in county jail) or a felony (16 months, two, or three years).9

Sentence Enhancements

Enhancement Statute Additional Penalty
Large quantity of narcotics Health & Safety Code, § 11370.4 3 to 25 additional years depending on substance and weight
Possession while armed with a firearm Health & Safety Code, § 11370.1 2, 3, or 4 years
Sale near a school or playground Health & Safety Code, § 11353.1 3 to 5 additional years
Using a minor in a drug transaction Health & Safety Code, § 11353 3 to 9 additional years

None of the primary prescription drug offenses are strike offenses under California’s Three Strikes law, which is meaningful for long-term consequences and future sentencing exposure.

Constructive Possession and the “Dominion and Control” Doctrine

One of the most frequently contested issues in prescription drug cases is whether the defendant actually possessed the drugs at all. This matters because prescription medications are commonly found in shared spaces: a family medicine cabinet, a glove compartment, a purse or backpack that multiple people use, a nightstand in a shared bedroom.

Under California law, the prosecution does not need to prove the drugs were physically on your person. “Constructive possession” is sufficient, meaning the drugs were in a place where you had the right to exercise dominion and control over them, and you knew they were there.10

But here is where the doctrine creates real defense opportunities. Dominion and control requires more than mere proximity or access. If five people live in a house and prescription pills are found in a common area, the prosecution cannot simply point to the fact that you lived there. They must present evidence connecting you specifically to those pills: your fingerprints on the container, witness testimony, text messages, or other evidence showing you knew about and controlled the substance.

In our experience, constructive possession arguments are especially strong in cases involving:

  • Shared vehicles. Pills found in a center console or glove box of a car with multiple regular users.
  • Shared residences. Medications discovered during a search of a home with multiple occupants.
  • Borrowed property. A jacket, bag, or vehicle belonging to someone else.
  • Workplace settings. Medications found in a shared workspace, locker room, or break area.

When the prosecution relies on constructive possession, every piece of evidence connecting (or failing to connect) the defendant to the substance becomes critical. This is an area where thorough investigation by the defense team can make the difference between a conviction and a dismissal.

Defense Strategies for Prescription Drug Cases

Challenging the Search (Fourth Amendment / PC 1538.5)

Prescription drugs are frequently discovered during traffic stops, home searches, workplace inspections, and pat-downs. If law enforcement conducted the search without a valid warrant, without proper consent, or by exceeding the scope of a lawful search, the evidence may be suppressed entirely.11 A successful motion to suppress under Penal Code, § 1538.5 can eliminate the prosecution’s core evidence and result in dismissal.

For example, if an officer pulled you over for a minor traffic violation and then searched your vehicle without consent, without probable cause, and without a warrant, any pills found during that search may be inadmissible. The same applies to home searches conducted without a warrant or beyond the scope of the warrant’s authorization.

Attacking the “Intent to Sell” Element

The difference between a misdemeanor simple possession charge and a felony possession-for-sale charge often comes down to what prosecutors infer about your intent. They look for “indicia of sales”: large quantities, packaging materials, scales, pay-owe sheets, multiple cell phones, and large amounts of cash.

When those indicators are absent, the defense can argue persuasively that the quantity was consistent with personal use. A person managing chronic pain may legitimately possess a 90-day supply of opioids. A patient with severe anxiety may have multiple benzodiazepine prescriptions from different treatment periods. Without concrete evidence of sales activity, the “for sale” element becomes the weakest link in the prosecution’s chain.

Crime Lab Analysis Challenges

The prosecution must prove the substance is actually a controlled substance, not just that it looked like one. Chain of custody issues, testing methodology flaws, and lab contamination can all undermine the reliability of the crime lab results. If the lab analysis cannot be trusted, the prosecution cannot establish a foundational element of the charge.

Lack of Knowledge

If you genuinely did not know the pills were in your possession, or did not know they were controlled substances, the prosecution cannot meet its burden. This defense arises naturally in cases involving borrowed property, shared spaces, or situations where someone placed items in your belongings without your knowledge.

Entrapment

In cases involving undercover operations or informants, if law enforcement induced you to commit a prescription drug offense you were not otherwise predisposed to commit, entrapment is a viable defense.12

Drug Diversion Programs as an Alternative to Conviction

For defendants facing simple possession charges, California offers several diversion pathways that can result in charges being dismissed entirely upon successful completion. These programs reflect a shift in how California treats drug offenses, prioritizing treatment over incarceration.

Penal Code, § 1000 (Deferred Entry of Judgment) allows eligible defendants to participate in a drug treatment program. If you complete the program successfully, the charges are dismissed and you can truthfully state that you were not convicted.

Proposition 36 (Substance Abuse and Crime Prevention Act) provides similar treatment-based alternatives for qualifying defendants, with the goal of addressing the underlying substance use rather than simply punishing possession.

Alameda County Drug Court operates collaborative treatment courts specifically designed for defendants whose offenses are connected to substance use. These programs involve regular court appearances, drug testing, and structured treatment, but the payoff is significant: successful completion typically results in case dismissal.

Diversion eligibility depends on the specific charge, your criminal history, and other factors. For many of our clients, particularly working professionals facing their first drug charge, diversion represents the best possible outcome because it avoids a conviction entirely.

Collateral Consequences for Bay Area Professionals

A prescription drug conviction carries consequences that extend well beyond the courtroom, and for working professionals in the Bay Area, these collateral consequences can be more damaging than the criminal penalties themselves.

Professional licensing. Healthcare workers (doctors, nurses, pharmacists, therapists), attorneys, teachers, and other licensed professionals face mandatory reporting requirements and potential license revocation or suspension following a drug conviction. For a nurse or pharmacist, a conviction involving the very substances they handle professionally can end a career.

Security clearances. Bay Area’s concentration of tech companies, defense contractors, and government agencies means many professionals hold security clearances that a drug conviction will jeopardize or terminate.

Immigration consequences. Controlled substance convictions, even misdemeanors, can trigger deportation proceedings, render you inadmissible to the United States, and create permanent bars to naturalization under federal immigration law.13 This is critically important for the Bay Area’s diverse immigrant communities. If you took a plea to a prescription drug charge without understanding the immigration consequences, our attorneys may be able to pursue a motion to vacate under Penal Code, § 1473.7 to provide relief.

Employment. Even where a conviction does not trigger automatic disqualification, many employers conduct background checks, and a drug-related conviction can disqualify you from positions in healthcare, education, finance, and government.

Federal student aid. A drug conviction can affect eligibility for federal financial aid, impacting students and parents supporting students.

These collateral consequences are why our team treats every prescription drug case with the same seriousness regardless of whether it is charged as a misdemeanor or felony. A “minor” misdemeanor possession conviction can produce major professional and personal fallout.

Quick Reference

Factor Details
Primary Statutes Health & Safety Code, §§ 11350, 11351, 11352, 11375, 11173; Business & Professions Code, § 4060
Classification Range Misdemeanor (simple possession) to felony (sale/transportation)
Misdemeanor Penalty (HS 11350) Up to 1 year county jail
Felony Penalty (HS 11351) 2, 3, or 4 years county jail
Felony Penalty (HS 11352) 3, 4, or 5 years state prison (up to 9 years if across county lines)
Strike Offense No (for all primary prescription drug charges)
Diversion Eligible Yes, for simple possession (PC 1000, Prop 36, Drug Court)
Key Defense Valid prescription is a complete defense to possession

Where Your Case Will Be Heard

Prescription drug cases in the Bay Area are handled at the courthouse serving the jurisdiction where the alleged offense occurred. In Alameda County, the primary courthouse for Oakland cases is the Rene C. Davidson Courthouse at 1225 Fallon Street. Cases arising in southern Alameda County are typically heard at the Fremont Hall of Justice, while central county cases go through the Hayward Hall of Justice. Alameda County has historically emphasized diversion and treatment-based alternatives for drug possession cases, and our attorneys appear regularly in these courtrooms.

Why The Nieves Law Firm Handles Prescription Drug Cases Differently

Prescription drug cases sit at the intersection of criminal law, healthcare, immigration, and professional licensing. Defending them effectively requires more than knowing the Penal Code. It requires understanding how a conviction ripples through every part of a client’s life and building a strategy that accounts for all of it.

Our team brings the resources of one of the largest criminal defense teams in Oakland and the Greater Bay Area to every prescription drug case we handle. We investigate the search that led to your arrest, challenge the prosecution’s evidence at every stage, pursue diversion when it serves your interests, and fight at trial when it does not. We also coordinate with immigration counsel when deportation risk is a factor, because a favorable criminal outcome means nothing if it triggers removal proceedings.

Schedule a consultation to discuss your prescription drug charges with our team. The earlier we begin building your defense, the more options remain available. Se habla español.

References

  1. 1. See CALCRIM No. 2304 [Simple Possession of Controlled Substance].
  2. 2. See CALCRIM No. 2302 [Possession for Sale of Controlled Substance].
  3. 3. See CALCRIM No. 2300 [Sale, Transportation for Sale, etc., of Controlled Substance].
  4. 4. See Health & Safety Code, § 11350 [“Every person who possesses . . . any controlled substance . . . shall be punished by imprisonment in a county jail for not more than one year.”].
  5. 5. Health & Safety Code, § 11351.
  6. 6. Health & Safety Code, § 11370.4.
  7. 7. Health & Safety Code, § 11352.
  8. 8. Health & Safety Code, § 11352, subd. (a).
  9. 9. Health & Safety Code, § 11173.
  10. 10. See CALCRIM No. 2304 [defining possession to include constructive possession where the defendant had control or the right to control the substance].
  11. 11. See Penal Code, § 1538.5.
  12. 12. See CALCRIM No. 3408 [Entrapment].
  13. 13. See 8 U.S.C. § 1227(a)(2)(B)(i) [deportability for controlled substance convictions].
SMS Agree(Required)

Top-Rated Bay Area Criminal Lawyer

Don't Just Take Our Word For It.
We've helped hundreds of clients through the worst moments of their lives. Here's what they have to say.

The Nieves Law Firm

Your Future Is
Worth Fighting For
If you or someone you care about is facing criminal charges in the Bay Area, the next decision matters. Call us for a confidential consultation.
  • 100% Confidential
  • Se Habla Español
  • Payment Plans Available