Is Sleeping in Your Car Legal in Texas? (2026)

RESTRICTED
Confidence: High

Partially — Sleeping in Your Car is legal with restrictions in Texas as of 2026.

Key Restriction
No state ban, but local ordinances may prohibit
Penalty
Varies; can be a Class C misdemeanor under local ordinances. Can also be a DWI if intoxicated.
Last Updated
2026-03-25

Quick Answer

Sleeping in your car is not explicitly illegal under Texas state law, but many cities and municipalities have local ordinances prohibiting overnight parking or vehicle habitation. No significant statewide legislative changes have been made in recent years.

What the Law Says

Texas has no statewide law against sleeping in a car, and TxDOT allows stays of up to 24 hours at safety rest areas. However, many cities have ordinances that prohibit it. A person can also be charged with DWI for being intoxicated in a parked car.

Tex. Penal Code Ann. § 30.01
Category Details
State Law No state ban, but local ordinances may prohibit
Common Local Rules N/A
Potential Penalties Local fines, towing, or trespassing charges possible.
Pending Legislation None known
Recent Changes

No significant statewide legislative changes have been made in recent years.

Enforcement Reality

There is no state law against sleeping in a car, and it is generally permitted at rest areas. However, local ordinances may apply, and parking on private property without permission can lead to trespassing charges.

Charge Level
Varies; can be a Class C misdemeanor under local ordinances. Can also be a DWI if intoxicated.
Enforcement Likelihood
Low at TxDOT safety rest areas (24-hour limit). Moderate and complaint-driven in cities with specific ordinances.
Common Triggers
Exceeding the 24-hour limit at a rest area, violating a local ordinance, or suspicion of intoxication.
Common Mistakes

A common mistake is parking on private property without permission. Another is violating local ordinances that may prohibit overnight parking.

Local Exceptions

State law sets the baseline. These cities or counties have additional rules that may differ:

Houston
Houston Code of Ordinances § 28-11 prohibits camping or sleeping on public property, including in vehicles parked on public streets, without a permit. Enforcement increased after the 2024 Grants Pass ruling. Fines start at $100.
Austin
Austin Code § 9-6-2 (the 'camping ban') prohibits sitting, lying, or sleeping in public spaces including public streets. While primarily targeting outdoor camping, it has been applied to vehicle habitation. Violations are a Class C misdemeanor (up to $500 fine).
Dallas
Dallas City Code § 31-13.1 prohibits camping on public property. Vehicle habitation on public streets is generally treated under parking ordinances with 72-hour limits. Enforcement is complaint-driven in most neighborhoods.
San Antonio
San Antonio City Code § 21-70 prohibits overnight parking on city streets between midnight and 5 a.m. in most residential areas. Sleeping in a vehicle on private property (e.g., truck stops, Walmart) is generally tolerated.

Bottom Line

Sleeping in Your Car is legal with restrictions in Texas. This activity is permitted, but specific conditions apply. Violating those conditions can result in fines or criminal charges. Read the rules carefully and consult an attorney if unsure.

Texas vs. the Rest of the US

Across the US, sleeping in your car is fully legal in 37 states, restricted in 13, and illegal in 0. Texas falls in the RESTRICTED category.

View the full 50-state map →
EH
Ethan Harper Independent Legal Researcher

Reviewed by cross-referencing the cited state statute against current legislative databases and regulatory publications.

Last reviewed: 2026-03-25 Method: Statute cross-reference

Sources & Verification

1.
2.
Statute Summary
Texas has no statewide law against sleeping in a car, and TxDOT allows stays of up to 24 hours at safety rest areas. However, many cities have ordinances that prohibit it. A person can also be charged…
Verified: 2026-03-25 Reviewed by: Ethan Harper Method: Statute cross-reference Confidence: High

This page was reviewed by Ethan Harper by comparing the legal status against the cited state statute. AllowedHere is an informational resource and does not provide legal advice. Consult a licensed attorney for guidance specific to your situation.

Comprehensive Texas Legal Guides

Explore all related legal topics in Texas — statutes, penalties, and enforcement in one place.

More Texas Legality Guides

Sleeping in Your Car in Other States