Cal. Penal Code
Cal. Penal Code § 197
This is the text of the statute as published at leginfo.legislature.ca.gov, retrieved July 24, 2026. It is reproduced as written; Criminal.law has not summarized or reworded it. Read it at the official source, which controls if the two ever differ.
Homicide is also justifiable when committed by any person in any of the following cases:
(1) When resisting any attempt to murder any person, or to commit a felony, or to do some great bodily injury upon any person.
(2) When committed in defense of habitation, property, or person, against one who manifestly intends or endeavors, by violence or surprise, to commit a felony, or against one who manifestly intends and endeavors, in a violent, riotous, or tumultuous manner, to enter the habitation of another for the purpose of offering violence to any person therein.
(3) When committed in the lawful defense of such person, or of a spouse, parent, child, master, mistress, or servant of such person, when there is reasonable ground to apprehend a design to commit a felony or to do some great bodily injury, and imminent danger of such design being accomplished; but such person, or the person in whose behalf the defense was made, if he or she was the assailant or engaged in mutual combat, must really and in good faith have endeavored to decline any further struggle before the homicide was committed.
(4) When necessarily committed in attempting, by lawful ways and means, to apprehend any person for any felony committed, or in lawfully suppressing any riot, or in lawfully keeping and preserving the peace.
Notes and history from the source
History, source credits and commentary retained from the official source, shown separately from the section text. Read alongside the section.
Official history note
(Amended by Stats. 2016, Ch. 50, Sec. 67. (SB 1005) Effective January 1, 2017.)
Reading a statute is the first step
A statute says what the law is, not how it applies to one person. The Roadmap lays out the stages of a case and the questions worth taking to a lawyer — without asking what happened.