
Online Sex Crimes Defense | Collin County and Dallas-Fort Worth
Charged After Messaging an Undercover Officer Posing as a Minor?
Barbieri Law Firm reviews the messages, the investigation and the charge so you can understand where your case stands and what your options are.
By Heather Barbieri · Published November 14, 2026
You were messaging someone online, and now you face a charge tied to an undercover officer who posed as a minor. It’s normal to feel scared about prison, your children and what comes next.
A Texas charge like this usually rests on one statute. It turns on what was said, what was intended and how police gathered the evidence. A defense starts with a careful review of all three.
What Happens When an Undercover Officer Is on the Other End of the Chat
In a chat sting, an officer uses an online profile that presents as a minor. Messages go back and forth before any arrest.
These cases often start with an arrest, a knock on the door or a notice that an investigation is open. Sometimes that news comes weeks after the messages were sent.
The messages don’t disappear. They sit on a phone, a computer or an online account, and the State can read every line. That is the reality you face, and it’s why each message matters.
Three questions drive most of these cases: who started the conversation, what was said, and what was intended. A defense attorney answers those questions first. The rest of the case builds from them.
If you're facing this charge while a custody or CPS matter is open, you don't have to sort it out alone; our team is ready to talk through your file. Talk it through with our team — the first consultation is free, confidential, and carries no obligation.

The Charge You May Face and What It Can Mean for Your Life
Online solicitation of a minor is an offense under Texas law.
- A “minor” includes a person the actor believes is younger than 17. A stated age on a profile can matter a great deal.
- A second-degree felony carries 2 to 20 years in prison and a fine up to $10,000.
- A first-degree felony carries life or 5 to 99 years. Under Penal Code § 33.021(f), the offenses described in subsections (b) and (c) are third- or second-degree felonies. Under § 33.021(f-1), the punishment moves up one category if the offense was committed during school hours and the actor knew or reasonably should have known the minor was enrolled in school. Read the charging papers line by line to confirm which subsection is charged.
- Texas’s registration chapter names online solicitation of a minor in its definitions. Whether registration applies depends on the offense and the outcome.
- A charge can also affect contact with your children, custody orders and your job. Those effects depend on the court orders and how the case ends.
- News and mugshots usually come from the public charging record. We can advise you on handling the case with that in mind, though we can’t control what the news reports.
The Questions We Examine in the Chat Record
The full conversation, read in order, is the core evidence. We don’t judge a single line until we’ve read the whole thread.
- Who started the contact, on which platform, and whether a profile or ad came from police.
- What age was stated, by whom, and what the messages show about what you believed. We quote the exact words.
- Whether a meeting, travel or plan was discussed. Under § 33.021(d), the meeting not happening is not a defense to a solicitation-to-meet charge, so the record of intent matters most.
- Whether the officer’s replies pushed the talk. Texas entrapment law covers persuasion that induces conduct, but merely giving someone an opportunity is not entrapment.
- The timeline, and whether the charge fits the dates and the order of messages.
Screenshots alone can cut off context. We preserve the full thread so no message is read out of order.
How Your Case File Is Reviewed
A defense is built from the State’s file, so we start by getting every piece of it. The State’s file is called discovery.
- Warrant affidavits, search warrants and subpoenas for phone, computer or account records. We check whether the affidavit supports what was searched.
- Forensic extractions of devices and accounts: what was recovered, how it was pulled, and whether the search stayed within the warrant’s scope.
- Any recorded interview or statement you gave, and the circumstances under which it was made.
- A written timeline that ties each message, search, arrest and statement together.
- Missing, unclear or disputed evidence, and the questions we will put to the State.
Defense Options Available in a Texas Sting Case
Several defenses may be open in a Texas sting case, and which ones fit depends on what the record shows.
- Challenging the search, the seizure of devices or the scope of a warrant, where the record supports it.
- Challenging statements you made to police, including how they were obtained.
- Disputing intent and the elements of the offense, using the complete message record.
- Reviewing the defenses listed in § 33.021(e), which apply only to conduct described by subsection (c) and only where you were married to the minor, or were not more than three years older than the minor and the minor consented.
- Checking bond conditions.
- Weighing any plea offer against trial, including what the offer would require, such as registration.
- Preparing for trial in Collin County, Dallas County or another Texas county, depending on where the case is filed.
No lawyer can say how a case will end. The options above depend on what the evidence shows.
What to Expect From the First Steps Through Resolution
Your case moves through a set of steps, from the first consultation through bond, discovery, motions and resolution. Each step has its own decisions.
- First consultation. The charge, the arrest paperwork and the messages are reviewed. The consultation is free, confidential and carries no obligation to continue.
- Bond and arraignment. Conditions of release may limit contact with children, other parents or online activity.
- Discovery. The State’s file is requested and reviewed. This step can take months.
- Pretrial motions. Challenges to searches or statements are filed where the record supports them.
- Negotiation or trial setting. You’re told each option before any decision is made.
Court schedules and case complexity change the timing, so no fixed timeline applies to every case.
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 an Online Sting Case
Barbieri Law Firm is an all-women criminal defense firm in Frisco, Texas. We defend 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, is the founding attorney. Our lawyers include Heather Barbieri and Carrie Thomas, and our team of support staff works on each file with them.
Each case starts with a review of your specific file. We read the charge, the warrant papers and the full message record before we talk about options.
Frequently Asked Questions About Undercover Chat Stings in Texas
Can I be charged in Texas after texting an undercover officer posing as a minor?
Yes, a charge can be filed when the messages meet the elements of § 33.021. Whether it should be is a question for the file review.
Can I just tell the police what happened?
Speak with a lawyer before any interview.
Should I delete the messages?
No. Don’t delete, change or send new messages about the case without a lawyer’s guidance.
Will this be public?
The charging record is generally public, and news coverage is outside a lawyer’s control.
Does a sting case always mean registration?
No. Registration depends on the offense and the outcome, and we review that question for your file.
Can I contact my children or the other parent?
Ask your lawyer before any contact. Bond conditions and protective orders can limit it.

Talk Through Your Situation Before Anything Else Is Decided
If a chat sting charge has landed while a custody or CPS matter is open, you may be reading this at a hard hour. You don’t have to decide your next step alone.
Call (972) 424-1902 or send us your case details for a free, confidential first consultation with no obligation to continue.
Attorney responsible for this site: Heather Barbieri, Barbieri Law Firm, Frisco, Texas.
How Barbieri Law Firm Approaches These Cases
Full file review
We review the complete record, including the chat logs, the account and device information, and the affidavit or charging documents.
Defense of the charge
We examine how the contact started, who initiated it, what was said, and whether the evidence meets each element of the offense.
Clear options
We explain the options available in your case, the possible consequences of each, and what happens next, so you can make informed decisions.
Confidential from the first call
Your conversations with our team are confidential, and you are under no obligation to continue after the consultation.
Before You Speak to Anyone
Do not delete messages, contact the person involved, or give a statement to investigators or anyone else until you have spoken with a lawyer about your case.
What We Look at in Your Case
The messages
We look at the full conversation, the timing, the words used and the context surrounding every message.
The investigation
We review how the officer set up the account, what was approved, and how the operation was documented.
The charge
We compare the charging language against the statute and the evidence the State actually has.
Your next step
We explain what happens next and help you plan how to protect your rights and your future.
Talk With Our Team Before You Respond to Anyone
Related practice areas
- Online Sex Crimes Defense Lawyer
- Sex Crimes Defense Lawyer in Collin County
Request a Consultation
Fill out the short form and we will take it from there.

