In Texas, you can shoot a dog if it attacks you, but only while the attack is happening or clearly about to happen. The legal cover comes from the state’s necessity defense and a Health and Safety Code provision that also lets you kill a dog attacking your livestock or pets. Step outside that narrow window and you can face felony animal cruelty charges, a civil lawsuit from the owner, and a separate fine for firing a gun inside city limits.
When the Shooting Is Legally Justified
Texas has no statute that spells out “you may shoot an attacking dog.” The authority comes from the general necessity defense in Texas Penal Code Section 9.22, which justifies conduct when a person reasonably believes it is immediately necessary to avoid imminent harm and the urgency of avoiding that harm clearly outweighs the harm the law would normally prevent.1State of Texas. Texas Penal Code Section 9.22 – Necessity Put plainly: if a dog is coming at you and you genuinely believe a serious bite or mauling is seconds away, killing it to stop the attack is justified.
The word that carries the weight is “immediately.” You don’t have to wait for teeth to hit skin. A dog snarling, lunging, or sprinting at you in an aggressive posture can support a reasonable belief that an attack is imminent. But the danger has to be right now or about to happen in the next moment. A dog growling from across a yard and then wandering off doesn’t create the kind of imminent harm the necessity defense requires.
The justification also ends the instant the danger does. If a dog bites you and runs, shooting it as it retreats is not necessity. The law protects you in the moment, not after. Chasing down a dog that already disengaged is retaliation, and retaliation has no defense.
Shooting a Dog That Attacks Your Livestock or Pets
Texas gives you a somewhat wider window when the target of the attack is your animals rather than you. Under Texas Health and Safety Code Section 822.013, a person may kill a dog caught attacking, about to attack, or that has recently attacked livestock, domestic animals, or fowl.2State of Texas. Texas Health and Safety Code Chapter 822 – Regulation of Animals That covers cattle, horses, sheep, goats, and hogs, and it also covers household pets like cats or other dogs.
Notice the phrase “has recently attacked.” That covers a scenario the personal necessity defense doesn’t. If you walk outside and find a dog that just mauled your chickens and is still in the area, you have grounds to act even though the attack itself is over. The logic is that a dog that just attacked is likely to do it again in moments. “Recently” doesn’t stretch to hours or days later, though. The action still needs a clear link to stopping ongoing or immediately recurring harm.
Texas Penal Code Section 9.41 backs this up on the property side, recognizing your right to use force to prevent interference with what belongs to you, including your animals.3State of Texas. Texas Penal Code Section 9.41 – Protection of One’s Own Property
Criminal Charges If the Shooting Isn’t Justified
Killing a dog without a valid justification falls under Texas Penal Code Section 42.092, cruelty to nonlivestock animals.4State of Texas. Texas Penal Code Section 42.092 – Cruelty to Nonlivestock Animals Intentionally or knowingly killing someone else’s animal without the owner’s consent and without legal justification can be charged as a felony. A conviction can carry two to ten years in prison and a fine up to $10,000.
What counts as unjustified? Shooting a dog that was barking behind a fence. A dog wandering through your yard without showing aggression. A dog that’s simply trespassing. Being annoyed by a neighbor’s dog, or feeling generally uneasy around it, isn’t the kind of imminent threat the law requires. People tend to overestimate the leeway they have here. A dog on your property, by itself, is not enough.
In a criminal case you would raise the necessity defense or Section 822.013, and prosecutors would then have to disprove your justification beyond a reasonable doubt. That still means you need real evidence of imminent danger. Without witnesses, photos of injuries, or other corroborating facts, a prosecutor can have a clear path to charges.
Getting Sued by the Owner
Even if you avoid criminal charges, the dog’s owner can sue you for the value of the animal. Civil cases use a lower standard of proof: the owner only has to show it was more likely than not that the shooting was unjustified, compared to “beyond a reasonable doubt” in a criminal case. A person cleared criminally can still lose a civil suit over the same incident.
Texas law does limit what an owner can collect. The Texas Supreme Court ruled in Strickland v. Medlen that pet owners cannot recover sentimental or emotional attachment damages, and recovery is limited to the animal’s market value.5Justia. Strickland v. Medlen (Opinion) For a mixed-breed family pet, that market value may be small. For a purebred, trained service animal, or show dog, it can run into the thousands. What the owner cannot do is inflate the claim by calling the dog “irreplaceable” or arguing emotional distress. Veterinary bills for a wounded dog that survived can also be part of a claim.
City Ordinances on Firing a Gun
This is where people get tripped up. A shooting can be legally justified as self-defense and still violate a local ordinance against discharging a firearm inside city limits. Texas law preempts most local firearm regulations, but it specifically carves out an exception allowing municipalities to regulate the discharge of firearms within their boundaries.6State of Texas. Texas Local Government Code Section 229.001 – Firearms, Air Guns, Knives, Explosives Most Texas cities with any real population density have such ordinances, and fines can run from $1,000 into the several thousands.
Whether a justified self-defense shooting is a complete defense to a discharge ordinance depends on how the ordinance is written and how local officials enforce it. Some include self-defense exceptions. Others don’t. If you’re in an urban or suburban area, check your city’s code before assuming a justified shooting carries zero legal consequences. In a rural area with no such ordinance, this isn’t an issue.
What to Do After the Shooting
Call law enforcement or animal control right away and file a report. When officers arrive, give a factual account of what happened and why you believed you were in immediate danger. Stick to what you actually saw: the dog’s behavior, how close it was, what made you believe an attack was imminent or already underway.
Photograph the scene if you can do so safely. Get the dog’s location, any injuries you have, torn clothing, blood, property damage. Memories blur within weeks; photographs don’t. If anyone else saw what happened, get their contact information before they leave.
Don’t discuss fault with the dog’s owner, and don’t volunteer statements beyond what you tell law enforcement. Anything you say can surface later in a civil suit. If the owner threatens to sue or you receive any kind of notice, talk to an attorney before responding. Between the possible criminal exposure, civil liability, and city ordinance issues, this is one of those situations where early legal advice can save considerable trouble down the line.