Quick summary
California Penal Code 198.5 is the state’s “castle doctrine.” If you use force inside your home against someone who unlawfully and forcibly broke in, the law presumes you reasonably feared death or great bodily injury.
- What it does: It gives you a legal presumption that supports self-defense. It is not automatic immunity, and prosecutors can try to rebut it.
- When it applies: The force has to happen inside the residence, against someone who is not a family or household member, after a forcible entry you knew or had reason to believe happened.
- Example: An intruder kicks in Maria’s back door at 2 a.m. and she shoots him in the hallway. The law presumes she was reasonably afraid. If she had shot someone standing on her open front porch, the presumption would not apply.
Under Penal Code § 198.5 PC, California presumes that residents have a reasonable fear of death or great bodily injury if an intruder (who is not a family or household member) forcibly enters their home. This is California’s castle doctrine.
Because of this presumption, it may be a justifiable homicide if the resident kills or injures the intruder in self-defense.
The full text of the statute reads as follows:
198.5. Any person using force intended or likely to cause death or great bodily injury within his or her residence shall be presumed to have held a reasonable fear of imminent peril of death or great bodily injury to self, family, or a member of the household when that force is used against another person, not a member of the family or household, who unlawfully and forcibly enters or has unlawfully and forcibly entered the residence and the person using the force knew or had reason to believe that an unlawful and forcible entry occurred.
As used in this section, great bodily injury means a significant or substantial physical injury.1
In plain English, if a stranger breaks into your home and you use force against them there, California law starts from the assumption that you were reasonably afraid for your life or safety.
Legal Analysis
When does the castle doctrine presumption apply?
In California, the Penal Code 198.5 presumption applies when all of these are true:
- You used the force inside your residence;
- The other person unlawfully and forcibly entered, or was entering, the residence;
- You knew or had reason to believe that an unlawful and forcible entry happened; and
- The other person was not a member of your family or household.
When these conditions are met, the law presumes you had a reasonable fear of imminent death or great bodily injury to yourself, your family or a member of your household. You do not have to show that the intruder had a weapon, attacked anyone or made any threats.
Is the castle doctrine a guarantee?
No. California courts treat section 198.5 as a rebuttable presumption, and only residents defending their homes get it.2 The prosecutor can still try to prove that your fear was not reasonable. For example, the prosecution might argue that you knew the intruder was unarmed and leaving. And a guest who is not a resident of the home cannot rely on the presumption.
If the presumption does not apply, you can still argue regular self-defense.
What counts as the “residence”?
An unenclosed front porch does not count as part of the residence under California’s castle doctrine. In People v. Brown, a California appeals court held that an entry onto an open front porch is not an entry into the residence under section 198.5.3 So even if an intruder steps onto an open porch with violent intentions, the presumption does not apply. A resident who used force on the porch would have to rely on regular self-defense rules instead.
Can I use deadly force to protect my property outside the home?
Generally, no. In People v. Chen, a California appeals court upheld a brandishing conviction for a man who pointed a shotgun at neighbors taking down a shared fence. The court explained that displays of deadly force are not a reasonable way to defend property when there is no home invasion and no threat of death or serious injury.4
For a full guide, see our article on California self-defense laws. See also our related article on stand your ground laws, and the related homicide statutes in Penal Code 195, Penal Code 196 and Penal Code 197.5

Legal references:
- California Penal Code 198.5 PC (text as of November 2026; unchanged since enacted in 1984).
- People v. Silvey (1997) 58 Cal.App.4th 1320, 1326: section 198.5 “creates a rebuttable presumption,” and “the presumption benefits only residents defending their homes.”
- People v. Brown (1992) 6 Cal.App.4th 1489 (entry onto the defendant’s open front porch was not an entry into a residence under section 198.5, so the defendant was left with the standard self-defense instructions).
- People v. Chen (2020) 50 Cal.App.5th 952.
- See California Penal Code 197 PC (justifiable homicide by any person), and Penal Code 195 and 196.