
Online Sex Crimes Defense | Collin County and Texas
Charged After an Online Sting? Start With a Careful Review of the Evidence.
Undercover chats and decoy operations are built step by step. We look at each step, from how the conversation began to what investigators said and kept.
By Heather Barbieri · Published November 14, 2026
If you were arrested after an online chat, or you have been accused of a sex crime that started online, you need clear answers fast. Under Texas law, entrapment is a defense only when a law enforcement agent induced the conduct. Giving someone a chance to commit an offense is not entrapment.
If you have been accused in an online sex crime case, a defense lawyer may review the evidence, including the chat logs, and explain your options. It also covers the questions you should ask and the next step if you want to talk about your case.
What a Decoy and Entrapment Defense Means for You
A decoy sting is a police operation in which an investigator poses online as a minor, or as someone offering access to a minor. The goal is to draw a person into a sexual conversation or a planned meeting, then make an arrest. The National Center for Missing & Exploited Children publishes a page on online enticement that explains the tactics this term covers.
Entrapment and a claim that the accusation is false are different defenses. Entrapment says police caused the offense. A false-accusation claim says the conduct did not happen the way the charge describes it.
Some people are charged after online contact while a divorce, custody matter or CPS case is already underway. That adds pressure to every message, every court date and every decision.
Each part of the case matters, from the first message to the arrest report. Early review helps you see which facts the state must prove. If that describes your situation, here is what a lawyer looks at first.
If you were arrested after an online chat, or someone has accused you, our team can review your case and explain your options with you. Talk it through with our team — the first consultation is free, confidential, and carries no obligation.

How Texas Entrapment Law Works
Under Texas Penal Code § 8.06, entrapment is a defense when a law enforcement agent induced the conduct. The statute says the agent used “persuasion or other means likely to cause persons to commit the offense.”
The statute also draws a clear line. Conduct that merely gives a person an opportunity to commit an offense does not count as entrapment.
That line matters in a decoy case. Who started the sexual talk, who suggested a meeting, and who pushed it forward are the facts that show which side a case falls on.
The statute defines “law enforcement agent” to include state, local and United States agency personnel. It also covers anyone acting on their instructions. A decoy working under police direction can fall within that definition.
Online solicitation of a minor is a separate charge. Under Texas Penal Code § 33.021, a minor includes a person the accused believes is younger than 17. An offense under § 33.021(c) is committed when a person, through the Internet, email, text or another electronic message service, or a commercial online service, knowingly asks a minor to meet another person, including the actor, intending that the minor engage in sexual contact, sexual intercourse, or deviate sexual intercourse; the offense is a second-degree felony under § 33.021(f), and the punishment is increased to the next higher category if it is shown that the offense occurred during regular public or private primary or secondary school hours and the actor knew or reasonably should have known the minor was enrolled in school (§ 33.021(f-1)), while subsection (e) provides defenses where the actor was married to the minor, or was not more than three years older than the minor and the minor consented. It is not a defense that the meeting did not occur.
What Your Lawyer Examines in the Evidence
Your lawyer starts with the chat records, the investigation file and any statements police took from you.
- Chat logs: Are the messages complete, edited or out of order? Do the timestamps match?
- Who started it: Who raised the sexual topic, what the decoy said first, and how often the investigator returned to it.
- The file: The profile used, platform records, warrants, the arrest report and any recorded interview.
- Your phone: Under Code of Criminal Procedure article 18.0215, an officer may not search a phone after a lawful arrest without a warrant, unless a listed exception applies.
- Your statements: Did you speak to police before a lawyer was involved? Texas law entitles you, as a defendant, to be represented by counsel in an adversarial judicial proceeding, including the right to consult in private with counsel sufficiently in advance of a proceeding to allow adequate preparation, under Code of Criminal Procedure article 1.051.
Under Code of Criminal Procedure article 38.23, evidence obtained in violation of state or federal law cannot be used against you. The main exception covers an officer acting in objective good faith reliance upon a warrant issued by a neutral magistrate based on probable cause.
We will review the evidence, including the chat records and the investigation file, and explain your options. No lawyer can promise how a case will end.
What the Defense Covers
The defense starts with the charge itself, then tests the state’s proof step by step.
- Elements of the charge: A review of what the state must prove, so the key facts come first.
- Entrapment: Raised where the facts support it.
- Challenges to the evidence: Including how investigators collected messages and digital data.
- Under Code of Criminal Procedure article 38.37, the state must give notice of its intent to introduce extraneous-offense evidence in its case in chief no later than 30 days before trial, and this notice requirement covers only evidence described in Section 1 or 2 of the article, in prosecutions for the offenses those sections list. The Section 2 bearing-of-character rule and the Section 2-a hearing apply only to the trial of the offenses listed in Section 2, and for that evidence the judge must first determine, at a hearing held outside the jury’s presence, that it is adequate to support a jury finding beyond a reasonable doubt that the defendant committed the separate offense.
- Negotiation and trial preparation: Talks with the prosecutor based on the evidence, and preparation for trial if the case does not resolve.
- Coordination: Tell us about any divorce, custody or CPS proceeding connected to your criminal case, since what you say in one proceeding can affect the other.
What to Expect: The Process and Timeline
The process starts with a first consultation and moves through review, protective steps, negotiation and, if needed, trial preparation.
- First consultation: You describe the arrest or accusation and bring any paperwork you have.
- Document review: The charging papers, bond conditions, chat records and investigation file are reviewed. You then get an explanation of your options.
- Protective steps: Advice on bond conditions, contact limits, and how to handle conversations with family members, including the other parent.
- Negotiation and motions: Based on the evidence, with updates at each stage.
- Trial preparation: If the case does not resolve, with a clear explanation of each decision you must make.
The timeline depends on the court’s docket and how complex the digital evidence is. Your lawyer will confirm the schedule once the file is reviewed.
Your Fears About Prison, Registration and Your Children, Answered Honestly
Prison exposure depends on the exact charge, the facts and the court. No lawyer can predict a sentence.
If your charge is a first-degree felony, Texas Penal Code § 12.32 sets the range at life, or any term of not more than 99 years or less than 5 years. The statute also allows a fine of up to $10,000.
Registration depends on the offense and the conviction. Texas’s registration definitions in Code of Criminal Procedure article 62.001 list online solicitation of a minor. Under article 62.101, how long a duty to register lasts depends on the offense and the type of conviction.
Custody and parenting questions must be coordinated with any family court case. Statements made in one proceeding can affect the other, so talk with your lawyer before you address either one.
Messages and posts you make now can become evidence. Don’t discuss the case with the decoy, on social media or with anyone other than your lawyer.
Not sure what your next step is?
Talk it through with our team — the first consultation is free, confidential, and carries no obligation.
Why Barbieri Law Firm for This Defense
Barbieri Law Firm is an all-women criminal defense firm based in Frisco, Texas. It defends people accused of sex crimes and assaultive offenses across Collin County, Dallas-Fort Worth and Texas.
The firm handles online sex crimes, child sex crimes, aggravated sexual assault, aggravated assault and family violence matters.
Heather Jean Barbieri, Board Certified, Criminal Law — Texas Board of Legal Specialization. Heather Barbieri is the firm’s founding attorney and the responsible lawyer for this page.
Our lawyers include Heather Barbieri and Carrie Thomas. Our team of staff supports them.
Common Questions About Decoy and Entrapment Cases
The questions below come up often in decoy and entrapment cases. Each answer is short, so you can get the main point quickly.
Your lawyer reviews the messages against each element.
Does a decoy sting always involve a real child?
Not in the way many people assume. Under § 33.021(a)(1)(B), the statute covers a person the accused believes is under 17.
Will I keep my job or my custody?
These depend on the charge, any court orders and the facts. Your lawyer will address them with you directly.
Should I talk to police?
Talk with your lawyer before you answer police questions. Texas law gives you the right to consult privately with counsel.
What does the first consultation cost?
The initial consultation is free, confidential, and carries no obligation to continue.

Talk to a Lawyer About Your Case Today
If you were arrested after an online chat, or you were accused of a child-related offense, the next step is a conversation about your case. You may be dealing with a divorce, custody fight or CPS case at the same time. The decisions in front of you can’t wait.
Call (972) 424-1902 or send your case details. We will review the chat records and charges with you and explain your options. No lawyer can promise how your case will end, but that review is where your options take shape.
Attorney responsible for this site: Heather Barbieri, Barbieri Law Firm, Frisco, Texas.
How our firm approaches an online sex crime case
We review the full record
We examine the chat logs, timestamps, screenshots, device data and any search warrant or affidavit tied to the investigation.
We test how the contact started
We look at who initiated the conversation, what the officer said and whether the messages reflect the accused's own words and choices.
We protect what you say
We explain how to handle contact from investigators and how your statements may be used, so decisions are made with counsel.
We explain your options
We walk you through the charge, the evidence and the possible paths forward, in plain language and without pressure.
Speak with a lawyer before you speak with investigators
Statements made to police or online contacts can become evidence.
Questions people often ask us
Decoy stings
Many online operations involve an officer posing as a minor or as an adult. We examine how the conversation began and what the officer did to keep it going.
Phones, messages and accounts
We review how devices and accounts were searched, what was seized and whether the digital evidence was collected and preserved properly.
Work, school and family
A charge can affect your career, your education and your household. We address these concerns with you directly as part of the case plan.
Your first step
Call (972) 424-1902 or send us your case details. The initial consultation is free, confidential and carries no obligation to continue.
Facing an online sex crime charge in Collin County or elsewhere in Texas?
Call (972) 424-1902 or send us your case details.
Related practice areas
- Online Sex Crimes Defense Lawyer
- Sex Crimes Defense Lawyer in Collin County
- Sex Crimes Defense Lawyer in Prosper
Request a Consultation
Fill out the short form and we will take it from there.

