More than two decades after the United States Supreme Court struck down Texas’s law criminalizing private, consensual same-sex intimacy, the unconstitutional provision still appears in the state’s Penal Code. For anyone reading the statute without knowing its history, that creates an obvious contradiction: the written law describes a criminal offense, while the Constitution prevents the state from enforcing it against the conduct protected by the Court’s decision.
This unusual legal situation dates back to one of the most consequential civil rights decisions in modern American history.
Sodomy between consenting adults in private is not a criminal offense that Texas can constitutionally prosecute under its former sodomy law in 2026. The Supreme Court’s 2003 decision in Lawrence v. Texas invalidated the state’s prohibition on private, consensual same-sex intimacy.
However, Texas still enforces separate laws addressing sexual assault, public sexual conduct, and offenses involving minors. Understanding those distinctions is essential to interpreting the state’s current legal position.

The Texas Statute That Led to a Supreme Court Case
Texas Penal Code Section 21.06, titled “Homosexual Conduct,” was enacted as part of the state’s revised criminal code in 1973.
The provision specifically criminalized certain intimate conduct between individuals of the same sex.
A violation was classified as a Class C misdemeanor, generally punishable by a fine rather than imprisonment.
Unlike broader historical sodomy laws, which sometimes applied to heterosexual and homosexual conduct alike, the Texas provision specifically targeted same-sex relationships.
That distinction became central to the constitutional challenge.
The statute remained enforceable until the Supreme Court addressed its validity in 2003.
Lawrence v. Texas Changed the Legal Landscape
In 1998, police officers entered a Houston apartment while responding to a reported disturbance.
Two men, John Geddes Lawrence and Tyron Garner, were arrested under Texas’s homosexual conduct law.
Their prosecution eventually reached the United States Supreme Court.
On June 26, 2003, the Court issued its landmark decision in Lawrence v. Texas, 539 U.S. 558.
In a 6–3 ruling, the Court held that the Texas statute violated the liberty protections of the Fourteenth Amendment’s Due Process Clause.
The majority recognized that the government could not criminalize private, consensual adult intimacy merely because lawmakers or members of the public considered the conduct morally objectionable.
The decision also overturned Bowers v. Hardwick, a 1986 Supreme Court ruling that had upheld a similar criminal prohibition.
Lawrence fundamentally changed the constitutional treatment of private adult sexual relationships throughout the United States.
Why an Unconstitutional Law Still Appears in Texas Statutes
One of the most confusing aspects of Texas law is that Section 21.06 remains printed in the Penal Code.
The official statutory text includes a note acknowledging that the provision was declared unconstitutional by Lawrence v. Texas.
This raises an important legal distinction.
A court declaring a statute unconstitutional is not the same as the legislature formally repealing it.
The Supreme Court’s decision made the provision unenforceable against constitutionally protected conduct, but it did not physically remove the language from Texas’s legislative records.
Formal repeal requires legislative action.
Texas lawmakers have considered proposals to remove the provision.
During the 2025 legislative session, House Bill 1738 sought to repeal Section 21.06 and make related statutory changes.
However, the proposal did not become law, leaving the unconstitutional language in the Penal Code.
Its continued appearance does not restore the state’s authority to prosecute conduct protected by Lawrence.
What the Supreme Court’s Protection Actually Covers
The ruling in Lawrence v. Texas concerned private, consensual sexual conduct between adults.
The Court did not establish an unrestricted constitutional right covering every form of sexual activity.
Its decision expressly distinguished situations involving minors, coercion, public conduct, and other circumstances outside the case.
This matters because Texas maintains criminal statutes addressing conduct that violates another person’s rights or public safety requirements.
The constitutional protection recognized in Lawrence applies regardless of whether the consenting adults are in a same-sex or opposite-sex relationship.
The ruling also means Texas cannot enforce its former homosexual conduct statute simply because the individuals involved are of the same sex.
Texas Laws That Remain Enforceable
Although Section 21.06 is unconstitutional, other provisions of the Texas Penal Code remain legally significant.
Sexual Assault and Lack of Consent
Texas Penal Code Section 22.011 addresses sexual assault.
The statute prohibits specified sexual conduct occurring without legally valid consent and includes provisions protecting children.
The constitutional protection of consensual adult intimacy does not prevent prosecution for sexual assault.
Texas also maintains separate provisions governing aggravated sexual assault under Section 22.021.
Public Lewdness
Texas Penal Code Section 21.07 addresses specified sexual conduct occurring in public or under circumstances involving reckless disregard for whether another person is present and may be offended or alarmed.
The offense is generally classified as a Class A misdemeanor, although enhanced penalties apply in certain circumstances.
This law is separate from the former prohibition on private same-sex intimacy.
Offenses Involving Minors
Texas maintains specific criminal protections involving children and sexual conduct.
These provisions operate independently of Section 21.06.
The Supreme Court’s decision in Lawrence did not invalidate laws protecting minors from sexual exploitation or abuse.
Does the Supreme Court Decision Apply Across the United States?
Yes. Lawrence v. Texas established a federal constitutional precedent, not merely a Texas-specific interpretation.
Before 2003, several states maintained criminal statutes prohibiting particular forms of consensual adult intimacy.
The Supreme Court’s ruling invalidated the constitutional basis for enforcing those prohibitions against protected private adult conduct.
However, constitutional precedents can be reconsidered by the Supreme Court.
In his separate concurrence in Dobbs v. Jackson Women’s Health Organization in 2022, Justice Clarence Thomas suggested reconsidering certain substantive due process precedents, including Lawrence.
That opinion did not overturn Lawrence, and the decision remains controlling constitutional precedent in 2026.
Frequently Asked Questions
Q1. Is sodomy illegal in Texas in 2026?
A: No. Texas cannot constitutionally prosecute private, consensual adult intimacy under its former sodomy law because the Supreme Court invalidated that prohibition in Lawrence v. Texas.
Q2. Why does Texas still have a sodomy law in its Penal Code?
A: Section 21.06 remains in the statutory text because the Texas Legislature has not formally repealed it. However, the provision is unconstitutional and unenforceable against conduct protected by the Supreme Court’s 2003 ruling.
Q3. What happened in Lawrence v. Texas?
A: In 2003, the United States Supreme Court ruled that Texas’s criminal prohibition on private, consensual same-sex intimacy violated the liberty protections of the Fourteenth Amendment.
Q4. Can Texas prosecute sexual conduct occurring in public?
A: Yes. Texas Penal Code Section 21.07 establishes the offense of public lewdness. The constitutional protections recognized in Lawrence do not eliminate laws regulating public sexual conduct.
Q5. Could Texas enforce its old sodomy law again?
A: Not while Lawrence v. Texas remains controlling constitutional precedent. Any future change would require a significant shift in constitutional law, and other constitutional challenges could still arise.
The continuing presence of Section 21.06 in Texas law illustrates the difference between statutory language and enforceable constitutional authority. Although the legislature has not removed the provision, the Supreme Court’s ruling continues to protect private, consensual adult intimacy from prosecution under that law.