State Law Atlas

Pennsylvania stand your ground law

Partly: Pennsylvania's stand your ground rule applies only when the attacker displays or uses a firearm, replica firearm, or other weapon capable of lethal use; otherwise a person must retreat outside home or work if they can do so with complete safety.

StatusStand your ground by statute
Duty to retreat in publicNo duty (statute)
At homeNo duty to retreat from your dwelling unless you were the initial aggressor; fear presumed against an unlawful, forceful entry
In a vehicleSame presumption for an occupied vehicle
Immunity from prosecution or civil suitImmune from civil liability to the perpetrator; no criminal immunity statute

Verified November 26, 2026 against 18 Pa.C.S. § 505(b)(2.3). Current rule in effect since August 27, 2011.

The details

18 Pa.C.S. § 505(b)(2)(ii) bars deadly force if the actor knows they can avoid it with complete safety by retreating, except from their dwelling or place of work. Paragraph (2.3) removes that duty for a person who is not engaged in criminal activity, not illegally possessing a firearm, has a right to be where attacked, believes deadly force is immediately necessary, and faces an attacker who displays or uses a firearm or other lethal weapon. Paragraph (2.1) presumes a reasonable belief against an unlawful, forceful entry into a dwelling, residence or occupied vehicle. 42 Pa.C.S. § 8340.2 grants civil immunity.

Exceptions and limits

Against an unarmed attacker outside the home or workplace, the duty to retreat with complete safety still applies. The exception does not apply against a peace officer performing official duties.

What the law says

  1. 18 Pa.C.S. § 505(b)(2.3) [statute]
    has no duty to retreat and has the right to stand his ground and use force, including deadly force, if
  2. 42 Pa.C.S. § 8340.2 [statute]
    shall be immune from civil liability for personal injuries sustained by a perpetrator

Change history

  • 2026-11-26First verified against the Pennsylvania Consolidated Statutes (palegis.us).

Neighboring states

DelawareDuty to retreat outside the home
MarylandDuty to retreat outside the home
New JerseyDuty to retreat outside the home
New YorkDuty to retreat outside the home
OhioStand your ground by statute
West VirginiaStand your ground by statute