> 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 Pa.C.S. § 503 — Justification generally.

- **Citation**: 18 Pa.C.S. § 503
- **Node Type**: section
- **Jurisdiction**: Pennsylvania (state)
- **Code Body**: Pennsylvania Consolidated Statutes (Aug. 2026 snapshot) (Pa.C.S.)
- **Official Source**: [https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=18](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=18)
- **Canonical URL**: [https://corpuslaw.us/codes/pennsylvania/title-18/chapter-5/section-503](https://corpuslaw.us/codes/pennsylvania/title-18/chapter-5/section-503)
- **Semantic URL**: [https://corpuslaw.us/codes/pennsylvania/title-18/chapter-5/section-503](https://corpuslaw.us/codes/pennsylvania/title-18/chapter-5/section-503)

## Hierarchy

Title 18 > Chapter 5

## Text

(a) General rule.--Conduct which the actor believes to be necessary to avoid a harm or evil to himself or to another is justifiable if:

(1) the harm or evil sought to be avoided by such conduct is greater than that sought to be prevented by the law defining the offense charged;

(2) neither this title nor other law defining the offense provides exceptions or defenses dealing with the specific situation involved; and

(3) a legislative purpose to exclude the justification claimed does not otherwise plainly appear.

(b) Choice of evils.--When the actor was reckless or negligent in bringing about the situation requiring a choice of harms or evils or in appraising the necessity for his conduct, the justification afforded by this section is unavailable in a prosecution for any offense for which recklessness or negligence, as the case may be, suffices to establish culpability.
