Affirmative defenses in criminal law are arguments where the defendant admits performing the act the prosecution describes but offers a legally recognized reason the conduct should not result in criminal punishment. Instead of “I didn’t do it,” the argument becomes “I did it, but here’s why I shouldn’t be convicted.” Raising one shifts part of the work onto the defense: you have to produce evidence supporting the defense and, in most cases, persuade the factfinder that it applies.
What an Affirmative Defense Actually Is
Lawyers sometimes describe this approach as “confession and avoidance.” You don’t fight the prosecution’s account of the physical facts. You introduce new facts that give those actions a legally acceptable explanation. A defendant charged with assault who argues self-defense isn’t claiming the punch never happened. They’re saying the punch was justified by the threat they faced.
That is fundamentally different from a standard defense, where you attack the prosecution’s witnesses, present an alibi, or argue the evidence doesn’t add up. A standard defense aims to create reasonable doubt about whether you committed the crime at all. An affirmative defense skips that fight and accepts the physical facts, then argues the circumstances made your actions lawful or excusable. The distinction shapes everything from pretrial preparation to the instructions the judge reads to the jury.
Justification vs. Excuse
Affirmative defenses split into two broad categories, and the difference matters more than it first appears. A justification defense says the act itself was appropriate under the circumstances. Self-defense is the clearest example: you used force, but the law treats that use of force as the right response to the threat. The conduct loses its criminal character.
An excuse defense takes the opposite tack. It concedes the act was wrong but argues you shouldn’t be held personally responsible. The insanity defense works this way. No one claims the harmful act was a good idea. The argument is that a severe mental illness prevented you from understanding what you were doing or knowing it was wrong. The act stays blameworthy in the abstract; the actor is excused.
The split has practical consequences. A justified act is treated as lawful, so a bystander can’t lawfully interfere with it. An excused act is still wrongful, which means someone trying to stop it may have their own valid defense. Courts don’t always draw the line explicitly, but knowing which bucket a defense falls into helps predict how judges and juries will evaluate it.
Who Has To Prove It
The prosecution always carries the burden of proving every element of the crime beyond a reasonable doubt. That never changes. But once you raise an affirmative defense, you take on a separate burden: showing the defense applies.
The Supreme Court confirmed this allocation in Patterson v. New York, holding that states can constitutionally require a defendant to prove an affirmative defense without violating due process. The logic is practical. Requiring prosecutors to disprove every conceivable defense a defendant might raise would make trials unworkable. Making the defendant carry the defense they chose to raise keeps the system functional while preserving the prosecution’s duty on the underlying charge.
How much proof you need varies by defense and jurisdiction. For duress, the Supreme Court held in Dixon v. United States that the defendant bears the burden by a preponderance of the evidence, meaning you must show it is more likely true than not.1Justia US Supreme Court. Dixon v. United States, 548 U.S. 1 (2006) For the federal insanity defense, Congress set a higher bar: clear and convincing evidence, which demands substantially more than a bare majority but less than beyond a reasonable doubt.2Office of the Law Revision Counsel. 18 USC 17 – Insanity Defense State standards vary, with some requiring preponderance and others clear and convincing evidence depending on the specific defense.
Before you ever reach the persuasion stage, you have to clear what lawyers call the burden of production. That means presenting enough evidence to make the defense a live issue. Claim self-defense but offer no testimony, no physical evidence, and no witnesses suggesting you were threatened, and the judge won’t let the jury consider it. Production is the entry fee. You have to show something real before the jury is allowed to weigh whether it’s convincing.
Notice Rules and Why Timing Matters
You can’t spring an affirmative defense on the prosecution at trial. Federal rules and most state procedures require written advance notice. For an insanity defense in federal court, you must notify the government in writing within the deadline for pretrial motions, and missing that deadline without good cause can cost you the defense entirely.3Legal Information Institute. Federal Rules of Criminal Procedure, Rule 12.2 – Notice of an Insanity Defense; Mental Examination Similar rules govern alibi defenses, where both sides must exchange witness information within 14 days of the government’s written request.4Legal Information Institute. Federal Rules of Criminal Procedure, Rule 12.1 – Notice of an Alibi Defense States follow comparable patterns with varying deadlines.
The judge also acts as a gatekeeper on the merits. Even with timely notice, if the supporting evidence is too thin, the judge can refuse to instruct the jury on the defense. No instruction means the jury won’t consider it in deliberations no matter how forcefully counsel argued the point. Failing to gather enough evidence before trial can kill a viable defense before the jury ever hears about it.
The Main Affirmative Defenses
Self-Defense
Self-defense is the most commonly raised justification defense. You argue that you used force because you reasonably believed it was necessary to protect yourself from an imminent threat of unlawful harm. Every element matters. The threat must be imminent, not a vague future concern. The force must be proportional to the danger. And your belief must be one a reasonable person in your position would share.
Proportionality trips up more defendants than anything else. Responding to a shove with a firearm almost certainly fails the test. Deadly force is reserved for situations where you reasonably believe you face death or serious bodily injury. Using it against a minor or non-deadly threat turns a potential defense into an additional charge.
Some states impose a duty to retreat, meaning you must take a safe escape route before resorting to force. Others follow stand-your-ground laws that remove the retreat requirement wherever you’re legally present. The castle doctrine sits between them: roughly 45 states recognize some version of a rule that eliminates the duty to retreat when you’re inside your own home, and some extend it to vehicles or workplaces. Some even create a legal presumption that you reasonably feared for your life when someone forcibly entered, which effectively shifts the burden onto the prosecution to disprove it.
Traditional self-defense doctrine assumes a one-time confrontation between strangers, a framework that doesn’t fit long-term domestic abuse. Courts have increasingly allowed expert testimony on battered spouse syndrome to explain why a defendant perceived an imminent threat even when the abuser was not actively attacking at the moment of the defensive act. The testimony helps juries understand that “imminent” in the context of ongoing domestic violence can look different than it does in a bar fight. The defense remains case-by-case, but the trend has been toward broader admissibility.
Insanity
Despite its outsized presence in popular culture, insanity is raised in a tiny fraction of criminal cases and succeeds in even fewer. When it does work, it functions as an excuse: you acknowledge the act but argue a severe mental illness prevented you from being criminally responsible.
The oldest and most widely used test is the M’Naghten Rule, which dates to an 1843 English case. You must prove a mental disease or defect left you unable to understand the nature of your act or unable to know it was wrong. The focus is cognitive. If you knew what you were doing and knew it was wrong, the defense fails regardless of how severe your illness.
Some states supplement M’Naghten with the irresistible impulse test, which allows a verdict of not guilty by reason of insanity if you understood your actions were wrong but a mental illness made it impossible to control your behavior. Prosecutors counter by showing planning or evidence of self-control in other contexts.
The federal standard, set by Congress in the Insanity Defense Reform Act of 1984 after John Hinckley Jr.’s acquittal for the attempted assassination of President Reagan, is deliberately narrow. Under 18 U.S.C. ยง 17, you must prove by clear and convincing evidence that a severe mental disease or defect left you unable to appreciate the nature and quality or the wrongfulness of your acts.2Office of the Law Revision Counsel. 18 USC 17 – Insanity Defense The statute eliminated the volitional prong, so at the federal level, an inability to control your behavior is no longer a recognized basis for insanity.
Kansas, Idaho, Montana, Utah, and Alaska have significantly narrowed or functionally eliminated the traditional insanity defense. In Kahler v. Kansas (2020), the Supreme Court upheld Kansas’s approach, ruling the Constitution does not require any particular formulation of the defense.5Supreme Court of the United States. Kahler v. Kansas, 589 U.S. ___ (2020) These states still let defendants use mental health evidence to challenge whether they had the required mental state and to argue for a lighter sentence. What they don’t offer is a path to acquittal based on the defendant’s inability to tell right from wrong.
Duress
Duress is an excuse you raise when someone else forced you to commit a crime through threats of immediate death or serious bodily harm. The question is whether the coercion was so extreme that a person of ordinary resolve could not have resisted. Vague threats or future dangers won’t do.
The threat must also be continuous. If you had a reasonable opportunity to escape or contact law enforcement and didn’t take it, the defense collapses. One important limit: duress is widely unavailable as a defense to intentional murder. The common-law rule reflects a judgment that even extreme coercion doesn’t justify taking an innocent life. Some jurisdictions allow duress to reduce a murder charge to a lesser offense, but as a complete defense to intentional killing, it is rejected in almost every American court.
Necessity
Necessity, sometimes called the choice-of-evils defense, is a justification. Where duress involves pressure from another person, necessity involves pressure from circumstances, typically natural forces or emergencies. You argue you broke the law to prevent a greater harm than the one the law was designed to prevent. The classic example is breaking into a cabin during a blizzard to avoid freezing to death.
To succeed, you must show you had no reasonable legal alternative, that the harm you prevented was genuinely greater than the harm you caused, and that you didn’t create the emergency yourself. Your belief in the necessity must also be sincere and objectively reasonable. The defense is narrow by design, because courts are reluctant to let defendants decide for themselves when the law should be broken. It fails if any lawful option was available, if you caused more harm than you prevented, or if a legislature has already weighed the competing harms and ruled against the justification you’re claiming.
Entrapment
Entrapment is a defense you raise when law enforcement induced you to commit a crime you otherwise wouldn’t have committed. It exists to prevent the government from manufacturing criminals. Courts draw a sharp line between an officer creating a crime and an officer providing an opportunity for one. An undercover agent offering to sell drugs that you immediately agree to buy is opportunity. An agent spending weeks pressuring, threatening, or manipulating you into a transaction you repeatedly refused is closer to entrapment.
Jurisdictions use one of two tests. Most apply the subjective test, which focuses on whether you were predisposed to commit the crime before law enforcement got involved. Under this approach, your criminal history is fair game, and evidence of prior inclination toward the activity defeats the defense regardless of how aggressive the officers were. A minority of jurisdictions use the objective test, which ignores your personal characteristics and asks whether the government’s conduct would have induced a reasonable, law-abiding person to commit the crime. The objective test tends to favor defendants because it directs the jury to what the police did rather than who the defendant is.
Involuntary Intoxication
Voluntary intoxication rarely works as a complete defense. Involuntary intoxication is different. If someone spiked your drink, or a prescribed medication caused an unexpected reaction that left you unable to understand your actions, you may have a valid excuse. You must show you didn’t choose to become intoxicated and that the intoxication was severe enough to prevent you from forming the mental state the crime requires. Proof is the practical hurdle: toxicology, medical records, and witnesses matter, because courts and juries are skeptical of claims that surface only after an arrest.
What Happens If You Win
Winning on an affirmative defense doesn’t always mean walking out free and clear. The consequences depend on which defense you raised.
A verdict of not guilty by reason of insanity is not the same as a simple acquittal. Under federal law, a person found not guilty by reason of insanity must be committed to a psychiatric facility until they can show they’re no longer dangerous. The commitment hearing must take place within 40 days of the verdict, and for violent offenses the committed person bears the burden of proving by clear and convincing evidence that release wouldn’t create a substantial risk of harm to others.6Office of the Law Revision Counsel. 18 USC 4243 – Hospitalization of a Person Found Not Guilty Only by Reason of Insanity People committed after an insanity acquittal sometimes spend more time in a psychiatric facility than they would have spent in prison on a conviction.
A criminal acquittal on self-defense grounds doesn’t shield you from a civil lawsuit. The family of the person you injured or killed can sue for wrongful death or personal injury, and the civil burden is far lower: preponderance of the evidence, not beyond a reasonable doubt. Some stand-your-ground states grant civil immunity to defendants whose use of force was justified, but over 20 states that grant criminal immunity don’t extend the same protection to civil claims. Even where civil immunity exists, it sometimes operates as an affirmative defense in the civil case rather than an automatic shield, so you may still face discovery, depositions, and trial before the issue is resolved.
Not the Same as a Mitigating Factor
Affirmative defenses are easy to confuse with mitigating factors, but they operate at different stages. An affirmative defense is raised during trial and, if successful, prevents a conviction. A mitigating factor comes in only after a guilty verdict, during sentencing. Provocation, emotional distress, or a difficult personal history may not excuse a crime, but they can persuade a judge to impose a lighter sentence. If you can’t meet the strict requirements of an affirmative defense, the same underlying facts might still reduce your punishment.