Is It OK to Sleep in a Car? Laws, DUI Risk, and Safety

Sleeping in your car is not illegal under federal law, but whether it is legal to sleep in your car in any given spot depends on the state, county, or city where you park. Some places allow it with no restrictions, others ban it outright, and many fall somewhere in between with rules tied to the hour, the location, or how close you are to a park, school, or home. A 2024 Supreme Court decision gave local governments even more room to enforce those bans, so the smartest move before you recline the seat is knowing the rules where you are.

Why the Answer Depends on Where You Park

Authority to regulate sleeping in vehicles sits almost entirely with state and local governments. Some cities ban “vehicle habitation” across the board. Others prohibit it only during certain hours or within a set distance of parks, schools, or residential neighborhoods. Many jurisdictions have nothing specific on the books, which leaves the question to police discretion and general parking enforcement.

The legal tools cities reach for include vehicle-dwelling ordinances, anti-camping laws, overnight parking bans, and public nuisance statutes. Fines for violations typically run from around $25 to $1,000. Repeat offenses in some jurisdictions can lead to vehicle impoundment or arrest.

What the Grants Pass Decision Changed

Before June 2024, people sleeping in vehicles or outdoors in the nine western states covered by the Ninth Circuit could point to Martin v. City of Boise as a shield. That 2018 ruling held that the Eighth Amendment barred cities from enforcing public-camping bans against homeless individuals when shelter beds were unavailable. The Supreme Court wiped that protection away.

In City of Grants Pass v. Johnson, decided June 28, 2024, the Court ruled 6–3 that enforcing generally applicable laws against camping on public property does not constitute cruel and unusual punishment under the Eighth Amendment. 1Supreme Court of the United States. City of Grants Pass v. Johnson et al. (Opinion) The Court reasoned that the Eighth Amendment governs the kind of punishment imposed after a conviction, not whether a government can criminalize particular behavior in the first place. The ordinances at issue prohibited actions like occupying a campsite or parking overnight in city parks, and the Court found those prohibitions applied to anyone regardless of housing status.

The practical takeaway for anyone sleeping in a car: cities and counties now have broad authority to pass and enforce anti-camping and vehicle-dwelling ordinances without worrying about Eighth Amendment challenges. If you are sleeping in your car on public property in a place that bans it, no federal constitutional right protects you from a citation, a fine, or even a short jail sentence for repeat violations. 2Wisconsin State Legislature. Developments in Constitutional Law: City of Grants Pass v. Johnson

Where You Can Generally Sleep in Your Car Legally

A few categories of locations are reliably safer than parking on a random street. Knowing them ahead of time is the difference between a restful night and a knock on the window at 2 a.m.

Highway Rest Areas

Most states operate rest areas along interstate highways, and many allow short-term sleeping. The catch is the time limit. Some states cap your stay at two or three hours, others permit up to eight hours or overnight. Roughly a dozen states either prohibit overnight parking at rest areas entirely or post signs restricting it. Enforcement is not always strict, but a state trooper can issue a citation if you overstay, especially during peak travel periods. Read the posted signs when you pull in.

Bureau of Land Management Land

The BLM manages roughly 245 million acres of public land, mostly in western states, and most of it is open to dispersed camping at no cost. You can park and sleep on BLM land for up to 14 days within any 28-day period, after which you need to move at least 25 to 30 miles away. 3Bureau of Land Management. Camping on Public Lands Vehicles must stay on designated roads. Some areas are posted “Closed to Camping” or require fire permits, so checking with the local BLM field office before you go is worth the call. The BLM states that dispersed camping is for short-term recreation, not long-term living, so it works well for road trips and temporary situations but not as a permanent housing solution.

National Forests

National forests managed by the U.S. Forest Service also allow dispersed camping, generally for up to 14 days in one location. 4USDA Forest Service. Dispersed Camping – Pacific Southwest Region Individual forests can impose shorter limits through closure orders issued under federal regulations. 5eCFR. 36 CFR 261.58 – Occupancy and Use No amenities are provided, so you need to be self-contained: pack out all trash, camp at least 150 feet from water sources, and check the Motor Vehicle Use Map for roads safe for your vehicle. Spots along graded dirt roads are usually easy to reach in a standard car; some forest roads cause real problems for low-clearance vehicles.

Private Lots With Permission

Some large retailers allow overnight parking at individual store locations, with the decision typically left to each store’s manager rather than set by a blanket corporate policy. Walmart is probably the best-known example. The rule everywhere is the same: ask before you park. Call the store, speak to a manager, and confirm that overnight stays are permitted at that specific location. Local ordinances sometimes override a willing store manager, and “no overnight parking” signs at a location that previously allowed it mean the answer has changed. Treat any permission as a one-night courtesy, keep a low profile, and skip the camp chairs and generators.

Where You Are Likely to Be Cited

Cities With Vehicle-Dwelling Bans

A growing number of cities have ordinances specifically targeting sleeping in vehicles. The labels vary (“vehicle habitation,” “vehicle dwelling”), but the effect is the same: if an officer finds you sleeping in your car on a public street or in a public parking lot, you can be ticketed. Some ordinances apply citywide; others target zones near schools, parks, or residential areas. Enforcement ranges from a verbal warning and a request to move to a written citation with fines that escalate for repeat violations. After Grants Pass, expect more cities to adopt or strengthen these ordinances, since the primary legal obstacle to enforcement has been removed. 1Supreme Court of the United States. City of Grants Pass v. Johnson et al. (Opinion)

Private Property Without Permission

Sleeping in your car on private property without the owner’s consent is trespassing in every state. That includes business parking lots after hours, church lots, apartment complex lots, and private driveways. Property owners or managers can call police to have you removed, and you may face a trespassing citation, a tow, or both. Towing fees commonly run $100 to $300 or more, with daily storage charges on top. If a lot does not have a sign explicitly welcoming overnight parking, it is not welcoming overnight parking.

The DUI Trap When You Sleep It Off

This is where people who thought they were being responsible get blindsided. If you have been drinking and decide to sleep in your car instead of driving, you can still be charged with DUI or DWI in many states.

The concept is “physical control.” A large number of states do not require the vehicle to be moving, or even running, for a charge to stick. Courts look at the totality of the circumstances to decide whether you were in a position to operate the vehicle. The factors that matter most are predictable: where you were sitting (driver’s seat versus back seat), where the keys were (in the ignition versus in the trunk), whether the engine was running, and where the car was parked (on a road versus in a driveway). None of these is individually decisive, but stacking several in the wrong direction makes a conviction far more likely.

If you plan to sleep in your car after drinking, the safest combination is to sit in the back seat, put your keys somewhere you cannot easily reach them from the driver’s seat, and turn the engine off. That will not guarantee you avoid a charge in every state, but it undercuts the strongest arguments prosecutors rely on. Parking in a legal spot rather than on the shoulder of a road helps too, since a car stopped in a travel lane suggests the driver pulled over mid-trip rather than making a deliberate decision to stop driving.

Carbon Monoxide Can Kill You in Your Sleep

Running the engine for heat or air conditioning while you sleep is one of the most dangerous things you can do in a vehicle. Carbon monoxide from the exhaust system can build up inside the cabin, especially if the car is parked in an enclosed or poorly ventilated area, or if snow or debris blocks the tailpipe. The CDC warns that people who are sleeping can die from CO poisoning before they ever experience symptoms. 6CDC. Carbon Monoxide Poisoning Basics More than 400 Americans die from unintentional CO poisoning every year, and a parked car with a running engine is one of the classic scenarios.

If you must run the engine, crack a window, make sure the tailpipe is clear, and never do it in a garage or other enclosed space. A battery-powered CO detector designed for vehicle use runs about $20 to $40. Better yet, use a sleeping bag rated for cold weather and skip the engine altogether.

Other Laws That Can Trip You Up

Even where sleeping in your car is technically legal, adjacent laws can create problems. Loitering ordinances may be enforced if your vehicle sits in one spot for an extended period, particularly in commercial or residential areas. Noise ordinances apply if you are running a generator or playing music. Littering or improper waste disposal can draw citations that have nothing to do with sleeping and everything to do with how you manage your space. A clean, inconspicuous setup goes a long way toward avoiding attention from residents and patrol officers alike.

Practical Steps to Stay Out of Trouble

  • Research before you stop. A five-minute search for the city or county’s overnight parking rules beats a two-hour interaction with police at 3 a.m.
  • Rotate locations. Staying in one spot night after night draws attention. Moving every night, even a few blocks, reduces complaints.
  • Arrive late, leave early. Pulling in after 9 or 10 p.m. and leaving before 7 a.m. keeps you below the threshold that triggers most enforcement.
  • Keep window coverings subtle. Fabric shades or towels are less conspicuous than reflective sun shades or dark curtains that signal someone is living inside.
  • Do not spread out. Chairs, cooking equipment, or belongings outside the vehicle signal habitation rather than a rest stop, which is the distinction many ordinances are built around.
  • Use public land when possible. BLM land, national forests, and rest areas with overnight allowances are the lowest-risk options by a wide margin. 3Bureau of Land Management. Camping on Public Lands
  • Have your exhaust system checked annually. Even a small leak can push carbon monoxide into the cabin, and the risk compounds when you are sleeping with the windows up. 6CDC. Carbon Monoxide Poisoning Basics

Treat every new stop as an open question, check local rules, and default to federal public lands or explicitly permitted locations whenever you can.