An anxiety attack, by itself, is not a recognized standalone criminal defense in American law; it can only matter to the extent it is fit into an established defense framework—most commonly insanity or diminished capacity, and only in the minority of jurisdictions that still permit the latter—or, far more often, into sentencing mitigation rather than acquittal. The question is genuinely ambiguous in two ways that should be flagged early: "anxiety attack" is not a legal term with a fixed meaning (it may describe a panic attack, a diagnosed panic disorder, an acute stress reaction, or a loosely described emotional episode), and "criminal defense" lumps together very different procedural moves—a plea of not guilty by reason of insanity, a claim negating the mental state element of a specific offense, an automatic-failure-of-proof argument, and a mitigation argument at sentencing. Each has a different legal test, different availability, and different consequences. The answer below distinguishes these; because the applicable rule varies by state and by federal circuit, the specific governing statute or case law in the charging jurisdiction must be checked, and the reference date of November 13, 2026, is not verification of any particular state's current wording.

The Core Distinction: Excuse, Element-Negation, and Mitigation

Excuse defenses concede that the defendant did the act but argue they are not blameworthy—insanity is the paradigm. Anxiety attacks are almost never sufficient here because the insanity tests require a severe, diagnosable condition that grossly impairs reality testing or control, not a transient anxious episode. A panic attack that produces depersonalization or dissociation during the act could, in principle, be evidence within an insanity analysis, but courts have consistently rejected the idea that anxiety or panic alone satisfies the threshold. The M'Naghten test (used in a majority of states in some form) asks whether the defendant knew the nature and quality of the act or knew it was wrong; a panic attack in which the person still knew what they were doing and that it was wrong fails that test. The "irresistible impulse" and Model Penal Code formulations are broader but still demand a "substantial" incapacity, not mere anxiety.

Element-negation is where anxiety has marginally more traction: some offenses require a specific mental state (intent, knowledge, purpose, malice), and evidence of a panic state may be offered to show the defendant lacked it—for example, that a person in an acute panic episode did not form the deliberate premeditation required for first-degree murder, or did not act "knowingly" with respect to a particular fact. This is not a separate "anxiety defense"; it is ordinary mens rea argument, and the anxiety is just evidence. It is also unpredictable: juries may accept or reject it, and many offenses (especially general-intent and strict-liability offenses) do not require the mental state the defense seeks to negate.

Mitigation is the most realistic and most common use: anxiety, panic disorder, or an acute episode presented at sentencing to argue for a lesser sentence, treatment, or diversion—not to escape conviction. This is not a "defense" in the acquittal sense, and framing it as one misleads defendants about what it can achieve.

Diminished Capacity: A Minority Doctrine, and Not a Synonym for Insanity

Diminished capacity (or diminished responsibility) is the doctrine most often invoked with anxiety, and it is important to state its limits precisely. It exists in only some jurisdictions, in two distinct forms:

Diminished capacity as element-negation: evidence of a mental condition is admissible to negate the specific intent required for a crime. This is accepted in some states and in some federal circuits, and it is essentially the mens rea argument above. Diminished responsibility as partial excuse: some jurisdictions allow it to reduce murder to manslaughter (for example, the "extreme mental or emotional disturbance" formulations, or the partial-defense rules in a few states). These typically require a very high threshold—often "extreme" disturbance or a recognized psychiatric condition—and courts have generally declined to treat ordinary anxiety or panic as sufficient.

The critical point: the Supreme Court held in Clark v. Arizona (2006) that a state may restrict evidence of mental illness offered to negate mens rea, and that Arizona's rule limiting such evidence was constitutional. That case illustrates the fragmentation: the availability of diminished-capacity evidence is a matter of state law, not a nationwide right, and some states have abolished the doctrine entirely. A defendant in one state may be able to present panic-disorder evidence on intent; a defendant in a neighboring state may be barred from doing so. Treat any claim that "anxiety is a defense" as jurisdiction-specific until the governing statute is identified.

The Insanity Route: Why Anxiety Rarely Reaches the Threshold

Every insanity formulation is demanding, and it is worth being concrete about why anxiety falls short:

Test Core question Why a panic attack typically fails
M'Naghten (majority of states) Did the defendant know the nature/quality of the act, or know it was wrong? Panic usually preserves awareness of the act and its wrongfulness; the person may act impulsively but still know what they are doing.
Irresistible impulse (some states) Could the defendant control the act? Requires a loss of control tied to mental disease; anxiety alone is generally treated as insufficient, and the test is narrow.
Model Penal Code ("substantial capacity") Did the condition substantially impair the capacity to appreciate wrongfulness or conform conduct? "Substantial" is a high bar; transient anxiety rarely meets it, and the MPC test is adopted in only a minority of states.
Federal (18 U.S.C. § 17) Severe mental disease or defect preventing appreciation of wrongfulness A diagnosed anxiety disorder is not a "severe mental disease or defect" in the sense courts require.

The structural reason is that insanity is an excuse that requires a condition severe enough to undermine responsibility, and anxiety disorders, however distressing, are generally understood to preserve the person's capacity to know and to choose, even if the choice is harder. That is a legal judgment, not a medical one, and it is why psychiatric diagnosis and legal insanity are not the same thing: a person can have a genuine, diagnosed panic disorder and still be legally responsible.

A Concrete Illustration

Consider a defendant charged with assault after shoving a stranger during what the defendant describes as a panic attack. The realistic legal arguments are:

1: Self-defense or defense of others, if the panic was triggered by a perceived threat—this is a justification defense, not an anxiety defense, and it depends on whether the belief in threat was reasonable. 2: Element-negation, if the offense requires intent to cause harm and the defense argues the shove was an involuntary reflex or a product of dissociation—this is weak unless supported by medical evidence and the jurisdiction permits it. 3: Insanity, which will almost certainly fail if the defendant knew the shove was wrong. 4: Sentencing mitigation, where the panic disorder, treatment history, and absence of prior violence may matter.

By contrast, a defendant charged with premeditated murder who presents evidence of a severe panic episode at the time of the killing might use that evidence to argue against premeditation (reducing the degree) or, in a partial-excuse jurisdiction, to seek manslaughter—but not to obtain outright acquittal. The same fact pattern produces different outcomes depending on the offense's mental-state requirements and the jurisdiction's evidentiary rules.

What "Anxiety Attack" Does Not Do

It does not create an automatic failure of the prosecution's case, and it does not shift the burden to the prosecution in any special way. It does not excuse strict-liability offenses (regulatory offenses, many traffic offenses), where mental state is irrelevant. And it does not function as a freestanding "emotional distress" defense; the phrase "anxiety defense" sometimes appears in popular discussion, but no American jurisdiction recognizes it as a named doctrine. Where defendants have tried to argue that a panic attack rendered conduct involuntary, courts have generally treated involuntary-act claims narrowly—requiring a genuine loss of conscious control, not merely strong emotion—and have often rejected them on the facts.

Sentencing and Diversion: The Realistic Path

In practice, anxiety is most useful after conviction or in pretrial diversion. Courts routinely consider mental-health conditions as mitigating factors under sentencing guidelines and statutes, and problem-solving courts (mental-health courts, diversion programs) may accept diagnosed anxiety disorders as a basis for treatment-oriented dispositions. This is a practical, not a doctrinal, use: it affects the sentence or the route, not the verdict. Defense counsel should also consider whether the anxiety affected the defendant's capacity to understand proceedings (competence to stand trial) or the voluntariness of a statement or plea—separate issues from guilt, and ones where mental-health evidence is routinely relevant.

Ambiguities to Resolve Before Relying on Any of This

Three unknowns determine the answer in any real case: (1) the jurisdiction (state or federal, and which state), because diminished-capacity and insanity rules differ materially; (2) the offense and its mental-state element, because element-negation only works against specific-intent crimes; and (3) the nature and documentation of the condition—a diagnosed panic disorder with treatment records is meaningfully different from a self-described "anxiety attack" with no medical support. Without those, the only accurate general statement is the one at the top: anxiety is not a standalone defense, and its legal relevance runs through insanity, diminished capacity where available, mens rea, competence, voluntariness, or mitigation.

Why the Confusion Persists

The confusion arises from conflating three vocabularies: psychiatric (anxiety as a clinical condition), popular (an "anxiety attack" as an overwhelming episode), and legal (defenses with specific elements and burdens). Media coverage of insanity acquittals and the phrase "mental defense" blurs the line, and the genuine but limited role of mental-health evidence in element-negation makes it sound broader than it is. The doctrinal reality is narrower and more procedural: anxiety matters legally only when it is evidence fitted to a recognized rule, in a jurisdiction that recognizes that rule, for an offense whose elements it can actually negate.