
Last updated 6 December 2026. Sources: Hawaii Revised Statutes 291C-112; Kentucky Revised Statutes 511.110; Florida Statutes 125.0231; California Code of Regulations title 21, section 2205; Texas Transportation Code 545.411; City of Grants Pass v. Johnson (2024); Road Traffic Act 1988 section 5.
Short answer: In most of the US it is not illegal to sleep in your car as such. No general statewide ban applies in the states we checked, apart from Hawaii’s overnight rule. The trouble comes from where you park and what state you are in: city ordinances, rest area time limits, private property rules, and drunk driving laws that can apply even when the engine is off.
Key takeaways
- Sleeping in a legally parked car is lawful in most places, but cities can ban it on certain streets, at certain hours or altogether, and the Supreme Court confirmed in 2024 that such camping laws do not breach the Eighth Amendment.
- Hawaii is the main statewide exception: using a parked vehicle as a sleeping place on public roads between 6 p.m. and 6 a.m. is prohibited.
- Rest areas set time limits rather than banning sleep: 8 hours in any 24 in California and up to 24 hours in Texas.
- Sleeping it off in the driver’s seat after drinking can still lead to a DUI charge in the US, or a “drunk in charge” charge in the UK.
Is it illegal to sleep in your car in the US?
Usually not, if you are lawfully parked, sober and not on private land without permission. There is no federal law against it, and most states leave the question to cities and counties. That is why the same nap can be legal in one town and a ticket in the next.
Local rules come in a few common forms. Some cities ban “vehicle habitation” or living in a vehicle on public streets, sometimes only overnight or only on residential blocks. Others use general anti-camping ordinances that define a vehicle as a camp facility. Many also limit how long any car may stay in one spot on a public street, which catches people who sleep in the same place night after night. Parking signs, permit zones and park closing hours apply to a sleeping driver like anyone else.
The legal ground for city bans became firmer in 2024. In City of Grants Pass v. Johnson, decided on 28 June 2024 by six votes to three, the Supreme Court held that an Oregon city’s ordinances punishing sleeping and camping on public property did not violate the Eighth Amendment’s ban on cruel and unusual punishment. The ruling overturned a line of Ninth Circuit decisions that had limited enforcement where shelter beds were unavailable, and it left cities across the western states freer to enforce camping and vehicle dwelling rules.
Which states have laws on sleeping in your car?
Most states have no statute aimed at sleeping in a vehicle. A handful have taken a position, either restricting it or protecting it from new camping bans. The table covers the states we checked against the statute or official source.
| State | Rule on sleeping in a car | Source |
|---|---|---|
| Hawaii | No using a parked vehicle as a dwelling or sleeping place on public roads or public property from 6 p.m. to 6 a.m., or on private property without the owner’s permission; lawful campgrounds and emergencies are excepted | HRS 291C-112 |
| Kentucky | Unlawful camping became an offence in July 2024, but sleeping in a vehicle lawfully parked on a public road, street or parking lot for less than 12 hours is excepted | KRS 511.110 |
| Florida | Counties and cities may not allow regular public camping or sleeping, but the definition excludes sleeping in a registered, insured vehicle that is lawfully parked | Fla. Stat. 125.0231 |
| California | No statewide ban; state rest areas allow stays of up to 8 hours in any 24 and prohibit camping; cities set their own vehicle dwelling rules | 21 CCR 2205 |
| Texas | No statewide ban; state safety rest areas allow stays of up to 24 hours | Transportation Code 545.411 |
Hawaii’s law is the strictest. HRS 291C-112 defines human habitation to include use as a dwelling place, living abode or sleeping place, and the Hawaii Intermediate Court of Appeals rejected vagueness and equal protection challenges to it in 1996. A short nap in daylight falls outside the 6 p.m. to 6 a.m. window, but an overnight sleep on a public street does not.
Kentucky shows the other direction. Its 2024 unlawful camping offence, in KRS 511.110, treats vehicles as possible camp facilities, but it expressly excludes a person sleeping in a lawfully parked vehicle on a public road, street or parking lot for under 12 hours. A first offence is a violation; repeat offences are Class B misdemeanours. Florida’s 2024 law on public camping, section 125.0231, similarly carves out a person sleeping in a registered, insured car parked where it may lawfully be.

Can you sleep in your car at a rest area?
Usually yes, for a limited time. Rest areas exist partly to get tired drivers off the road, so most states allow a nap but cap the stay and ban camping. California’s rule, in title 21, section 2205 of the California Code of Regulations, says vehicles and people may not stay more than “eight (8) hours in any twenty-four (24) hour period”, and that camping is prohibited. Texas is more generous: the Texas Department of Transportation lists a visitor length of stay of up to 24 hours under Transportation Code 545.411.
Other states set shorter limits and some post “no overnight parking” signs, so read the sign at the entrance. The distinction most rules draw is between resting and camping: sleeping in your seat is generally fine within the limit, while setting up a tent, cooking or spreading belongings around the car is not.
Can you sleep in your car in a Walmart or other private car park?
Only with the owner’s permission. A shop car park, hotel lot or office car park is private property, so the owner decides who may stay. Some retailers have historically let travellers park overnight at the store manager’s discretion, but that is a company practice, not a legal right, and it can be overridden by a city ordinance. If staff or security ask you to leave and you stay, you risk a trespass charge. Hawaii’s statute applies on private land too unless the owner has authorised both the parking and the sleeping.
Curious law questions like this often turn on property rights rather than a specific ban. Our guide to whether dumpster diving is illegal works the same way: the activity is usually lawful, but trespass and local ordinances decide the edge cases.
Can you get a DUI for sleeping in your car?
Yes, in many states. DUI laws commonly cover not only driving but being in “actual physical control” of a vehicle while impaired, and police and courts can treat a drunk person asleep in the driver’s seat with the keys nearby as being in control. Arizona is a well-known example. Its courts use a totality of the circumstances test, and in State v. Zaragoza (2009) the Arizona Supreme Court approved a list of factors that includes whether the engine was running or the ignition was on, where the key was, where and in what position the driver was found, whether the person was awake or asleep, whether the headlights were on, and whether the driver had voluntarily pulled off the road. In that case the defendant said he only meant to sleep in the car, but he was in the driver’s seat putting the key in the ignition, and his conviction stood.
States differ widely here, and some are stricter than Arizona. If you have been drinking, the safer course is not to sleep in the car at all. If you must, the factors courts look at suggest the lower risk choices: sit in the back seat, keep the key out of the ignition and away from the driver’s seat, leave the engine and lights off, and park legally off the road.
Is it illegal to sleep in your car in the UK?
No general law stops you sleeping in your car in the UK, but the same two problems arise. Parking rules, council restrictions and private car park terms still apply, and many car parks prohibit overnight stays or charge for them.
The bigger risk is drink. Under section 5 of the Road Traffic Act 1988, it is an offence to be “in charge of a motor vehicle on a road or other public place” while over the alcohol limit, even if you are not driving. You have a defence if you prove there was no likelihood of you driving while still over the limit. The official penalties for being in charge while over the limit or unfit through drink are up to 3 months’ imprisonment, a fine of up to £2,500 and a possible driving ban. Our earlier piece on sleeping in your car when drunk looks at that defence in more detail.
How can you sleep in your car legally and safely?
- Check the local rules first. Look up the city’s parking and vehicle dwelling ordinances, and read every sign where you stop.
- Use places meant for it. Rest areas within their time limits, campgrounds that allow car camping, and private lots where you have permission are the safest options.
- Stay sober, or stay out of the driver’s seat. If you have had a drink, the back seat with the key away from the ignition is less likely to be treated as control of the car.
- Do not run the engine in an enclosed space. Carbon monoxide can build up quickly, especially in a garage or when snow blocks the exhaust.
- Keep moving if asked. Arguing with an officer or security guard over a parking spot rarely ends well; moving on avoids a trespass or loitering charge.
Road trippers and visitors are most often caught out because rules change at every city line. If you are driving in the US from abroad, our guide to what to do after a car accident in the USA as a tourist covers other legal surprises, and our explainer on whether it is illegal to drive barefoot answers another common road myth.
Frequently asked questions
Is it illegal to sleep in your car overnight?
Not in most US states, provided you are lawfully parked and sober. Hawaii prohibits using a parked vehicle as a sleeping place on public roads between 6 p.m. and 6 a.m., and many cities ban sleeping or living in vehicles on public streets, at least overnight or in residential areas.
Can police wake you up for sleeping in your car?
Yes. Officers can approach a parked car to check on the occupant’s welfare or to enforce parking and local ordinances. If they see signs of impairment and you are in the driver’s seat, that check can turn into a DUI investigation.
How long can you sleep at a rest stop?
It depends on the state. California allows up to 8 hours in any 24 hour period at its safety roadside rest areas, while Texas allows stays of up to 24 hours. Other states set their own limits, which are usually posted at the entrance.
Can you sleep in your car if you are drunk?
It is risky. Many US states can charge DUI if you are in actual physical control of the car while impaired, which can include sleeping in the driver’s seat with the keys. In the UK, being drunk in charge of a vehicle is an offence under section 5 of the Road Traffic Act 1988.
Is it legal to live in your car?
There is no federal law against it, but living in a vehicle is often restricted by city ordinances on vehicle habitation, camping and how long a car may stay parked in one place. Since Grants Pass v. Johnson in 2024, cities have more freedom to enforce those rules.
Is sleeping in your car illegal in California?
Not under state law. California has no statewide ban, and its rest areas allow stays of up to 8 hours in any 24. Cities set their own rules on vehicle dwelling and overnight parking, so the answer depends on where you park.
This article is general information, not legal advice. Local ordinances change often, so check the rules where you plan to stop.
Featured image: Photo: Sergi Montaner via Pexels
Where the legal industry reads first.
Enjoyed this article? Get the biggest legal industry updates, deals, appointments, insights and expert interviews in your inbox, free.
No spam. Unsubscribe anytime.From Legal Desire
Is your firm the one being cited, or the one being skipped?
We ran the test. On several everyday legal questions, software companies are answering and law firms are not. We help firms fix that, and we build the technology behind the practice.
Lawyers and firms: get featured on Legal Desire
Share your deals, lateral moves, firm news and insights with 1M+ monthly readers: founders, law firm partners, general counsel and practising lawyers across the US, UK, EU and GCC.
Get featuredSubmit a press release