Free Case Review · Confidential Office hours 8 to 6 · Emergencies answered 24/7 · Hablamos Español
Call (214) 526-0555
(214) 526-0555Free Case Review
Home/ Legal Guides/ Improper Relationship Between Educator and Student in Texas
Sexual Offenses 8 min read Updated October 28, 2026

Improper Relationship Between Educator and Student in Texas

Straight Answer

What is an improper relationship between educator and student in Texas?

Under Penal Code §21.12, it is a second degree felony, 2 to 20 years, for an employee of a public or private primary or secondary school to engage in sexual contact, sexual intercourse or deviate sexual intercourse with a student. The fact that surprises people most: the student's age is not an element. A relationship with an 18 year old senior is the same offense as one with a 15 year old. The second surprise runs the other way: §21.12 by itself is not a registerable offense under the sex offender registration chapter, although the charges that usually accompany it are.

TL;DR
  • Second degree felony, 2 to 20 years and a fine up to $10,000. There is no lesser grade in the statute.
  • Age is irrelevant to the offense. Consent is irrelevant too. The relationship between employee and enrolled student is what the statute punishes.
  • Three routes: a student at the school where you work; a student at any primary or secondary school if you hold a position described by Education Code §21.003; or online solicitation conduct under §33.021 with such a student.
  • Two written affirmative defenses: the actor was the student's spouse, or was not more than three years older and the relationship began before the employment.
  • §21.12 is not listed in the registration chapter. Companion charges such as sexual assault, indecency with a child and online solicitation are, so which section the case resolves under decides whether registration follows.
  • §21.12(c) lets the State prosecute under this section and another for the same conduct.
  • The statute restricts publicity: the student's name is not public information, and a school may not release an accused employee's name to the general public before indictment, with exceptions.

These cases move faster than almost any other accusation, because a school investigation, a Texas Education Agency report and a criminal investigation usually start within days of each other and feed one another. A teacher, coach, aide or administrator is often asked to explain in a district meeting before anyone has mentioned a lawyer, and what is said there arrives in the criminal file. Peter M. Barrett has defended sexual offense accusations in Dallas County since 1994, across more than 150 jury trials, and the case review is free and confidential. This guide sets out what §21.12 actually requires.

Who the statute applies to

It reaches an employee of a public or private primary or secondary school. That is broader than teachers: aides, coaches, counselors, administrators, bus drivers, cafeteria and maintenance staff are employees of a school. It does not reach employees of colleges or universities, which is why those cases are charged differently when they are charged at all.

§21.12(a) then sets out three ways to commit the offense.

  1. A student at your own school. Sexual contact, sexual intercourse or deviate sexual intercourse with a person enrolled at the school where the employee works.
  2. A student at any school. Where the employee holds a position described by Education Code §21.003(a) or (b), regardless of whether they hold the certificate or license for it, and the conduct is with a person the employee knows is enrolled at another primary or secondary school, or is a student participant in a school-sponsored educational activity.
  3. Online solicitation conduct. Engaging in conduct described by §33.021 with such a person, regardless of the age of that person.

Why age and consent do not help

Texas sets the age of consent at 17, and a great many people charged under §21.12 were in a relationship that would have been lawful between two private adults. The statute does not care. It is written around the employment and enrollment relationship, not around the capacity to consent. An 18 year old student who initiated the relationship, who is legally an adult, and who does not wish to make a complaint, does not take the conduct outside §21.12.

That is also why "they were over 17" is not a defense here even though it is decisive under other sections. The sexual offense practice page sets out how the age-based offenses differ.

The two written defenses

§21.12(b-1) provides two affirmative defenses, and they are narrow:

Being affirmative defenses, these are raised and proved by the defense rather than disproved by the State, so the evidence that establishes when a relationship began matters from the first week of a case.

Registration, and the point that decides these cases

This is the most consequential thing on the page. §21.12 does not appear anywhere in Code of Criminal Procedure chapter 62, the sex offender registration chapter. A conviction for improper relationship between educator and student, standing alone, is not a reportable conviction and does not by itself trigger registration.

That is rarely the end of it, because §21.12(c) expressly allows the State to prosecute under this section and any other section the conduct also violates. The sections that usually travel with it are reportable under art. 62.001(5):

OffenseGradeRegistration
§21.12 improper relationship2nd degree felonyNot listed in chapter 62
§22.011 sexual assault, where the student is under 172nd degree felonyReportable
§21.11 indecency with a child2nd or 3rd degreeReportable
§33.021 online solicitation of a minor2nd or 3rd degreeReportable

So in a case where the student was 17 or older, the realistic objective is often not a shorter sentence but a resolution under §21.12 rather than under a reportable section. That single distinction decides whether a person registers for a period measured in decades. What registration involves is set out in the registration guide.

What the statute says about publicity

Two subsections deal with names, which matters because these allegations spread through a community before anyone has seen the evidence.

Where these cases are defended

Common questions

What is the punishment for improper relationship between educator and student in Texas?

It is a second degree felony under Penal Code §21.12(b), punishable by 2 to 20 years in prison and a fine of up to $10,000. The statute provides no lesser grade, so the offense carries the same range whatever the student's age and whether or not the student says the relationship was consensual.

Does it matter if the student was 18?

No. The student's age is not an element of §21.12. The statute is built on the relationship between a school employee and an enrolled student, so a relationship with an adult student at the school is the same offense as one with a minor. Age does matter for the companion charges, which is where registration comes from.

Does a conviction require sex offender registration?

Not on its own. §21.12 does not appear in Code of Criminal Procedure chapter 62, so it is not a reportable conviction. The charges that commonly accompany it, including sexual assault under §22.011, indecency with a child under §21.11 and online solicitation under §33.021, are reportable. Which section the case resolves under therefore decides whether registration follows, and that is usually the central issue.

Is there a defense if we were close in age?

There is, and it has two halves that both have to be met. §21.12(b-1) provides an affirmative defense where the actor was not more than three years older than the enrolled person and the two were in a relationship that began before the actor's employment at the school. A relationship that started after the employment began does not qualify, however small the age gap.

Can the school release my name?

Not externally to the general public before indictment, under §21.12(d-1). The school may still release it as necessary to report to the Texas Education Agency, another state agency or law enforcement, to inform its own community in line with its policies, or to carry out its investigation. The student's name is separately protected under §21.12(d) and is not public information.

Can I be charged if nothing physical happened?

Yes, through the third route. §21.12(a)(3) covers engaging in conduct described by §33.021, the online solicitation statute, with a student, regardless of that person's age. That means certain communications can support the charge without any physical contact, which is why messages are usually the center of the evidence.

The district has asked me to attend a meeting. What should I do?

Speak to a lawyer before that meeting, not after it. District investigations are not confidential as against a criminal case, and an explanation given to keep a job routinely becomes the State's evidence. Do not contact the student or delete anything on your devices, because that creates a separate offense. The consultation is free and confidential: (214) 526-0555, answered 24/7 for emergencies.

This page is general legal information about Texas law, not legal advice about your case. Reading it does not create an attorney-client relationship. Laws change, so confirm the current rule with a licensed Texas criminal defense attorney about your specific facts. Request a free, confidential case review.

Free · Confidential · No Obligation

Accused? Say nothing. Call first.

Tell us what happened and get a straight answer about where you stand.