California Legal Blog

Contact Us for a Free Consultation

California Castle Doctrine and Stand Your Ground: Penal Code 198.5 and the Right to Self-Defense

Posted by Bulldog Law | Aug 11, 2026

California Self-Defense Laws

Updated November 2026 | The Bulldog Law | California Criminal Defense

California has a castle doctrine and, in practice, a stand your ground rule. Penal Code 198.5 presumes that a resident who uses deadly force against someone who has unlawfully and forcibly broken into the home reasonably feared death or great bodily injury. Outside the home, California's jury instructions say a person who is attacked has no duty to retreat and may stand his or her ground, and may even pursue the attacker when that is reasonably necessary. In every setting, the force must be a reasonable response to an imminent threat, and deadly force is never justified to protect property alone.

Our attorneys defend homeowners, drivers, and bystanders charged after using force, and we see the same misunderstandings in every case: that the castle doctrine covers the yard or the car, that a warning shot is safe, that a person who leaves can be stopped by force. The rules below are what the jury will actually be told.

The castle doctrine: Penal Code 198.5

Penal Code 198.5 provides:

"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."

The statute does four things.

  • It creates a presumption, not a license. The resident is presumed to have reasonably feared death or great bodily injury. The prosecutor can try to rebut that presumption with evidence, for example that the resident knew the intruder was unarmed and fleeing.
  • It requires an unlawful and forcible entry. Breaking a window, kicking a door, or forcing a lock qualifies. Walking through an open door, or being let in, does not. An entry that has begun but is not complete still counts.
  • It requires knowledge. The resident must have known, or had reason to believe, that a forcible entry occurred. Shooting at a noise, or through a closed door at an unknown person, is where cases are lost.
  • It excludes family and household members. Force against a spouse, partner, roommate, or relative who lives there is judged under ordinary self-defense rules.

The presumption applies within the residence. Courts treat an attached garage as part of the home. Detached garages, sheds, yards, driveways, vehicles, and businesses are outside it; self-defense is still available there, without the presumption.

Stand your ground: no duty to retreat

California has no statute titled stand your ground, which is why the question causes confusion. The rule lives in the jury instructions. CALCRIM 505 (self-defense in a homicide case) and CALCRIM 3470 (self-defense generally) tell jurors that a defendant is not required to retreat, is entitled to stand his or her ground and defend himself or herself, and, if reasonably necessary, to pursue an assailant until the danger of death or great bodily injury has passed, even if safety could have been achieved by retreating.

That is a stand your ground rule in substance. The limits are the same as for any self-defense claim: the belief in danger must be reasonable, the danger must be imminent, and the force must be no more than reasonably necessary.

The elements of self-defense in California

Whether at home or in public, a jury will acquit on self-defense when:

  • The defendant reasonably believed that he or she, or someone else, was in imminent danger of being killed, suffering great bodily injury, or, for deadly force, being the victim of a forcible and atrocious felony such as robbery, rape, or burglary of an occupied home.
  • The defendant reasonably believed that immediate use of force was necessary to defend against that danger.
  • The defendant used no more force than was reasonably necessary.

Reasonableness is judged from the defendant's situation, with the knowledge the defendant had at the time. A threat that has passed, or a person who is leaving, no longer justifies force. Our pages on Penal Code 692 and Penal Code 693 cover the statutory basis for lawful resistance.

Once the defense raises self-defense, the prosecutor must prove beyond a reasonable doubt that the defendant did not act in lawful self-defense.

Deadly force and justifiable homicide

Penal Code 197 lists when a killing is justifiable, including resisting an attempt to murder or seriously injure a person, defending a home against someone who intends violence after entering by force, and defending against a felony. Penal Code 198 adds that bare fear is not enough: the circumstances must be sufficient to excite the fears of a reasonable person, and the person must have acted under those fears alone. Our page on justifiable homicide goes through each category.

What the castle doctrine does not cover

Situation

Status

Intruder inside the home after a forcible entry

Presumption of reasonable fear applies

Person knocking, yelling, or trying the handle; no entry

No presumption; shooting through the door is frequently charged

Intruder running away or outside

No presumption and usually no self-defense; the threat has passed

Guest or invitee who is asked to leave

May use reasonable non-deadly force to eject; deadly force only if the ordinary self-defense test is met

Family or household member

Ordinary self-defense rules, no presumption

Yard, driveway, detached garage, vehicle, workplace

Ordinary self-defense rules, no presumption; no duty to retreat still applies

Protecting property only (theft, vandalism, trespass)

Reasonable non-deadly force only; deadly force not justified; traps illegal

Warning shots and brandishing

Can be charged as negligent discharge or [brandishing](https://www.thebulldog.law/pc-417-brandishing-weapon-california) if the self-defense test is not met

Defense of property and trespassers

A person may use reasonable force to protect property and to remove a trespasser who refuses to leave after being asked. Reasonable force does not include force likely to kill or seriously injure, and it never includes traps. When a property crime becomes a threat to a person, such as a burglar who confronts the resident, the self-defense rules take over.

Mutual combat and the initial aggressor

A person who starts a fight or agrees to one cannot claim self-defense unless he or she actually and in good faith tried to stop fighting, made that clear to the other person by word or conduct, and gave the other person a chance to stop. The exception is when the other person suddenly escalates to deadly force. A person who provokes a fight intending to use it as an excuse for force has no defense at all.

Imperfect self-defense

When a defendant honestly believed deadly force was necessary but the belief was unreasonable, the killing is not justified, but it is not murder either. Imperfect self-defense reduces murder to voluntary manslaughter. In homicide cases where a jury may doubt that the fear was reasonable, it is the fallback argument. See manslaughter versus murder.

After using force: what to do

  • Call 911 as soon as it is safe, and ask for medical help for anyone injured.
  • Put the weapon down before police arrive and follow their instructions.
  • Say that you were attacked and that you want a lawyer. Do not give a detailed statement that night. Adrenaline produces inaccurate accounts that are later used as inconsistencies.
  • Do not alter the scene or delete anything.
  • Identify witnesses and any cameras.

Self-defense cases are won on the details of what the defendant knew in the seconds before using force. A lawyer involved from the first interview protects those details.

Frequently asked questions

Does California have a castle doctrine?

Yes. Penal Code 198.5 is California's castle doctrine. When someone unlawfully and forcibly enters a residence, and the resident knows or has reason to believe that happened, the law presumes the resident had a reasonable fear of imminent death or great bodily injury when using deadly force against the intruder inside the home. The prosecutor must then disprove that fear.

Is California a stand your ground state?

In practice, yes, although no statute uses the phrase. California's jury instructions state that a person who is attacked has no duty to retreat, may stand his or her ground, and may even pursue the attacker if that is reasonably necessary to remove the danger. The force used still has to be reasonable and in response to an imminent threat.

What does Penal Code 198.5 say?

That a person using force intended or likely to cause death or great bodily injury inside his or her residence is 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 the force is used against a person who is not a member of the family or household and who unlawfully and forcibly entered or was entering, and the resident knew or had reason to believe that an unlawful and forcible entry occurred.

Can you shoot an intruder in California?

If the person broke into your home and you reasonably believed you or someone in the home was in danger of being killed or seriously hurt, yes, and Penal Code 198.5 presumes that belief was reasonable. You cannot shoot someone who is outside and leaving, someone you invited in, or someone who entered without force, unless the ordinary self-defense rules are met on their own.

Can you shoot through a door at someone trying to get in?

This is a frequent and dangerous question. The presumption in 198.5 requires an unlawful and forcible entry that has occurred or is occurring. Shooting through a closed door at someone knocking or trying the handle is often charged, because there was no entry and no way to know who was there or whether they were armed. Each case turns on what the resident actually knew.

Does the castle doctrine apply to my car, garage, yard, or business?

The presumption in 198.5 applies to a residence. Attached garages are generally treated as part of the home; detached structures, yards, cars, and businesses are not covered by the presumption. Self-defense is still available in those places, but the person claiming it must prove reasonable fear without the benefit of the presumption.

Can I use deadly force to protect property alone?

No. Deadly force is justified only to prevent death, great bodily injury, or a forcible and atrocious felony such as robbery, rape, or burglary of an occupied home. A person may use reasonable, non-deadly force to protect property and to remove a trespasser, and may not set traps.

What if I started the fight?

A person who starts a fight generally cannot claim self-defense unless he or she tried in good faith to stop fighting and communicated that, or the other person responded with sudden deadly force far beyond the original fight. Someone who provoked a fight as an excuse to use force loses the defense entirely.

Who has to prove self-defense?

Once the defense raises it with some evidence, the prosecutor must prove beyond a reasonable doubt that the defendant did not act in lawful self-defense. The defendant does not have to prove self-defense. Inside the home, Penal Code 198.5 adds the presumption of reasonable fear.

What is imperfect self-defense?

When a person honestly but unreasonably believed deadly force was necessary. It is not a complete defense, but it reduces murder to voluntary manslaughter. It is often the fallback argument in a homicide case where the jury may not accept that the fear was reasonable.

Related reading from our attorneys

Charged after defending yourself or your home? The first statement shapes the whole case

The Bulldog Law's criminal defense attorneys handle self-defense cases, from assault charges to homicide, in courts across California. Call (888) 928-1609 or reach us online.

About the Author

Bulldog Law

Bulldog Law is a dedicated criminal defense, personal injury, and cryptocurrency dispute resolution firm with licensed attorneys and experienced support staff across California. Our team of trial attorneys, paralegals, and legal professionals brings decades of combined experience handling complex state and federal matters  including serious felonies, DUI, domestic violence, special education law, employment disputes, and high-stakes crypto fraud recoveries. We pride ourselves on thorough case preparation, aggressive advocacy, and personalized client service. Every blog post is researched and reviewed by members of our legal team to provide practical, up-to-date information for individuals and businesses facing legal challenges. If you need trusted legal representation or have questions about your case, contact Bulldog Law today at (888) 928-1609 for a confidential consultation. Offices throughout California including Glendale, Sacramento, San Francisco, San Diego, and more.

We offer criminal defense, immigration, personal injury and cryptocurrency legal services in both English and Spanish. Call us at (888) 928-1609 for a free consultation.


Menu