{"id":11078,"date":"2026-11-12T08:49:59","date_gmt":"2026-11-12T08:49:59","guid":{"rendered":"https:\/\/barbierilawfirm.com\/guides\/guides-child-sex-crime-charges-texas\/can-a-17-year-old-consent-to-a-23-year-old-in-texas\/"},"modified":"2026-11-20T09:06:41","modified_gmt":"2026-11-20T09:06:41","slug":"can-a-17-year-old-consent-to-a-23-year-old-in-texas","status":"publish","type":"page","link":"https:\/\/barbierilawfirm.com\/guides\/guides-child-sex-crime-charges-texas\/can-a-17-year-old-consent-to-a-23-year-old-in-texas\/","title":{"rendered":"Can a 17-Year-Old Consent to a 23-Year-Old in Texas?"},"content":{"rendered":"\n<div class=\"wp-block-group alignfull has-base-color has-secondary-background-color has-text-color has-background has-global-padding is-layout-constrained wp-container-core-group-is-layout-048755b4 wp-block-group-is-layout-constrained\" style=\"background-color:var(--wp--preset--color--secondary,#20242e);color:var(--wp--preset--color--base,#ffffff);padding-top:4rem;padding-bottom:4rem;padding-left:1.5rem;padding-right:1.5rem\">\n<h1 class=\"wp-block-heading has-base-color has-text-color\">Can a 17-Year-Old Consent to a 23-Year-Old in Texas?<\/h1>\n<p class=\"wp-block-paragraph\" style=\"font-size:clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.625), 1.25rem);\">Age gaps, messages and related statutes can all change how a case is viewed. Here is how to start protecting your position.<\/p>\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\"><div class=\"wp-block-button chg-cta chg-cta-call\"><a class=\"wp-block-button__link wp-element-button\" href=\"tel:+19724241902\">Schedule a free consultation<\/a><\/div><div class=\"wp-block-button chg-cta chg-cta-form\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.barbierilawfirm.com\/contact\/\">Schedule a free consultation<\/a><\/div><\/div>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:0.85rem;color:#6b7280;margin-bottom:1.5rem\">By Heather Barbieri \u00b7 Published November 12, 2026<\/p>\n\n<article lang=\"en\">\n\n\n<h2>Short Answer: Can a 17-Year-Old Consent to Sex With a 23-Year-Old in Texas?<\/h2>\n<p>Texas generally sets the age of consent at 17, so a 17-year-old&#8217;s agreement is not treated like a child&#8217;s under the sexual assault law. The <a href=\"https:\/\/www.sll.texas.gov\/faqs\/age-of-consent\/\">Texas State Law Library<\/a> notes that the age lines differ from one offense to another, so one number does not settle every question.<\/p>\n<p>Under <a href=\"https:\/\/statutes.capitol.texas.gov\/Docs\/PE\/htm\/PE.22.htm#22.011\">Penal Code \u00a7 22.011<\/a>, an offense under subsection (a)(1) requires that the penetration or contact occur without the other person&#8217;s consent, while subsection (a)(2) applies to a child, defined in subsection (c)(1) as a person younger than 17 years of age, and contains no consent element, regardless of whether the person knows the child&#8217;s age at the time of the offense. That is the first issue. The second issue is the age of the other person, and a six-year gap raises questions under other statutes too.<\/p>\n<p>Consent is not the whole picture. Texas law also looks at the age gap, messages, the setting, and whether one person was a student. This page gives general legal information. It does not predict how any specific situation would be charged. For the wider picture, read our guide to <a href=\"\/guides\/guides-child-sex-crime-charges-texas\/\">child sex crime charges in Texas<\/a>.<\/p>\n\n<div class=\"cta-dose-mid wp-block-group has-contrast-color has-surface-background-color has-text-color has-background has-global-padding is-layout-constrained wp-container-core-group-is-layout-32197852 wp-block-group-is-layout-constrained\" style=\"background-color:var(--wp--preset--color--surface,#f2f3f5);color:var(--wp--preset--color--contrast,#22252b);border-radius:8px;padding-top:1.5rem;padding-bottom:1.5rem;padding-left:1.5rem;padding-right:1.5rem;border-left:6px solid var(--wp--preset--color--cta,currentColor);box-shadow:0 2px 10px rgba(0,0,0,0.18)\">\n<p class=\"wp-block-paragraph\">If a relationship, a message, or a call from a parent, school, or police has put you in this position, we can talk it through with you in a free, confidential first consultation. Talk it through with our team &#8212; the first consultation is free, confidential, and carries no obligation.<\/p><div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\"><div class=\"wp-block-button chg-cta-call\"><a class=\"wp-block-button__link wp-element-button\" href=\"tel:+19724241902\">Get a free consultation<\/a><\/div><div class=\"wp-block-button chg-cta-form\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.barbierilawfirm.com\/contact\/\">Get a free consultation<\/a><\/div><\/div>\n<\/div>\n\n<figure class=\"wp-block-image size-large has-custom-border\"><img src=\"https:\/\/barbierilawfirm.com\/guides\/wp-content\/uploads\/2026\/10\/close-up-of-a-wooden-gavel-beside-law-books-on-a-desk-repres-photo.jpg\" alt=\"Close-up of a wooden gavel beside law books on a desk, representing Texas legal questions.\" style=\"border-radius:8px;width:100%;aspect-ratio:16\/9;object-fit:cover\" loading=\"lazy\" decoding=\"async\"\/><\/figure>\n<h2>Why Is the Legal Age of Consent 17 in Texas?<\/h2>\n<p>The age line is 17 because the Penal Code defines a child, for sexual assault purposes, as a person younger than 17.<\/p>\n<p>Under the same section, a sexual act with a child is an offense whether or not the actor knows the child&#8217;s age. Consent is not an element of that child-specific subsection. A 17-year-old falls outside the under-17 line.<\/p>\n<p><a href=\"https:\/\/statutes.capitol.texas.gov\/Docs\/PE\/htm\/PE.21.htm#21.11\">Penal Code \u00a7 21.11<\/a>, indecency with a child, uses the same under-17 line. Its listed elements do not include consent. For indecency with a child, <a href=\"https:\/\/statutes.capitol.texas.gov\/Docs\/PE\/htm\/PE.21.htm#21.11\">Penal Code \u00a7 21.11<\/a> defines sexual contact, when done with intent to arouse or gratify sexual desire, as any touching by a person, including through clothing, of a child&#8217;s anus, breast, or genitals, or any touching of a child&#8217;s body with a person&#8217;s anus, breast, or genitals.<\/p>\n<p>The 17 line matters most in practice. It separates a teen who is old enough to consent from a child the law protects regardless of agreement.<\/p>\n<h2>Is a 17-Year-Old Still a Minor in Texas?<\/h2>\n<p>Age of consent and minor status are two different questions. Texas offenses do not all use the same age.<\/p>\n<p><a href=\"https:\/\/statutes.capitol.texas.gov\/Docs\/PE\/htm\/PE.43.htm#43.25\">Penal Code \u00a7 43.25<\/a> defines sexual performance by a child using a child younger than 18. Some Texas offenses protect people under 18, not under 17.<\/p>\n<p>Online solicitation of a minor works differently. <a href=\"https:\/\/statutes.capitol.texas.gov\/Docs\/PE\/htm\/PE.33.htm#33.021\">Penal Code \u00a7 33.021<\/a> defines a minor as someone younger than 17, or someone the actor believes is younger than 17. A 17-year-old is outside that definition, but the actor&#8217;s belief about age can still matter.<\/p>\n<p>A parent, school, or police officer may still treat a relationship with a teenager as a serious matter. That reaction can start before anyone decides which statute, if any, applies.<\/p>\n<h2>Does the Romeo and Juliet Law Apply to a 17-Year-Old and a 23-Year-Old?<\/h2>\n<p>The close-in-age affirmative defense in <a href=\"https:\/\/statutes.capitol.texas.gov\/Docs\/PE\/htm\/PE.22.htm#22.011\">Texas Penal Code \u00a7 22.011<\/a> is limited to a prosecution under Subsection (a)(2), which covers conduct involving a child, defined as a person younger than 17, and does not reach a prosecution under Subsection (a)(1). Within that scope, it applies only if the actor was no more than three years older than the victim; the victim was a child of at least 14 who was not a person the actor was prohibited from marrying or living with as if married under Section 25.01, or from having sexual intercourse with under Section 25.02; and the actor, at the time of the offense, was not required under Chapter 62, Code of Criminal Procedure, to register for life as a sex offender or did not have a reportable conviction or adjudication under that chapter for an offense under this section. Under <a href=\"https:\/\/statutes.capitol.texas.gov\/Docs\/PE\/htm\/PE.22.htm#22.011\">Texas Penal Code \u00a7 22.011<\/a>, the close-in-age affirmative defense requires that the actor was not more than three years older than the victim.<\/p>\n<p>The <a href=\"https:\/\/statutes.capitol.texas.gov\/Docs\/PE\/htm\/PE.22.htm#22.011\">Penal Code \u00a7 22.011<\/a> defense requires that the actor was not more than three years older than the victim. It also has other conditions, so close ages alone do not decide any case.<\/p>\n<p>Similar three-year age-difference conditions appear in affirmative defenses to indecency with a child and online solicitation of a minor. The sexual performance defense in <a href=\"https:\/\/statutes.capitol.texas.gov\/Docs\/PE\/htm\/PE.43.htm#43.25\">Penal Code \u00a7 43.25<\/a> uses a two-year limit.<\/p>\n<p>A different rule, <a href=\"https:\/\/statutes.capitol.texas.gov\/Docs\/CR\/htm\/CR.42.htm#42.017\">Code of Criminal Procedure art. 42.017<\/a>, uses a four-year figure. It requires a judge&#8217;s finding in certain judgments, and it is not a defense.<\/p>\n<h2>Other Texas Laws That Can Apply Even If Consent Is Present<\/h2>\n<p>Yes, several Texas laws can apply even when both people agreed. Consent is one question. Other questions include intoxication, the ages involved, and the kind of material or contact at issue.<\/p>\n<p>Intoxication matters. Intoxication matters. <a href=\"https:\/\/statutes.capitol.texas.gov\/Docs\/PE\/htm\/PE.22.htm#22.011\">Penal Code \u00a7 22.011<\/a> treats a sexual assault under Subsection (a)(1) as without the consent of the other person when the actor knows the other person is intoxicated or impaired by any substance to the extent that the other person is incapable of consenting.<\/p>\n<p>Images also carry risk. Texas law also addresses possession of, or access with intent to view, visual material that contains a depiction of a child engaging in sexual conduct.<\/p>\n<p>School employees face their own statute. <a href=\"https:\/\/statutes.capitol.texas.gov\/Docs\/PE\/htm\/PE.21.htm#21.12\">Penal Code \u00a7 21.12<\/a> 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 cases with students at other schools or school-sponsored activities. Read our guide on <a href=\"\/guides\/guides-child-sex-crime-charges-texas\/teacher-coach-school-employee-child-sex-crime-charge-texas\/\">school employee and coach charges<\/a>.<\/p>\n<p>Charges in these cases often turn on the ages, the messages, the setting, and the evidence, and each situation depends on the facts.<\/p>\n<h2>How Age of Consent Works Outside Texas<\/h2>\n<p>A relationship that is treated one way somewhere else does not answer the question for Texas.<\/p>\n<p>The offenses discussed here are Texas statutes. The questions turn on Texas law, the ages involved, and the conduct at issue.<\/p>\n<p>Rules differ, and the details matter. Texas law sets its own age lines, defenses, and degrees of offense, so a comparison to another place can mislead.<\/p>\n\n<div class=\"cta-dose-mid wp-block-group has-contrast-color has-surface-background-color has-text-color has-background has-global-padding is-layout-constrained wp-container-core-group-is-layout-32197852 wp-block-group-is-layout-constrained\" style=\"background-color:var(--wp--preset--color--surface,#f2f3f5);color:var(--wp--preset--color--contrast,#22252b);border-radius:8px;padding-top:1.5rem;padding-bottom:1.5rem;padding-left:1.5rem;padding-right:1.5rem;border-left:6px solid var(--wp--preset--color--cta,currentColor);box-shadow:0 2px 10px rgba(0,0,0,0.18)\">\n<h3 class=\"wp-block-heading has-contrast-color has-text-color\">Not sure what your next step is?<\/h3><p class=\"wp-block-paragraph\">Talk it through with our team &#8212; the first consultation is free, confidential, and carries no obligation.<\/p><div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\"><div class=\"wp-block-button chg-cta-call\"><a class=\"wp-block-button__link wp-element-button\" href=\"tel:+19724241902\">Get a free consultation<\/a><\/div><div class=\"wp-block-button chg-cta-form\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.barbierilawfirm.com\/contact\/\">Get a free consultation<\/a><\/div><\/div>\n<\/div>\n<h2>What Happens When Police, Schools, or Parents Get Involved<\/h2>\n<p>A case can begin with a school report, a parent&#8217;s complaint, a review of messages or a phone, or a police contact. Each starting point can lead to a different set of questions.<\/p>\n<p>Your loved one may be asked to talk, hand over a phone, or share messages. Before your loved one answers questions or gives up a device, talk with a lawyer about the options.<\/p>\n<p>If charges are filed, bond conditions may affect contact with the other person. Our guide to <a href=\"\/guides\/guides-child-sex-crime-charges-texas\/child-sex-crime-bond-conditions-texas\/\">child sex crime bond conditions in Texas<\/a> explains that topic in more detail.<\/p>\n\n<figure class=\"wp-block-image size-large has-custom-border\"><img src=\"https:\/\/barbierilawfirm.com\/guides\/wp-content\/uploads\/2026\/11\/empty-courtroom-interior-with-wooden-benches-and-a-judge-s-b-photo.jpg\" alt=\"Empty courtroom interior with wooden benches and a judge&#x27;s bench, representing Texas law.\" style=\"border-radius:8px;width:100%;aspect-ratio:16\/9;object-fit:cover\" class=\"wp-image-11077\" width=\"1376\" height=\"768\" srcset=\"https:\/\/barbierilawfirm.com\/guides\/wp-content\/uploads\/2026\/11\/empty-courtroom-interior-with-wooden-benches-and-a-judge-s-b-photo-150x150.jpg 150w, https:\/\/barbierilawfirm.com\/guides\/wp-content\/uploads\/2026\/11\/empty-courtroom-interior-with-wooden-benches-and-a-judge-s-b-photo-300x167.jpg 300w, https:\/\/barbierilawfirm.com\/guides\/wp-content\/uploads\/2026\/11\/empty-courtroom-interior-with-wooden-benches-and-a-judge-s-b-photo-768x429.jpg 768w, https:\/\/barbierilawfirm.com\/guides\/wp-content\/uploads\/2026\/11\/empty-courtroom-interior-with-wooden-benches-and-a-judge-s-b-photo-1024x572.jpg 1024w, https:\/\/barbierilawfirm.com\/guides\/wp-content\/uploads\/2026\/11\/empty-courtroom-interior-with-wooden-benches-and-a-judge-s-b-photo.jpg 1376w\" sizes=\"auto, (max-width: 760px) 101vw, 766px\" loading=\"lazy\" decoding=\"async\"\/><\/figure>\n<h2>Talk Through Your Situation With Barbieri Law Firm<\/h2>\n<p>If a relationship, a message, or a call from a parent, school, or officer has brought your loved one&#8217;s situation to you, you did not choose this position. You may have many questions and very little time to think them through.<\/p>\n<p>Call (972) 424-1902 or send your case details through our <a href=\"https:\/\/www.barbierilawfirm.com\/contact\/\">contact page<\/a>. Your first consultation is free, confidential, and carries no obligation to continue. No lawyer can promise how a case will turn out, but we will review the ages, the timeline, and the contact that prompted your question.<\/p>\n<h3>Quick Questions<\/h3>\n<details class=\"wp-block-details chg-faq is-layout-flow wp-block-details-is-layout-flow\"><summary>Can a 17 year old consent to an older partner in Texas?<\/summary><p class=\"wp-block-paragraph\"><a href=\"https:\/\/statutes.capitol.texas.gov\/Docs\/PE\/htm\/PE.22.htm#22.011\">Texas Penal Code \u00a7 22.011<\/a> defines a child as a person younger than 17 years of age. The age gap, the messages, and other statutes can still matter.<\/p><\/details><details class=\"wp-block-details chg-faq is-layout-flow wp-block-details-is-layout-flow\"><summary>Is an age gap a defense in Texas?<\/summary><p class=\"wp-block-paragraph\">Under <a href=\"https:\/\/statutes.capitol.texas.gov\/Docs\/PE\/htm\/PE.22.htm#22.011\">Texas Penal Code \u00a7 22.011<\/a>(e), the close-in-age affirmative defense applies only to a prosecution under Subsection (a)(2), which involves a child younger than 17, not to prosecutions under other subsections. It is available only when the actor was at most three years older than the victim, the victim was a child aged 14 or above who did not fall within the additional categories the statute excludes, and the actor, at the time of the offense, either was not required under Chapter 62, Code of Criminal Procedure, to register for life as a sex offender or had no reportable conviction or adjudication under that chapter for an offense under this section.<\/p><\/details><details class=\"wp-block-details chg-faq is-layout-flow wp-block-details-is-layout-flow\"><summary>Is a 17-year-old a minor in Texas?<\/summary><p class=\"wp-block-paragraph\">Some Texas offenses protect people under 18, while others use 17. The age that applies depends on the offense.<\/p><\/details>\n<p>Attorney responsible for this site: Heather Barbieri, Barbieri Law Firm, Frisco, Texas.<\/p>\n\n<\/article>\n<footer class=\"disclaimer\"><em>Barbieri Law Firm, 17 Cowboys Way, Suite 175, Frisco, TX 75034. The information you obtain at this site is not, nor is it intended to be, legal advice. You should consult an attorney for advice regarding your individual situation. Contacting us does not create an attorney-client relationship. Results listed are not a guarantee or indication of future case results.<\/em><\/footer>\n\n\n<div class=\"wp-block-group has-contrast-color has-surface-background-color has-text-color has-background has-global-padding is-layout-constrained wp-container-core-group-is-layout-32197852 wp-block-group-is-layout-constrained\" style=\"background-color:var(--wp--preset--color--surface,#f2f3f5);color:var(--wp--preset--color--contrast,#22252b);border-radius:8px;padding-top:1.5rem;padding-bottom:1.5rem;padding-left:1.5rem;padding-right:1.5rem;border-left:6px solid var(--wp--preset--color--cta,currentColor);box-shadow:0 2px 10px rgba(0,0,0,0.18)\">\n<h3 class=\"wp-block-heading has-contrast-color has-text-color\">Before you talk to anyone<\/h3><p class=\"wp-block-paragraph\">Do not delete messages, photos or social media posts, and do not discuss the matter with the other person or with police until you have spoken with a lawyer.<\/p><div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\"><div class=\"wp-block-button chg-cta-call\"><a class=\"wp-block-button__link wp-element-button\" href=\"tel:+19724241902\">Call (972) 424-1902<\/a><\/div><div class=\"wp-block-button chg-cta-form\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.barbierilawfirm.com\/contact\/\">Call (972) 424-1902<\/a><\/div><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group alignwide has-global-padding is-layout-constrained wp-container-core-group-is-layout-583d630a wp-block-group-is-layout-constrained\" style=\"padding-top:3rem;padding-bottom:3rem;padding-left:1.5rem;padding-right:1.5rem\">\n<h2 class=\"wp-block-heading has-text-align-center\">How Barbieri Law Firm approaches these cases<\/h2>\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-f56f613f wp-block-columns-is-layout-flex\"><div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><p class=\"wp-block-paragraph\"><span class=\"chg-icon chg-icon--shield\"><\/span><\/p><h3 class=\"wp-block-heading\">Focused criminal defense<\/h3><p class=\"wp-block-paragraph\">Our team focuses on sex crimes, child sex crimes, online sex crimes and other assaultive offenses in Collin County, Dallas-Fort Worth and across Texas.<\/p><\/div><div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><p class=\"wp-block-paragraph\"><span class=\"chg-icon chg-icon--document\"><\/span><\/p><h3 class=\"wp-block-heading\">A review of the full record<\/h3><p class=\"wp-block-paragraph\">We review the ages, dates, messages and statements in your situation and explain the options that may apply to your case.<\/p><\/div><div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><p class=\"wp-block-paragraph\"><span class=\"chg-icon chg-icon--lightbulb\"><\/span><\/p><h3 class=\"wp-block-heading\">Board certification in Criminal Law<\/h3><p class=\"wp-block-paragraph\">Heather Jean Barbieri, Board Certified, Criminal Law &#8212; Texas Board of Legal Specialization<\/p><\/div><div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><p class=\"wp-block-paragraph\"><span class=\"chg-icon chg-icon--heart\"><\/span><\/p><h3 class=\"wp-block-heading\">Confidential and respectful<\/h3><p class=\"wp-block-paragraph\">Speaking with us is private. Your first consultation is free, confidential and carries no obligation to continue.<\/p><\/div><\/div>\n\n<\/div>\n\n\n\n<div class=\"wp-block-group alignfull has-surface-background-color has-background has-global-padding is-layout-constrained wp-container-core-group-is-layout-583d630a wp-block-group-is-layout-constrained\" style=\"padding-top:3rem;padding-bottom:3rem;padding-left:1.5rem;padding-right:1.5rem\">\n<h2 class=\"wp-block-heading has-text-align-center\">What to gather for your first consultation<\/h2>\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-f56f613f wp-block-columns-is-layout-flex\"><div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><div class=\"wp-block-group has-base-background-color has-background is-layout-flow wp-block-group-is-layout-flow\" style=\"border-radius:8px;box-shadow:0 4px 14px rgba(0,0,0,0.08);padding-top:1.5rem;padding-bottom:1.5rem;padding-left:1.5rem;padding-right:1.5rem\"><h3 class=\"wp-block-heading\">Ages and dates<\/h3><p class=\"wp-block-paragraph\">Write down each person&#x27;s date of birth and the dates when contact began and ended.<\/p><\/div><\/div><div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><div class=\"wp-block-group has-base-background-color has-background is-layout-flow wp-block-group-is-layout-flow\" style=\"border-radius:8px;box-shadow:0 4px 14px rgba(0,0,0,0.08);padding-top:1.5rem;padding-bottom:1.5rem;padding-left:1.5rem;padding-right:1.5rem\"><h3 class=\"wp-block-heading\">Messages and images<\/h3><p class=\"wp-block-paragraph\">Keep the original messages, photos and social media records. Do not edit or forward them.<\/p><\/div><\/div><div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><div class=\"wp-block-group has-base-background-color has-background is-layout-flow wp-block-group-is-layout-flow\" style=\"border-radius:8px;box-shadow:0 4px 14px rgba(0,0,0,0.08);padding-top:1.5rem;padding-bottom:1.5rem;padding-left:1.5rem;padding-right:1.5rem\"><h3 class=\"wp-block-heading\">Where and how contact happened<\/h3><p class=\"wp-block-paragraph\">Note the location, the platforms used and who else knew about the relationship.<\/p><\/div><\/div><div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><div class=\"wp-block-group has-base-background-color has-background is-layout-flow wp-block-group-is-layout-flow\" style=\"border-radius:8px;box-shadow:0 4px 14px rgba(0,0,0,0.08);padding-top:1.5rem;padding-bottom:1.5rem;padding-left:1.5rem;padding-right:1.5rem\"><h3 class=\"wp-block-heading\">Any contact with police or school officials<\/h3><p class=\"wp-block-paragraph\">Tell us what was said, by whom and when. Bring any notices or paperwork you received.<\/p><\/div><\/div><\/div>\n\n<\/div>\n\n\n\n<div class=\"wp-block-group alignfull has-base-color has-primary-background-color has-text-color has-background has-global-padding is-layout-constrained wp-container-core-group-is-layout-4d466591 wp-block-group-is-layout-constrained\" style=\"background-color:var(--wp--preset--color--primary,#20242e);color:var(--wp--preset--color--base,#ffffff);padding-top:3rem;padding-bottom:3rem;padding-left:1.5rem;padding-right:1.5rem\">\n<h2 class=\"wp-block-heading has-text-align-center has-base-color has-text-color\">Talk with Barbieri Law Firm about your situation. Your first consultation is free, confidential and carries no obligation.<\/h2>\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-0aa01211 wp-block-buttons-is-layout-flex\"><div class=\"wp-block-button chg-cta chg-cta-call\"><a class=\"wp-block-button__link wp-element-button\" href=\"tel:+19724241902\">Schedule a free consultation or call (972) 424-1902<\/a><\/div><div class=\"wp-block-button chg-cta chg-cta-form\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.barbierilawfirm.com\/contact\/\">Schedule a free consultation or call (972) 424-1902<\/a><\/div><\/div>\n<\/div>\n\n<!-- chg:section-siblings -->\n<nav aria-label=\"More in this section\">\n<h2>More in this section<\/h2>\n<ul><li><a href=\"\/guides\/guides-child-sex-crime-charges-texas\/can-you-get-in-trouble-for-false-accusations-to-cps\/\">Can you get in trouble for false accusations to CPS?<\/a><\/li><li><a href=\"\/guides\/guides-child-sex-crime-charges-texas\/child-sex-crime-bond-conditions-texas\/\">Child Sex Crime Bond Conditions and Bond Reduction in Texas<\/a><\/li><li><a href=\"\/guides\/guides-child-sex-crime-charges-texas\/child-statement-alone-sex-crime-charge-texas\/\">Can a Child&#x27;s Statement Alone Support a Child Sex Crime Charge in Texas?<\/a><\/li><li><a href=\"\/guides\/guides-child-sex-crime-charges-texas\/collin-county-child-pornography-lawyer\/\">Collin County Child Pornography Lawyer<\/a><\/li><li><a href=\"\/guides\/guides-child-sex-crime-charges-texas\/cps-sexual-abuse-allegation-what-happens-next-texas\/\">CPS Sexual Abuse Allegation: What Happens Next When Criminal Charges Are Also Possible<\/a><\/li><\/ul>\n<\/nav>\n<!-- \/chg:section-siblings -->","protected":false},"excerpt":{"rendered":"<p>Texas sets the age of consent at 17, but a six-year gap and other Texas laws can still apply. Read what the statutes say and talk with a lawyer.<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":962,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"chg_review":"","chg_sendback":"","chg_canonical":"","chg_lang":"","chg_hreflang":"","chg_jsonld":"[{\"@context\": \"https:\/\/schema.org\", \"speakable\": {\"@type\": \"SpeakableSpecification\", \"cssSelector\": [\"article > p:first-of-type\", \".wp-block-details p\", \"article > h1\"]}, \"about\": [{\"@type\": \"Thing\", \"name\": \"Criminal law\", \"sameAs\": \"https:\/\/en.wikipedia.org\/wiki\/Criminal_law\"}, {\"@type\": \"Thing\", \"name\": \"Sexual assault\", \"sameAs\": \"https:\/\/en.wikipedia.org\/wiki\/Sexual_assault\"}], \"mentions\": [{\"@type\": \"Thing\", \"name\": \"Assault\", \"sameAs\": \"https:\/\/en.wikipedia.org\/wiki\/Assault\"}, {\"@type\": \"Thing\", \"name\": \"Child pornography\", \"sameAs\": \"https:\/\/en.wikipedia.org\/wiki\/Child_pornography\"}, {\"@type\": \"Thing\", \"name\": \"Online predator\", \"sameAs\": \"https:\/\/en.wikipedia.org\/wiki\/Online_predator\"}], \"author\": {\"@type\": \"Person\", \"name\": \"Heather Barbieri\", \"url\": \"https:\/\/www.barbierilawfirm.com\/attorneys\/heather-barbieri\/\", \"jobTitle\": \"Founding Attorney, Board Certified in Criminal Law, Texas Board of Legal Specialization\", \"sameAs\": [\"https:\/\/www.texasbar.com\/AM\/Template.cfm?Section=Update_My_Profile&Template=\/CustomSource\/AttorneySearch\/MainProfileView.cfm&CFID=16102400&CFTOKEN=de0a8b038ec3c7b5-2AB4B1CB-5056-9551-D4D5BC06D0A3DEE5\", \"https:\/\/www.linkedin.com\/in\/heather-barbieri-3880184\", \"https:\/\/www.avvo.com\/attorneys\/75034-tx-heather-barbieri-1771243.html\"], \"worksFor\": {\"@type\": \"Organization\", \"@id\": \"https:\/\/www.barbierilawfirm.com\/#frisco\", \"name\": \"Barbieri Law Firm\", \"url\": \"https:\/\/barbierilawfirm.com\/\"}}, \"publisher\": {\"@type\": \"Organization\", \"@id\": \"https:\/\/www.barbierilawfirm.com\/#frisco\", \"name\": \"Barbieri Law Firm\", \"url\": \"https:\/\/barbierilawfirm.com\/\"}, \"reviewedBy\": {\"@type\": \"Person\", \"name\": \"Carrie Thomas\", \"jobTitle\": \"Managing Attorney\", \"sameAs\": [\"https:\/\/www.texasbar.com\/AM\/Template.cfm?Section=Update_My_Profile&Template=\/CustomSource\/AttorneySearch\/MainProfileView.cfm&CFID=16102400&CFTOKEN=de0a8b038ec3c7b5-2AB4B1CB-5056-9551-D4D5BC06D0A3DEE5\"], \"worksFor\": {\"@type\": \"Organization\", \"@id\": \"https:\/\/www.barbierilawfirm.com\/#frisco\", \"name\": \"Barbieri Law Firm\", \"url\": \"https:\/\/barbierilawfirm.com\/\"}}, \"inLanguage\": \"en\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"Can a 17 year old consent to an older partner in Texas?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Texas Penal Code \u00a7 22.011 defines a child as a person younger than 17 years of age. The age gap, the messages, and other statutes can still matter.\"}}, {\"@type\": \"Question\", \"name\": \"Is an age gap a defense in Texas?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Under Texas Penal Code \u00a7 22.011(e), the close-in-age affirmative defense applies only to a prosecution under Subsection (a)(2), which involves a child younger than 17, not to prosecutions under other subsections. It is available only when the actor was at most three years older than the victim, the victim was a child aged 14 or above who did not fall within the additional categories the statute excludes, and the actor, at the time of the offense, either was not required under Chapter 62, Code of Criminal Procedure, to register for life as a sex offender or had no reportable conviction or adjudication under that chapter for an offense under this section.\"}}, {\"@type\": \"Question\", \"name\": \"Is a 17-year-old a minor in Texas?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Some Texas offenses protect people under 18, while others use 17. The age that applies depends on the offense.\"}}], \"headline\": \"Can a 17-Year-Old Consent to a 23-Year-Old in Texas?\", \"@id\": \"https:\/\/barbierilawfirm.com\/guides\/can-a-17-year-old-consent-to-a-23-year-old-in-texas\/#article\", \"audience\": {\"@type\": \"Audience\", \"audienceType\": \"Parents, relatives, friends, and individuals contacted about a relationship involving a minor, and older teens researching Texas law\"}, \"provider\": {\"@type\": \"Organization\", \"@id\": \"https:\/\/www.barbierilawfirm.com\/#frisco\", \"name\": \"Barbieri Law Firm\", \"url\": \"https:\/\/barbierilawfirm.com\/\"}, \"description\": \"General legal information on whether a 17-year-old can legally consent to sexual contact with a 23-year-old in Texas, covering the age of consent, minor status, the Romeo and Juliet law, related Texas offenses, and what to do when police, schools, or parents become involved.\", \"spatialCoverage\": {\"name\": \"Texas\", \"@type\": \"State\"}, \"mainEntityOfPage\": \"https:\/\/barbierilawfirm.com\/guides\/can-a-17-year-old-consent-to-a-23-year-old-in-texas\/\", \"isPartOf\": {\"@id\": \"https:\/\/barbierilawfirm.com\/guides\/can-a-17-year-old-consent-to-a-23-year-old-in-texas\/#article\"}, \"image\": \"https:\/\/barbierilawfirm.com\/guides\/wp-content\/uploads\/2026\/10\/close-up-of-a-wooden-gavel-beside-law-books-on-a-desk-repres-photo.jpg\", \"@type\": [\"Article\", \"FAQPage\"]}, {\"@context\": \"https:\/\/schema.org\", \"@type\": \"BreadcrumbList\", \"itemListElement\": [{\"@type\": \"ListItem\", \"position\": 1, \"name\": \"Home\", \"item\": \"https:\/\/barbierilawfirm.com\/\"}, {\"@type\": \"ListItem\", \"position\": 2, \"name\": \"Guides Child Sex Crime Charges Texas\", \"item\": \"https:\/\/barbierilawfirm.com\/guides\/guides-child-sex-crime-charges-texas\/\"}, {\"@type\": \"ListItem\", \"position\": 3, \"name\": \"Can A 17 Year Old Consent To A 23 Year Old In Texas\", \"item\": \"https:\/\/barbierilawfirm.com\/guides\/guides-child-sex-crime-charges-texas\/can-a-17-year-old-consent-to-a-23-year-old-in-texas\/\"}]}]","chg_meta_description":"Texas sets the age of consent at 17, but a six-year gap and other Texas laws can still apply. Read what the statutes say and talk with a lawyer.","footnotes":""},"class_list":["post-11078","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/barbierilawfirm.com\/guides\/wp-json\/wp\/v2\/pages\/11078","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/barbierilawfirm.com\/guides\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/barbierilawfirm.com\/guides\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/barbierilawfirm.com\/guides\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/barbierilawfirm.com\/guides\/wp-json\/wp\/v2\/comments?post=11078"}],"version-history":[{"count":2,"href":"https:\/\/barbierilawfirm.com\/guides\/wp-json\/wp\/v2\/pages\/11078\/revisions"}],"predecessor-version":[{"id":14384,"href":"https:\/\/barbierilawfirm.com\/guides\/wp-json\/wp\/v2\/pages\/11078\/revisions\/14384"}],"up":[{"embeddable":true,"href":"https:\/\/barbierilawfirm.com\/guides\/wp-json\/wp\/v2\/pages\/962"}],"wp:attachment":[{"href":"https:\/\/barbierilawfirm.com\/guides\/wp-json\/wp\/v2\/media?parent=11078"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}