Yes, you can shoot a dog that attacks you in Texas, but only while the attack is happening or clearly about to happen. The legal cover comes from the state’s necessity defense in the Penal Code and a Health and Safety Code provision that specifically protects people defending livestock and pets. Step outside those narrow conditions and the same shot can become a felony, a civil judgment, or a city ordinance violation.
When the Shooting Is Legally Justified
There is no Texas statute that says in plain words “you may shoot an attacking dog.” The authority comes from Texas Penal Code Section 9.22, the general necessity defense, which justifies conduct a person reasonably believes is immediately necessary to avoid imminent harm when the urgency of avoiding that harm clearly outweighs the harm the law would otherwise prevent.1State of Texas. Texas Penal Code Section 9.22 – Necessity Applied to a dog attack, that means if a dog is coming at you and you genuinely believe a serious bite or mauling is seconds away, killing the dog to stop it is justified.
The decisive word is “immediately.” You don’t have to wait for teeth to reach skin. A dog snarling, lunging, or sprinting at you in an aggressive posture can support a reasonable belief that an attack is imminent. A dog growling from across a yard and then wandering off cannot, because there was no imminent harm to prevent.
The justification also ends the moment the danger ends. If a dog bites you and then runs away, shooting it in retreat is not necessity. The law protects you during the threat, not after it. Chasing down a dog that already disengaged is retaliation, and retaliation has no defense.
Dogs Attacking Your Livestock or Pets
Texas gives you somewhat more room when the target of the attack is your animals. Under Texas Health and Safety Code Section 822.013, you may kill a dog that is attacking, is about to attack, or 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 and other dogs.
The phrase “has recently attacked” opens a slightly wider window than the personal necessity defense. If you walk outside and find a dog that just mauled your chickens and is still on the property, you have grounds to act even though the first strike is over, on the theory that a dog that has just attacked animals is likely to go after them again. “Recently” is not hours or days later, though. The action still needs a real connection to stopping ongoing or immediately recurring harm.
Texas Penal Code Section 9.41 also recognizes the use of force to prevent interference with your property.3State of Texas. Texas Penal Code Section 9.41 – Protection of One’s Own Property It isn’t written specifically about dogs, but it reinforces the broader principle that you can defend what’s yours, including your animals.
When a Shooting Crosses Into a Crime
Shooting 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, carrying two to ten years in prison and a fine up to $10,000.
What counts as unjustified in practice? Shooting a dog that was barking behind a fence. Shooting a dog wandering through your yard without showing aggression. Shooting a dog because it has been a nuisance in the neighborhood. Being annoyed or generally uneasy is not the imminent threat the law requires, and a dog simply being on your property is not enough on its own.
If you are charged, you raise the necessity defense or Section 822.013 and the prosecution then has to disprove it beyond a reasonable doubt. That still requires something to point to: a witness, injuries, torn clothing, a damaged pen, something that corroborates the imminent danger you describe. Without any of that, a prosecutor’s path is short.
Civil Liability Even If You Aren’t Charged
A dog’s owner can sue you in civil court for the value of the animal whether or not criminal charges are filed. Civil cases use a lower standard: the owner only has to show it was more likely than not that the shooting was unjustified. A person cleared criminally can still lose the civil case over the same shot.
Texas caps what the owner can recover. In Strickland v. Medlen, the Texas Supreme Court held that pet owners cannot recover sentimental or emotional attachment damages; recovery is limited to the animal’s market value.5Justia. Strickland v. Medlen (Opinion) For a mixed-breed family pet, that figure may be modest. For a purebred, trained service animal, or show dog, it can run into the thousands. The owner cannot inflate the claim by calling the dog “irreplaceable” or arguing emotional distress.
Veterinary bills can also be in play if the dog was wounded rather than killed. And if the dog injured you, you have your own claim against the owner for medical costs, lost wages, and pain and suffering. These cross-claims are often negotiated together, with each side’s share of fault driving the number.
City Ordinances on Firing a Gun
This is where people get caught off guard. A shooting can be fully justified as self-defense and still violate a local ordinance against discharging a firearm within city limits. Texas preempts most local firearm regulation, but it specifically allows municipalities to regulate the discharge of firearms inside their boundaries.6State of Texas. Texas Local Government Code Section 229.001 – Firearms, Air Guns, Knives, Explosives Most Texas cities with any population density have such ordinances, and fines can range from $1,000 to several thousand dollars.
Whether a justified self-defense shooting is a complete defense to the ordinance depends on how the ordinance is written and how it is enforced locally. Some include a self-defense exception. Others do not. If you live in an urban or suburban area, read your city’s code before assuming “justified” means “no consequences.” In rural areas with no discharge ordinance, the question never comes up.
What to Do Right After
Call law enforcement or animal control immediately and file a report. When officers arrive, give a factual account: what the dog did, how close it was, what made you believe an attack was imminent or underway. Stick to what you observed.
If you can do so safely, photograph the scene. The dog’s location, any injuries you have, torn clothing, blood, damage to a pen or coop. Memories blur in the weeks that follow; photographs don’t. If anyone else saw what happened, get their contact information before they leave.
Don’t argue fault with the dog’s owner or volunteer statements beyond what you give law enforcement. Anything you say can resurface in a civil lawsuit. If the owner threatens to sue or you receive any kind of notice, talk to an attorney before responding. The combination of possible criminal charges, civil liability, and a city ordinance violation makes early legal advice worth the call.