The insanity defense is the legal argument that, because of a serious mental illness, a defendant should not be held criminally responsible for what they did. It is not a claim that the act did not happen — it is a claim that the person was so impaired at the time that holding them criminally responsible is not just. It is one of the most misunderstood — and most rarely successful — defenses in California criminal law.
How the Insanity Defense Works in California
California codifies the insanity defense in Penal Code § 25(b), which adopts a modified version of the M’Naghten test. To establish legal insanity, the defense must prove by a preponderance of the evidence that, at the time of the offense, the defendant was incapable of knowing or understanding the nature and quality of the act or was incapable of distinguishing right from wrong. Both prongs must be considered, and the burden is on the defense — a significant departure from the prosecution’s usual burden in a criminal case.
Insanity is raised through a special plea of “not guilty by reason of insanity,” entered alongside the not guilty plea under Penal Code § 1026. California uses a bifurcated trial structure: the first phase determines guilt under standard criminal procedures; if the defendant is found guilty, a second phase decides whether they were legally insane at the time. The same jury typically decides both phases, but the standards and burdens are different.
A successful insanity verdict does not mean the defendant goes home. Under Penal Code § 1026, a defendant found not guilty by reason of insanity is committed to a state hospital — usually Patton, Atascadero, Napa, or Metropolitan State Hospital — for a maximum term equal to the longest sentence that could have been imposed for the underlying offense. Release requires a court finding that the defendant has restored sanity or that confinement is no longer warranted. For many people, commitment can last as long as a prison sentence would have, sometimes longer.
California also recognizes related but distinct doctrines. Competence to stand trial under Penal Code § 1368 is different from insanity at the time of the offense — competence asks whether the defendant currently understands the proceedings and can assist counsel. Mental health diversion under Penal Code § 1001.36 is also different — it is a pretrial diversion option for defendants with qualifying mental disorders that contributed to the offense, and it can result in dismissal rather than commitment. These tools are sometimes more useful than a formal insanity plea, depending on the specific case.
Why the Insanity Defense Matters to Your Defense
The insanity defense is rarely the right tool, but when it fits, it can be transformative. The vast majority of California cases involving serious mental illness are better served by other strategies — competency proceedings, mental health diversion, plea negotiations supported by mitigation, or sentencing advocacy under Penal Code § 1170(b) factors. A skilled criminal defense attorney evaluates each option based on the diagnosis, the offense, the defendant’s history, and the realistic outcomes.
When insanity is the right path, preparation is everything. Strong cases require detailed psychiatric evaluation, comprehensive medical records, family and witness testimony about the defendant’s behavior at the time, and expert testimony from forensic psychologists or psychiatrists. The standard pattern jury instruction — CALCRIM 3450 — sets out exactly what jurors will hear, and effective defense work shapes the evidence to fit the legal test.
The collateral implications also need careful thought. A finding of not guilty by reason of insanity creates lengthy commitment, ongoing court oversight, and significant stigma. For some clients, those consequences are preferable to a felony conviction; for others, they are not. Honest, careful counsel about what an insanity verdict really means — and how it compares to alternatives like mental health diversion — is the kind of guidance that defines real California criminal defense.
Related Legal Terms
The insanity defense intersects with concepts of competence to stand trial under Penal Code § 1368, mental health diversion, and the burden-shifting that occurs in any affirmative defense. These issues come up across our violent crimes and broader criminal defense practice.
Facing Charges Where This Applies?
If you or a loved one is facing serious charges and mental illness is part of the picture, the legal options are more nuanced than they appear, and the right strategy depends on the facts. Attorney Chris Nalchadjian offers free, confidential consultations 24/7. Call KN Law Firm at (888) 950-0011.
Mental Illness a Factor in Your Case?
Explore every legal option. Call for a free 24/7 consultation.