Facing a Charge Involving a 17-Year-Old? Start With the Facts.
Age, dates, the relationship between the people involved and the available evidence all affect how a Texas case is analyzed. Here is how these questions are approached, and how to reach a Frisco defense team.
By Heather Barbieri · Published November 10, 2026
If someone you love has been accused over sexual contact with a 17-year-old, the age question comes first. Whether any offense applies turns on consent and the conduct involved.
Each Texas statute sets its own age line. Here is how those lines work, and what changes at 17.
The complainant’s age decides which offense can apply
Texas does not use one age line for every sexual offense.
Under the child-based statutes, a child is someone younger than 17. Aggravated sexual assault uses a lower line, younger than 14, for one of its paths. Online solicitation uses the word “minor” with a similar limit.
A 17-year-old sits just past the edge of those child rules. Age is not the whole test, though. Consent and conduct also matter, and each charge has its own elements. Our child sex crimes defense guide covers the wider process that follows an accusation.
Not sure what your next step is?
Talk it through with our team — the first consultation is free, confidential, and carries no obligation.

The ages that matter under Texas law
Aggravated sexual assault is the most serious category here. Aggravated sexual assault is a first-degree felony in Texas. One path applies when the victim is younger than 14, whether or not the actor knows the victim’s age.
Sexual assault of a child is in Texas Penal Code § 22.011. The statute defines a child as a person younger than 17. The child-based provisions apply regardless of whether the actor knows the child’s age. A second-degree felony is punishable by imprisonment in the Texas Department of Criminal Justice for any term of not more than 20 years or less than 2 years, and may also carry a fine of up to $10,000 (Texas Penal Code § 12.33).
Indecency with a child, under Texas Penal Code § 21.11, also reaches a child younger than 17. Sexual contact is a second-degree felony. Exposure done with intent to arouse or gratify sexual desire is a third-degree felony.
Statutes define the child by age, not by how mature a teenager seems. Read the exact wording of the charge, because each statute has its own elements.
What changes when the complainant is 17
By age alone, a 17-year-old falls outside the child-based offenses.
Under Texas Penal Code § 22.011(c)(1), the statute defines a ‘child’ by age as a person younger than 17 years of age.
Under Texas Penal Code § 22.011(a)(1), a person commits an offense if the person causes the penetration of the anus or sexual organ of another person by any means, without that person’s consent. It turns on consent. A review asks whether any of those circumstances existed.
Online offenses follow the same age logic. Online solicitation defines a minor as a person younger than 17, or one the actor believes is younger than 17. A 17-year-old is not a minor under that definition as written. Internet crimes involving children also fall within the Internet Crimes Against Children Task Force Program, which addresses technology-facilitated child sexual exploitation.
Each statute is read on its own. Whether any offense fits turns on the facts of the case.
The Romeo and Juliet defense and its limits
Texas has close-in-age defenses, but they cover only a narrow gap and must be raised in the case.
The Romeo and Juliet idea is not one Texas rule. Three statutes carry a version of the three-year gap. Under Texas Penal Code § 22.011(e), it is an affirmative defense to prosecution under Subsection (a)(2) that the actor was not more than three years older than the victim at the time of the offense, if the other conditions listed in that subsection are also met.
Under Texas Penal Code § 21.11(b), an affirmative defense applies to an actor who was not more than three years older than the victim and of the opposite sex, did not use duress, force, or a threat, and meets the listed registration conditions. Under Texas Penal Code § 33.021(e), for conduct described in Subsection (c), a defense applies when the actor was married to the minor, or was not more than three years older than the minor and the minor consented.
An affirmative defense is raised and proven within a case. It does not make the conduct lawful on its own. The gap does not cover an accused who is more than three years older.
How the accused’s knowledge of age affects the analysis
Knowledge of age matters in some Texas charges and not in others.
Under Texas Penal Code § 22.011(a)(2), the offense applies regardless of whether the person knows the age of the child at the time of the offense. Under the online statute, the actor’s belief about age is built into the definition of minor.
Where an offense does turn on what the accused knew or believed, the evidence can include identification, statements, messages, and the complainant’s appearance and presentation. A message or statement can carry different weight depending on when and how it was made. Each item is weighed in the context of the whole case.
The accused’s own account and what was said at the time are central to the review.
What shapes a case and what to do next
The exact ages, the nature of the contact and the evidence shape how a case is read.
Key details include the complainant’s exact birth date, the accused’s age, what contact occurred, whether consent existed, when any report was made, and what documents exist. Dates often decide the age question, so a clear timeline matters.
One detail is often overlooked. Under Texas Code of Criminal Procedure art. 42.017, in the trial of an offense under Penal Code § 21.11 or § 22.011, a judge must make an affirmative finding in the judgment if the judge determines that the defendant was not more than four years older than a victim who was at least 15, and the conviction rests solely on those ages.
If you’re helping a loved one now, a few steps protect the record. Keep phones and messages intact and do not delete anything. Do not contact the complainant or post about the matter. Write down dates and events while they are fresh.
Questions about talking to CPS, DNA and medical exams, and recantations each deserve their own answer.
Not sure what your next step is?
Talk it through with our team — the first consultation is free, confidential, and carries no obligation.
Common questions about 17-year-olds and Texas age laws
Texas uses age lines that differ by statute, and 17 is one of them.
Is sex with a 17-year-old a crime in Texas?
Under Texas law, the child-based sex offenses turn on whether the complainant is younger than 17 or, for online solicitation, whether the actor believed the person was younger than 17. Section 22.011(b) lists circumstances in which a sexual assault under Subsection (a)(1), the consent-based offense, is without the consent of the other person. Some of these turn on the actor’s role. One example is a health care services provider who, while performing an assisted reproduction procedure, uses a donor’s reproductive material knowing the other person has not expressly consented to that donor (Subsection (b)(12)). These circumstances apply to the consent-based offense and are separate from the child-based offense under Subsection (a)(2).
Is 17 a legal age in Texas?
Seventeen is the line these statutes use to define a child or a minor. Other laws set different ages.
Can a 16-year-old have a relationship with someone over 18?
For purposes of the sexual assault statute, Texas Penal Code § 22.011(c)(1) defines “child” as a person younger than 17 years of age. The three-year gap affirmative defense in Penal Code § 22.011(e)(2) is available only if the accused was not more than three years older than a child who was 14 or older, so it does not apply to an accused who is more than three years older. Under § 22.011(a)(2), the offense applies regardless of whether the person knows the child’s age at the time of the offense, and under § 22.011(c)(1), “child” means a person younger than 17 years of age.
What are Romeo and Juliet laws in other states?
What is the age of consent in Texas in 2026?
Texas sets ages offense by offense in its statutes. The age that applies depends on the charge.

Talk with a Texas criminal defense lawyer about your loved one’s situation
A criminal defense lawyer can sort out the ages, consent facts and statute that apply to your loved one’s case.
If a charge over contact with a 17-year-old is weighing on your family, these questions now shape every next step. You do not have to sort them out alone.
Barbieri Law Firm is an all-women criminal defense firm in Frisco, Texas, serving Collin County, Dallas-Fort Worth and Texas. Our free initial consultation is confidential, with no obligation to continue. Call (972) 424-1902 or send us your case details.
We will review the facts, the statute that applies and the evidence, then explain your options. No lawyer can promise how a case will end.
Attorney responsible for this site: Heather Barbieri, Barbieri Law Firm, Frisco, Texas.
How Barbieri Law Firm approaches these cases
Review of the evidence
We review the age evidence, messages or records, timelines and the charging documents, then explain the offenses that may apply.
Free initial consultation
Our first consultation is free, confidential and carries no obligation to continue.
Serving Collin County and beyond
We represent clients in Frisco, Plano, McKinney, Allen, Prosper and across Dallas-Fort Worth and Texas.
Every case turns on its own facts
This page provides general information about Texas law. It is not legal advice for your situation, and reading it does not create an attorney-client relationship.
Questions we help clients work through
The exact age and dates
Age at the time of the conduct, and the dates involved, often shape which charge applies and what proof matters.
Consent is only one piece
Texas statutes address consent alongside other circumstances, so the details of each situation need careful review.
The role of the other person
Who the other person was, and what authority or relationship existed, can change how an allegation is analyzed.
Online messages and records
Texts, social media messages and digital records require close review for context, authorship and timing.
Have questions about a charge? Talk with our team in Frisco.
Related practice areas
Request a Consultation
Fill out the short form and we will take it from there.

