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

Misdemeanor Defense · Updated May 2026

How to Get a Misdemeanor Dismissed in San Francisco

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

A misdemeanor in San Francisco can be dismissed through pretrial diversion, mental health diversion under PC 1001.36, civil compromise under PC 1377-1378, a motion to dismiss for insufficient evidence, or a successful motion to suppress under PC 1538.5. Many first-time misdemeanor defendants in San Francisco never end up with a conviction on their record — if they act early and have the right defense strategy. The specific path to dismissal depends on the charge, your history, and the facts.

Five Paths to Misdemeanor Dismissal

1. Pretrial Diversion

San Francisco offers diversion programs for many first-time misdemeanor charges — including drug possession, petty theft, and some assault charges. You complete conditions (community service, classes, counseling) and the case is dismissed. No guilty plea. No conviction. No criminal record. PC 1001.95 judicial diversion is the primary statutory track — judges can grant it over the DA’s objection. Eligibility depends on the charge and your criminal history.

2. Mental Health Diversion (PC 1001.36)

If a qualifying mental health condition — PTSD, bipolar disorder, anxiety, depression, schizophrenia, or others — contributed to the alleged offense, you may be eligible for treatment-based diversion. Complete a treatment program (up to 2 years), and the charges are dismissed and the arrest can be sealed. This is one of the most powerful and underused tools in California criminal defense. It requires clinical documentation, a treatment plan, and court approval.

3. Civil Compromise (PC 1377-1378)

For property-related misdemeanors — vandalism, petty theft, minor assault without serious injury — if the victim is compensated and agrees, the court can dismiss the case entirely. Your attorney handles the conversation with the victim. This is especially effective in cases involving minor damage or small-dollar theft.

4. Motion to Suppress (PC 1538.5)

If the police obtained evidence through an illegal stop, an unlawful search, or a Miranda violation, that evidence may be inadmissible. A successful suppression motion can gut the prosecution's case and force a dismissal. I file 1538.5 motions in every case where there's a constitutional issue — because that's where cases are won.

5. Insufficient Evidence

The prosecution must prove every element beyond a reasonable doubt. Weak witness testimony, missing evidence, inconsistent police reports, and broken chain of custody are all grounds for dismissal. Sometimes the best defense is simply forcing the prosecution to prove what they've charged — and watching them fail.

What Is Mental Health Diversion in California?

PC 1001.36 allows defendants with qualifying mental health conditions to enter a treatment program instead of going to trial. The treatment plan is developed by a licensed mental health provider and approved by the court. Treatment can last up to two years and may include therapy, medication management, and case management.

Upon successful completion, the charges are dismissed and the arrest record can be sealed under PC 1001.9. This means the charge does not appear on background checks.

MHD is available for most misdemeanors and many felonies. It is not available for certain sex offenses or murder. Contrary to popular belief, it is available for many domestic violence cases — though the court applies heightened scrutiny.

Can a Lawyer Get Misdemeanor Charges Dropped?

Yes. A criminal defense lawyer gets charges dropped by identifying weaknesses the prosecution can't overcome. That means reviewing every piece of evidence — police reports, body camera footage, witness statements, lab results — and finding the cracks.

A public defender will represent you competently, but they’re handling 100 to 150 cases at once. A private attorney gives you individual attention, proactive investigation, and aggressive advocacy from day one. At ASH Legal, you get Ahmed S. Hasan — one attorney, one point of contact, full attention on your case.

How Much Does a Misdemeanor Lawyer Cost in San Francisco?

Misdemeanor defense fees in San Francisco range from $2,000 to $10,000+ depending on the charge, complexity, and attorney.

ASH Legal offers flat-fee misdemeanor defense starting at $2,800. All pre-trial court appearances, motions, negotiation, and direct communication included. One fee, agreed upon upfront. No hourly billing.

Free 30-Minute Consultation

Tell me what you're facing. I'll tell you whether diversion, dismissal, or another path is available.

(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