Quick summary
The most common legal defenses in California criminal cases attack either the facts (you didn’t do it, or it was an accident) or the law (you were justified, excused, or the evidence was illegally obtained). Which defense fits depends on the charge and the evidence.
- Justifications: Self-defense, defense of others, necessity and a parent’s reasonable discipline can make otherwise criminal conduct lawful.
- Excuses: Duress, insanity, unconsciousness, involuntary intoxication, accident and mistake of fact can excuse conduct.
- Procedural defenses: Illegal searches, coerced confessions, entrapment and double jeopardy can keep evidence out or end the case.
- Example: Sam breaks a stranger’s window to escape someone trying to kill him. Necessity can excuse the vandalism.
Below is a brief description of some of the most common legal defenses applicable to California criminal offenses. We arranged this criminal defense list alphabetically for your convenience. Not every defense strategy will apply to every crime.
- 1. Accidents
- 2. Alibis
- 3. Coerced confessions
- 4. Double jeopardy
- 5. Duress
- 6. Entrapment
- 7. False accusations / wrongful arrest
- 8. Insanity
- 9. Lack of probable cause
- 10. Mistaken identity
- 11. Mistake of fact
- 12. Necessity
- 13. Parent’s right to discipline a child
- 14. Police misconduct
- 15. Self-defense / defense of others
- 16. Unconsciousness
- 17. Voluntary / involuntary intoxication
If, after reading this article you have additional questions, we invite you to contact us at Shouse Law Group.
1. Accidents
Accidents happen. Period. Fortunately, California law recognizes this and excuses alleged criminal conduct that occurs accidentally.
If you accidentally commit an act that amounts to a crime – that is, you do so without criminal intent or negligence – you should bear no criminal liability.1
In some accident cases, prosecutors may still file charges if it appears you acted with ordinary or criminal negligence. Simply put, ordinary negligence takes place when you fail to act as a “reasonably prudent” person would have.
California defines criminal negligence as acting with a reckless “I don’t care what happens” attitude.2 A car accident that arises out of a street race or drunk driving is an example.
As long as you did not act with negligence and were not motivated by any other criminal purpose, the legal defense of accident should absolve you of liability.
2. Alibi
“Alibi” is a Latin word that means “in another place”. If you are accused of a crime but could not have committed it because at the time it was committed, you were somewhere else, then you have an alibi.
If we can corroborate your alibi with
- witnesses,
- surveillance tapes,
- credit card receipts or
- other evidence,
this should go a long way towards refuting any allegations that you are the culprit.
Example: The police arrest you for a gas station robbery that took place last Saturday in Rancho Cucamonga. They arrest you because you match the description given by the attendant (and even have a prior robbery conviction).
However, you were at a family reunion last Saturday in Oakland. There are pictures of you at the reunion with family members and you have a plane ticket showing that you flew there Saturday morning. Therefore, you have an alibi defense.
For further discussion of when evidence of an alibi is useful, visit our page on alibi as a legal defense in California criminal cases.
3. Coerced confessions
Police officers may not use overbearing measures to coerce an involuntary confession. Examples of improper or illegal interrogation tactics may include:
- continuing to question you even after you ask for a lawyer,
- depriving you of food, water, or sleep,
- “beating” you (or threatening harm or greater punishment), and/or
- making false promises of leniency in exchange for a confession.
These tactics can be so overbearing that, as studies have shown, it is not uncommon for innocent people to acquiesce and admit to criminal acts they never actually committed.
If we can show that the police coerced you into a confession, then
- the judge may exclude your confession from evidence, or
- the case should be dropped altogether.
Please read our article on False & Coerced Confessions Leading to Wrongful Conviction in California for further discussion.
4. Double jeopardy
The “double jeopardy” clauses of the U.S. Constitution and the California Constitution protect you from
- being prosecuted a second time for the same offense following an acquittal or a conviction (but typically not a mistrial), and
- facing multiple punishments for the same offense.
Let us say that a jury acquits you of your California Vehicle Code 23152 DUI charges3. Double jeopardy prevents the prosecutor from claiming that they subsequently received additional evidence and would like to retry the case.
Being placed “once in jeopardy” acts as a permanent bar to a retrial for the same offense.
To understand when double jeopardy does and does not apply, please read our page Double Jeopardy in California criminal law.
5. Duress
If you commit a crime because you reasonably believe your life is in immediate danger, California law excuses your criminal conduct.4
“Duress” excuses criminal culpability when you only commit the crime because another person’s threats or menacing actions compel you to do so.5
Though there is one crime that duress does not excuse: California Penal Code 187 murder.6 You may not kill another person to save your own life unless it is in self-defense.7
If, however, you commit a felony because of duress – and you accidentally or negligently kill someone during the commission of that felony – California’s felony-murder rule would not be triggered. This means that you would not automatically be held criminally liable for that murder.8
6. Entrapment
In California, entrapment is a defense when a police officer or someone working for police engages in conduct that would cause a normally law-abiding person to commit the crime. Examples include badgering, flattery, repeated and insistent requests, appeals to friendship or sympathy, or promising that the act is legal or won’t be caught.9
Entrapment is frequently raised as a defense to California sex offenses and California drug crimes. It is perhaps most prominently raised in connection with sting operations run by undercover decoy officers trying to make busts for
- Penal Code 647(b), California’s prostitution law,
- Penal Code 647(a), lewd acts in public,
- Penal Code 311 child pornography, and
- possessing and/or selling illegal substances.
Entrapment is a defense that you must prove by a preponderance of the evidence.10 That means showing it is more likely than not that the police conduct would have led a normally law-abiding person to commit the crime. The focus is on what the officers did, not on whether you were already inclined to commit the crime.
7. False accusations / wrongful arrest
Unfortunately, it is not at all uncommon for people to get prosecuted based on false allegations.
- Jealousy,
- revenge,
- anger,
- attempts to cover up one’s own criminal involvement
are just a few of the reasons why someone may falsely accuse an innocent person of a crime.”
False allegations are especially common in California domestic violence cases and in California Penal Code 273d PC child abuse cases. The good news is that we know the best ways to investigate these types of allegations to reveal the truth and to clear your name.
8. Insanity
In California, the test for determining whether a defendant is legally insane is known as the M’Naghten test. Essentially a test of “right and wrong,” the M’Naghten standard holds that if the defense can prove that the defendant committed the crime only because they
- did not understand the nature of their act, OR
- could not distinguish right from wrong,
then California criminal law excuses that conduct.11
The insanity defense – just like the legal defense of entrapment – needs to be proven by a preponderance of the evidence.12 If the defendant is found not guilty by reason of insanity, they will likely be committed to a psychiatric facility until the court believes that they are no longer a threat to society.
For further discussion, please visit our page on the “not guilty by reason of insanity” defense in California law.
9. Lack of probable cause
The California search and seizure rules require police to have reasonable suspicion of criminal activity to briefly detain you, and probable cause to arrest you or search without a warrant. “Probable cause” means that a reasonable and cautious officer would believe that criminal activity is or was taking place based on the surrounding circumstances.
If it appears the cops stopped, detained or arrested you without probable cause, your criminal defense attorney may file a motion to suppress.
At a “suppression motion” hearing (per California Penal Code 1538.5), your lawyer asks the court to exclude any evidence that was obtained via an improper search and seizure.13 If the motion is granted, your case will oftentimes be dismissed.
10. Mistaken Identity
Mistaken eyewitness identification is one of the leading causes of wrongful conviction. It can happen because:
- you (your physical description, your clothes, your car, etc.) happen to resemble the actual perpetrator,
- someone assumes you are to blame for a criminal act (for example, an elder’s doctor reports you for violating Penal Code 368 PC, California’s elder abuse law because they see bruises and incorrectly assumes you, the primary caretaker, must have inflicted them), or
- someone points the finger at you to cover up their own criminal liability.
Example: The police detain Johnny near the scene of a robbery because he looks similar to the description of the suspect. Johnny is not the actual perpetrator. But because he looks like the perp, a witness mistakenly picks him out of a pretrial police lineup. Johnny gets convicted for a crime he did not commit and sent to prison.
11. Mistake of fact
If you act under an honest mistake of fact that, if true, would make your conduct lawful, you are not guilty of a crime. For crimes that require a specific intent, your mistaken belief only has to be honest; for other crimes, it must also be reasonable.14
Example: If you are accused of stealing your neighbor’s lawnmower – but you did so because you believed it was the one you previously lent him that he never returned to you – then you are not guilty of theft.
However, the old adage is also true: ignorance of the law is not a defense.15 This means that you cannot break a law just because you do not know it is a law.
Example: If you buy alcohol for a minor, prosecutors could charge you with contributing to the delinquency of a minor. The fact that you did not know such conduct was illegal will not excuse your actions.
For a further discussion, visit our page on mistake of fact or law as a legal defense in California criminal law.
12. Necessity
The California legal defense of “necessity” excuses criminal conduct when it is done only to avoid an even greater harm.
If you reasonably believe that you or another person are about to suffer significant bodily harm – and there is no other reasonable legal alternative to engaging in the criminal conduct – you may be entitled to an acquittal of the charged offense(s).16
Example: Suppose someone is chasing you and trying to kill you. You charge up to a random house, break through a window, take shelter and call 911. Normally breaking into a house might constitute trespass, burglary and Penal Code 594 vandalism.17 Though here, your actions would probably be excused as being done out of necessity.
Necessity is another California legal defense that must be proven by a preponderance of the evidence. 18
For a detailed discussion, visit our page on the “necessity defense” in California criminal law.
13. Parents’ right to discipline a child
Parents have a legal right to discipline their children in a reasonable manner, which includes inflicting corporal (or physical) punishment.
If you are accused of
- Penal Code 273d, California’s child abuse law, or
- Penal Code 273a, California’s child endangerment law,
you may be entitled to an acquittal if you can demonstrate that your acts were not unreasonable or unjustified under the circumstances.19
14. Police misconduct
It is not at all uncommon to see acts of misconduct, abuse and excessive force by California police, such as
- planting evidence
- lying or embellishing facts in their crime reports or courtroom testimony, or
- unnecessarily using tasers or pepper spray on cooperative subjects
When we can identify and prove such acts of police misconduct, it may give us leverage towards winning your criminal case. It may also allow us to
- press civil rights claims and
- seek money damages.
15. Self-defense / defense of others
Under California’s self-defense law, if you injure or kill another person in self-defense or in defending another person, your conduct will be excused. Though your actions must be reasonable under the circumstances.20
In other words, if you
- believe that you or another person face imminent danger and
- only use as much force as is reasonably necessary to alleviate that danger,
then you have a valid claim of self-defense.
(Note that self-defense is not an affirmative defense; therefore, the defendant does not have the burden of proof to show they acted in self-defense. Instead, once a defendant raises self-defense, the prosecutor has the additional burden of proof to show that the defendant did not act in self-defense.)
16. Unconsciousness
If you are unconscious while you commit a crime, California law excuses your actions.21 This legal defense is applicable to people who, for example, commit criminal acts while
- sleeping,
- delirious,
- suffering from an epileptic seizure, or
- who are involuntarily intoxicated.
If you commit a crime while unconscious or sleeping – but while voluntarily intoxicated – you will still be held criminally liable. The most common example of this is “sleep-driving” while under the influence of Ambien or Lunesta.
17. Voluntary and involuntary intoxication
Voluntary intoxication does not typically serve as a valid criminal defense. Though it may bear on whether you possessed the requisite mental state to commit certain “specific intent” crimes.
“Specific intent” means that you specifically intended the consequences of your act. California theft offenses are examples of “specific intent” crimes.
While “unconsciousness” generally serves as a legal defense to a crime22 (discussed above), this is not the case if your unconsciousness stemmed from voluntary intoxication.23
Example: Unconsciousness may give you a defense to a vehicular manslaughter charge if you fell asleep at the wheel. Though if you passed out at the wheel due to drug or alcohol consumption, it probably would not.
Involuntary intoxication can be a complete defense if it left you unconscious of your actions. Otherwise, it can show that you lacked the intent or mental state the crime requires. This would be the case if, for example,
- someone secretly slipped a drug in your drink or
- a doctor prescribed you a sedative without warning you of the side effects.
You are only “involuntarily” intoxicated if you did not voluntarily consume any alcohol and/or drugs.24 If, for example, you voluntarily smoked a joint – but did not realize that it was actually laced with PCP – you cannot then claim involuntary intoxication.25
For a more detailed discussion, visit our page on drug or alcohol intoxication as a legal defense in California criminal law.
Call us for help…
If you or a loved one is in need of help with legal defenses and you are looking to hire an attorney for representation, we invite you to contact us at Shouse Law Group. We can provide a free consultation in the office or by phone. Our criminal defense lawyers handle all types of cases ranging from theft and DUI to violent crimes and white collar crimes.
We have local offices in Los Angeles, the San Fernando Valley, Pasadena, Long Beach, Orange County, Ventura, San Bernardino, Rancho Cucamonga, Riverside, San Diego, Sacramento, Oakland, San Francisco, San Jose and throughout California. (See our related article on felony defenses).
Legal references:
- California Penal Code 26 PC, class Five (“Persons who committed the act or made the omission charged through misfortune or by accident, when it appears that there was no evil design, intention, or culpable negligence”); CALCRIM No. 3404 (2026).
- People v. Odom (1991) 226 Cal.App.3d 1028 (criminal negligence is aggravated, reckless or flagrant negligence showing indifference to the consequences).
- California Vehicle Code 23152 VC.
- California Penal Code 26 PC, class Six (persons who acted “under threats or menaces sufficient to show that they had reasonable cause to and did believe their lives would be endangered if they refused”).
- People v. Steele (1988) 206 Cal.App.3d 703, 706: “The defense of duress, unlike the necessity justification, requires that the threat or menace be accompanied by a direct or implied demand that the defendant commits the criminal act charged.”
- People v. Anderson (2002) 28 Cal.4th 767, 770: “Duress is not a defense to murder.”
- People v. Anderson, 28 Cal.4th 767 (see note 6 above).
- People v. Anderson, 28 Cal.4th at 784 (duress can negate the underlying felony in a felony-murder case); see also Penal Code 189(e) PC (since 2019, a participant in a felony where a death occurs is liable for murder only if they were the actual killer, aided the killer with intent to kill, or were a major participant who acted with reckless indifference to human life).
- CALCRIM No. 3408 (2026): “A person is entrapped if a law enforcement officer [or (his/her) agent] engaged in conduct that would cause a normally law-abiding person to commit the crime.” The defendant must prove entrapment by a preponderance of the evidence. See also People v. Barraza (1979) 23 Cal.3d 675, 689–690.
- CALCRIM No. 3408 (2026) (see note 9 above).
- California Penal Code 25(b) PC.
- People v. Skinner (1985) 39 Cal.3d 765, 777 (a defendant who meets either prong of the M’Naghten test is legally insane); CALCRIM No. 3450 (2026).
- California Penal Code 1538.5 PC.
- CALCRIM No. 3406 (2026).
- CALCRIM No. 3407 (2026).
- CALCRIM No. 3403 (2026) (the defendant must prove necessity by a preponderance of the evidence).
- California Penal Code 594 PC.
- CALCRIM No. 3403 (2026) (see note 16 above).
- CALCRIM No. 3405 (2026); Penal Code 273a PC; Penal Code 273d PC.
- CALCRIM No. 3470 (2026); CALCRIM No. 505 (2026).
- California Penal Code 26 PC, class Four (“Persons who committed the act charged without being conscious thereof”); CALCRIM No. 3425 (2026).
- Penal Code 26 PC (see note 21 above).
- People v. Walker (1993) 14 Cal.App.4th 1615, 1621 (unconsciousness caused by voluntary intoxication is governed by Penal Code 29.4 [formerly section 22] and is not a complete defense).
- CALCRIM No. 3427 (2026).
- People v. Velez (1985) 175 Cal.App.3d 785, 796.