Kansas recognizes a strong castle doctrine and stand-your-ground rule. You have no duty to retreat anywhere you are lawfully present, and the law presumes a...
Reviewed by Will Luker, Founder of CCW Hub. USCCA Training Counselor, USCCA Certified Instructor, NRA Certified Instructor, Law Enforcement.
Kansas recognizes a strong castle doctrine and stand-your-ground rule. You have no duty to retreat anywhere you are lawfully present, and the law presumes a reasonable belief in deadly-force necessity when you defend your dwelling, place of work, or occupied vehicle from an unlawful intruder. Those rules do not authorize unlimited force; the use of force still has to be reasonably necessary, the force has to be proportional to the threat, and the protections do not apply if you are the aggressor or are committing a crime when you use force.
Kansas spreads its self-defense law across several distinct statutes in Article 52 of the Crimes and Punishments code. Each statute does a separate job. Mixing them up is a common student mistake and a common litigation mistake. The sections below walk through them one at a time.
Five statutes do most of the work for self-defense and defense of habitation:
A separate statute, K.S.A. 21-5226, limits how an aggressor can claim self-defense. If you started the fight or were the initial physical aggressor, your defenses under 21-5222 and 21-5223 are restricted unless you withdraw and communicate that withdrawal.
You should think of these statutes as layers. The defense-of-person and defense-of-dwelling statutes give you the underlying right to use force. The presumption statute makes it easier to prove you acted reasonably in the home or vehicle context. The stand-your-ground statute removes a duty to retreat that might otherwise apply at common law. The immunity statute keeps you out of court entirely if your use of force was justified.
This is the core castle-doctrine statute. Read it in three parts.
Subsection (a), non-deadly force. You are justified in using force against another person when you reasonably believe such force is necessary to prevent or terminate the other person's unlawful entry into, or attack upon, your dwelling, place of work, or occupied vehicle. The standard is a reasonable belief, judged from your perspective with the information you had at the time.
Subsection (b), deadly force. You are justified in using deadly force to prevent or terminate unlawful entry into, or attack upon, any dwelling, place of work, or occupied vehicle if you reasonably believe deadly force is necessary to prevent imminent death or great bodily harm to yourself or another. Note the structural change: deadly force is tied to a specific threat (imminent death or great bodily harm), not just to the fact that someone is trying to come in.
Subsection (c), no duty to retreat. Nothing in the statute requires you to retreat when you are using force to protect your dwelling, place of work, or occupied vehicle. This is a focused no-retreat rule for the castle-doctrine context. The broader stand-your-ground rule in 21-5230 covers other locations.
The statute applies to three discrete locations:
A vehicle has to be occupied for 21-5223 to apply. An empty parked car is not covered by the castle-doctrine statute, although it may be covered by the more limited defense-of-property rules in K.S.A. 21-5225.
Kansas law lifts a meaningful evidentiary burden off the defender in a home, workplace, or occupied-vehicle scenario. Under K.S.A. 21-5224(a), a person is presumed to have a reasonable belief that deadly force is necessary to prevent imminent death or great bodily harm to themselves or another if both of the following are true:
When the presumption applies, the burden practically shifts. The defender does not have to prove from scratch that they reasonably believed they faced imminent death or great bodily harm. The law assumes that belief was reasonable. The State can still try to rebut the presumption with evidence, but the starting point favors the defender.
The presumption does not apply in four situations, set out in K.S.A. 21-5224(b):
The fourth exception is worth a second look. It does not require an announced entry or any particular procedural posture. It requires only that the entry be lawful and that the defender know or reasonably should know that the person entering is law enforcement. If officers serve a no-knock warrant and announce as they enter, the defender's knowledge analysis is fact-specific and depends on what was visible and audible at the moment force was used. The Kansas case law in this area is thin, so caution is warranted.
The presumption is a powerful tool, but it is narrower than students sometimes assume. It speaks only to the deadly-force-necessity question. It does not, by itself, answer whether you were the initial aggressor, whether you were committing a crime, or whether the entry was actually unlawful. Those issues remain in play.
Castle doctrine is the rule for protecting habitation. Defense-of-person under K.S.A. 21-5222 is the rule for protecting yourself or someone else, anywhere.
Subsection (a), non-deadly force. You are justified in using force when you reasonably believe such force is necessary to defend yourself or a third person against another's imminent use of unlawful force.
Subsection (b), deadly force. You may use deadly force in those circumstances if you reasonably believe deadly force is necessary to prevent imminent death or great bodily harm to yourself or a third person.
Subsection (c), no duty to retreat. Nothing in the statute requires you to retreat when you are using force to protect yourself or a third person.
In practice, 21-5222 covers everything outside the home, workplace, or occupied vehicle. A confrontation in a parking lot, a fight in a restaurant, or a third-party rescue at a gas station are all governed by 21-5222 (with 21-5230's stand-your-ground rule reinforcing the no-retreat principle). 21-5222 does not include the 21-5224 presumption. In a 21-5222 case, the defender carries the practical burden of explaining what made the threat appear imminent and what made the level of force reasonable.
The Kansas Supreme Court has confirmed that defense of dwelling and self-defense are not mutually exclusive. An individual may respond with reasonable force in self-defense to a lawful use of force in defense of a dwelling if the individual believes the force is unlawful (State v. Andrew, 301 Kan. 36, 340 P.3d 476 (2014)). The two doctrines run on parallel tracks; they are not picked off a menu.
K.S.A. 21-5230 is the broad stand-your-ground rule. It states:
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 [K.S.A. 21-5202 through 21-5208, 21-5210 through 21-5212, and 21-5220 through 21-5231].
The statute has two cumulative conditions:
When both conditions are met, no duty to retreat applies. You may stand your ground and use whatever force the underlying defense statutes (chiefly 21-5222 and 21-5223) authorize. Stand-your-ground does not authorize new force; it removes a procedural condition (retreat) that might otherwise apply.
The two no-retreat provisions overlap. K.S.A. 21-5223(c) says you have no duty to retreat in your dwelling, place of work, or occupied vehicle. K.S.A. 21-5230 says you have no duty to retreat anywhere you are lawfully present and not engaged in unlawful activity. The two work together, and the broader rule in 21-5230 covers situations the castle statute does not.
K.S.A. 21-5231 grants immunity from criminal prosecution and civil liability when a use of force is justified under the chapter's defense statutes. This is one of the most consequential pieces of Kansas self-defense law, and it is also one of the least understood by students.
What immunity actually means in Kansas:
A practical sequence for a justified use of force in Kansas looks like this:
The immunity hearing is not automatic. The defendant has to ask for it. Counsel familiar with Kansas self-defense practice is essential.
K.S.A. 21-5225 governs the use of force to protect property that does not qualify as a dwelling, place of work, or occupied vehicle. The most common examples are an unoccupied parked car, a detached garage with no one inside, a field, or personal items left in a public place. The protections under 21-5225 are narrower than those under 21-5223. As a working rule, do not use deadly force solely to protect property in Kansas. Deadly force in defense of property without a parallel threat to a person is not justified under Kansas law and exposes the user to homicide charges.
K.S.A. 21-5226 takes self-defense and castle-doctrine protections away from initial aggressors. If you provoked the use of force or were the first to use unlawful force, the defenses under 21-5222 and 21-5223 are not available unless you have withdrawn from the encounter and effectively communicated your withdrawal to the other party, and the other party then continues or threatens to continue the use of unlawful force. A "I changed my mind" thought is not enough. The withdrawal has to be visible, and the other party has to be on notice.
These scenarios are presented to translate the statutes into operational thinking. They are not legal advice. Kansas case law on each fact pattern is fact-specific, and outcomes turn on details a paragraph cannot capture.
Scenario 1: Late-night home invasion. You wake up to the sound of glass breaking. Someone climbs through your living-room window. You retrieve your handgun and confront the intruder, who is now inside your dwelling. Under K.S.A. 21-5223(a), you may use force to prevent the unlawful entry or attack. Under 21-5223(b), if you reasonably believe deadly force is necessary to prevent imminent death or great bodily harm, you may use deadly force. Under 21-5224(a), you are presumed to have that reasonable belief because the intruder unlawfully entered and is present within your dwelling and you know it. You have no duty to retreat. If charged, you can seek immunity under 21-5231 before trial.
Scenario 2: Mistaken identity in your home. You hear a noise. You assume an intruder. You shoot the silhouette. It is your adult son who came home unexpectedly. The son had a right to be in the dwelling. The 21-5224(b)(1) exception removes the presumption: the person against whom force was used had a right to be there. You are not categorically barred from self-defense, but the case becomes a fact-specific reasonableness inquiry under 21-5222, with no presumption of reasonableness in your favor. This is why target identification matters before the trigger comes back.
Scenario 3: Carjacking. Two men attempt to pull you out of your occupied vehicle in a parking lot. You draw a concealed handgun. K.S.A. 21-5223 applies because the vehicle is occupied. The 21-5224(a)(1)(B) presumption applies because someone is attempting to remove you from the occupied vehicle against your will and you know it. The same deadly-force, no-retreat, and immunity rules apply.
Scenario 4: Argument escalates outside a bar. You and a stranger exchange words in a parking lot. The stranger throws the first punch. You draw and fire. K.S.A. 21-5223 does not apply because you are not in a dwelling, place of work, or occupied vehicle. K.S.A. 21-5222 applies, with the 21-5230 stand-your-ground rule reinforcing the no-retreat principle. The 21-5224 presumption does not apply. You will have to show that you reasonably believed deadly force was necessary to prevent imminent death or great bodily harm. A single thrown punch, without more, is rarely enough to establish that. The aggressor analysis under 21-5226 will also be examined.
Scenario 5: Officer entry. Police kick in your door at 5 a.m. executing a search warrant. You hear shouting that you cannot understand and grab a firearm. The 21-5224(b)(4) exception applies if officers were lawfully entering and you knew, or reasonably should have known, they were officers. Whether you "reasonably should have known" depends on what officers said, what was visible, and what time it was. This is a fact-intensive area, and the safer rule is to assume the presumption does not apply when entry is by uniformed police, even at unusual hours.
Scenario 6: Empty parked car. A thief tries to break into your unoccupied car parked in your driveway. K.S.A. 21-5223 does not apply because the vehicle is unoccupied. K.S.A. 21-5225 governs. Deadly force solely to protect the unoccupied vehicle is not justified. If the thief turns and threatens you with a weapon, the analysis shifts back to 21-5222 (defense of person), with stand-your-ground under 21-5230.
| Statute | Subject |
|---|---|
| K.S.A. 21-5222 | Defense of a person; no duty to retreat |
| K.S.A. 21-5223 | Defense of dwelling, place of work, or occupied vehicle; no duty to retreat |
| K.S.A. 21-5224 | Presumptions in defense-of-person and defense-of-dwelling cases |
| K.S.A. 21-5225 | Defense of property other than a dwelling, place of work, or occupied vehicle |
| K.S.A. 21-5226 | Use of force by an aggressor (limits on self-defense) |
| K.S.A. 21-5230 | No duty to retreat (general stand-your-ground rule) |
| K.S.A. 21-5231 | Immunity from prosecution or liability; investigation |
| K.S.A. 21-5924 | Violation of a protective order (referenced in 21-5224(b)(1)) |
A clean, instructor-friendly summary of Kansas castle-doctrine and stand-your-ground rules:
Kansas case law in this area continues to develop. Students should treat the points above as the framework, not as a substitute for current legal advice in any specific incident.
This page covers one part of our Kansas concealed carry guide.
Read the complete Kansas guideBrowse local instructors offering state-approved training in your area. Book online, complete your training, and get one step closer to your concealed carry permit.