EnglishEspañol
Pennsylvania flag

Pennsylvania

Pennsylvania Self-Defense Laws: Stand Your Ground & Castle Doctrine (2026)

Independently fact-checked against primary sources (last audited August 17, 2026). · Reviewed by the RecordingLaw editorial team. · Law checked current as of August 17, 2026. How we verify our legal content

Pennsylvania Self-Defense Laws: Stand Your Ground & Castle Doctrine (2026)

Frequently Asked Questions

Is Pennsylvania a stand-your-ground state?

Yes, but conditionally. Pennsylvania removes the duty to retreat in public under 18 Pa.C.S. § 505(b)(2.3) only when four conditions are all met: the actor is not engaged in criminal activity, the actor is not in illegal possession of a firearm, the actor has a right to be in the location, and the attacker displays or uses a firearm, a replica firearm, or any other weapon readily or apparently capable of lethal use. If the attacker is unarmed and retreat is safely available, the duty to retreat in a public place still applies. Inside a home, residence, or place of work, there is no duty to retreat under § 505(b)(2)(ii) regardless of whether the attacker is armed, except that the workplace no-retreat rule does not apply against a co-worker at that shared workplace.

When do I have a duty to retreat in Pennsylvania?

In a public location, you have a duty to retreat before using deadly force if the attacker has not displayed or used a lethal weapon. In your dwelling, residence, or an occupied vehicle facing an unlawful forcible entry, the presumption in § 505(b)(2.1) and (b)(2.2) applies. At your dwelling or place of work generally, § 505(b)(2)(ii) removes the duty to retreat, except when the attacker is a co-worker at that shared workplace. The duty to retreat never applies to non-deadly force in any location.

What is the castle doctrine in Pennsylvania?

Pennsylvania's castle doctrine is in 18 Pa.C.S. § 505(b)(2.1) and (b)(2.2). It creates a presumption that the occupant reasonably feared death or serious injury when the attacker unlawfully and forcibly entered a dwelling, residence, or occupied vehicle, and it applies regardless of whether the attacker has a weapon. A related but separate rule, § 505(b)(2)(ii), removes the duty to retreat from a dwelling or place of work, except when the attacker is a co-worker at that shared workplace.

Does Pennsylvania's castle doctrine cover my car?

Yes. Section 505(b)(2.2) includes occupied vehicles alongside dwellings and residences in the presumption of reasonable fear provision. If someone unlawfully and by force attempts to enter your occupied vehicle, the statutory presumption that your fear of death or serious injury was reasonable applies.

Can I use deadly force to protect my property in Pennsylvania?

Not for property alone. Under 18 Pa.C.S. § 507, deadly force to protect property is only justified when there has been an unlawful entry into your dwelling and you reasonably believe less-than-deadly force is inadequate, or when someone is attempting to dispossess you of your dwelling, or when the force is necessary to prevent the commission of a felony in the dwelling. Shooting a trespasser or thief outside your dwelling, without any such circumstances, is not legally justified in Pennsylvania.

Does Pennsylvania have civil immunity for self-defense?

Pennsylvania does not have a broad standalone civil-immunity statute like Florida's § 776.032 or Texas's § 83.001. A successful criminal justification defense under § 505 does not automatically bar a civil lawsuit. If you are prosecuted and acquitted on self-defense grounds, a civil plaintiff can still bring a separate lawsuit under the lower preponderance-of-evidence standard.

What changed in Pennsylvania self-defense law in 2011?

Act 10 of 2011, signed June 28, 2011, added the weapon-display stand-your-ground condition to § 505(b)(2.3) and the castle-doctrine provisions in § 505(b)(2.1) and (b)(2.2). Before 2011, Pennsylvania imposed a general duty to retreat before using deadly force in public, and the castle-doctrine presumption did not exist. The 2011 act did not eliminate the duty to retreat entirely; it created the conditional SYG rule tied to the attacker's weapon display.

Updates

Independently fact-checked against the cited primary sources; governing law re-checked for recent changes

Corrected the workplace no-duty-to-retreat rule's statutory attribution from § 505(b)(2.1) (a dwelling/residence/occupied-vehicle presumption) to the actual source, § 505(b)(2)(ii), and added its omitted co-worker carve-out (no protection against an attack by a co-worker at the shared workplace), fixed throughout the article, KeyTakeaways, and FAQ.

Corrected two remaining sentences that placed the workplace under the castle-doctrine presumption; workplace coverage comes from the separate no-retreat rule in 18 Pa.C.S. 505(b)(2)(ii).

Governing law re-checked for recent changes

Reviewed and approved by an editor

Sources and References

  1. 18 Pa.C.S. § 505 (Use of force in self-protection), as amended by Act 10 of 2011(palegis.us)
  2. 18 Pa.C.S. § 507 (Use of force for the protection of property)(palegis.us)
  3. Pennsylvania HB 40 (2011), Act 10 of 2011 (amending Titles 18 and 42, signed June 28, 2011)(palegis.us)
  4. NCSL, Self-Defense and Stand Your Ground (2024)(ncsl.org)
  5. Cornell LII, Overview of self-defense law(law.cornell.edu)
Share: