Skip to content
FreedomRankings
Gun Rights

Self-Defense Laws by State: Stand Your Ground & Castle Doctrine

Every state says you need not flee your own home. Beyond the front door the country splits three ways - and that single distinction decides more self-defense cases than any other rule.

FreedomRankings EditorialUpdated August 25, 20268 min read
On this page

American self-defense law turns on a single question that most people have never thought about until they need the answer: were you required to run away first?

Every state agrees you are not required to flee your own home. Beyond the front door, the country splits. Roughly 29 states say the no-retreat principle follows you everywhere you are lawfully present; about 13 say it stops at your property line and you must retreat in public when you safely can. That one distinction — castle doctrine versus stand your ground versus duty to retreat — decides more self-defense cases than any other rule.

The short version

  • All 50 states recognize some form of castle doctrine: no duty to retreat in your own home.
  • 29 states have a stand-your-ground statute extending that to anywhere you are lawfully present; about 7 more get there through case law.
  • About 13 states still require retreat in public when it is safe to do so.
  • States differ on whether the “castle” includes your vehicle, workplace, or yard.
  • Removing the duty to retreat removes one requirement. Every other limit on using force still applies.
Castle doctrine
The principle that you have no duty to retreat from your own home before using force against an unlawful intruder.
Duty to retreat
A legal requirement to avoid using force by safely retreating if possible — applied in public by about 13 states.
Stand your ground
Extends the no-duty-to-retreat principle to anywhere you are lawfully present, not just the home.
Curtilage
The area immediately surrounding a home — porch, yard — that some states include within castle-doctrine protection.
Presumption of reasonableness
A legal presumption, in some states, that a person reasonably feared harm when someone forcibly and unlawfully entered their home.
Self-defense immunity
A pretrial protection in some states letting a judge dismiss a case before trial if the force was justified.
Aggressor
The person who started or escalated a confrontation. Aggressors generally cannot claim self-defense.
Reasonable belief
The standard requiring that a person genuinely and reasonably believed force was necessary to prevent serious harm.

The three-tier framework

The terminology is constantly muddled in news coverage, so it is worth stating the relationship plainly before anything else:

  • Castle doctrine — no duty to retreat at home. Universal; all 50 states.
  • Stand your ground — no duty to retreat anywhere you are lawfully present. About 29 states by statute.
  • Duty to retreat — you must retreat in public if you safely can, but never at home. About 13 states.

These are not three competing philosophies. They are one principle — your home is your castle — and a disagreement about how far past the doorway it travels. Every state starts from the same place. The question is only where each one stops.

Castle doctrine: universal, but not uniform

The doctrine descends from the old English idea that a man's home is his castle. Legally it means that when you are inside your own home, facing an unlawful intruder you reasonably believe threatens serious harm, you are not required to retreat before using force — including, in most states, deadly force.

It is the most universally accepted piece of American self-defense law. There is no state where you must flee your own house.

The variation is entirely at the edges, and the edges are where real cases are decided:

  • Your occupied vehicle. Many states treat a car you are sitting in as a mini-castle. Wisconsin is a clear example.
  • Your workplace. Covered in some states — Connecticut, Delaware, Hawaii, Nebraska, and North Dakota among them — and not in others.
  • Curtilage. The area immediately around the home, such as a porch or yard, is inside the castle in some states and outside it in others.

Some states add a presumption of reasonableness: if someone unlawfully and forcibly enters your home, the law presumes you reasonably feared harm, shifting the burden onto the prosecution to prove otherwise. That presumption is often more practically valuable than the no-retreat rule itself, because it changes who has to prove what.

Whether and how far these extensions reach is exactly what separates a strong castle-doctrine state from a narrow one. "Does my state have castle doctrine?" is almost always yes. The useful question is "how far past my front door does it go?"

Stand your ground: the castle without walls

Florida enacted the first modern stand-your-ground law in 2005, extending the castle principle beyond the home to anywhere a person is lawfully present. The idea spread fast — within a few years roughly 30 states had adopted some version, by statute or by court ruling.

The laws drew sustained national attention after the 2012 killing of Trayvon Martin in Florida, which placed the no-duty-to-retreat principle at the center of a public argument that has not settled since.

These states have a stand-your-ground law on the books:

The stand-your-ground states

29 · June 2026

States with a stand-your-ground law by statute — no duty to retreat before using force in self-defense, even in public.

About 7 more states reach the same result through court rulings; roughly 13 still impose a duty to retreat in public.

A further handful — California, Colorado, Illinois, and Washington among them — have no explicit statute but reach substantially the same result through court decisions. This is a genuinely important wrinkle: a state can be functionally stand-your-ground without ever having passed a stand-your-ground law, which means a list of statutes undercounts the practice.

It is also a pretrial weapon

Stand your ground is not merely a jury instruction, and this is the part most coverage misses. Several stand-your-ground states grant self-defense immunity: the defendant can request a pretrial hearing where a judge may dismiss the case outright if the force was justified, before a jury is ever empanelled.

That is a substantial procedural advantage — the difference between winning a trial and never having one. It also changes prosecutorial behavior, since the state may have to prove the force was not justified at an early stage, on a cold record, in front of a judge rather than a jury.

States that still require retreat

The dividing line is what happens outside the home. These states require you to retreat in public when you can safely do so, while still protecting you fully at home:

States with a duty to retreat in public

13 · June 2026

States that still require you to retreat, if safely possible, before using deadly force in public. Every state still recognizes the castle doctrine at home.

Castle doctrine — no duty to retreat in your own home — applies in all 50 states; these are the exceptions for public spaces.

Everywhere else, there is generally no duty to retreat in public either.

It is worth being clear about what a duty-to-retreat rule does and does not demand. It does not require you to flee at any cost, or to turn your back on an armed attacker, or to retreat when doing so would increase your danger. The requirement is to retreat when you can do so in complete safety. Juries in duty-to-retreat states are asked whether a safe avenue of escape actually existed — not whether one might have existed in hindsight.

What removing the duty to retreat does not do

This is where people get into serious legal trouble. Stand your ground removes the retreat requirement. Every other element of self-defense still has to be satisfied:

  • You must reasonably believe force is necessary to prevent serious harm.
  • You generally cannot be the aggressor who started or escalated the confrontation.
  • Deadly force still requires a threat of death or grave injury — it is never authorised in response to a threat of minor harm.
  • It does not apply anywhere you are not legally allowed to be.

The same caution applies at home. Castle doctrine is broad but conditional: the intruder must be unlawfully entering or present, you must reasonably believe force is necessary, protections are often weaker against another lawful occupant of the same home, and some states require the entry to be forcible or unexpected.

How states rank on gun rights

Self-defense law is one input into a state's overall Second Amendment freedom, alongside carry rules, magazine limits, and red-flag laws:

Top 10 states — 2nd Amendment. Current data.
  1. 1. Wyoming
    10.0/10 (A+).
  2. 2. Idaho
    9.8/10 (A+).
  3. 3. Montana
    9.6/10 (A+).
  4. 4. Utah
    9.4/10 (A+).
  5. 5. North Dakota
    9.2/10 (A+).
  6. 6. Arizona
    9.0/10 (A+).
  7. 7. South Dakota
    8.8/10 (A).
  8. 8. Tennessee
    8.6/10 (A).
  9. 9. Texas
    8.4/10 (A-).
  10. 10. Kansas
    8.2/10 (A-).
See all 50 states ranked on 2nd Amendment

See all 50 states ranked on gun rights

A color-coded map and the full Second Amendment ranking, from most gun-friendly to most restrictive.

Frequently asked questions

What is a stand-your-ground law?

A stand-your-ground law removes the legal duty to retreat before using force in self-defense. If you are somewhere you’re legally allowed to be and reasonably fear serious harm, you may meet force with force rather than first attempting to flee.

How many states have stand-your-ground laws?

Twenty-nine states have a stand-your-ground law by statute as of 2026, and about seven more reach the same result through court decisions. Roughly 13 states still impose a duty to retreat in public.

When did stand-your-ground laws start?

Florida passed the first modern stand-your-ground law in 2005, and roughly 30 states adopted some version within a few years. The 2012 Trayvon Martin case brought the laws sustained national attention.

What is the difference between stand your ground and castle doctrine?

Castle doctrine removes the duty to retreat inside your own home (and sometimes vehicle or workplace). Stand your ground extends that no-duty-to-retreat principle to anywhere you’re legally allowed to be.

Does stand your ground give you immunity from prosecution?

In several states, yes — they grant self-defense immunity, allowing a pretrial hearing where a judge can dismiss the case before trial if the use of force was justified. The specifics vary by state.

Does stand your ground let you use force anytime?

No. You still must reasonably believe force is necessary to prevent serious harm, you can’t be the aggressor, and deadly force generally requires a threat of death or grievous injury. It removes the retreat requirement, not the other limits.

What is the castle doctrine?

The castle doctrine is the legal principle that you have no duty to retreat from your own home before using force against an intruder. The idea is that your home is your “castle” and you shouldn’t have to flee it.

Which states have a castle doctrine?

Effectively all 50 states recognize some form of castle doctrine at home. States differ on whether the same no-retreat protection extends to your vehicle or workplace, and whether it applies in public (stand your ground).

Does the castle doctrine cover my car or workplace?

It depends on the state. Many states extend the “castle” to an occupied vehicle, and some to your workplace; a few also cover the area immediately around the home (curtilage). Confirm your state’s specific reach.

Which states still have a duty to retreat?

About 13 states — including Connecticut, Delaware, Hawaii, Maine, Maryland, Massachusetts, Minnesota, Nebraska, New Jersey, New York, North Dakota, Rhode Island, and Wisconsin — require retreat in public when safely possible, even though they still protect you at home.

See all 50 states ranked on gun rights

A color-coded map and the full Second Amendment ranking, from most gun-friendly to most restrictive.

Who represents you?

Enter your ZIP code to see your US House representative, senators, and governor — with their voting records, donors, and integrity scores.

Keep reading

Explore FreedomRankings