top of page
< Back

San Antonio Improper Educator-Student Relationship Lawyer: Charges Under Penal Code § 21.12

Improper relationship between educator and student is an offense under Penal Code § 21.12. It applies to an employee of a public or private primary or secondary school who engages in sexual contact, sexual intercourse, or deviate sexual intercourse with a person enrolled at the school where the employee works, and in some situations with a student enrolled somewhere else. The offense is a second degree felony. A San Antonio improper educator-student relationship lawyer first asks which part of the statute the State alleges.


What the State has to prove under Section 21.12


The statute describes three ways to commit the offense, each proved beyond a reasonable doubt.


  1. Same school. The accused was an employee of a public or private primary or secondary school and engaged in sexual contact, sexual intercourse, or deviate sexual intercourse with a person enrolled at the school where the employee works. This part covers any employee of the school, not only teachers.
  2. Different school or a school activity. The accused was a school employee who held a position described by Education Code § 21.003(a) or (b), whether or not he or she held the certificate or license for it, and engaged in the same conduct with a person the employee knew was enrolled at another primary or secondary school, or knew was a student participant in an educational activity sponsored by a school district or school in which enrolled students are the primary participants. Those positions include teacher, librarian, educational aide, administrator, school counselor, and licensed professionals such as nurses and social workers.
  3. Electronic communication. The accused was a school employee and engaged in conduct described by Penal Code § 33.021, the online solicitation statute, with one of the students described above, "regardless of the age of that person."


Section 21.12(e) gives "sexual contact" its own definition for this offense, which requires proof of intent to arouse or gratify the sexual desire of any person.


Neither of the first two parts states an age for the enrolled person. Where the student is at another school or in a school activity, the State must prove the employee knew it.


Section 21.12(b-1) provides two affirmative defenses: that the actor was the spouse of the enrolled person at the time, or that 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 a primary or secondary school. Under Penal Code § 2.04, the accused must prove an affirmative defense by a preponderance of the evidence. Section 21.12 does not list consent as a defense.


The punishment range for a Section 21.12 charge


  • Improper relationship between educator and student (second degree felony): 2 to 20 years in prison, fine up to $10,000 (Penal Code §§ 21.12(b), 12.33)


That is the only grade the section sets. Under § 21.12(c), if the same conduct is also an offense under another Penal Code section, the person may be prosecuted under either section or both. An indictment may carry additional counts, such as sexual assault or online solicitation of a minor, each with its own range.


What a conviction means outside the courtroom


Sex offender registration. The list of reportable convictions is in Code of Criminal Procedure article 62.001(5). Section 21.12 is not on that list. Several offenses that can be charged alongside it are, including sexual assault (§ 22.011), indecency with a child (§ 21.11), and online solicitation of a minor (§ 33.021). Whether registration is required depends on which offense a conviction or deferred adjudication is for.


Firearms. Under Penal Code § 46.04(a), a person convicted of a felony may not possess a firearm until five years after release from confinement or from community supervision, parole, or mandatory supervision, whichever is later, and after that only at the premises where the person lives. Federal law, 18 U.S.C. § 922(g)(1), separately bars a person convicted of a crime punishable by more than one year from possessing a firearm, with no five-year limit and no home exception.


Name and license. A teaching certificate or professional license is a separate matter from the criminal case and should be reviewed on its own. Section 21.12(d-1) generally bars a school from releasing the accused employee's name to the general public until the employee is indicted, with exceptions that include reporting the accusation to the Texas Education Agency, another state agency, or local law enforcement and for conducting its investigation. Under § 21.12(d), the enrolled person's name may not be released to the public.


Whether a record can later be sealed depends on the offense and the outcome, a subject covered on the expunction and nondisclosure page. Anyone who is not a United States citizen needs advice about immigration consequences before entering any plea.


How the case moves through Bexar County


A school may open its own investigation before or alongside the police. If a warrant issues, the person is arrested or turns himself in and goes before a magistrate, in San Antonio usually at the Magistrate's Office on Comal Street, where bond and bond conditions are set. Because the charge is a felony, the Bexar County District Attorney's Office presents it to a grand jury. If an indictment is returned, the case is assigned to a district court at the Cadena-Reeves Justice Center or the Bexar County Courthouse.


What this office examines in an educator-student case


Enrollment and employment on the dates alleged. The records have to show that the person was enrolled, and that the accused was employed, on the dates in the indictment. A graduation, a withdrawal, or an ended contract can change which part of the statute applies, or whether any does.


Knowledge and position. For a student at another school or in a school-sponsored activity, the State must prove what the employee knew and that the position is one Education Code § 21.003 describes.


Messages and statements. Where the evidence is texts, social media accounts, or a phone extraction, the questions are who wrote what and whether the phone or account was searched lawfully. What the accused told a principal, a district investigator, or a detective is examined the same way. Under Code of Criminal Procedure article 38.23, evidence obtained in violation of the law may not be used against the accused at trial.


The affirmative defenses. A marriage, or an earlier relationship and the age difference, has to be documented, because the accused carries that burden.


Questions people ask about improper educator-student relationship charges in Texas


Is it still a crime if the student is 18?

It can be. The first two parts of Penal Code § 21.12 turn on whether the person was enrolled at a primary or secondary school and whether the accused was a school employee. Neither part states an age for the enrolled person. The third part, which covers conduct described by the online solicitation statute, applies "regardless of the age of that person."


Does the law only apply to teachers?

No. When the student is enrolled at the school where the accused works, the statute covers any employee of that school. When the student attends a different school or takes part in a school-sponsored educational activity, it covers school employees who hold positions described by Education Code § 21.003(a) or (b), such as teachers, aides, librarians, counselors, administrators, and nurses, whether or not they hold the certificate or license.


Does a conviction under Section 21.12 require sex offender registration?

Section 21.12 is not among the reportable convictions listed in Code of Criminal Procedure article 62.001(5). But the State may prosecute the same conduct under other sections, and sexual assault, indecency with a child, and online solicitation of a minor are on that list.


Before you return the school's call or the detective's


What you say to the school district or to a detective may become evidence in a second degree felony case. You may speak with a lawyer before you return either call. Call (210) 201-3096, or write through the contact form.


By Christian O. Vega, Attorney at Law

The Law Office of Christian Vega · 130 E Travis St, Suite 425, San Antonio, Texas 78205

Texas State Bar No. 24121180

FREE CONSULTATION

Talk to Christian about your case

SACDLA Young Lawyer of the Year, 2023–2024. Calls and texts answered evenings and weekends.

Charged in Bexar County? Talk to a lawyer before your first court date.

Free, confidential consultation. Flat fees and flexible payment plans.

Proud Member of the Texas Bar College badge

Law Office of Christian Vega

Telephone: (210) 201-3096

Email: christianvegalaw@gmail.com

San Antonio Criminal Defense Lawyers Association logo
Texas Criminal Defense Lawyers Association logo

Law Office of Christian Vega

130 E Travis St, Suite 425

San Antonio, Texas 78205

Counties served

Bexar, Medina, Wilson, Atascosa, Kendall, Comal, Hays, Guadalupe and Hidalgo counties

Attorney advertisement. Christian O. Vega is responsible for the content of this site. Past results do not guarantee similar outcomes. This site is general information, not legal advice, and does not create an attorney-client relationship.

© 2026 Law Office of Christian Vega. All rights reserved.

bottom of page