Tex. Code of Criminal Procedure § 18.011
This is the official text of Tex. Code of Criminal Procedure § 18.011, 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.011. SEALING OF AFFIDAVIT.
Official statutory text
(a) An attorney representing the state in the prosecution of felonies may request a district judge or the judge of an appellate court to seal an affidavit presented under Article 18.01(b). The judge may order the affidavit sealed if the attorney establishes a compelling state interest in that:
(1) public disclosure of the affidavit would jeopardize the safety of a victim, witness, or confidential informant or cause the destruction of evidence; or
(2) the affidavit contains information obtained from a court-ordered wiretap that has not expired at the time the attorney representing the state requests the sealing of the affidavit.
(b) An order sealing an affidavit under this section expires on the 31st day after the date on which the search warrant for which the affidavit was presented is executed. After an original order sealing an affidavit is issued under this article, an attorney representing the state in the prosecution of felonies may request, and a judge may grant, before the 31st day after the date on which the search warrant for which the affidavit was presented is executed, on a new finding of compelling state interest, one 30-day extension of the original order.
(c) On the expiration of an order issued under Subsection (b) and any extension, the affidavit must be unsealed.
(d) An order issued under this section may not:
(1) prohibit the disclosure of information relating to the contents of a search warrant, the return of a search warrant, or the inventory of property taken pursuant to a search warrant; or
(2) affect the right of a defendant to discover the contents of an affidavit.
(1) public disclosure of the affidavit would jeopardize the safety of a victim, witness, or confidential informant or cause the destruction of evidence; or
(2) the affidavit contains information obtained from a court-ordered wiretap that has not expired at the time the attorney representing the state requests the sealing of the affidavit.
(b) An order sealing an affidavit under this section expires on the 31st day after the date on which the search warrant for which the affidavit was presented is executed. After an original order sealing an affidavit is issued under this article, an attorney representing the state in the prosecution of felonies may request, and a judge may grant, before the 31st day after the date on which the search warrant for which the affidavit was presented is executed, on a new finding of compelling state interest, one 30-day extension of the original order.
(c) On the expiration of an order issued under Subsection (b) and any extension, the affidavit must be unsealed.
(d) An order issued under this section may not:
(1) prohibit the disclosure of information relating to the contents of a search warrant, the return of a search warrant, or the inventory of property taken pursuant to a search warrant; or
(2) affect the right of a defendant to discover the contents of an affidavit.
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.