> 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).

# A.R.S. § 13-417 — Necessity defense

- **Citation**: A.R.S. § 13-417
- **Node Type**: section
- **Jurisdiction**: Arizona (state)
- **Code Body**: Arizona Revised Statutes (azleg.gov, through the 57th Legislature, 2nd Regular Session (2026)) (A.R.S.)
- **Official Source**: [https://www.azleg.gov/ars/13/00417.htm](https://www.azleg.gov/ars/13/00417.htm)
- **Canonical URL**: [https://corpuslaw.us/codes/arizona/title-13/chapter-4/section-13-417](https://corpuslaw.us/codes/arizona/title-13/chapter-4/section-13-417)
- **Semantic URL**: [https://corpuslaw.us/codes/arizona/title-13/chapter-4/section-13-417](https://corpuslaw.us/codes/arizona/title-13/chapter-4/section-13-417)

## Hierarchy

Title 13 — Criminal Code > Chapter 4 — JUSTIFICATION

## Text

13-417. Necessity defense

A. Conduct that would otherwise constitute an offense is justified if a reasonable person was compelled to engage in the proscribed conduct and the person had no reasonable alternative to avoid imminent public or private injury greater than the injury that might reasonably result from the person's own conduct.
B. An accused person may not assert the defense under subsection A if the person intentionally, knowingly or recklessly placed himself in the situation in which it was probable that the person would have to engage in the proscribed conduct.
C. An accused person may not assert the defense under subsection A for offenses involving homicide or serious physical injury.
