DEFENSE
All Insights

Misdemeanor Defense · Updated February 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. 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. We 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 hundreds of cases. 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 us what you're facing. We'll tell you whether diversion, dismissal, or another path is available.

(510) 545-6515

ahmed@ashlegal.com

Schedule Free Consultation

Ahmed S. Hasan

San Francisco Criminal Defense Attorney · Bar #364992

Ahmed S. Hasan is the founder of ASH Legal, a criminal defense practice in San Francisco focused on DUI, domestic violence, theft, and misdemeanor defense. He represents clients at the Hall of Justice (850 Bryant Street) and the Civic Center Courthouse. Emory University School of Law graduate.