GTDataGroup LegalCore

Texas legal research

PE chapter 21

Sec. 21.165. UNLAWFUL PRODUCTION OR DISTRIBUTION OF CERTAIN SEXUALLY EXPLICIT MEDIA.

Penal Code § 21.165

(a) In this section:

(1) "Deep fake media" means a visual depiction created or altered through the use of software, machine learning, artificial intelligence, or any other computer-generated or technological means, including by adapting, modifying, manipulating, or altering an authentic visual depiction manually or through an automated process, that appears to a reasonable person to depict a real person, indistinguishable from an authentic visual depiction of the real person, performing an action that did not occur in reality.

(2) "Intimate parts" and "sexual conduct" have the meanings assigned by Section 21.16.

(3) "Visual depiction" means a photograph, motion picture film, videotape, digital image or video, or other visual recording.

(b) A person commits an offense if, without the effective consent of the person appearing to be depicted, the person knowingly produces or distributes by electronic means deep fake media that appears to depict the person:

(1) with visible computer-generated intimate parts or with the visible intimate parts of another human being as the intimate parts of the person; or

(2) engaging in sexual conduct in which the person did not engage.

(b-1) A person commits an offense if the person intentionally threatens to produce or distribute deep fake media with the intent to coerce, extort, harass, or intimidate another person.

(b-2) Consent required by Subsection (b) is valid only if the person appearing to be depicted knowingly and voluntarily signed a written agreement that was drafted in plain language. The agreement must include:

(1) a general description of the deep fake media; and

(2) if applicable, the audiovisual work into which the deep fake media will be incorporated.

(c) An offense under Subsection (b) is a Class A misdemeanor, except that the offense is a felony of the third degree if it is shown on the trial of the offense that:

(1) the actor has been previously convicted of an offense under this section; or

(2) the person appearing to be depicted is younger than 18 years of age.

(c-1) An offense under Subsection (b-1) is a Class B misdemeanor, except that the offense is a Class A misdemeanor if it is shown on the trial of the offense that:

(1) the actor has been previously convicted of an offense under this section; or

(2) the actor threatened to produce or distribute deep fake media appearing to depict a person younger than 18 years of age.

(c-2) It is not a defense to prosecution under this section that the deep fake media:

(1) contains a disclaimer stating that the media was unauthorized or that the person appearing to be depicted did not participate in the creation or development of the deep fake media; or

(2) indicates, through a label or otherwise, that the depiction is not authentic.

(c-3) It is an affirmative defense to prosecution under this section that the production or distribution of the deep fake media occurs in the course of:

(1) lawful and common practices of law enforcement;

(2) reporting unlawful activity; or

(3) a legal proceeding, if the production or distribution is permitted or required by law.

(c-4) It is an affirmative defense to prosecution under Subsection (b) that the actor:

(1) is an Internet service provider, cloud service provider, cybersecurity service provider, communication service provider, or telecommunications network that transmits data; and

(2) acted solely in a technical, automatic, or intermediate nature.

(c-5) It is an affirmative defense to prosecution under Subsection (b) that the actor:

(1) is a provider or developer of a publicly accessible artificial intelligence application or software that was used in the creation of the deep fake media;

(2) included a prohibition against the creation of deep fake media prohibited by this section in the actor's terms and conditions or user policies that are required to be acknowledged by a user before the user is granted access to the artificial intelligence application or software; and

(3) took affirmative steps to prevent the creation of deep fake media prohibited by this section through technological tools, such as:

(A) training the artificial intelligence application or software to identify deep fake media prohibited by this section;

(B) providing effective reporting tools for deep fake media prohibited by this section;

(C) filtering deep fake media prohibited by this section created by the artificial intelligence application or software before the media is shown to a user; and

(D) filtering deep fake media prohibited by this section from the artificial intelligence application or software data set before the data set is used to train the application or software.

(d) If conduct that constitutes an offense under this section also constitutes an offense under another law, the actor may be prosecuted under this section or the other law.

(e) The court shall order a defendant convicted of an offense under this section to make restitution to the victim of the offense for any psychological, financial, or reputational harm incurred by the victim as a result of the offense.

Added by Acts 2023, 88th Leg., R.S., Ch. 355 (S.B. 1361), Sec. 1, eff. September 1, 2023.

Amended by:

Acts 2025, 89th Leg., R.S., Ch. 1133 (S.B. 441), Sec. 1, eff. September 1, 2025.

Acts 2025, 89th Leg., R.S., Ch. 1133 (S.B. 441), Sec. 2, eff. September 1, 2025.

Acts 2025, 89th Leg., R.S., Ch. 1133 (S.B. 441), Sec. 3, eff. September 1, 2025.

Source details
canonical id
tx-statute:pe:21.165
provision id
tx-statute:pe:[email protected]
version id
tx-statute:pe:[email protected]~cd397fc0e063f8ab
record id
tx-statute:pe:[email protected]
document id
tx-statute-chapter:pe:21
record sha256
a09a415503873030171bd8a4c62ff7703b8f7bdeeccf103f243e0bde338eb3b0
anchor id
p-21-165-188466-198499
legalcore record url
https://legalcore.example.invalid/tx/statutes/pe/sections/21.165/188466.198499

Source locations are recorded for verification and are not links.

References in this section

  • Sec. 21.165. UNLAWFUL PRODUCTION OR DISTRIBUTION OF CERTAIN SEXUALLY EXPLICIT MEDIA.
    Reference details
    original href
    https://statutes.capitol.texas.gov/Docs/PE/htm/PE.21.htm#21.165
    target fragment
    21.165
    source context
    paragraph
    resolution reason
    unique prepared provision #21.165 in tx-statute-chapter:pe:21
    expected target id
    tx-statute:pe:21.165
    source document id
    tx-statute-chapter:pe:21
    source provision id
    tx-statute:pe:[email protected]
    target document id
    tx-statute-chapter:pe:21
    target provision id
    tx-statute:pe:[email protected]
    target version id
    tx-statute:pe:[email protected]~cd397fc0e063f8ab
    candidate
    tx-statute:pe:[email protected]
    resolution status
    resolved

    Source locations are recorded for verification and are not links.

  • 21.16
    Reference details
    original href
    https://statutes.capitol.texas.gov/GetStatute.aspx?Code=PE&Value=21.16
    target fragment
    21.16
    source context
    paragraph
    resolution reason
    unique prepared provision tx-statute:pe:21.16
    expected target id
    tx-statute:pe:21.16
    source document id
    tx-statute-chapter:pe:21
    source provision id
    tx-statute:pe:[email protected]
    target document id
    tx-statute-chapter:pe:21
    target provision id
    tx-statute:pe:[email protected]
    target version id
    tx-statute:pe:[email protected]~4c82f691f5c0ddef
    candidate
    tx-statute:pe:[email protected]
    resolution status
    resolved

    Source locations are recorded for verification and are not links.

  • 1361 Target unavailable; not linked
    Reference details
    original href
    http://capitol.texas.gov/tlodocs/88R/billtext/html/SB01361F.HTM
    source context
    paragraph
    resolution reason
    target family not prepared (legislative_bill_text)
    source document id
    tx-statute-chapter:pe:21
    source provision id
    tx-statute:pe:[email protected]
    resolution status
    unavailable

    Source locations are recorded for verification and are not links.

  • 441 Target unavailable; not linked
    Reference details
    original href
    http://capitol.texas.gov/tlodocs/89R/billtext/html/SB00441F.HTM
    source context
    paragraph
    resolution reason
    target family not prepared (legislative_bill_text)
    source document id
    tx-statute-chapter:pe:21
    source provision id
    tx-statute:pe:[email protected]
    resolution status
    unavailable

    Source locations are recorded for verification and are not links.

  • 441 Target unavailable; not linked
    Reference details
    original href
    http://capitol.texas.gov/tlodocs/89R/billtext/html/SB00441F.HTM
    source context
    paragraph
    resolution reason
    target family not prepared (legislative_bill_text)
    source document id
    tx-statute-chapter:pe:21
    source provision id
    tx-statute:pe:[email protected]
    resolution status
    unavailable

    Source locations are recorded for verification and are not links.

  • 441 Target unavailable; not linked
    Reference details
    original href
    http://capitol.texas.gov/tlodocs/89R/billtext/html/SB00441F.HTM
    source context
    paragraph
    resolution reason
    target family not prepared (legislative_bill_text)
    source document id
    tx-statute-chapter:pe:21
    source provision id
    tx-statute:pe:[email protected]
    resolution status
    unavailable

    Source locations are recorded for verification and are not links.

Cited by

  • BC § 552.057 cites it as “21.165”
    Reference details
    original href
    https://statutes.capitol.texas.gov/GetStatute.aspx?Code=PE&Value=21.165
    target fragment
    21.165
    source context
    paragraph
    resolution reason
    unique prepared provision tx-statute:pe:21.165
    expected target id
    tx-statute:pe:21.165
    source document id
    tx-statute-chapter:bc:552
    source provision id
    tx-statute:bc:[email protected]
    target document id
    tx-statute-chapter:pe:21
    target provision id
    tx-statute:pe:[email protected]
    target version id
    tx-statute:pe:[email protected]~cd397fc0e063f8ab
    candidate
    tx-statute:pe:[email protected]
    resolution status
    resolved

    Source locations are recorded for verification and are not links.

  • CP § 118.001 cites it as “21.165”
    Reference details
    original href
    https://statutes.capitol.texas.gov/GetStatute.aspx?Code=PE&Value=21.165
    target fragment
    21.165
    source context
    paragraph
    resolution reason
    unique prepared provision tx-statute:pe:21.165
    expected target id
    tx-statute:pe:21.165
    source document id
    tx-statute-chapter:cp:118
    source provision id
    tx-statute:cp:[email protected]
    target document id
    tx-statute-chapter:pe:21
    target provision id
    tx-statute:pe:[email protected]
    target version id
    tx-statute:pe:[email protected]~cd397fc0e063f8ab
    candidate
    tx-statute:pe:[email protected]
    resolution status
    resolved

    Source locations are recorded for verification and are not links.

  • CR § 38.37 cites it as “21.165”
    Reference details
    original href
    https://statutes.capitol.texas.gov/GetStatute.aspx?Code=PE&Value=21.165
    target fragment
    21.165
    source context
    paragraph
    resolution reason
    unique prepared provision tx-statute:pe:21.165
    expected target id
    tx-statute:pe:21.165
    source document id
    tx-statute-chapter:cr:38
    source provision id
    tx-statute:cr:[email protected]
    target document id
    tx-statute-chapter:pe:21
    target provision id
    tx-statute:pe:[email protected]
    target version id
    tx-statute:pe:[email protected]~cd397fc0e063f8ab
    candidate
    tx-statute:pe:[email protected]
    resolution status
    resolved

    Source locations are recorded for verification and are not links.

  • OC § 455.152 cites it as “21.165”
    Reference details
    original href
    https://statutes.capitol.texas.gov/GetStatute.aspx?Code=PE&Value=21.165
    target fragment
    21.165
    source context
    paragraph
    resolution reason
    unique prepared provision tx-statute:pe:21.165
    expected target id
    tx-statute:pe:21.165
    source document id
    tx-statute-chapter:oc:455
    source provision id
    tx-statute:oc:[email protected]
    target document id
    tx-statute-chapter:pe:21
    target provision id
    tx-statute:pe:[email protected]
    target version id
    tx-statute:pe:[email protected]~cd397fc0e063f8ab
    candidate
    tx-statute:pe:[email protected]
    resolution status
    resolved

    Source locations are recorded for verification and are not links.

  • PE § 21.165 cites it as “Sec. 21.165. UNLAWFUL PRODUCTION OR DISTRIBUTION OF CERTAIN SEXUALLY EXPLICIT MEDIA.”
    Reference details
    original href
    https://statutes.capitol.texas.gov/Docs/PE/htm/PE.21.htm#21.165
    target fragment
    21.165
    source context
    paragraph
    resolution reason
    unique prepared provision #21.165 in tx-statute-chapter:pe:21
    expected target id
    tx-statute:pe:21.165
    source document id
    tx-statute-chapter:pe:21
    source provision id
    tx-statute:pe:[email protected]
    target document id
    tx-statute-chapter:pe:21
    target provision id
    tx-statute:pe:[email protected]
    target version id
    tx-statute:pe:[email protected]~cd397fc0e063f8ab
    candidate
    tx-statute:pe:[email protected]
    resolution status
    resolved

    Source locations are recorded for verification and are not links.

Citations show recorded connections only, not legal effect or validity.