
Online Sting Entrapment Defense Lawyer in Texas
By Heather Barbieri · Published November 14, 2026
If someone you love has been charged after an online sting, entrapment under Texas law may be a defense worth examining. Under Texas Penal Code § 8.06, entrapment is a defense only when a law enforcement agent used persuasion or other means likely to cause persons to commit the offense. Conduct that merely affords a person an opportunity to commit an offense does not constitute entrapment. This page explains how that defense works, what an evidence review covers, and what to expect when you talk with an online sting entrapment defense lawyer in Texas.
What an Online Sting Charge Means in Texas
An online sting is an operation in which an officer or agent poses as a minor, a parent, or another person in a chat, app, or website. The goal is to find people who make contact or try to arrange a meeting.
The exact statute and the conduct alleged decide the charge. Texas Penal Code § 33.021 covers online solicitation of a minor.
Two points matter a lot. It is not a defense that the meeting did not occur.
The same conduct can fall under more than one law, and prosecutors may use this section, the other law, or both. An arrest is not a conviction. The person charged has the right to a defense.

How the Entrapment Defense Works Under Texas Penal Code 8.06
Entrapment applies when a law enforcement agent induced the charged conduct using persuasion or other means likely to cause persons to commit the offense. Texas Penal Code § 8.06 also draws a clear line: conduct merely affording a person an opportunity to commit an offense does not constitute entrapment. Most sting disputes turn on where that line falls.
The statute defines “law enforcement agent” broadly. It covers state and local personnel, United States personnel, and anyone acting under instructions from those agents. A review therefore looks at who was working with the officer, not only at the officer’s name.
A review asks several questions about the chat record:
- Who started the conversation?
- Who first raised sexual or meeting topics?
- How often did the officer return to them?
- Did the messages push things further than the person’s own words and choices did?
Readiness also matters. The review looks at what the person said, did, or wanted before the officer made contact. The defense depends on the facts, and no one can predict how a judge or jury will rule.
Texas charges are measured against the text of § 8.06 itself.
What an Online Sting Evidence Review Covers
We will review the evidence in your loved one’s case and explain your options. It covers five areas.
- Chat and message logs: every message in the order sent, with timestamps, usernames, and any edits or deletions.
- Warrants and affidavits: whether the search stayed within the warrant’s scope and the probable cause the affidavit describes.
- Device and account extractions: how data was collected, preserved, and documented, and whether the chain of custody is complete.
- Operational records: the investigation plan, the persona’s profile, officer reports, and any recordings that exist.
- The stop, arrest, and statements: whether rights were explained and whether any statement was recorded.
The review ends with a written summary of what it found, what questions remain open, and the options the evidence leaves. The National Center for Missing & Exploited Children describes the online grooming and exploitation tactics that online enticement covers.
What to Expect: The Process and Timeline
The process has five steps: a consultation, records gathering, an evidence review, a discussion of options, and a decision about how to proceed.
- Consultation. You share the charging papers, what your loved one remembers about the conversations, and any devices or accounts involved.
- Records gathering. Requests go to the prosecution for discovery, and the digital evidence is reviewed.
- Evidence and inducement review. The chat logs are read against the entrapment elements, and motion issues are identified.
- Options discussion. The attorney explains the paths the evidence supports, such as motions, negotiation, or trial preparation, without predicting a result.
- Decision. The person charged decides how to proceed.
The timeline from arrest to resolution varies widely with the court schedule and the amount of digital evidence. The attorney will explain the schedule for your loved one’s specific case.
Why Barbieri Law Firm Handles These Charges
Barbieri Law Firm is an all-women criminal defense firm in Frisco, Texas. It defends people accused of sex crimes and assaultive offenses across Collin County, Dallas-Fort Worth, and Texas.
Heather Jean Barbieri, Board Certified, Criminal Law — Texas Board of Legal Specialization, leads the firm and is the attorney responsible for this page. Our lawyers are Heather Barbieri and Carrie Thomas. Our assistants and office staff support the work, and they are staff, not lawyers.
Our team reads the evidence closely and explains the options in plain language. We defend online sex crimes, child sex crimes, aggravated sexual assault, aggravated assault, family violence, and theft charges for students and non-citizens.
Questions Families Ask About Online Sting Charges
Families often ask whether the fake profile, the chat logs, and the records will matter. Short answers follow.
Is entrapment the only defense?
No. Warrant scope, device searches, chain of custody, and who used the account may also matter.
Does the meeting have to happen to be charged?
No. Under Texas Penal Code § 33.021, it is not a defense to prosecution under Subsection (c) that the meeting did not occur.
When a nondisclosure order is available
Not in every case. Under Texas Government Code § 411.074, a person may not be granted a nondisclosure order if the order is requested for, or the person has previously been convicted of or placed on deferred adjudication for, any of these: an offense requiring registration as a sex offender under Chapter 62, Code of Criminal Procedure; an offense under Section 20.04, Penal Code, whether or not it is a reportable conviction or adjudication; an offense under Section 19.02, 19.03, 20A.02, 20A.03, 22.04, 22.041, 25.07, 25.072, or 42.072, Penal Code; or any other offense involving family violence, as defined by Section 71.004, Family Code. A court’s affirmative finding that the offense involved family violence also bars the order.
Will my loved one have to testify?
That is a decision made with counsel, based on the trial strategy and the evidence.

Talk With Barbieri Law Firm About Your Loved One’s Case
Start with a free initial consultation if someone you love has been charged after an online sting. You did not choose this situation, and you may be worried about the person facing it.
The consultation is free, confidential, and carries no obligation to continue. Bring the charging papers, any chat logs you have, and any warrant or device notices. Call (972) 424-1902, or send your case details through the contact form to schedule your consultation.
Attorney responsible for this site: Heather Barbieri, Barbieri Law Firm, Frisco, Texas.
Ready to take the next step?
Related practice areas
Request a Consultation
Fill out the short form and we will take it from there.

