
Online Sex Crimes Defense | Collin County & Dallas-Fort Worth
What Is Rachel's Law in Texas? A Plain Guide
Rachel's Law is a name many people search for when they are facing an online contact charge. Here is what the term means, which Texas statute it points to, and how to get clear answers about your situation.
By Heather Barbieri · Published October 19, 2026
Readers search for “What is Rachel’s law in Texas?” after hearing the name in the news or from someone involved in a case. The name alone doesn’t tell you which rules apply. This guide explains the Texas statutes that cover online sexual conduct involving minors, plus the age rules that often come up with them. It also explains how online cases usually start.
What Rachel’s law means in Texas
For online contact with a minor, the core statute is Texas Penal Code § 33.021. It is part of Texas criminal law.
The statute defines a minor as a person younger than 17. It also covers someone the actor believes is younger than 17. That means belief about age matters, not only the true age. Keep that in mind as you read the rest of this guide.
If a message, account, or device is part of your situation, you don't have to sort out Texas law alone. Talk with us in a free, confidential consultation. Talk it through with our team — the first consultation is free, confidential, and carries no obligation.

How online cases usually reach investigators
Online cases can start with a report, not a knock on the door. The National Center for Missing & Exploited Children says suspected online enticement can be reported to its CyberTipline. NCMEC reviews those tips and refers them to law enforcement agencies for possible investigation.
Investigators also work through dedicated task forces. The federal Internet Crimes Against Children Task Force Program supports investigations of technology-facilitated child sexual exploitation. NCMEC also describes online enticement and the grooming tactics tied to it.
A tip is not a charge. After a report, investigators look at what was sent, who sent it, and from which account. Each of those questions can shape what happens next.
What the online solicitation statute covers
Texas Penal Code § 33.021 addresses online conduct directed at a minor, including communicating in a sexually explicit manner with a minor and knowingly soliciting a minor, over the Internet or by electronic message, to meet another person for sexual contact, sexual intercourse, or deviate sexual intercourse. Under subsection (b), a person who is 17 years of age or older commits an offense if, with the intent to commit an offense listed in Article 62.001(5)(A), (B), or (K), Code of Criminal Procedure, the person intentionally communicates in a sexually explicit manner with a minor or distributes sexually explicit material to a minor.
Subsection (c) is a second-degree felony. Under Texas law, a third-degree felony is punishable by imprisonment for not less than 2 nor more than 10 years, and a fine not to exceed $10,000 may be added (Penal Code § 12.34).
Under Penal Code § 33.021(f-1), the punishment for an offense under this section is increased to the punishment prescribed for the next higher category of offense if it is shown on the trial of the offense that the actor committed the offense 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. The Texas Attorney General’s cyber safety initiative also provides Texas-specific information on online solicitation of minors. Whether any charge fits depends on the facts, including the ages, the messages, the dates, and the account used.
How Romeo and Juliet provisions relate to age-based charges
They work differently from one another, so don’t treat them as one rule. Under subsection (e), the defense applies to conduct described by subsection (c) of Penal Code § 33.021. It covers an actor who was married to the minor. It also covers an actor who was not more than three years older than the minor, if the minor consented. Texas Penal Code § 33.021 reads: “(f) An offense under Subsection (b) is a felony of the third degree, except that the offense is a felony of the second degree if the minor is younger than 14 years of age or is an individual whom the actor believes to be younger than 14 years of age at the time of the commission of the offense.” Those ages and that consent are measured at the time the conduct was committed.
Subsection (b) has no consent defense in the statute’s text. Also, Penal Code § 22.011 defines a child as a person younger than 17, which is a separate rule for sexual assault.
Section 33.021(e) provides a defense to prosecution under Subsection (c) if, at the time of the conduct, the actor was married to the minor, or the actor was not more than three years older than the minor and the minor consented to the conduct. Texas Penal Code § 33.021 reads: “(f) An offense under Subsection (b) is a felony of the third degree, except that the offense is a felony of the second degree if the minor is younger than 14 years of age or is an individual whom the actor believes to be younger than 14 years of age at the time of the commission of the offense.”
What phones and devices mean in these cases
Messages, accounts, and devices are often central in online cases. Section 33.021 turns on communication sent over the Internet, by email or text, or through a commercial online service. That makes the sending account and device important to the facts. Questions about who had access to a device or login, and when, can matter. Shared phones and shared accounts raise those questions.
Messages show what was written. They do not, by themselves, show who typed them. Readers who want more detail can read about disputed accounts and devices, whether police can search a phone, and licensed professionals facing these charges. Each topic turns on how the evidence was gathered.

Talking with a Texas criminal defense lawyer about your situation
A lawyer can explain how these statutes apply to the facts in a specific case. You may be reading this because a family member, a partner, or you yourself are facing an investigation. Early decisions can matter, and they can come fast.
Barbieri Law Firm is based in Frisco, Texas. It defends sex crimes and online sex crimes across Collin County, Dallas-Fort Worth, and Texas. Heather Jean Barbieri, Board Certified, Criminal Law — Texas Board of Legal Specialization, leads the firm.
Frequently asked questions
What is Rachel’s law in Texas?
It is the name many people search for. The Texas statute on online contact with a minor is Penal Code § 33.021.
How old is a minor under Texas law for this offense?
The statute defines a minor as someone younger than 17, or someone the actor believes is younger than 17.
Can someone be prosecuted if the meeting never happened?
Under § 33.021(d), it is not a defense to the solicitation offense that the meeting did not occur.
If a message, an account, or a device is part of what you’re trying to understand, you don’t have to sort it out alone. A free, confidential initial consultation, with no obligation to continue, is a place to start. Call (972) 424-1902 or send your case details through our contact form. No lawyer can promise a particular outcome.
Attorney responsible for this site: Heather Jean Barbieri, Barbieri Law Firm, Frisco, Texas.
What This Guide Covers
What the name means
A plain explanation of where the term 'Rachel's Law' comes from and why it is searched so often.
The Texas statute
The Texas Penal Code provision that governs online contact with a minor, and the key words in that statute.
Who the law involves
How Texas defines a minor in this context, and why the age of the person involved matters to the case.
How a defense is built
The questions a criminal defense lawyer reviews, including messages, accounts, timing and what the state can actually prove.
Questions People Ask Most
Is Rachel's Law a real statute?
The name is common in searches, but the Texas law on online contact with a minor is Penal Code § 33.021. This guide explains what that section covers.
Who can be charged?
Charges depend on the facts: the messages, the accounts used, what the accused person knew about the other person's age, and the context of the contact.
What should I do if I am contacted?
Avoid deleting messages, posting about the matter or discussing it with others. Speak with a criminal defense lawyer before you answer questions about it.
Where do I start?
Bring your questions to Barbieri Law Firm in Frisco. We review the facts, explain the charge in plain terms and walk you through your options.
Important: Do Not Discuss Your Case Online
Messages, posts, texts and comments about an investigation can be shared, saved and used later. Do not contact the other person, do not post about the matter and do not talk about it with anyone except your lawyer.
Talk Through Your Situation With Barbieri Law Firm
Related practice areas
- Online Sex Crimes Defense Lawyer | Collin County & Texas
- Online Sex Crime Defense When the Account, Device or Messages Are Disputed: Texas Lawyer
- Educator Improper Relationship Defense Lawyer Texas
Request a Consultation
Fill out the short form and we will take it from there.

