> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# 18 U.S.C. § 17 — Insanity defense

- **Citation**: 18 U.S.C. § 17
- **Node Type**: section
- **Jurisdiction**: United States (federal)
- **Code Body**: United States Code (USC)
- **Official Source**: [https://uscode.house.gov/download/releasepoints/us/pl/119/95/xml_usc18@119-95.zip](https://uscode.house.gov/download/releasepoints/us/pl/119/95/xml_usc18@119-95.zip)
- **Canonical URL**: [https://corpuslaw.us/codes/federal/us-code/title-18/chapter-1/section-17](https://corpuslaw.us/codes/federal/us-code/title-18/chapter-1/section-17)
- **Semantic URL**: [https://corpuslaw.us/codes/federal/us-code/title-18/chapter-1/section-17](https://corpuslaw.us/codes/federal/us-code/title-18/chapter-1/section-17)

## Hierarchy

Title 18 — Crimes and Criminal Procedure > Chapter 1

## Text

(a) Affirmative Defense.—It is an affirmative defense to a prosecution under any Federal statute that, at the time of the commission of the acts constituting the offense, the defendant, as a result of a severe mental disease or defect, was unable to appreciate the nature and quality or the wrongfulness of his acts. Mental disease or defect does not otherwise constitute a defense.

(b) Burden of Proof.—The defendant has the burden of proving the defense of insanity by clear and convincing evidence.
