Tex. Penal Code § 9.21
This is the official text of Tex. Penal Code § 9.21, part of Texas’s Penal Code — defines crimes and punishments in Texas.
Not legal advice. This page reproduces the official text of a government statute for reference only. Laws change, and how a statute applies depends on your specific facts. For advice about your situation, consult a licensed attorney in your state.
§ 9.21. PUBLIC DUTY.
Official statutory text
(a) Except as qualified by Subsections (b) and (c), conduct is justified if the actor reasonably believes the conduct is required or authorized by law, by the judgment or order of a competent court or other governmental tribunal, or in the execution of legal process.
(b) The other sections of this chapter control when force is used against a person to protect persons (Subchapter C), to protect property (Subchapter D), for law enforcement (Subchapter E), or by virtue of a special relationship (Subchapter F).
(c) The use of deadly force is not justified under this section unless the actor reasonably believes the deadly force is specifically required by statute or unless it occurs in the lawful conduct of war. If deadly force is so justified, there is no duty to retreat before using it.
(d) The justification afforded by this section is available if the actor reasonably believes:
(1) the court or governmental tribunal has jurisdiction or the process is lawful, even though the court or governmental tribunal lacks jurisdiction or the process is unlawful; or
(2) his conduct is required or authorized to assist a public servant in the performance of his official duty, even though the servant exceeds his lawful authority.
(b) The other sections of this chapter control when force is used against a person to protect persons (Subchapter C), to protect property (Subchapter D), for law enforcement (Subchapter E), or by virtue of a special relationship (Subchapter F).
(c) The use of deadly force is not justified under this section unless the actor reasonably believes the deadly force is specifically required by statute or unless it occurs in the lawful conduct of war. If deadly force is so justified, there is no duty to retreat before using it.
(d) The justification afforded by this section is available if the actor reasonably believes:
(1) the court or governmental tribunal has jurisdiction or the process is lawful, even though the court or governmental tribunal lacks jurisdiction or the process is unlawful; or
(2) his conduct is required or authorized to assist a public servant in the performance of his official duty, even though the servant exceeds his lawful authority.
Status: in_force · Read it on the official government site
Dealing with a criminal defense matter in Texas?
See all Texas Criminal Defense lawyers
About this page: Statute text is reproduced from official government publishers via the
Open US Law dataset
(Vaquill AI, snapshot v2026.08, CC BY 4.0). Primary legislative text like this is public domain under the government-edicts doctrine
(Georgia v. Public.Resource.Org, 2020). We link every section back to its official source so you can verify it independently.