Is It Illegal to Sleep in Your Car? Federal, State and City Rules

Guides · Planning
By RestStopsNearMe Editorial Team · Published November 1, 2026 · 9 min read

Is it illegal to sleep in your car? In most places, no. We found no federal law that makes sleeping in a parked car a crime in itself. What can make it illegal is where you park and what condition you are in: a city ordinance against living in vehicles, a private lot where you have no permission, a rest area time limit, a “no overnight parking” sign, or being drunk in the driver’s seat with the keys.

This guide sorts those rules by level (federal, state, city) and by place (street, private lot, public land, rest area), and ends with a checklist you can use before you park for the night.

When is it illegal to sleep in your car? Where you park decides

Where you park Usually allowed? What decides it
State rest area Yes, within the state’s limit State rule or posted sign; from 2 hours (Pennsylvania, Tennessee) to 24 hours (Texas, Kansas, Wisconsin); no overnight parking in Maryland, Nebraska, Tennessee and Virginia
Turnpike service plaza Often, with limits The toll authority’s rules (Maine Turnpike: 4 hours, 12 hours for commercial drivers in designated spaces)
City street Depends on the city Parking rules plus any vehicle-habitation ordinance
Private lot (store, hotel, church, office) Only with the owner’s permission The property owner; without permission you risk being asked to leave or towed
BLM land Generally yes, unless posted closed Dispersed camping is generally limited to 14 days within any 28-day period
National forest Often yes, outside developed areas Each forest’s stay limits and motor vehicle rules

The rest of this guide explains each row.

Federal, state and local law: who regulates what

Federal law: no general ban, but rules on federal land

Federal law does not set a general rule for sleeping in a car. Federal agencies regulate their own land instead. The Bureau of Land Management says dispersed camping is “generally limited to 14 days within any 28-day period,” after which you must move, “often at least 25 to 30 miles away,” and that most BLM land allows it unless an area is posted “Closed to Camping” (BLM). The detailed rules are in 43 CFR Part 8360, and limits vary by state and field office.

National forests set limits forest by forest. The Black Hills National Forest, for example, allows dispersed camping for a maximum of 14 days in any 60-day period, keeps it out of areas around developed reservoirs, lakes and campgrounds, and lets vehicles go up to 300 feet off roads marked for it on the Motor Vehicle Use Map (USDA Forest Service, Black Hills NF). Check the page of the specific forest before you go; another forest can have different numbers.

One federal court decision shapes city rules. In City of Grants Pass v. Johnson (2024), the US Supreme Court held 6–3 that enforcing generally applicable laws against camping on public property does not violate the Eighth Amendment ban on cruel and unusual punishment (City of Grants Pass v. Johnson, 603 U.S. ___ (2024)). Cities can therefore enforce camping and overnight rules on public property, including against people with nowhere else to go.

State law: highways, rest areas and camping

States regulate the places they own: highway right-of-way, rest areas and state land. Three patterns show up in the rule texts we checked:

  • Rest area time limits. Most states with written rules set a number of hours or defer to posted signs. Our guide can you sleep at a rest area lists the rule for all 50 states, with sources.
  • Camping bans on highway property. Georgia makes camping on state highway property a misdemeanor, while expressly allowing travelers to use rest areas for “resting, sleeping, eating” (O.C.G.A. § 32-6-6). Vermont bans overnight camping on highway right-of-way, at public rest areas and on undesignated public land, with fines of up to $50 per day (19 V.S.A. § 1106). New Hampshire bars tents, camping devices and sleeping on the ground on public property without permission (RSA 236:58).
  • Rules on abandoned vehicles. North Carolina lets police remove a vehicle left on a highway right-of-way, including rest areas, for 24 hours or more (N.C.G.S. § 20-161(e)).

Notice what these laws target. New Hampshire names sleeping “on the ground”, not in a vehicle. Georgia protects sleeping at rest areas. The line is usually drawn at camping, not at sleeping inside a car.

City law: vehicle-habitation ordinances

Cities are where sleeping in a car is most likely to be restricted. Some have ordinances against using a vehicle as living quarters, which go beyond ordinary parking rules.

San Diego is a well-documented example. Its Municipal Code § 86.0137 makes it unlawful to use a vehicle for human habitation on a street or public property between 9:00 p.m. and 6:00 a.m., and at any time within 500 feet of a residence or a school, unless the City Manager has authorized the location. The San Diego Police Department’s training bulletin from December 20, 2023 explains how officers apply it:

  • Evidence of habitation includes sleeping, cooking, or storing bedding or cookware in the vehicle, judged on all the circumstances.
  • Sleeping alone does not settle it. A person merely sleeping, sitting, eating or drinking in a parked vehicle is not in violation on those factors alone.
  • Enforcement is progressive: a warning first, then an infraction citation, then a misdemeanor citation, with arrest possible from the fourth contact.
  • The overnight restriction is not to be enforced when legal options such as safe parking lots are full, closed or not reasonably available.

Source: SDPD Training Bulletin 23-17. Other cities have their own versions with different hours and distances, and some have none. Before you sleep on a city street, look up the city’s municipal code for “vehicle habitation”, “living in vehicles” or “overnight parking”, and read the street signs.

Sleeping drunk in your car can still be a DUI

This is the biggest legal risk of sleeping in a car, and it surprises many drivers. In a number of states, the DUI law covers being in “physical control” of a vehicle, not only driving it. A parked car and closed eyes do not automatically protect you.

Ohio defines it precisely. “Physical control” means being in the driver’s position of the front seat and having possession of the vehicle’s ignition key or other ignition device. Being in physical control while under the influence of alcohol or drugs is a first-degree misdemeanor (Ohio Rev. Code § 4511.194). That is a separate offense from Ohio’s OVI (drunk driving) law.

Arizona makes it unlawful to “drive or be in actual physical control of a vehicle” while impaired or with an alcohol concentration of 0.08 or more within two hours (A.R.S. § 28-1381). Arizona courts decide physical control case by case. The Arizona Supreme Court in State v. Zaragoza (2009) confirmed the “totality of the circumstances” test from State v. Love (1995): the question is whether the person posed a threat to the public through present or imminent control of the vehicle while impaired (State v. Zaragoza). The factors the court listed include:

  • 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
  • whether the vehicle was in a traffic lane or legally parked
  • whether the driver had voluntarily pulled off the road
  • time of day and weather, and whether the heater or air conditioning was on

The list is not exhaustive. In Love, the court noted that a drunk who turns off the key but stays behind the wheel “is just as able to take command of the car.”

Other states word their laws differently, and outcomes depend on the state and the facts. Our editorial advice: if you have been drinking, sleeping in the car is not a safe legal plan. Get a ride or a room. At the least, don’t sit in the driver’s seat with the keys. This is general information, not legal advice for your case.

Private parking lots: only with permission

A store, hotel, church or office parking lot is private property. Whether you can sleep there is the owner’s decision, not a state rule. Some businesses allow overnight parking at some locations; many post “no overnight parking” signs. Without permission, you can be asked to leave, and your vehicle can be towed under the lot’s posted rules.

If you want to try a private lot, ask the manager on duty, park where they tell you, and leave in the morning. Our guide to free overnight parking compares the options, and rest area vs. truck stop explains how private truck stops differ from public rest areas. Our directory lists public rest areas, welcome centers and service plazas only, not private lots or truck stops.

Rest areas: legal, within the limit

For most drivers on an Interstate, a rest area is the simplest legal place to sleep. You sleep in your vehicle, in a marked space, within the state’s time limit, and you don’t set up camp outside. The limits differ a lot: 8 hours per 24 hours in California and Washington, 3 hours in Florida and Illinois (10 hours for truck drivers on a required break in Florida), 24 hours in Texas. Maryland, Nebraska, Tennessee and Virginia don’t allow overnight parking at state rest areas. Fourteen states publish no statewide limit, so the posted sign is the rule there.

The full 50-state table, with the official source for every row, is in can you sleep at a rest area. To find a stop on your route, use the rest area finder or browse rest areas by state.

Checklist before you sleep in your car

  1. Know who owns the lot. Public rest area, toll plaza, city street, private lot or federal land: each has a different rule-maker.
  2. Read the signs. “No overnight parking”, time limits and “no camping” signs apply whether or not you are asleep.
  3. Check the city code if you are on a street in town. Search the municipal code for vehicle habitation or overnight parking.
  4. Ask permission on private property, and get it from someone who can give it.
  5. Stay sober, or stay out of the driver’s seat. Keys out of the ignition and out of reach of the driver’s seat lowers the “physical control” risk; not drinking removes it.
  6. Keep everything inside the vehicle. Chairs, grills, tents and awnings turn sleeping into camping.
  7. Mind the time limit at rest areas and plazas, and the stay limit on BLM or Forest Service land.
  8. Ventilate and check the tailpipe. CDC warns that a snow-blocked tailpipe can fill a vehicle with carbon monoxide (CDC).
  9. Park where you can be seen. Lit spaces near buildings are a sensible choice; see are rest areas safe.

Frequently asked questions

Is it illegal to sleep in your car with the engine running?

Not as such, but it adds two risks. If you have been drinking, a running engine is one of the factors courts weigh for “physical control” (Arizona lists it first). And if snow or anything else blocks the tailpipe, carbon monoxide can build up inside the vehicle.

Is sleeping in your car the same as living in it?

No, and some ordinances turn on that difference. San Diego’s police guidance says that merely sleeping in a parked vehicle is not, on that factor alone, a violation of the city’s vehicle-habitation ordinance. Officers look at the whole picture, such as bedding, cooking and stored belongings, plus the time and location.

Does a “no overnight parking” sign apply if I’m just sleeping?

Yes. The sign regulates parking, and a sleeping driver’s car is still parked. If the sign says no overnight parking, sleeping there overnight breaks the rule even if nothing else does.

Can I sleep in my car on BLM land or in a national forest?

Usually yes, outside developed sites and areas posted closed. BLM generally limits dispersed camping to 14 days within any 28-day period. National forest limits are set per forest, such as 14 days in any 60 days in the Black Hills National Forest. Check the local office’s page before you go.

Sources

  1. Camping on Public Lands — Bureau of Land Management
  2. Dispersed Camping, Black Hills National Forest — USDA Forest Service
  3. City of Grants Pass v. Johnson, 603 U.S. ___ (2024) — Justia (US Supreme Court opinion)
  4. Training Bulletin 23-17, Enforcement of Vehicle Habitation (San Diego Municipal Code § 86.0137) — San Diego Police Department
  5. Ohio Rev. Code § 4511.194, Physical control of vehicle while under the influence — Ohio Laws

Leave a Comment