Tex. Code of Criminal Procedure § 18.05
This is the official text of Tex. Code of Criminal Procedure § 18.05, part of Texas’s Code of Criminal Procedure — sets the procedural rules for criminal cases 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.
§ 18.05. WARRANTS FOR FIRE, HEALTH, AND CODE INSPECTIONS.
Official statutory text
(a) Except as provided by Subsection (e) of this article, a search warrant may be issued to a fire marshal, health officer, or code enforcement official of the state or of any county, city, or other political subdivision for the purpose of allowing the inspection of any specified premises to determine the presence of a fire or health hazard or unsafe building condition or a violation of any fire, health, or building regulation, statute, or ordinance.
(b) A search warrant may not be issued under this article except upon the presentation of evidence of probable cause to believe that a fire or health hazard or violation or unsafe building condition is present in the premises sought to be inspected.
(c) In determining probable cause, the magistrate is not limited to evidence of specific knowledge, but may consider any of the following:
(1) the age and general condition of the premises;
(2) previous violations or hazards found present in the premises;
(3) the type of premises;
(4) the purposes for which the premises are used; and
(5) the presence of hazards or violations in and the general condition of premises near the premises sought to be inspected.
(d) Each city or county may designate one or more code enforcement officials for the purpose of being issued a search warrant as authorized by Subsection (a) of this article. A political subdivision other than a city or county may designate not more than one code enforcement official for the purpose of being issued a search warrant as authorized by Subsection (a) of this article only if the political subdivision routinely inspects premises to determine whether there is a fire or health hazard or unsafe building condition or a violation of fire, health, or building regulation, statute, or ordinance.
(e) A search warrant may not be issued under this article to a code enforcement official of a county with a population of 3.3 million or more for the purpose of allowing the inspection of specified premises to determine the presence of an unsafe building condition or a violation of a building regulation, statute, or ordinance.
(b) A search warrant may not be issued under this article except upon the presentation of evidence of probable cause to believe that a fire or health hazard or violation or unsafe building condition is present in the premises sought to be inspected.
(c) In determining probable cause, the magistrate is not limited to evidence of specific knowledge, but may consider any of the following:
(1) the age and general condition of the premises;
(2) previous violations or hazards found present in the premises;
(3) the type of premises;
(4) the purposes for which the premises are used; and
(5) the presence of hazards or violations in and the general condition of premises near the premises sought to be inspected.
(d) Each city or county may designate one or more code enforcement officials for the purpose of being issued a search warrant as authorized by Subsection (a) of this article. A political subdivision other than a city or county may designate not more than one code enforcement official for the purpose of being issued a search warrant as authorized by Subsection (a) of this article only if the political subdivision routinely inspects premises to determine whether there is a fire or health hazard or unsafe building condition or a violation of fire, health, or building regulation, statute, or ordinance.
(e) A search warrant may not be issued under this article to a code enforcement official of a county with a population of 3.3 million or more for the purpose of allowing the inspection of specified premises to determine the presence of an unsafe building condition or a violation of a building regulation, statute, or ordinance.
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.