The “Castle Doctrine” – California Penal Code § 198.5 PC
California Penal Code § 198.5 PC – The “Castle Doctrine”
One of the most significant legal protections available to California homeowners is the Castle Doctrine. Under Penal Code 198.5, if someone unlawfully and forcibly enters your home, the law presumes you had a reasonable fear of imminent death or great bodily injury — giving you the legal right to use force, including deadly force, to protect yourself and others inside your residence. You do not have a duty to retreat before defending yourself in your own home.
The Castle Doctrine has important limitations. It applies only when an intruder has forcibly and unlawfully entered the residence itself — not a yard, driveway, or unenclosed porch. It does not apply to household members, invited guests, or anyone with a legal right to be in the home.
If you are facing criminal charges after defending yourself in your home, understanding how the Castle Doctrine applies to your specific situation is critical. Attorney Arash Hashemi has spent over 20 years defending clients charged with violent offenses after acting in self-defense, and has obtained dismissals in cases involving self-defense claims. Contact The Law Offices of Arash Hashemi at (310) 448-1529 or schedule a confidential consultation using our secure online system
What Is the Castle Doctrine in California?
Penal Code 198.5 PC establishes a legal presumption that a resident had a reasonable fear of imminent harm or death when an intruder forcibly enters their home. That presumption means any force used in self-defense within the home — including deadly force — may be legally justified without requiring the homeowner to first attempt to retreat. This aligns the Castle Doctrine with California’s broader stand your ground principles, which apply in any location where a person has a legal right to be.
Key Protections Under the Castle Doctrine
Presumption of Reasonable Fear Penal Code 198.5 creates a legal presumption that a homeowner had a reasonable fear of imminent death or serious bodily injury when an intruder unlawfully and forcibly enters their residence. This shifts the burden to the prosecution — they must prove your fear was unreasonable or that your response was disproportionate to the threat.
Three things to understand about this presumption:
- The entry must be unlawful and forcible. The presumption applies only when the intruder entered or attempted to enter by force, such as breaking down a door or forcing open a window. A person who was invited in or who entered without force does not trigger the presumption.
- You do not need to prove the intruder was armed. The law treats a forcible home invasion as inherently dangerous. You are not required to wait for a visible weapon or an explicit threat before the presumption applies.
- The prosecution can attempt to rebut the presumption. If the prosecution can demonstrate the entry was not forcible or that no genuine threat existed, the presumption may not hold and the defense must rely on general self-defense principles instead.
No Duty to Retreat California’s Castle Doctrine imposes no duty to retreat when you are inside your home. You are not required to attempt escape or avoid confrontation with an intruder. You have the legal right to stand your ground and use reasonable force to protect yourself and others in your household. This protection is specific to the home. In public spaces, the analysis under California self-defense law is different and does not carry the same presumption.
Use of Deadly Force The Castle Doctrine permits the use of deadly force when necessary to prevent death or great bodily injury. Two requirements apply. The force must be necessary — meaning deadly force was the only reasonable option available given the circumstances. And it must be proportionate — the level of force must match the threat. Using deadly force against an intruder who is incapacitated or fleeing may be found excessive.
Deadly force is generally justified when the intruder’s conduct reasonably indicates they are actively attempting to cause death or serious injury. A killing under the Castle Doctrine is not automatically protected. Every case is evaluated on its specific facts, and the burden falls on demonstrating that the force used was legally justified under the circumstances.
Key Elements of Penal Code 198.5 PC
Unlawful Entry The intruder must have entered or attempted to enter your home without permission and without a legal right to be there. This includes breaking in, forcing open a door or window, or any other unauthorized entry by force. The Castle Doctrine does not apply to tenants, cohabitants, invited guests, or anyone else with a legal right to enter the property. If the person entered peacefully or with prior permission, PC 198.5 does not provide the presumption of reasonable fear.
Reasonable Fear of Harm You must have had a genuine and reasonable belief that the intruder posed an immediate threat of death or great bodily injury to you or others in your household. When the entry is both unlawful and forcible, the law presumes that belief was reasonable. The prosecution can challenge that presumption by presenting evidence that the intruder posed no actual threat — for example, that they were retreating, incapacitated, or unarmed and non-threatening. When the presumption is successfully rebutted, the defense must rely on general self-defense principles rather than the Castle Doctrine.
Residential Protection The incident must occur within the physical boundaries of your residence. PC 198.5 protects the interior of the home — the living spaces inside the structure itself. It does not extend to yards, driveways, unenclosed porches, or other areas outside the home’s physical structure. Confrontations in those areas are evaluated under California’s general self-defense laws rather than the Castle Doctrine.
How Is the Castle Doctrine Different from Stand Your Ground?
Both the Castle Doctrine and California’s stand your ground principles allow you to defend yourself without a duty to retreat, but they apply in different situations and carry different legal standards.
The Castle Doctrine applies specifically to your home. When someone unlawfully and forcibly enters your residence, Penal Code 198.5 creates an automatic presumption that you had a reasonable fear of imminent death or great bodily injury. You do not have to prove that fear unless the prosecution presents evidence to rebut it. That presumption is what makes the Castle Doctrine a powerful defense — the burden shifts to the prosecution from the outset.
Stand your ground applies outside the home, in any location where you are lawfully present. California does not impose a duty to retreat before using force in public, at work, or in your vehicle. However, unlike the Castle Doctrine, there is no automatic presumption of reasonable fear in those situations. You must demonstrate that your belief in imminent danger was genuine and reasonable and that the force you used was proportionate to the threat.
The other key distinction is scope. The Castle Doctrine generally does not extend to yards, driveways, or unenclosed areas outside the home’s physical structure. Stand your ground can apply in those locations when you are attacked and have no safe means of retreat. Understanding which doctrine applies to your specific situation is one of the first things an experienced self-defense attorney analyzes when building your defense.
Limitations of the Castle Doctrine
The Castle Doctrine provides significant legal protection but does not apply in every situation involving force inside a home. Understanding its limitations is essential to evaluating whether it applies to your case.
The entry must be both unlawful and forcible. The presumption of reasonable fear under PC 198.5 is triggered only when the intruder entered or attempted to enter by force. If someone walked through an unlocked door without permission, that entry may be unlawful but it is not forcible. In that situation the Castle Doctrine presumption does not apply and the defense must rely on general self-defense principles instead.
It applies only inside the residence. The doctrine does not extend to yards, driveways, unenclosed porches, or any area outside the physical structure of the home. If the confrontation occurred outside those boundaries, the analysis shifts to California’s general self-defense and stand your ground laws.
The force used must be proportionate to the threat. The Castle Doctrine permits deadly force only when it is necessary to prevent imminent death or great bodily injury. Using deadly force against an intruder who is fleeing, incapacitated, or no longer poses an active threat can be found excessive and fall outside the doctrine’s protections entirely.
It does not apply to household members or invited guests. The doctrine covers only intruders who have no legal right to be in the home. It does not apply to spouses, cohabitants, family members, or anyone who was invited onto the property. Confrontations involving those individuals are governed by general self-defense law, not the Castle Doctrine.
Contact Our Los Angeles Defense Attorney Today
Defending yourself or your family in your home is your right, but criminal charges can still leave you facing uncertainty and stress. At The Law Offices of Arash Hashemi, we bring decades of experience to defending clients under California’s Castle Doctrine and Penal Code 198.5 PC. Whether you are confronting charges of assault, homicide, or other serious accusations, having the right Los Angeles defense attorney by your side is crucial to protecting your rights.
Attorney Arash Hashemi will thoroughly investigate the circumstances of your case, challenge the prosecution’s evidence, and craft a tailored defense strategy to ensure the Castle Doctrine applies to your situation. From evidentiary analysis to courtroom representation, Attorney Hashemi is dedicated to achieving the best possible outcome for your case.
Schedule Your Consultation Today
- Phone: (310) 448-1529
- Schedule Your Free 15-Minute Consultation: Conveniently book online through our secure system.
- Email: Contact@hashemilaw.com
- Address: 11845 W Olympic Blvd #520, Los Angeles, CA 90064
- Office Hours: Monday to Friday, 8:30 AM – 5:00 PM, with flexible scheduling options available, including weekend

