Free Consultations
Available 24/7
Computer workstations and monitors showing network analysis software in a digital forensics lab.

Online Sex Crimes Defense | Frisco, Texas

Charged After an Online Sting? Entrapment Is One Issue We Examine Closely

Chats, timing and the conduct of the investigators can all matter. Here is how a defense lawyer reviews an online sting case from the first message to the final record.

By Heather Barbieri · Published November 12, 2026

An arrest after an online chat can come out of nowhere. The charge can feel like it defines everything, especially when a divorce, custody fight or CPS case is already underway. If you’re asking whether an entrapment defense fits, here’s the short answer: in Texas, entrapment is a defense when police induce someone to commit a crime, but not when police only give a person a chance to commit one. Whether that line was crossed turns on the messages, who started them and what the officer did.

What an online sex sting is and why the charge feels so heavy

In a typical online sting, an officer poses as a minor or a third party, chats with the target and sets up a meeting or an arrest. The first messages often matter most, because they show who raised sexual topics first.

The charge depends on what the state alleges. Under Texas Penal Code § 33.021, a person commits an offense by knowingly soliciting a minor online to meet another person, intending that the minor engage in sexual contact, sexual intercourse or deviate sexual intercourse. That offense is a second-degree felony. The statute also treats as a “minor” someone the actor believes is younger than 17, which is how it reaches sting cases.

Punishment depends on the felony level. A second-degree felony carries 2 to 20 years in prison and a fine up to $10,000 under Texas Penal Code § 12.33.

If a CPS case is open, the DFPS child-abuse reporting page explains that its civil welfare investigations are separate from law-enforcement criminal investigations. The two can move on different tracks. For the broader picture, read our online sex crimes defense overview.

If online messages sit at the center of your case, you don't have to review the evidence alone; reach out to our team to talk through your options. Talk it through with our team — the first consultation is free, confidential, and carries no obligation.

Close-up of a hand resting on a desk beside a stack of documents and newspaper clippings.

What entrapment means under Texas law

Entrapment is a defense to prosecution under Texas Penal Code § 8.06 when a law enforcement agent induces the conduct charged.

  • Opportunity: The officer creates a chance, such as a profile or an open chat. The person decides what to do next. The statute says that merely affording an opportunity is not entrapment.
  • Inducement: The officer uses persuasion or other means likely to cause a person to commit the offense.

The statute defines “law enforcement agent” broadly. It covers state, local and federal personnel, plus anyone acting on their instructions. So an informant working for police falls within it too.

Because the question is what induced the conduct, the messages become the central record. A lawyer compares each officer message with each reply. The defense asks whether the officer’s words or tactics pushed the conversation toward the offense. Repeated requests and heavy pressure are the kinds of tactics a lawyer looks for. The same tactic can look different on different records, so each case turns on its own facts.

What evidence a defense lawyer tests in a sting case

A defense lawyer tests the accusation by reading the full record, from the first message to the last search. In a typical review, the lawyer examines:

  • Full chat history: who first raised sexual topics, who suggested a meeting, and whether officer messages introduced or pushed the subject.
  • The officer’s profile: the age, photos and details presented, and whether the profile was built to steer talk toward a meeting.
  • Recordings and timestamps: whether screenshots, logs or recordings are complete, in order, and free of gaps or edits.
  • Devices and accounts: the warrant or consent used to search them, and whether the search stayed within it.
  • Your statements: what was said during arrest or questioning, and how it was obtained.

Two common mistakes are deleting messages or accounts and posting about the case online. Both can change what the record shows. For guidance on a detective’s request to talk, see detective requests after online messages.

Other ways the accusation can be tested

A sting case can be tested on more than entrapment. The questions include who used the device and whether the charge fits the conduct.

  • Shared devices: On a family computer or phone, who else had access when the messages were sent?
  • Attribution: Can the state tie the messages to the accused, and not to someone else with access to the account?
  • Charge and felony level: Under Texas Penal Code § 33.021, the felony level depends on the subsection and, for some offenses, on whether the minor is younger than 14 or is an individual whom the actor believes to be younger than 14 years of age. The punishment goes up to the next higher category if it is shown at trial that the offense occurred during regular public or private primary or secondary school hours and the actor knew or reasonably should have known that the minor was enrolled in a public or private primary or secondary school at the time of the offense.
  • Defenses in the statute: The statute lists two. One is marriage to the minor. The other applies only to a charge under Subsection (c) and covers an actor who, at the time conduct described by Subsection (c) was committed, was not more than three years older than the minor and the minor consented to the conduct.
  • Bond terms: Review any conditions that affect work, family contact or internet use.
  • Raise this with your lawyer early.

What to expect after you contact a defense lawyer

After you contact a lawyer, the work starts with a consultation and a review of the paperwork. The process usually moves through these steps:

  1. Initial consultation: Review the arrest papers, charging documents, bond terms and any messages or statements you remember.
  2. Records review: Request the state’s evidence, including the full message record and investigative files.
  3. Analysis: Test entrapment, identity, the charge and the search issues against the facts.
  4. Next steps: Explore motions and talks with the prosecutor about any offer. Then decide with your lawyer whether to accept, reject or go to trial.

Before the consultation, gather the arrest paperwork, bond papers and any screenshots you saved. Keep them in one folder. Timelines vary by county, court and case. No lawyer can set a schedule before reviewing the file. For how plea offers are reviewed, see plea offers in solicitation cases.

Why Barbieri Law Firm handles online sex sting cases

Barbieri Law Firm is an all-women criminal defense firm in Frisco, Texas. We defend people accused of sex crimes and assaultive offenses in Collin County, the Dallas-Fort Worth area and across Texas.

The firm is led by Heather Jean Barbieri, Board Certified, Criminal Law — Texas Board of Legal Specialization. Our lawyers include Heather Barbieri and Carrie Thomas.

Our team handles aggravated sexual assault, child sex crimes, online sex crimes, aggravated assault and family violence matters. We review the evidence with you, including the messages, the profile and the search records, and explain your options. Calls go to (972) 424-1902.

Not sure what your next step is?

Talk it through with our team — the first consultation is free, confidential, and carries no obligation.

Police officers reviewing evidence and taking notes at a table during an investigation.

Questions people ask about an entrapment defense in a Texas sting

Entrapment is one defense among several, and no lawyer can predict how a case will end.

Does entrapment mean the charge will be dropped?

No. It is one issue that depends on the evidence, and the whole record matters.

Can chat messages alone prove what I intended?

A defense lawyer checks who wrote each message, what came before it, and whether the record supports the charge.

Should I talk to the detective to explain myself?

Speak with a defense lawyer first, before you answer any detective’s questions.

Is the first consultation free?

Yes. The initial consultation is free, confidential and carries no obligation to continue.

If online messages sit at the center of your case, you don’t have to review the evidence alone. Reach out through our contact page to talk through your options.

Attorney responsible for this site: Heather Barbieri, Barbieri Law Firm, Frisco, Texas.

Barbieri Law Firm, 17 Cowboys Way, Suite 175, Frisco, TX 75034. The information you obtain at this site is not, nor is it intended to be, legal advice. You should consult an attorney for advice regarding your individual situation. Contacting us does not create an attorney-client relationship. Results listed are not a guarantee or indication of future case results.

What We Review in an Online Sting Case

Who Sent Each Message

We check account details, device access and who had control of the conversation, since the government's case often rests on assumptions about the sender.

How the Sting Began

We look at who started the contact, what prompted it, and whether the investigators' words and suggestions shaped the conversation.

What the Record Shows

We compare the full chat history, timestamps, recordings and reports against the charge to see what the evidence actually supports.

Your Options

We explain the available paths, including motions, negotiations and trial preparation, so you can make informed decisions about your case.

Why Clients in Collin County and Beyond Contact Our Firm

Criminal Defense Focus

Barbieri Law Firm focuses on criminal defense, including sex crimes and assaultive offenses, in Collin County, Dallas-Fort Worth and across Texas.

An All-Women Firm

Our team is made up entirely of women, and we bring careful attention and direct communication to every case.

Board Certification

Heather Jean Barbieri, Board Certified, Criminal Law — Texas Board of Legal Specialization

Detailed Case Review

We review the evidence, including the chats, the sting procedures and the reports, and explain what we find in plain language.

Speak With a Lawyer Before You Speak With Investigators

Statements made to detectives or during a sting can become evidence. Contact a defense lawyer before you answer questions, delete messages or contact anyone involved in the case.

How to Get Started

1. Tell Us About Your Case

Share what you know, including the charge and any paperwork you have received, through our confidential contact form or by phone.

2. Free Initial Consultation

Our free first consultation is confidential and carries no obligation to continue. We will listen, answer your questions and explain the process.

3. Case Review and Options

We will review the evidence and explain your options.

Facing an Online Sex Sting Charge in Texas? Talk to Our Team Today

Request a Consultation

Fill out the short form and we will take it from there.

Call Now — Free Consultation (972) 424-1902