Pretrial diversion in California lets an eligible defendant complete court-ordered requirements instead of being prosecuted in the usual way. Finish the program and the charges are dismissed; no conviction goes on your record. The state runs four separate diversion tracks, each with its own statute and its own eligibility rules, so the first question is which one fits your case.
The Four Diversion Programs
Misdemeanor Diversion
Penal Code 1001.95 gives a judge broad authority to offer diversion for most misdemeanor charges, and the judge can do it even if the prosecutor objects. Three categories are off-limits: offenses requiring sex offender registration, domestic violence, and stalking.1California Legislative Information. California Code PEN 1001.95 – Court Initiated Misdemeanor Diversion If your misdemeanor isn’t in one of those categories, the judge can at least consider it.
The diversion period runs up to 24 months. Conditions are set by the judge and tailored to your situation, which might mean community service, counseling, restitution, or other requirements.2California Legislative Information. California Penal Code 1001.95 – Court Initiated Misdemeanor Diversion
Drug Diversion
Penal Code 1000 covers diversion for drug possession and related personal-use offenses. The statute lists specific Health and Safety Code violations that qualify, mostly simple possession or being under the influence. To be eligible, all of the following must be true:
- No controlled-substance conviction within the five years before the current charge.
- The charged offense didn’t involve violence or threats of violence.
- No evidence of simultaneous drug-related violations beyond the qualifying offenses.
- No felony conviction within the past five years.
The five-year lookback is important. A drug conviction older than that won’t automatically disqualify you.3California Legislative Information. California Penal Code 1000 – Special Proceedings in Narcotics and Drug Abuse Cases
Mental Health Diversion
Penal Code 1001.36 allows diversion where a mental health condition played a significant role in the charged offense. It applies to misdemeanors and felonies both, which makes it one of the more powerful options in California. To qualify:
- A qualified mental health professional must have diagnosed or treated you for a recognized mental disorder within the past five years. Qualifying conditions include bipolar disorder, schizophrenia, schizoaffective disorder, and PTSD. Antisocial personality disorder and pedophilia are specifically excluded.
- The disorder must have been a significant factor in commission of the charged crime.
- The court must find that treating you in the community wouldn’t pose an unreasonable danger to public safety.
Certain offenses are excluded no matter what your history shows: murder, voluntary manslaughter, rape, sexual offenses against children, and offenses requiring sex offender registration, with a narrow exception for indecent exposure. The maximum diversion period is two years for a felony, one year for a misdemeanor.4California Legislative Information. California Penal Code 1001.36 – Pretrial Diversion for Mental Health Disorders
Military Diversion
Penal Code 1001.80 sets up a separate track for current and former U.S. service members whose criminal conduct may stem from PTSD, traumatic brain injury, substance abuse, or sexual trauma connected to service. For a misdemeanor, you’re eligible if you’re a current or former service member and you may be suffering from one of these conditions. For a felony, you also have to show the condition was a significant factor in committing the offense.5California Legislative Information. California Code PEN 1001.80 – Military Diversion
The same serious offenses excluded from mental health diversion are excluded here. The program can last up to two years, and the court must use existing military and veterans’ resources for treatment where possible.5California Legislative Information. California Code PEN 1001.80 – Military Diversion
How the Request Gets in Front of the Judge
For misdemeanor diversion, the judge can offer it on their own initiative. You don’t have to file anything, though in practice your attorney will raise it at arraignment or a pretrial hearing. For drug, mental health, and military diversion, the defense typically files a formal motion with evidence showing the statutory requirements are met.
What that evidence looks like depends on the program. Drug diversion turns on the eligibility criteria in the statute itself. Mental health diversion needs documentation from a qualified mental health professional, including diagnosis and treatment history. Military diversion needs proof of service and a service-connected condition. The prosecutor can oppose, arguing you don’t meet the legal requirements or that public safety cuts against diversion. If there’s a dispute, the judge hears both sides and decides.
Conditions You’ll Have to Meet
Every program requires you to stay out of legal trouble during the diversion period. Beyond that, the conditions get program-specific.
Drug diversion typically requires a state-approved treatment program, with counseling, drug education, and regular drug testing. Mental health diversion requires ongoing psychiatric treatment, which can include therapy, medication management, and periodic progress evaluations. Military diversion routes treatment through veterans’ service organizations, VA healthcare, or other military-connected resources.
Some defendants check in periodically with a probation officer or submit progress reports directly to the court. If the offense harmed another person, the court may order restitution. Judges have wide discretion to set conditions and to modify them as the diversion period goes on.
What Diversion Costs
Diversion isn’t free. Program fees, treatment costs, and testing requirements run alongside the legal case.
Drug diversion participants generally pay for their treatment program, including counseling, drug education, and lab-based drug testing. Individual drug tests generally run $20 to $60 each, and regular testing over many months adds up. Total costs for drug diversion, including program fees and testing, often fall between $500 and $2,000.
Mental health diversion can cost more, because psychiatric evaluations, ongoing therapy, and medication aren’t cheap, especially without health insurance. Actual costs depend on the treatment plan the court approves and what insurance covers.
Courts may also impose administrative fees and a diversion restitution fee. Victim restitution is typically required if the offense caused financial harm. The court is supposed to consider your ability to pay, though that consideration doesn’t always produce meaningful reductions in practice.
What a Successful Completion Gets You
Finishing diversion means the criminal charges are dismissed. For drug diversion, Penal Code 1000.3 explicitly requires the court to dismiss the charges once you complete the program.6California Legislative Information. California Code PEN 1000.3 Military diversion works the same way.5California Legislative Information. California Code PEN 1001.80 – Military Diversion
A dismissed charge isn’t the same thing as a clean record. The arrest can still surface in background checks unless you take additional steps to seal it. California law offers two paths.
Under Penal Code 1001.9, completing diversion means the underlying arrest is legally treated as though it never happened. You can truthfully say you were not arrested or diverted for that offense. The court can issue an order to seal the physical records. No employer, licensing board, or other entity may use a diversion-related arrest record against you without your consent.7California Legislative Information. California Code PEN 1001.9 – Diversion Record Sealing
Separately, Penal Code 851.91 lets you petition to seal records of any arrest that didn’t result in a conviction, including arrests where charges were dismissed after diversion.8Judicial Branch of California. Record Cleaning: Arrest With No Conviction Either path requires filing a petition and obtaining a court order.
One exception catches people out: if you ever apply to become a peace officer, you must disclose the arrest and diversion regardless of sealing. Law enforcement agencies and certain other government entities keep access to sealed records under specific circumstances.7California Legislative Information. California Code PEN 1001.9 – Diversion Record Sealing
Immigration Consequences If You’re Not a U.S. Citizen
Federal immigration law uses its own definition of “conviction,” and it doesn’t match California’s. Under federal law, a conviction exists when a person pleads guilty, pleads no contest, or admits enough facts to support a finding of guilt, and the court orders any form of punishment or restriction on liberty.9Office of the Law Revision Counsel. 8 USC 1101 – Definitions
The structure of your diversion matters. If you entered a guilty or no-contest plea as part of the diversion process, and the court imposed conditions restricting your liberty, federal authorities can treat that as a conviction even though California dismissed the charges. If diversion required no plea or admission of guilt, it generally won’t count as a conviction for immigration purposes. Any non-citizen facing charges in California should talk to an immigration attorney before agreeing to a diversion arrangement, because a program meant to spare you consequences under state law can trigger deportation or inadmissibility under federal law.
Background Checks and Federal Programs
If you’ve sealed your records under Penal Code 1001.9 or 851.91, the arrest should not turn up in standard commercial background checks, and the statute explicitly prohibits using a sealed diversion record to deny you employment, benefits, licenses, or certificates.7California Legislative Information. California Code PEN 1001.9 – Diversion Record Sealing
Federal programs run on their own rules. For TSA PreCheck and Global Entry, the disqualifying criteria focus on convictions, guilty pleas, and no-contest pleas for listed offenses. A successfully diverted case dismissed without a plea generally shouldn’t trigger disqualification. TSA does keep broad discretion to deny applicants based on “any other information relevant to determining applicant eligibility,” so a flagged arrest can still prompt additional review even after dismissal.10Transportation Security Administration. Disqualifying Offenses and Other Factors
What Happens If You Don’t Comply
Failing to meet your conditions puts you back where you started, often worse. A missed appointment might draw a warning or adjusted conditions. Repeated failures, like skipping drug tests, dropping out of treatment, or picking up new charges, can get you removed from the program.
If you’re removed from drug diversion, the court can reinstate the criminal charges and proceed with prosecution.6California Legislative Information. California Code PEN 1000.3 For military diversion, the court holds a hearing before reinstating criminal proceedings, to decide whether the evidence supports termination.5California Legislative Information. California Code PEN 1001.80 – Military Diversion Once you’re out, you face the original charges through a plea negotiation or trial, with the usual exposure to jail time, probation, and fines.