(510) 545-6515 — Free Consultation
(510) 545-6515
DRUGS
All Insights

Drug Defense · Updated May 2026

What to Do After a Drug Possession Arrest in San Francisco

By Ahmed S. Hasan·San Francisco Criminal Defense Attorney·Bar #364992

Drug possession arrests in San Francisco are climbing. Misdemeanor narcotics charges rose 709% year-over-year heading into 2024, according to the SF District Attorney's data dashboards. If you or someone you love just got arrested for possession in San Francisco, you are not alone — and you are not without options. Most simple possession cases in San Francisco end without a conviction. The path matters, and it starts in the first 72 hours.

Looking for the practice page? Drug Possession Defense in San Francisco — flat fee starting at $2,800.

Is Drug Possession a Felony or Misdemeanor in San Francisco?

Since California voters passed Proposition 47 in 2014, simple possession of a controlled substance for personal use is almost always a misdemeanor. The five statutes that show up most often in San Francisco arrests:

  • Health & Safety Code 11377 — possession of methamphetamine and other Schedule II/III substances. The most common San Francisco drug charge. Up to one year in county jail.
  • Health & Safety Code 11350 — possession of cocaine, heroin, prescription pills without a valid prescription. Same maximum.
  • Health & Safety Code 11357 — possession of cannabis in a prohibited place or by someone under 21. Recreational adult possession is legal in California, but possession on school grounds, in a vehicle, or by someone underage still triggers this statute.
  • Health & Safety Code 11364 — possession of drug paraphernalia. A pipe, a needle, a spoon — charged on its own or stacked on top of a possession count. Up to six months county jail.
  • Health & Safety Code 11532 — loitering for the purpose of using or being under the influence of a controlled substance. Used heavily in San Francisco’s open-air drug market enforcement.

For a first offense in San Francisco, jail time on any of these is rare. The fight is about keeping the case off the record.

The exceptions where drugs are still felonies: possession for sale, possession with a firearm (HS 11370.1), or possession with prior serious or violent felony convictions. Those facts change the calculus. Simple personal-use possession does not.

Three Paths That Don't End in a Conviction

1. PC 1001.95 — Misdemeanor Judicial Diversion

Since 2021, a San Francisco judge has the authority to divert most misdemeanor cases — including possession under HS 11377, 11350, 11357, paraphernalia under HS 11364, and loitering under HS 11532 — over the District Attorney's objection. No guilty plea is required. The court tailors the conditions — alternatives to incarceration the lawyer negotiates — over up to 24 months. Complete it, and the case is dismissed. The arrest can then be sealed under PC 851.91. Carve-outs apply — domestic violence and 290-registerable offenses are excluded — but standard drug possession qualifies.

2. PC 1001.36 — Mental Health Diversion

If a qualifying mental health diagnosis contributed to the offense, the defendant may qualify for mental health diversion. This is a more comprehensive track that requires evaluation by a qualified social worker or clinical psychologist. ASH Legal regularly works with social workers funded through BASF-IDA to build the evaluation record. Successful completion dismisses the case entirely. The arrest can be sealed.

3. Suppression Motion — PC 1538.5

If the police found the drugs through an unlawful search — no warrant, no consent, no probable cause — I can file a motion to suppress the evidence. If the motion is granted, the prosecution has no case. The charges get dismissed. Many drug possession cases turn on the legality of the stop or the search; that's where the work begins.

What a Defense Attorney Actually Does

Most clients have never been through this. They imagine a courtroom drama. The real work happens before any of that.

  1. Read the police report. Was the stop legal? Was the search consensual? Was Miranda triggered? A bad stop is a case-killer.
  2. Inspect the chain of evidence. Was the substance properly tested? Properly weighed? Properly stored? Crime lab errors happen.
  3. Push the diversion. Not every prosecutor agrees to PC 1001.95 reflexively. Some need to be pushed — and the judge has authority to grant it over the DA’s objection. That is leverage.
  4. Build the mental health record — if applicable — with a qualified social worker, so PC 1001.36 becomes a real option, not a long shot.
  5. Litigate the suppression motion if the search was unlawful. Successful suppression dismantles the case.

Why a Drug Conviction Isn't Just a Drug Conviction

EmploymentHealthcare, education, finance, transportation, federal jobs — drug convictions are disqualifying or trigger mandatory reporting.
ImmigrationDrug convictions are deportable offenses for non-citizens. Even possession of a controlled substance can trigger removal proceedings.
Federal AidStudent loans, financial aid, public housing — drug convictions can suspend eligibility.
LicensingNursing boards, the State Bar, real estate commissions, teaching credentials — drug charges trigger mandatory disclosure and review.

How Much Does a Drug Possession Lawyer Cost in San Francisco?

Drug possession defense fees in San Francisco range from $2,500 to $7,500+ depending on case complexity, prior record, and whether the case is pre-filing or post-filing.

ASH Legal offers flat-fee drug possession defense starting at $2,800. One number. One attorney. No hourly billing. Covers arraignment, suppression motions, diversion enrollment, all court appearances, and direct attorney communication. The fee is the fee.

What to Do Right Now

Do not talk to the police. Anything you say is an admission. The right to remain silent is the most important right you have. Use it.

Do not consent to additional searches. If the officer asks to search your phone, your car, your home — say no. Politely. Clearly. On the record.

Do not post about the arrest. Not on Instagram. Not on Snapchat. Not in group chats. Prosecutors use social media as evidence.

Save everything. The citation, the booking paperwork, the names of the officers, anything they handed you. It all matters later.

Call a lawyer before your arraignment. The earlier I’m involved, the more options stay on the table.

Free 30-Minute Consultation

Tell me what happened. I’ll tell you whether misdemeanor dismissal, mental health diversion, or a suppression motion is the right path for your case.

(510) 545-6515

ahmed@ashlegal.com

Schedule Free Consultation

About the Author

Ahmed S. Hasan

San Francisco Criminal Defense Attorney · State Bar of California #364992

Ahmed S. Hasan is the founder of ASH Legal, a solo criminal defense practice based in San Francisco. The firm runs on flat-fee representation: one lawyer, one fee, from arraignment through resolution. No hourly billing. No surprise invoices.

Ahmed is a graduate of Emory University School of Law and a member in good standing of the State Bar of California (Bar #364992). His practice focuses on San Francisco misdemeanor defense — DUI, domestic violence, petty theft and shoplifting, drug possession, vandalism, trespassing, and assault and battery — with particular attention to diversion-track outcomes that end in dismissal under PC 1001.95, PC 1001.36 (Mental Health Diversion), PC 1001.80 (Military Diversion), and PC 1001.83 (Parental Caregiver Diversion).

Ahmed previously served as a post-bar clerk with the San Francisco Public Defender's Office, the city's largest indigent-defense practice. He is a member of the Asian Pacific American Bar Association of Silicon Valley.

He represents clients at the San Francisco Hall of Justice (850 Bryant Street) and the Civic Center Courthouse. The ASH Legal office is at 15 Boardman Place, Suite 301, San Francisco, CA 94103.

Free 30-minute consultations are available by phone or Zoom. (510) 545-6515 · ahmed@ashlegal.com

Related

Keep Reading