1. Mental Health Evidence Does Not Create One General Defense
California law gives mental health evidence different roles depending on the issue being decided. The rules below apply to California state criminal cases; federal criminal cases use separate statutory procedures. Identifying the right issue early can shape a broader criminal defense and trial strategy
Mental-State Evidence Is Narrower Than Diminished Capacity
California abolished diminished capacity as a defense. Penal Code § 28 does, however, allow evidence of a mental disease, defect, or disorder on the narrower question of whether a defendant actually formed a required specific intent, premeditated, deliberated, or harbored malice aforethought when the statute applies. It does not permit the defendant to argue simply that the condition made them incapable of forming the required mental state.
This distinction makes the elements of the charged offense important. Psychiatric evidence that matters to one charge may have little relevance to another. Penal Code § 25 also permits a court to consider a mental disorder at sentencing or another disposition.
Legal Insanity Is a Separate Issue
An insanity plea asks whether the defendant was legally insane when the offense occurred. The defendant bears the burden of proving insanity by a preponderance of the evidence. California's legal standard focuses on whether a qualifying mental disease or defect prevented the defendant from understanding the nature and quality of the act or understanding that the act was morally or legally wrong.
A diagnosis by itself does not answer that question. The legal test focuses on the defendant's condition and understanding at the time of the alleged offense.
2. Competency and Mental Health Diversion Answer Different Questions

Competency concerns whether the defendant can participate in the criminal case now. Mental health diversion, by contrast, may postpone prosecution while an eligible and suitable defendant receives treatment. The two procedures can intersect, but they are not substitutes for one another.
] Competency Focuses on the Defendant'S Present Ability
Under Penal Code § 1367, a defendant is incompetent if a mental health disorder or developmental disability leaves the defendant unable to understand the criminal proceedings or rationally assist the defense attorney.
California Rule of Court 4.130 provides that when substantial evidence creates a reasonable doubt about competency, the court must suspend the criminal proceedings and begin competency proceedings. A prior psychiatric diagnosis or hospitalization does not, by itself, resolve that inquiry.
Diversion Is a Treatment-Based Procedural Option
Penal Code § 1001.36 allows a court to grant mental health diversion for qualifying misdemeanor and felony charges. The statute requires a qualifying mental disorder and treats the disorder as a significant factor in the charged offense unless clear and convincing evidence shows that it was not a motivating, causal, or contributing factor.
The court must then evaluate separate suitability requirements, including treatment responsiveness and public-safety considerations. Certain charged offenses are excluded. Diversion is therefore different from an insanity plea. It addresses whether prosecution should be postponed for treatment rather than whether the defendant was legally insane when the alleged conduct occurred.
3. Psychiatric Records and Hospitalization Require Separate Analysis
Mental health evidence may bring treatment records, evaluations, and expert opinions into the case. Before using those materials, the defense should consider both what the evidence can prove and what disclosure may follow. These questions often overlap with broader criminal evidence issues.
Putting a Mental Condition at Issue Can Affect Privilege
Evidence Code § 1014 generally gives a patient the right to prevent disclosure of confidential psychotherapist-patient communications. Evidence Code § 1016 removes that privilege as to communications relevant to a mental or emotional condition that the patient has placed at issue.
The exception is tied to relevance. Raising a mental health issue therefore does not make every aspect of a person's psychiatric history relevant to the case.
A Diagnosis Does Not Automatically Lead to State Hospital Commitment
State hospital commitment arises under specific legal procedures, not from a diagnosis alone. After a finding of not guilty by reason of insanity, Penal Code § 1026 provides for commitment to the Department of State Hospitals or another approved treatment facility unless the court determines that sanity has been fully recovered. Outpatient placement may also be available under the statute.
A 5150 detention is different. It is a civil mental health procedure that can authorize up to 72 hours of detention for assessment, evaluation, and crisis intervention when the statutory criteria are met. It is not itself a criminal finding of incompetency or insanity.
4. The Evidence Has to Match the Legal Question
The existence of a diagnosis is only the starting point. A criminal defense analysis may also need to examine the elements of the charge, when symptoms appeared, treatment history, observations near the alleged offense, present functioning, and the procedural stage of the case.
Timing Can Change What Psychiatric Evidence Proves
Records created near the alleged offense may be useful when the disputed issue concerns intent or insanity. More recent evaluations may matter more when competency is in question. Diversion presents another inquiry because § 1001.36 has its own requirements for diagnosis, treatment evidence, connection to the charged offense, and suitability.
The practical question is not simply whether the defendant has a mental health condition. It is whether reliable evidence connects that condition to the legal issue the court must decide.
5. Frequently Asked Questions
Can I Qualify for Mental Health Diversion if I Was Diagnosed After My Arrest?
Potentially. Section 1001.36 requires the defense to provide evidence that includes a diagnosis or treatment for a diagnosed qualifying mental disorder within the last five years by a qualified mental health expert. The statute does not state that the diagnosis must have been made before the arrest.
The court separately considers whether the disorder was a significant factor in the charged offense and whether the defendant meets the suitability requirements.
Can a Prosecutor Stop Me From Receiving Mental Health Diversion?
A prosecutor may oppose diversion, but the prosecutor does not have an automatic veto. Section 1001.36 directs the judge to consider the positions of both the defense and prosecution before deciding whether the statutory eligibility and suitability requirements are satisfied and whether to grant diversion.
6. When to Talk with a Criminal Defense Attorney
Mental health can affect several parts of the same criminal case, and the best use of psychiatric evidence depends on what the defense is trying to establish. A criminal defense attorney can review the charge, required mental state, treatment history, psychiatric evidence, competency concerns, and procedural posture before deciding which mental health issue requires further development.
Reviewing those questions early can be especially useful before an expert evaluation, disclosure of psychiatric records, a competency proceeding, or a diversion request. A criminal defense consultation can focus that analysis on the legal issue raised by the facts rather than treating the diagnosis itself as the defense.
18 Sep, 2026

