Kansas
Kansas 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 9, 2026. How we verify our legal content

Kansas is a stand-your-ground state. K.S.A. 21-5230 provides that any person who is not engaged in unlawful activity and who is attacked in a place where they have a right to be has no duty to retreat and may use any force justified under Kansas law.
Information last verified on June 1, 2026.
Jurisdiction scope: This article covers Kansas state law only, specifically K.S.A. 21-5220 through 21-5231. It does not address federal law or the law of other states. For a 50-state overview, see self-defense laws by state.
Is Kansas a Stand-Your-Ground State?
Yes. Kansas abolished any duty to retreat through two independent statutory provisions that reinforce each other. K.S.A. 21-5230 is the statewide stand-your-ground rule. It states that a person who is not engaged in unlawful activity and who is attacked in a place where they have a right to be has no duty to retreat and has the right to stand their ground and use any force that is justified under Article 52 of Chapter 21. This provision applies anywhere in Kansas where a person is lawfully present, including public streets, parking lots, parks, and private property they are permitted to be on.
K.S.A. 21-5222(c) supplies a parallel no-retreat provision specifically tied to defense of a person. It states that nothing in that section requires a person to retreat if they are using force to protect themselves or a third person. The two provisions together mean that Kansas imposes no duty to retreat in any context: not in public, not in a home, not in a vehicle, and not at work.
Kansas enacted Article 52 of Chapter 21, including both no-retreat provisions, through L. 2010, ch. 136, effective July 1, 2011, with a technical amendment in L. 2011, ch. 30. That enactment recodified an existing rule rather than creating one: Kansas courts already applied a no-duty-to-retreat rule under the repealed K.S.A. 21-3211, the predecessor Article 52 replaced. No subsequent legislative session has rolled back or narrowed either provision. The statutes verified at ksrevisor.gov on June 1, 2026 reflect the same structure enacted in 2011.
Castle Doctrine and the Presumption Under K.S.A. 21-5223 and 21-5224
Kansas establishes a specific castle-doctrine statute at K.S.A. 21-5223 that covers three locations: a dwelling, a place of work, and an occupied vehicle. For each location, the statute justifies the use of force against a person who is unlawfully entering or attacking the location, and separately justifies deadly force when the defender reasonably believes it is necessary to prevent imminent death or great bodily harm to themselves or another.

Section 21-5223(c) confirms that nothing in that section requires a person to retreat from their dwelling, place of work, or occupied vehicle before using force. This no-retreat rule within the castle-doctrine statute mirrors the statewide rule in 21-5230 but applies specifically to defense of those three locations.
The presumption statute at K.S.A. 21-5224(a) goes a step further. It creates a presumption that the defender's belief in the need for deadly force is reasonable when two conditions are met: the person against whom force is used was unlawfully or forcibly entering, or had entered and remained in, the dwelling, place of work, or occupied vehicle; and the defender knew or had reason to believe that entry was occurring. The presumption extends to situations where the intruder is trying to remove a person against their will from one of those locations.
The presumption under 21-5224 is significant at trial. It shifts the analytical starting point: rather than requiring the defender to prove reasonable belief from scratch, the facts of a forced entry into a covered location establish that reasonableness is presumed, subject to the exceptions below.
Exceptions Where the Presumption Does Not Apply
K.S.A. 21-5224(b) lists four circumstances under which the presumption of reasonableness does not apply:
- The person against whom force was used had a lawful right to be in the dwelling, place of work, or vehicle and was not subject to a restraining order excluding them.
- The person was a child, grandchild, or someone otherwise under the lawful custody of the force user.
- The person using force was committing a crime, attempting to escape from a crime scene, or using the location to further a crime at the time.
- The person against whom force was used was a law enforcement officer who had entered or was attempting to enter the dwelling, place of work, or vehicle in the lawful performance of their official duties.
When any of these exceptions applies, the defender cannot rely on the statutory presumption, though they may still raise a standard justification defense under 21-5222 or 21-5223 based on the actual facts.
Watch out: The presumption under 21-5224 applies to the three specific locations: dwelling, place of work, and occupied vehicle. It does not create a presumption of reasonableness for force used against someone who has not entered or is not entering one of those locations. In a confrontation away from those three places, the defender must establish reasonable belief on the evidence without the benefit of the presumption.
When Deadly Force Is Justified Under K.S.A. 21-5222
The core deadly-force statute is K.S.A. 21-5222. Under subsection (a), a person may use force against another person when they reasonably believe that force is necessary to defend themselves or a third person against the other person's imminent use of unlawful force. Subsection (b) elevates the authorization to deadly force when the person reasonably believes that deadly force is necessary to prevent imminent death or great bodily harm to themselves or a third person.
The standard is one of reasonable belief. Kansas courts apply an objective-subjective test: the defender must actually believe deadly force is necessary, and that belief must be one a reasonable person in the same circumstances would hold. The reasonableness inquiry focuses on the information available to the defender at the moment force was used, not on facts learned afterward.
"Deadly force" under Kansas law means force that is likely to cause death or great bodily harm. A firearm discharged toward another person qualifies. Unarmed physical strikes can qualify if the disparity in size, number, or circumstance makes them capable of causing death or great bodily harm.
The Elements Required for Justified Deadly Force
- The other person was using or imminently threatening to use unlawful force against the defender or a third person.
- The defender reasonably believed that deadly force was necessary to prevent imminent death or great bodily harm.
- The defender was not the initial aggressor (or had withdrawn and communicated that withdrawal).
- The defender was not engaged in unlawful activity (under 21-5230, relevant to the no-retreat overlay).
All four elements must be satisfied. The no-retreat rule in 21-5230 removes the obligation to flee before acting on these elements, but it does not replace them. A person who is in a public place and attacked does not have to retreat, but still must satisfy the reasonableness standard for any force used.
Immunity from Prosecution and Civil Liability Under K.S.A. 21-5231
Kansas provides both criminal and civil immunity for justified use of force under K.S.A. 21-5231. Subsection (a) states that a person who uses force which, subject to the provisions of K.S.A. 21-5226, is justified under K.S.A. 21-5222, 21-5223, or 21-5225 is immune from criminal prosecution and civil action for that use of force. The same subsection defines "criminal prosecution" to include arrest, detention in custody, and charging or prosecution. The reference to 21-5226 matters: a person the aggressor statute disqualifies from the underlying justification has no immunity to claim in the first place.
Contact with a law enforcement officer defeats the immunity rather than establishing it. Subsection (a) withholds immunity where the person against whom force was used is a law enforcement officer who was acting in the performance of official duties and who identified themselves in accordance with any applicable law, or where the person using force knew or reasonably should have known that the person was a law enforcement officer. Those two branches are alternatives, so either one is enough on its own. A defender who recognized a plainclothes officer falls outside the immunity even though the officer never announced themselves.

The immunity in 21-5231 operates at the pre-trial stage. Subsection (b) provides that a law enforcement agency investigating the use of force may not arrest the person for using force unless the agency determines there is probable cause to do so. Subsection (c) allows a prosecutor to file charges only upon establishing probable cause. Courts in Kansas have recognized that immunity under 21-5231 requires an evidentiary hearing before trial; the immunity functions as a gatekeeping mechanism to prevent cases from reaching a jury where the use of force was objectively justified.
The civil immunity in 21-5231(a) is broad: it bars civil actions arising from the same use of force that is justified criminally. A person who prevails on an immunity claim in a pre-trial hearing has a strong basis for dismissal of any parallel civil lawsuit, though civil and criminal proceedings remain formally separate and the burden-of-proof standards differ.
One important feature of Kansas immunity law: because the criminal and civil bars both flow from the same finding of justification under 21-5222, 21-5223, or 21-5225, the facts that support criminal immunity generally support civil immunity as well. The statutes share the same justification predicate.
When Self-Defense Fails in Kansas
Kansas justification law does not protect every use of force. Several circumstances defeat a claimed justification.
Initial aggressor. K.S.A. 21-5226 withholds the justifications in 21-5222, 21-5223, and 21-5225 from a person who is attempting, committing, or escaping from a forcible felony, and from a person who initially provokes the use of force against themselves or another. To regain the right of self-defense, a provoker must in good faith withdraw from physical contact and indicate clearly to the assailant a desire to withdraw and stop, after which the assailant must continue or resume the use of force. The statute preserves the justification in one other case: where the provoker has reasonable grounds to believe they are in imminent danger of death or great bodily harm and has exhausted every reasonable means of escape other than deadly force.
Unlawful activity at the time. K.S.A. 21-5230 conditions the no-retreat right on the person not being engaged in unlawful activity. A person who is committing a crime when the confrontation begins cannot rely on the statewide stand-your-ground rule, though the general justification analysis under 21-5222 may still apply depending on the facts.
Disproportionate force. Even where some force is justified, deadly force is justified only to counter a threat of imminent death or great bodily harm under 21-5222(b). Using deadly force in response to a threat that does not rise to that level defeats the justification claim.
The 21-5224 exceptions. Even inside a dwelling, workplace, or vehicle, the presumption of reasonableness vanishes when the intruder had a legal right to be there, is a family member under the defender's custody, or is a law enforcement officer. In those situations the defender faces a harder factual burden.
Resisting arrest. Under K.S.A. 21-5229, a person is not authorized to use force to resist an arrest that such person knows is being made either by a law enforcement officer or by a private person summoned and directed by a law enforcement officer to make the arrest, even if the person arrested believes that the arrest is unlawful. The rule is not limited to arrests that turn out to be lawful, and the arrestee's own view that the arrest is invalid is the exact argument the statute forecloses.
Watch out: Kansas self-defense law permits the use of force to defend third persons under 21-5222(a) and (b). The same justification requirements apply, and the defender steps into the shoes of the person being defended. If the person being defended could not lawfully use force in the situation, the intervenor's use of force is not justified either.

Legal disclaimer: This article provides general legal information about Kansas self-defense, stand-your-ground, and castle-doctrine law as of June 1, 2026. It does not constitute legal advice and does not create an attorney-client relationship. Use-of-force situations carry serious criminal and civil consequences that depend heavily on the specific facts. Laws can change after the date of verification. Consult a licensed Kansas criminal-defense attorney before making any decisions based on information here.
Last updated: June 1, 2026. Kansas statutes verified at ksrevisor.gov as of June 1, 2026.
For laws in other states, see self-defense laws by state.
For related Kansas property law, see Kansas squatters rights and adverse possession.
More Kansas Laws
Frequently Asked Questions
Is Kansas a stand-your-ground state?
Yes. K.S.A. 21-5230 provides that a person who is not engaged in unlawful activity and who is attacked in a place where they have a right to be has no duty to retreat and may stand their ground using any force justified under Article 52 of Chapter 21. K.S.A. 21-5222(c) separately removes the duty to retreat when defending oneself or a third person.
Do I have a duty to retreat in Kansas?
No. Kansas abolished the duty to retreat for people who are lawfully present and not engaged in unlawful activity through K.S.A. 21-5230. There is no obligation to attempt to flee before using justified force in Kansas, whether the confrontation occurs in public, at home, in a vehicle, or at work. The current no-retreat statutes took effect July 1, 2011 as part of Article 52 of Chapter 21, and no session since has narrowed them. The rule is older than that codification: Kansas courts applied a no-duty-to-retreat rule under the repealed K.S.A. 21-3211, which Article 52 replaced.
Does the castle doctrine cover my car in Kansas?
Yes. K.S.A. 21-5223 specifically covers occupied vehicles in addition to dwellings and places of work. If someone is unlawfully or forcibly entering your occupied vehicle, or attempting to remove an occupant against their will, force and deadly force may be justified under 21-5223, and K.S.A. 21-5224 creates a presumption of reasonable belief in that situation.
Does the castle doctrine cover my workplace in Kansas?
Yes. K.S.A. 21-5223 expressly covers a person's place of work alongside their dwelling and occupied vehicle. The presumption in K.S.A. 21-5224 also applies to a forced entry into a workplace. Kansas's castle doctrine scope is broader than states that limit it to the home alone.
What is the presumption under K.S.A. 21-5224?
When someone unlawfully or forcibly enters, or has entered and remains in, a person's dwelling, place of work, or occupied vehicle, K.S.A. 21-5224(a) presumes that the defender's belief in the need for deadly force is reasonable. The presumption does not apply if the intruder had a lawful right to be there, is a family member under the defender's custody, or is a law enforcement officer performing official duties.
Does Kansas provide civil immunity for self-defense?
Yes. K.S.A. 21-5231(a) provides that a person who uses force which, subject to the aggressor exclusions in K.S.A. 21-5226, is justified under K.S.A. 21-5222, 21-5223, or 21-5225 is immune from both criminal prosecution and civil action for that use of force. The immunity is withheld where the force was used against a law enforcement officer who was performing official duties and identified themselves under any applicable law, or whom the person using force knew or reasonably should have known was an officer. Kansas courts have recognized that the immunity operates at the pre-trial stage through an evidentiary hearing, which can prevent cases from reaching a jury when the use of force was objectively justified.
When can I lose my self-defense claim in Kansas?
A self-defense claim in Kansas fails when the defender was the initial aggressor and did not withdraw, was engaged in unlawful activity at the time of the confrontation, used deadly force against a threat that did not amount to imminent death or great bodily harm, or falls within one of the exceptions in K.S.A. 21-5224(b) that defeats the statutory presumption inside a covered location.
Updates
Corrected the description of immunity under K.S.A. 21-5231: force used against an identified law enforcement officer defeats immunity rather than preserving it, and the immunity is subject to the aggressor exclusions in K.S.A. 21-5226; also corrected the resisting-arrest rule under K.S.A. 21-5229 and removed an inaccurate enactment date for the no-retreat rule.
Independently fact-checked against the cited primary sources
Governing law re-checked for recent changes
Governing law re-checked for recent changes
Reviewed and approved by an editor
The Law Behind This Article
This article rests on the statutory provisions below, held in our own legal record and retrieved from the official source. Tap a section to read the operative text.
Kansas Statutes Annotated, Chapter 21: CRIMES AND PUNISHMENTS
§ 21-5222Defense of a person; no duty to retreat.In forcecited in 2 of our articles
(a) A person is justified in the use of force against another when and to the extent it appears to such person and such person reasonably believes that such use of force is necessary to defend such person or a third person against such other's imminent use of unlawful force. (b) A person is justified in the use of deadly force under circumstances described in subsection (a) if such person reasonably believes that such use of deadly force is necessary to prevent imminent death or great bodily harm to such person or a third person. (c) Nothing in this section shall require a person to retreat if such person is using force to protect such person or a third person.
Official text (excerpt) · last checked 2026-09-01 · Read the full text in our law library · Verify at ksrevisor.gov
Cited in 37 court opinions in our collectionLatest citing opinion in our collection: 2026
In the courts (editorial summary, independently checked):State v. Macomber (2019) applied the subjective and objective prongs of KSA 21-5222 and upheld a probable cause finding that the defendant's deadly force was not statutorily justified. State v. Fisher (2016) described imperfect self-defense as an honest but objectively unreasonable belief that 21-5222 justified force.
Opinions citing this section in our collection:
- State v. Fisher (Supreme Court of Kansas 2016, 304 Kan. 242)✓Fisher gravely injured a housemate in a fight and testified he feared she would kill him. The court held an imperfect self-defense instruction, resting on an honest but unreasonable belief that 21-5222 justified force, was appropriate but its omission not clear error.
- State v. Macomber (Supreme Court of Kansas 2019)✓Macomber shot and killed an unarmed man during a confrontation in the man's driveway. The court upheld denial of self-defense immunity because the State showed probable cause the force was not justified under 21-5222, and held the omitted presumption instruction harmless.
- State v. Montgomery (Supreme Court of Kansas 2026)✓Montgomery crossed a street and shot an unarmed man five times after the man raised his hands. The court held a 21-5222 self-defense instruction was not factually appropriate because no reasonable person could have perceived an imminent threat of death.
Identified automatically from the court opinions citing this section — not a ranking of which case controls.
Also relied on in: Self-Defense Laws by State: Stand Your Ground & Castle Doctrine (2026)
§ 21-5223Defense of dwelling, place of work or occupied vehicle; no duty to retreat.In force
(a) A person is justified in the use of force against another when and to the extent that it appears to such person and such person reasonably believes that such use of force is necessary to prevent or terminate such other's unlawful entry into or attack upon such person's dwelling, place of work or occupied vehicle. (b) A person is justified in the use of deadly force to prevent or terminate unlawful entry into or attack upon any dwelling, place of work or occupied vehicle if such person reasonably believes that such use of deadly force is necessary to prevent imminent death or great bodily harm to such person or another. (c) Nothing in this section shall require a person to retreat if such person is using force to protect such person's dwelling, place of work or occupied vehicle.
Official text (excerpt) · last checked 2026-07-29 · Read the full text in our law library · Verify at ksrevisor.gov
Cited in 3 court opinions in our collectionLatest citing opinion in our collection: 2025
Opinions citing this section in our collection:
- Kline v. Bergstrom (Court of Appeals of Kansas 2024)“…contends that the district court erred because it relied on K.S.A. 21-5223 when it denied his…”
- State v. Ross (Court of Appeals of Kansas 2025)“…s property under certain circumstances. See K.S.A. 21-5222; K.S.A. 21-5223; K.S.A. 21-5225. We do not have a simil…”
- State v. Jameson (Court of Appeals of Kansas 2022)“…s of law because nothing in K.S.A. 2020 Supp. 21-5222's and K.S.A. 21-5223's plain language states that a person u…”
Identified automatically from the court opinions citing this section — not a ranking of which case controls.
§ 21-5230No duty to retreat.In force
A person who is not engaged in an unlawful activity and who is attacked in a place where such person has a right to be has no duty to retreat and has the right to stand such person's ground and use any force which such person would be justified in using under article 32 of chapter 21 of the Kansas Statutes Annotated, prior to their repeal, or K.S.A. 21-5202 through 21-5208, 21-5210 through 21-5212, and 21-5220 through 21-5231, and amendments thereto.
Official text (excerpt) · last checked 2026-07-29 · Read the full text in our law library · Verify at ksrevisor.gov
§ 21-5224Presumptions.In force
(a) For the purposes of K.S.A. 21-3211 and 21-3212, prior to their repeal, or K.S.A. 21-5222 and 21-5223, and amendments thereto, a person is presumed to have a reasonable belief that deadly force is necessary to prevent imminent death or great bodily harm to such person or another person if: (1) The person against whom the force is used, at the time the force is used: (A) Is unlawfully or forcefully entering, or has unlawfully or forcefully entered, and is present within, the dwelling, place of work or occupied vehicle of the person using force; or (B) has removed or is attempting to remove another person against such other person's will from the dwelling, place of work or occupied vehicle of the person using force; and (2) the person using force knows or has reason to believe that any of the conditions set forth in paragraph (1) is occurring or has occurred. (b) The presumption set forth in subsection (a) does not apply if, at the time the force is used: (1) The person against whom the force is used has a right to be in, or is a lawful resident of, the dwelling, place of work or occupied vehicle of the person using force, and is not subject to any order listed in K.S.A.
Official text (excerpt) · last checked 2026-07-29 · Read the full text in our law library · Verify at ksrevisor.gov
Cited in 6 court opinions in our collectionLatest citing opinion in our collection: 2026
Opinions citing this section in our collection:
- State v. Kelly (Supreme Court of Kansas 2026)“…horization." Based on this, the court concluded that, under K.S.A. 21-5224, Jay had legal authorization to use for…”
- State v. Jones (Court of Appeals of Kansas 2026)“…uction was clearly erroneous because it did not include the K.S.A. 21-5224(a) presumption of reasonableness of the…”
- State v. Thomas (Court of Appeals of Kansas 2026)“…g its ruling, the court first found that the presumption in K.S.A. 21-5224(a) did not apply. This statute states,…”
Identified automatically from the court opinions citing this section — not a ranking of which case controls.
§ 21-5231Immunity from prosecution or liability; investigation.In force
(a) A person who uses force which, subject to the provisions of K.S.A. 21-5226, and amendments thereto, is justified pursuant to K.S.A. 21-5222, 21-5223 or 21-5225, and amendments thereto, is immune from criminal prosecution and civil action for the use of such force, unless the person against whom force was used is a law enforcement officer who was acting in the performance of such officer's official duties and the officer identified the officer's self in accordance with any applicable law or the person using force knew or reasonably should have known that the person was a law enforcement officer. As used in this subsection, "criminal prosecution" includes arrest, detention in custody and charging or prosecution of the defendant. (b) A law enforcement agency may use standard procedures for investigating the use of force as described in subsection (a), but the agency shall not arrest the person for using force unless it determines that there is probable cause for the arrest. (c) A prosecutor may commence a criminal prosecution upon a determination of probable cause.
Official text (excerpt) · last checked 2026-07-29 · Read the full text in our law library · Verify at ksrevisor.gov
Cited in 27 court opinions in our collectionLatest citing opinion in our collection: 2026
Opinions citing this section in our collection:
- State v. Riggins (Court of Appeals of Kansas 2025)“…used was necessary. 4. A motion for immunity under K.S.A. 21-5231(a) is timely if it is raised before the…”
- State v. J.L.J. (Supreme Court of Kansas 2024, 547 P.3d 501)“…y from prosecution under our self-defense immunity statute, K.S.A. 21-5231, for reckless conduct injuring an innoc…”
- State v. Nunez (Supreme Court of Kansas 2021, 486 P.3d 606)“…[T]here has been a motion for immunity filed pursuant to K.S.A. 21-5231. And in consideration of the tot…”
Identified automatically from the court opinions citing this section — not a ranking of which case controls.
§ 21-5225Defense of property other than a dwelling, place of work or occupied vehicle.In force
A person who is lawfully in possession of property other than a dwelling, place of work or occupied vehicle is justified in the use of force against another for the purpose of preventing or terminating an unlawful interference with such property. Only such use of force as a reasonable person would deem necessary to prevent or terminate the interference may intentionally be used.
Official text (excerpt) · last checked 2026-07-29 · Read the full text in our law library · Verify at ksrevisor.gov
Cited in 6 court opinions in our collectionLatest citing opinion in our collection: 2025
Opinions citing this section in our collection:
- State v. Zongker (Supreme Court of Kansas 2024, 555 P.3d 698)“…nces existed that justified use of deadly force under . . . K.S.A. 21-5225." K.S.A. 21-5225 provides:…”
- State v. Hightower (Court of Appeals of Kansas 2025)“…21-5111(n) (criminal restraint not "'[f]orcible felony'"); K.S.A. 21-5225 (use of force to defend property); K.S.…”
- Kline v. Bergstrom (Court of Appeals of Kansas 2024)“…operty line outside, the district court should have applied K.S.A. 21-5225 when it considered his immunity motion.…”
Identified automatically from the court opinions citing this section — not a ranking of which case controls.
§ 21-5220Construction and application of provisions retroactively.In force
The provisions of K.S.A. 21-5220 through 21-5230, and amendments thereto, are to be construed and applied retroactively.
Official text (excerpt) · last checked 2026-07-29 · Read the full text in our law library · Verify at ksrevisor.gov
Cited in 1 court opinions in our collectionLatest citing opinion in our collection: 2019
Opinions citing this section in our collection:
- State v. Rotramel (Court of Appeals of Kansas 2019)“…of deadly force—in the defense of a person or property. See K.S.A. 21-5220 et seq. These statutes are commonly kno…”
Identified automatically from the court opinions citing this section — not a ranking of which case controls.
Search our full record of US law — 2.1 million sections, every state + federal →
Sources and References
- K.S.A. 21-5222 (Defense of a person; no duty to retreat)(ksrevisor.gov)
- K.S.A. 21-5223 (Defense of dwelling, place of work or occupied vehicle; no duty to retreat)(ksrevisor.gov)
- K.S.A. 21-5224 (Presumptions)(ksrevisor.gov)
- K.S.A. 21-5225 (Defense of property)(ksrevisor.gov)
- K.S.A. 21-5230 (No duty to retreat)(ksrevisor.gov)
- K.S.A. 21-5231 (Immunity from prosecution or liability; investigation)(ksrevisor.gov)
- Cornell LII: Self-defense (overview)(law.cornell.edu)
- K.S.A. 21-5226 (Use of force by an aggressor)(ksrevisor.gov)
- K.S.A. 21-5229 (Resisting arrest)(ksrevisor.gov)