What is the age of consent in Texas? It’s 17. Under Texas Penal Code § 22.011, a person younger than 17 is legally defined as a “child” who cannot give legal consent to sexual activity, regardless of whether they said yes or seemed willing. There are narrow exceptions, close-in-age provisions, and related laws that use an 18-year-old threshold instead — which is exactly what this guide walks through.
If you’ve searched “what is the age of consent in Texas,” you’re probably trying to understand where the legal lines actually sit – not the version you heard secondhand or read in a comment section. That’s a smart instinct, because this is one of those areas of law where the general rule is simple, but the details around it are not.
This guide breaks down how Texas defines the age of consent, what “consent” actually means under the law, how close-in-age exceptions work, when an age-difference relationship can become a criminal matter, and what to do if you’re worried about a possible violation. We’ll also cover common misconceptions that tend to cause real legal trouble.
One note before we start: this article is general legal information, not personalized legal advice. Texas sex-offense law involves several overlapping statutes, and how they apply depends heavily on the specific facts of a situation. If you have questions about your own circumstances, that’s a conversation to have with a licensed Texas attorney.
What Is the Age of Consent in Texas?
The age of consent in Texas is 17 years old. This comes from Texas Penal Code § 22.011, the state’s sexual assault statute, which defines a “child” as someone younger than 17. In practice, that means a person who is 17 or older can legally consent to sexual activity with another adult, while a person younger than 17 cannot – as a matter of law, not personal maturity or judgment.
“Age of consent” is a legal concept, not a statement about whether someone is capable of agreeing to something in an everyday sense. It refers to the age at which the law treats a person’s agreement to sexual activity as legally valid. Below that age, the law doesn’t recognize the minor’s agreement as a defense, even if the minor clearly wanted to participate, said they were older, or initiated contact.
This is why legal age of consent in Texas questions come up so often in family law, criminal defense, and even school-related situations – the rule sounds simple, but people frequently misunderstand where it does and doesn’t apply, especially once other Texas Penal Code provisions (like those covering images or relationships involving authority figures) enter the picture.
How Texas Law Defines Sexual Consent
Consent, in the legal sense, is different from willingness. Two people can seem to agree to something in the moment, but that doesn’t automatically mean the law recognizes that agreement as valid consent.
Under Texas sexual consent laws, a person’s ability to legally consent depends on factors like age, mental capacity, and whether the encounter involved force, coercion, or certain relationships of trust or authority. Age is one of the clearest lines the law draws. If one person is younger than 17, Texas law treats that person as legally unable to consent to sexual contact – full stop, regardless of what was said or agreed to at the time.
That’s an important distinction. A minor’s outward willingness doesn’t change the legal analysis. The law isn’t asking whether the minor wanted to participate; it’s asking whether the law permits their agreement to count as consent at all. Below the age threshold, it generally doesn’t.
What Happens When One Person Is Under 17?
When one person involved in sexual activity is younger than 17, Texas law can treat the conduct as a criminal offense – commonly referred to informally as “statutory rape,” though that specific phrase doesn’t appear in the Texas Penal Code. The formal charges usually fall under sexual assault of a child or indecency with a child, depending on the nature of the conduct.
The exact legal outcome depends on the specific facts: the ages of the people involved, the type of contact, whether either statute’s close-in-age exception might apply, and whether any aggravating factors – like a position of authority, use of force, or the age of the younger person – are present. A situation involving a 16-year-old and an 18-year-old is analyzed very differently than one involving a 16-year-old and a 40-year-old, even though both start from the same “under 17” baseline.
This is also where people run into a common source of confusion: some related offenses under the Texas Penal Code, like those involving sexual images of a minor, use 18 as the relevant age rather than 17. So a person younger than 17 can be legally unable to consent to sexual contact, while someone who is 17 – old enough to consent to sexual activity- may still be considered a minor for purposes of image-based offenses. These are separate statutes with separate thresholds, and conflating them is a mistake worth avoiding.
Does Texas Have a Romeo and Juliet Law?
Yes — Texas has a limited close-in-age exemption, often called a Texas Romeo and Juliet law, though that’s a nickname rather than an official statutory term. It appears as an affirmative defense within § 22.011 of the Texas Penal Code, not as a blanket rule that makes age-gap relationships automatically legal.
To potentially qualify, the following general conditions typically need to be met:
- The younger person was at least 14 years old at the time of the conduct.
- The age gap between the two people was no more than three years.
- The older person was not required to register as a sex offender for a prior offense.
- The conduct did not involve certain aggravating circumstances, such as force or a prohibited position of authority.
Because this is an affirmative defense, it isn’t something that automatically clears a person of charges. It’s a legal argument that has to be raised and established in court, and prosecutors can still choose to bring charges even when the close-in-age exemption might apply. It’s also worth repeating: this defense does not apply to every offense in the Penal Code that touches on minors and sexual conduct – some statutes, like those involving sexual performance or images, don’t include the same exception. That’s why it’s inaccurate to treat the close-in-age exemption Texas law provides as a universal shield for any relationship with a small age gap.
When Can an Age-Difference Relationship Become a Criminal Matter?
Age difference alone doesn’t tell the whole legal story. Whether a relationship involving an age gap raises criminal exposure under Texas law depends on several factors working together, including:
- The specific ages of both people, and whether either was younger than 17 at the relevant time
- Whether the close-in-age exemption’s specific conditions are actually met
- The nature of the conduct – communication, physical contact, images, and so on can fall under different statutes
- Whether one person held a position of trust, supervision, or authority over the other
- Any indication of coercion, pressure, or manipulation, which can affect both the charges and how a case is prosecuted
Certain circumstances – such as significant age gaps, repeated conduct, or the involvement of an authority figure – can lead to more serious charges than a standalone sexual assault of a child allegation, including offenses like continuous sexual abuse of a young child, which carries substantially harsher statutory penalties. This is precisely why generic online answers about “the age gap rule” can be misleading: the legal analysis is fact-specific, not formulaic.
What If One Person Is an Authority Figure?
Texas law treats situations involving teachers, coaches, clergy, guardians, employers, or other people in positions of trust or supervision differently than relationships between peers. Certain Penal Code provisions specifically address improper relationships between educators and students, for example, and can apply even when the student has reached the general age of consent.
The reasoning behind these provisions is that a position of authority can affect whether an agreement is genuinely voluntary, given the power imbalance involved. As a result, some of these offenses don’t include an age-of-consent threshold at all, or they define the prohibited relationship based on the professional or institutional connection rather than age alone. If an authority relationship is part of the picture, it’s worth treating that as its own distinct legal issue rather than assuming the general age of consent framework controls the outcome.
Does Marriage Change the Age of Consent Rules in Texas?
Texas law has historically included certain marriage-related considerations in specific statutes, but the rules here are narrow and shouldn’t be assumed to apply broadly. Texas also significantly restricted marriage involving minors through legislative changes in recent years, which limits how often this scenario comes up in practice.
Because marriage-related exceptions are statute-specific, narrowly defined, and subject to legislative change, this is not an area where general online guidance should be treated as a final answer. Anyone with a specific question involving marriage and age-of-consent statutes should confirm the current, applicable law with a licensed Texas attorney rather than relying on assumptions.
What Are the Potential Criminal Consequences?
The consequences for violating Texas age-of-consent-related laws vary significantly depending on the specific offense charged, the ages involved, and the circumstances of the conduct. Some general patterns under the Texas Penal Code:
- Sexual assault of a child is generally charged as a second-degree felony, though it can be enhanced under certain circumstances.
- Aggravated sexual assault, which can apply when aggravating factors are present, carries substantially harsher statutory penalty ranges.
- Indecency with a child covers a broader range of conduct and carries its own separate penalty structure.
- Certain offenses may also carry collateral consequences, such as sex-offender registration requirements, which can have long-term effects beyond the criminal case itself.
Because classifications and penalty ranges depend on which specific statute applies and the facts of the case, it’s not accurate to describe a single penalty that applies across all age-of-consent-related offenses. Anyone facing a specific charge should look at the actual statute involved rather than relying on general assumptions about “the penalty.”
Common Misconceptions About the Age of Consent in Texas
“Turning 17 makes every sexual relationship legal.” Not necessarily. Turning 17 addresses the general sexual assault statute, but other laws – like those involving sexual images or relationships with authority figures – may still apply using different age thresholds or different legal standards entirely.
“The age gap never matters.” It can matter quite a bit. A large age gap, combined with certain circumstances, can affect both whether close-in-age exceptions are available and how a case is charged or prosecuted.
“A minor saying yes automatically makes the conduct legal.” No. Below the legal age of consent, Texas law does not treat a minor’s agreement as legally valid consent, regardless of how clearly it was expressed.
“Romeo and Juliet laws protect everyone close in age.” The close-in-age exemption has specific, narrow requirements – including a maximum three-year age gap and a minimum age of 14 for the younger person – and it’s an affirmative defense, not an automatic exemption from prosecution.
“Online messages cannot create legal problems.” Text messages, direct messages, and other electronic communications can be relevant evidence in these cases and, depending on their content, may themselves implicate separate statutes, such as those addressing solicitation of a minor.
What Should You Do If You Are Worried About a Possible Texas Age-of-Consent Violation?
If you’re concerned that a situation you’re involved in – or connected to – might raise legal issues under Texas age-of-consent laws, a few general, non-alarmist steps are worth keeping in mind:
- Don’t delete or alter potentially relevant messages, photos, or records. Doing so can create separate legal problems, even if the underlying situation turns out to be legally fine.
- Avoid discussing sensitive details publicly or on social media. Statements made online can be misread, taken out of context, or used in ways you don’t anticipate.
- Don’t assume general information you find online applies directly to your situation. These statutes have specific requirements, and small factual differences can change the legal analysis significantly.
- Consider speaking with a qualified Texas criminal defense attorney early. Getting accurate information about your specific facts – before decisions are made or statements are given – can make a meaningful difference in understanding your rights and options.
None of this is a substitute for legal advice tailored to your actual situation. It’s simply a reasonable starting point if you’re trying to understand what to do next.
Frequently Asked Questions
What is the age of consent in Texas?
The age of consent in Texas is 17. Under Texas Penal Code § 22.011, a person younger than 17 is legally considered a “child” who cannot give legally valid consent to sexual activity, regardless of their apparent willingness.
Is 17 the age of consent in Texas?
Yes. Texas Penal Code § 22.011 sets the general age of consent at 17. However, some related statutes – such as those covering sexual images of minors – use 18 as the relevant threshold instead, so it’s important not to assume one age applies across every law.
Can a 16-year-old legally consent to sex in Texas?
No. Because Texas law defines a “child” as someone younger than 17, a 16-year-old cannot legally consent to sexual activity under § 22.011, even if they appeared willing or claimed to be older.
Does Texas have a Romeo and Juliet law?
Texas has a limited close-in-age affirmative defense, informally called a Romeo and Juliet law. It can apply when the age gap is three years or less and the younger person is at least 14, among other conditions – but it must be raised in court and doesn’t apply automatically or to every offense.
Does the age gap matter under Texas law?
Yes, age gap can be significant. It plays a direct role in whether the close-in-age exemption might apply, and larger gaps combined with certain circumstances can lead to more serious charges.
Can you get in trouble for having sex with someone under 17 in Texas?
Yes. Sexual contact with someone younger than 17 can lead to serious criminal charges under Texas law, such as sexual assault of a child, regardless of whether the younger person consented or agreed to the contact.
Does marriage affect age-of-consent laws in Texas?
Certain narrow, statute-specific provisions have historically touched on marriage, but Texas has also significantly restricted marriage involving minors in recent years. This is a nuanced area that depends on specific facts and current law, so it shouldn’t be assumed to apply broadly.
What should I do if I am accused of violating Texas age-of-consent laws?
Avoid discussing the situation publicly, don’t alter or delete potentially relevant evidence, and speak with a qualified Texas criminal defense attorney as early as possible. Early legal guidance can help you understand the specific charges, your rights, and your options.
A Final Note
Texas age of consent laws combine a clear general rule – 17 is the age of consent – with a web of related statutes, exceptions, and fact-specific considerations that can change how a given situation is treated legally. If you’re trying to understand where a specific situation stands, general information can only take you so far.
If you are concerned about a potential age-of-consent issue in Texas, understanding how the law applies to the specific facts is important. Orange Law can help you understand your legal options and the next steps available to you.