Sleeping in your car is legal in most of the United States most of the time. We checked the statute law of all 50 states in July 2026, and the pattern is consistent: very few states have any law about sleeping in a legally parked vehicle. The rules that actually get people knocked on are local ordinances, private-property rules, and posted signs.
The few real statewide laws
Five states stand out from the check, in both directions.
Hawaii is the strictest. HRS 291C-112 prohibits using a vehicle for human habitation, including as a sleeping place, on any roadway or other public property between 6 p.m. and 6 a.m. statewide. Counties add their own rules on top.
Kentucky is the clearest in the other direction. Its 2024 unlawful-camping law contains an express carve-out: sleeping temporarily in a lawfully parked vehicle on a public road, street, or parking lot is not an offense when it lasts under 12 hours. That is unusually plain law, and it works in your favor.
Nebraska makes camping, defined to include lodging in a vehicle, a misdemeanor on highway-purpose property (highways, roadside areas, roadside parks) outside designated campsites. Ordinary city streets are not covered.
Idaho passed a public-camping law in 2025 that includes vehicle lodging, but it applies only inside cities of 100,000 or more, which today means Boise, Meridian, and Nampa.
South Carolina deserves a myth-bust. The “South Carolina bans sleeping in vehicles” claim that circulates online comes from Section 58-23-1350, which sits in the taxi chapter of the code and applies to taxis. There is no general ban.
A few other states (Texas, Tennessee, Mississippi, Vermont, Florida, Georgia, Oklahoma) have public-camping or right-of-way laws that can touch vehicle dwelling in specific places. Each state’s page covers its own law with the statute cited.
Everywhere else: the city decides
In the majority of states the code is simply silent, and silence does not mean “allowed everywhere”. It means the decision moved down a level. Cities regulate through vehicle-habitation ordinances, overnight parking bans on specific streets, and permit rules. The only way to know is to check the city you are actually parked in: the municipal code, a call to the non-emergency police line, or the posted signs on the block.
How to stay out of trouble tonight
Pick ground where the rules are knowable. A rest area in a state that allows a real stop (see the state table), a store lot where the manager said yes, a truck stop out of the truckers’ way, or public land where dispersed camping is legal. Park legally, keep the setup inside the vehicle, and leave if asked. The posted sign beats this page, and every state’s specifics live on its own page in the car-sleeping index.