A castle doctrine, also known as a castle law or a defense of habitation law, is a legal doctrine that designates a person's abode or any legally occupied place (for example, an automobile or a home) as a place in which that person has protections and immunities permitting one, in certain circumstances, to use force (up to and including deadly force) to defend oneself against an intruder, free from legal prosecution for the consequences of the force used. The term is most commonly used in the United States, though many other countries invoke comparable principles in their laws.

Depending on the location, a person may have a duty to retreat to avoid violence if one can reasonably do so. Castle doctrines lessen the duty to retreat when an individual is assaulted within one's own home. Deadly force may either be justified, the burdens of production and proof for charges impeded, or an affirmative defense against criminal homicide applicable, in cases "when the actor reasonably fears imminent peril of death or serious bodily harm to him or herself or another." The castle doctrine is not a defined law that can be invoked, but a set of principles which may be incorporated in some form in many jurisdictions. Castle doctrines may not provide civil immunity, such as from wrongful death suits, which have a much lower burden of proof.

Justifiable homicide is a legally blameless killing in self-defense. A justifiable homicide that occurs within the home is distinct as a matter of law from castle doctrine, because the mere occurrence of trespassing—and occasionally a subjective requirement of fear—is sufficient to invoke the castle doctrine, under which the burden of proof of fact is much less challenging than that of justifying homicide in self-defense. However, the existence in a legal code of such a provision (of justifiable homicide in self-defense pertaining to one's domicile) does not imply the creation of a castle doctrine protecting the estate and exonerating any duty to retreat. The use of this legal principle in the United States has been controversial in relation to a number of cases in which it has been invoked, including the deaths of Japanese exchange student Yoshihiro Hattori and Scottish businessman Andrew de Vries.

History The legal concept of the inviolability of the home has been known in Western civilization since the age of the Roman Republic.Numa Denis Fustel de Coulanges, The Ancient City, 50. "To enter this house with any malevolent intention was a sacrilege. The domicile was inviolable." In English common law the term is derived from the dictum that "an Englishman's home is his castle" (see Semayne's case). This concept was established as English law by the 17th century jurist Sir Edward Coke, in his The Institutes of the Laws of England, 1628:

The term 'castle' was defined in 1763 by Prime Minister William Pitt, 1st Earl of Chatham, "The poorest man may in his cottage bid defiance to all the forces of the crown. It may be frail – its roof may shake – the wind may blow through it – the storm may enter – the rain may enter – but the King of England cannot enter."

English common law came with colonists to the New World, where it has become known as the castle doctrine. The term has been used in England to imply a person's absolute right to exclude anyone from their home, although this has always had restrictions, such as bailiffs having increasing powers of entry since the late-20th century.

According to 18th-century Presbyterian minister and biblical commentator Matthew Henry, the prohibition of murder found in the Old Testament contains an exception for legitimate self-defense. A home defender who struck and killed a thief caught in the act of breaking in at night was not guilty of bloodshed. "If a thief is caught breaking in and is struck so that he dies, the thief owes no blood-debt to the home-defender; but if the thief lives, he owes a blood-debt to the home-defender and must make restitution."Exodus 22:2-3

In the early United States

By the 18th century, many US state legal systems began by importing English common law such as Acts of Parliament of 2 Ed. III (Statute of Northampton), and 5 Rich. II (Forcible Entry Act 1381) in law since 1381—which imposed criminal sanctions intending to discourage the resort to self-help.Dickinson v. Maguire, 9 Cal. 46, The Chief Justice of California during the ruling was David S. Terry, who ironically, was later killed by order of Associate Supreme Court Justice Field under the guise of self-defense.Daluiso v. Boone, 71 Cal.2d 484 for English common law history This required a threatened party to retreat, whenever property was "involved" and resolve the issue by civil means.

Then as now, there were English politicians who were for or against the use of self-help over state-help. William Blackstone, in Book 4, Chapter 16Blackstone's Commentaries - Book the Fourth - Chapter the Sixteenth: Of Offenses Against the Habitations of Individuals of his Commentaries on the Laws of England,Some doctrines would be hotly debated as law as applied in the young post-revolution United States. Example: "That the King can do no wrong, is a necessary and fundamental principle of the English constitution." proclaims that the laws "leave him (the inhabitant) the natural right of killing the aggressor (the burglar)" and goes on to generalize in the following words:

Not only was the doctrine considered to justify defense against neighbors and criminals, but any of the Crown's agents who attempted to enter without a proper warrant as well. Prohibitions of the Fourth Amendment to the United States Constitution share a common background with current castle doctrine laws.

In 1841, The Preemption Act was passed to "appropriate the proceeds of the sales of public lands... and to grant 'pre-emption rights' to individuals" who were already living on federal lands (commonly referred to as "squatters"). During this same period, claim clubs sprung up all over the US advocating vigilance and the castle doctrine. This was in concurrence with the culture of manifest destiny which led to westward expansion and the American Indian Wars, the last of which ended by the 1920s.

On the American frontier On the American frontier, the doctrine of no duty to retreat extended outside a residence. It asserted that a man in an altercation that he did not provoke was not obliged to flee from his attacker, but was free to stand his ground and defend himself. A state Supreme Court justice wrote in 1877,

American West historian Richard M. Brown wrote that under the circumstances, for a man in the American West to flee under such circumstances would be cowardly and un-American. Legendary dentist and gambler Doc Holliday successfully used this defense when he shot Billy Allen as he entered a saloon. Holliday owed Allen $5 () which Allen wanted paid and had threatened Holliday. Although Allen was unarmed at the time, Holliday had received reports that Allen had been armed and looking for him earlier in the day. During the subsequent trial, Holliday asserted he was within his rights and the jury agreed. He was acquitted on March 28, 1885.

In Ancient China

In Ancient China, various versions of the castle doctrine existed. According to Han dynasty legal scholar , the doctrine extends protection onto rooms and other (including very rudimentary) place of dwelling, vehicles (such as carts), and ships: "It is not guilty to immediately assault and kill someone who, without cause, enters another's room or place of dwelling, vehicle, or ship, and with the intention of committing a crime." () During the Qin dynasty, the laws further extend castle doctrine protection against intrusion by the police or officials during the night. According to the Laws Governing Arrests (): "It is forbidden for the police to enter other's room or place of dwelling during the night for the purpose of conducting an arrest, if the police violate this law, and is injured by (those in) the room, the police shall be treated as someone who enters another's room without cause" (). In the later Han dynasty, the most extreme interpretation of the doctrine was enacted, making it legal for those in a dwelling to assault and kill anyone, including the police and other officials, who enters a house during the night, regardless of cause.

Later dynasties such as the Tang, Ming, and Qing retained the doctrine but only during the night, and extending protection only for the owner of the dwelling: making it legal for the owner of a house to assault and kill trespassers at night without being guilty of crime, and without being charged or the need to argue one's case before a court. For example, the Tang Code states that "If someone enters someone else's house without reason at night, they will be lashed with forty strokes. If the homeowner kills the intruder immediately, there will be no charges (). The Great Ming Code (大明律) states "Anyone who enters someone else's house at night without reason will be punished with eighty strokes of the cane. If the homeowner kills the intruder immediately, there will be no charges" ().

The Chinese version of the castle doctrine is most likely a reflection of contemporary popular attitude, articulated in numerous historical poems and literature, that anyone who enters a civil dwelling at night is presumed to be either a rapist or a thief/robber ().

Current position

Today, the penal and civil forcible-entry laws of most American states forbid the use of force in the recovery of possession of land.1 Harper and James, op.cit. supra, at § 3.15, p. 258; Prosser, Law of Torts (3d ed. 1964) § 23, p. 125. See e.g., Mason v. Hawes (1884) 52 Conn. 12, 16 [52 Am.Rep. 552]; McIntyre v. Murphy (1908) 153 Mich. 342, 346-347 [116 N.W. 1003, 1004-1005, 15 Ann.Cas. 802]; Lobdell v. Keene (1901) 85 Minn. 90, 101 [88 N.W. 426, 430]; Strauel v. Lubeley (1915) 186 Mo.App. 638, 643-644 [172 S.W. 434, 435-436]; Mosseller v. Deaver (1890) 106 N.C. 494, 496-498 [11 S.E. 529, 530, 8 L.R.A. 537, 19 Am.St.Rep. 540]; Weatherly v. Manatt (1919) 72 Okla. 138, 139-140 [179 P. 470, 471]; Walgreen Co. v. Walton (1932) 16 Tenn.App. 213, 229 [64 S.W.2d 44, 53]; Ray v. Dyer (Tex.Civ.App. 1929) 20 S.W.2d 328, 330; Buchanan v. Crites (1944) 106 Utah 428, 436 [150 [71 Cal.2d 493] P.2d 100, 103]. See also Whitney v. Brown (1907) 75 Kan. 678, 681-683 [90 P. 277, 278, 11 L.R.A. N.S. 468, 12 Ann.Cas. 768]; Rest.2d Torts, § 185, com. a. See Daluiso v. Boone, 71 Cal.2d 484 At most the Castle Doctrine is an affirmative defense for individuals inevitably charged with criminal homicide, not a permission or pretext to commit homicide—which is generally unlawful. A minority of states permit individuals who have the right of immediate possession of land to use reasonable force to regain possession of that land, with Texas being the only state to allow the use of deadly force to regain possession of land or property.Tex. Penal Code § 9.42 (1994).

The term "make my day law" came to be used in the United States in 1985 when Colorado passed a law that shielded people from any criminal or civil liability for using force against a home invader, including deadly force. (The law's nickname is a reference to the line "Go ahead, make my day" (meaning “do something so I have an excuse to kill you”) uttered by actor Clint Eastwood's character "Dirty Harry" Callahan in the 1983 police film Sudden Impact.)

Conditions of use

Each jurisdiction incorporates the castle doctrine into its laws in different ways. The circumstance in which it may be invoked include the premises covered (abode only, or other places too), the degree of retreat or non-deadly resistance required before deadly force can be used, etc. Typical conditions that apply to some castle doctrine laws include: An intruder must be making (or have made) an attempt to unlawfully or forcibly enter an occupied residence, business, or vehicle.