You're a few hundred miles into a road trip, it's 2 AM, your eyelids are losing the war, and the next motel is forty miles away. Or you've had a few too many and you know better than to drive. Or you simply need a place to close your eyes that doesn't cost $150 a night. Whatever brought you here, you're asking a question that intersects federal safety policy, state transportation codes, criminal DUI law, constitutional rights, and basic survival biology — all at once. So: is it actually illegal to sleep in your car?
There is no federal law banning it. Legality depends on where you park — most states allow rest area stays of 2–24 hours; some cities ban street-side vehicle habitation; and sleeping drunk in a parked car can still trigger a DUI.
That answer is accurate — but it's also the tip of a very complicated iceberg. The distinction between a legal, life-saving nap and a criminal act can come down to which parking lot you chose, whether your keys are in your pocket or in the ignition, whether a 2024 Supreme Court ruling applies to your city, and whether your car's engine is quietly poisoning you while you sleep. The full picture is worth reading.
Research Summary — Rest Area Policies Across All 50 States
The National Landscape at a Glance
19
Permissive
No posted time limit. Sleeping in-vehicle is actively encouraged.
21
Moderate
Time limits apply (8–24 hrs) or a regulatory gray area exists.
9
Restrictive
Short limits (2–4 hrs) or overnight banned with active enforcement.
1
Banned
Hawaii: statewide statute bans vehicle habitation on public roads 6 PM–6 AM.
The question "is it illegal to sleep in your car?" does not have a single national answer because there is no national law governing it. What exists instead is a cascade of authority: federal highway policy says pull over and rest; state transportation departments set time limits at rest areas; city councils pass vehicle habitation ordinances; and courts have carved out criminal DUI exposure even for people who never turned a key. Each layer applies simultaneously.
This report examines each layer in turn, with full state-by-state data and the primary source citations that back every claim.
Federal Policy: The Government Wants You to Sleep in Your Car
The clearest federal position on sleeping in a vehicle comes from the National Highway Traffic Safety Administration (NHTSA), which explicitly advises drivers experiencing drowsiness to "pull over in a safe, well-lit place — such as a designated rest stop — for a short 20-minute restorative nap."[1]NHTSA estimates drowsy driving contributes to approximately 91,000 police-reported crashes annually, resulting in roughly 50,000 injuries and nearly 800 fatalities — likely undercounted, since fatigue is notoriously difficult to confirm after the fact.[2]
The National Transportation Safety Board (NTSB) has repeatedly placed human fatigue on its Most Wanted List of Transportation Safety Improvements.[2]For commercial drivers, the Federal Motor Carrier Safety Administration (FMCSA) mandates rest through Hours of Service (HOS) regulations. Critically, the FMCSA explicitly clarifies that time spent resting or sleeping in a parked vehicle — at a rest area or parking lot — qualifies as off-duty time, provided the driver is relieved of all responsibility for the vehicle.[3]
The Federal Paradox
Federal safety agencies actively encourage sleeping in parked vehicles. Simultaneously, state and local governments frequently restrict, limit, or criminalize the exact same act. This conflict is not resolved by any federal preemption statute — it is a deliberate delegation of authority, and it means the legality of your nap depends entirely on what jurisdiction your parking spot sits in.
Rest Areas: The 50-State Breakdown
The most common — and legally clearest — venue for vehicular sleeping is the Interstate Highway System's network of safety rest areas. Their regulation falls entirely under individual state Departments of Transportation, producing a wide spectrum of rules.[4]
A nearly universal legal distinction governs these facilities: the difference between sleeping and camping. Because rest areas exist to combat driver fatigue, sleeping inside a vehicle is widely treated as a safety measure. Camping — defined not by sleep, but by outward indicators of recreational habitation — is universally banned. The visual triggers that convert "resting" into "illegal camping" include: rolling out RV awnings, setting up exterior chairs, deploying hydraulic leveling jacks, pitching tents, or sleeping on the grass. An occupant who remains inside the vehicle with gear stowed is generally classified as "resting," not camping.
Three Regional Governance Typologies
The 50-state landscape clusters into three governance patterns:
The West & Midwest — Permissive
These states prioritize highway safety over anti-loitering enforcement. Time limits are absent or generous (18–24 hrs). The sole enforcement distinction is visual: a car with drawn shades is "resting"; a deployed generator or slide-out is "camping."
AZ, NV, TX, WY, OK, MO, LA, AL, AK, AR, CT, GA, IN, ME, MI, ND, OK, RI, WV
Northeast, Mid-Atlantic & Rust Belt — Restrictive
High population density and heavy commercial freight traffic drive strict 2–4 hour limits. These caps are engineered to maintain high turnover in limited parking stalls — ensuring truckers who are federally required to rest can always find a space.
NY, PA, IL, FL, KY, MD, TN, SD
The South & Carolinas — Deliberate Gray Area
These DOTs post "No Overnight Parking" signs but deliberately decline to establish specific hourly maximums in their administrative codes. Because facilities remain open 24 hours, travelers may stay as long as needed to "rest sufficiently." Officers are generally instructed not to expel actively sleeping drivers due to liability exposure for highway re-entry incidents.
CO, NC, SC, VA, NE, NB
State-by-State Rest Area Reference
The interactive map and table below cover all 50 states. Hover or tap any state in the map for a summary of limits, or click any table row below for full statutory reference and notes.
Interactive Rest Area Sleeping Map
Hover or tap any state to see maximum stay limits, policy tier, and notes on legal rest area sleeping regulations.
Click any row to expand. Data sourced from individual state DOT administrative policies and statutory codes. Last verified June 2026.
The Parked DUI: Sleeping Off a Drunk Can Still Get You Arrested
Here is the most counterintuitive legal trap in vehicular sleeping law: choosing to sleep in your car instead of driving while intoxicated is widely considered the responsible decision — and it can still result in a criminal DUI conviction in many states.
Prosecutors and law enforcement agencies deploy a doctrine called Actual Physical Control (APC), which allows DUI charges against individuals who possess the capability to operate a vehicle while intoxicated, regardless of whether the vehicle is actually moving.[5]The legislative theory is preventative: the state has a compelling interest in stopping impaired drivers before they can put the vehicle in motion.
What Officers Evaluate: The Totality of Circumstances Test
Because state legislatures rarely define physical control precisely, courts apply a totality of the circumstances standard.[6]The four factors most heavily weighted in APC prosecutions are:
Key Location
High Risk
Keys in the ignition, in your pocket, or within arm's reach in the center console are all indicative of control. Moving keys to the trunk or glove box before sleeping significantly reduces APC exposure.
Engine Status
High Risk
A running engine — even if turned on solely for heat or AC — is the strongest single indicator of physical control. An off engine is substantially better.
Seating Position
Moderate Risk
Being found in the driver's seat creates a strong presumption of control. Sleeping in the back seat or passenger seat significantly weakens an APC case.
Vehicle Location
Contextual
A vehicle parked hazardously on a highway shoulder implies recent impaired driving. A vehicle legally parked in a residential driveway or a marked stall before alcohol consumption began substantially reduces inference of control.
How Three States Treat This Very Differently
Minnesota
State v. Fleck (Minn. Sup. Ct.)
Conviction Upheld
Defendant was found entirely asleep in his own assigned residential parking stall. Engine off, no devices in operation, no evidence the vehicle had been recently driven. Because the driver was in the driver's seat with keys in the center console, the Minnesota Supreme Court affirmed a DWI conviction. [↗]
California
California Appellate Courts
DUI Requires Movement
California's DUI statute requires "volitional and voluntary movement" of the vehicle. Mere physical control is not synonymous with driving. If an officer finds someone asleep with the engine off and no evidence of prior impaired driving (warm engine, hazardous parking position), prosecution faces significant hurdles. [↗]
Pennsylvania
Thomas E. Bold, Jr. v. PennDOT (Pa. Sup. Ct.)
Engine-for-Heat Defense Recognized
Found unconscious in driver's seat of a legally parked car at a mall, engine running, headlights on, admitted drinking at nearby bar and entered car to "sleep it off." The Pennsylvania Supreme Court ruled in favor of the defendant: starting a car for heat alone does not equal control over the vehicle's movement, and the legal parking + no seatbelt negated the inference of recent driving. [↗]
The Practical Risk Reduction Checklist
If you need to sleep off alcohol in your vehicle, minimizing APC exposure means addressing each of the four factors officers evaluate:
✓ Turn the engine off — or ensure you're in a vehicle without a running engine
✓ Move keys out of reach — trunk, glove box, or give them to a sober person
✓ Move to the back seat — driver's seat location is the single biggest inference of control
✓ Park legally before drinking — a parked car at the venue before consumption negates the inference you drove there drunk
This is informational research, not legal advice. Individual state laws and judicial interpretation vary.
Municipal Ordinances: City Streets and the 2024 Supreme Court Ruling
Beyond rest areas and the DUI question, sleeping in a vehicle on a public city street is governed by a third separate layer: local municipal ordinances. This layer underwent a seismic legal shift in June 2024.
City of Grants Pass v. Johnson (U.S. Supreme Court, 2024)
Prior to 2024, a powerful Ninth Circuit precedent — Martin v. Boise — held that cities in western states could not penalize involuntarily homeless individuals for sleeping outside when no adequate shelter existed. This effectively blocked many cities from enforcing vehicle habitation bans.[10]
In a 6-3 decision authored by Justice Neil Gorsuch, the Supreme Court reversed the Ninth Circuit entirely.[10]The Court held that enforcing generally applicable camping and sleeping regulations on public property does not violate the Eighth Amendment's prohibition on cruel and unusual punishment. The ruling restored to municipalities broad authority to enact and enforce vehicle habitation restrictions — regardless of shelter availability.
How Major Cities Have Responded
City / State
San Diego, CA
Banned 9 PM – 6 AM
San Diego Municipal Code § 86.0137 bans vehicle habitation on any street or public property between 9:00 PM and 6:00 AM. Also banned at all times within 500 feet of a residential building or school. [↗]
City / State
Honolulu County, HI
Banned 2 AM – 5 AM; 120-min daytime cap
Honolulu County limits parking along federal-aid highways to 120 minutes during daylight hours, and completely bans parking between 2:00 AM and 5:00 AM. Combined with Hawaii's statewide 6 PM–6 AM vehicle habitation statute, overnight sleeping is virtually impossible to execute legally on any public road in Hawaii. [↗]
City / State
Florida (Statewide)
Local bans mandated by state law
House Bill 1365 (2024) preempted local leniency by prohibiting counties and municipalities from allowing people to sleep or camp in any public area. It explicitly defines "lodging or residing overnight in a motor vehicle" as a prohibited act unless parked on authorized private property or in a designated camping spot. [↗]
The legal landscape after Grants Pass is one where municipalities have broad authority but wide variance in how they use it. Cities in the South and Midwest have historically been less active in enforcement than coastal metros, but that calculus can shift quickly as local political conditions change. The only reliable check is your specific city's municipal code.
Physical Safety: The Hazards of Sleeping in a Running Car
The legal question and the safety question are separate, but they interact. Understanding both is essential for anyone who might need to sleep in a vehicle.
Carbon Monoxide: The Silent Killer
Carbon monoxide (CO) is a colorless, odorless gas produced by incomplete combustion in internal combustion engines. When a vehicle idles with windows up, CO can accumulate in the cabin through degraded door seals, weather stripping, and firewall grommets — even on modern vehicles.[14]
The risk escalates dramatically in winter. Clinical research published in the medical literature demonstrates that lethal CO concentrations can build inside a vehicle with a snow-blocked tailpipe in as little as two and a half minutes.[15]Even with windows cracked, dangerous levels accumulate rapidly. Because CO produces no sensory warning, occupants can slip from sleep into incapacitation without any conscious experience of symptoms.
Important: Standard Home CO Detectors Don't Work Here
Residential CO detectors alarm at concentrations above 70 parts per million (ppm) — calibrated to avoid false alarms in normal home use. In the small volume of a car cabin, CO escalates far faster. Vehicle-specific CO detectors are calibrated to alarm at concentrations as low as 9 ppm.[16] If you sleep in a running vehicle with any regularity, a vehicle-grade CO detector is a necessary safety device.
Carbon Dioxide Accumulation: The Overlooked Threat
A secondary hazard documented by the Society of Automotive Engineers (SAE) is carbon dioxide (CO₂) buildup from human respiration in an increasingly airtight cabin. As OEMs optimize vehicles for aerodynamics and noise reduction, cabins have become significantly more sealed.[17]
SAE research found that in 96 percent of vehicles tested with the HVAC set to recirculation and windows closed, CO₂ exceeded the recommended indoor air quality threshold of 1,000 ppm within minutes — with some vehicles measuring concentrations exceeding 8,888 ppm.[17]Elevated CO₂ causes cognitive impairment, severe headaches, and deepened fatigue. The irony is acute: a driver who pulls over because they are fatigued may find the cabin environment worsening their condition, leading to impaired judgment when they attempt to resume driving.
Automatic Engine Shutdown Systems
Both commercial and consumer vehicles increasingly feature Automatic Engine Shutdown (AES) systems. Federal regulations under 40 CFR 1037.660 mandate AES on commercial tractors, requiring engine shutdown within 300 seconds (5 minutes) of inactivity.[18]Most consumer OEMs (Ford, GM, Toyota) have also implemented 30-minute consumer AES systems, largely in response to carbon monoxide incidents from keyless vehicles left running in garages.[19]
AES prevents indefinite engine-running during sleep — which reduces CO risk. However, it creates a secondary hazard: once the engine shuts off, climate control fails. In temperatures below 30°F, cabin temperature can drop to dangerous levels within minutes of engine cutoff, creating hypothermia risk for occupants sleeping in extreme cold.[20]
Safety Protocol Summary
🪟
Crack a Window
Even a 1-inch gap provides meaningful air exchange, diluting both CO and CO₂ buildup.
🔎
Clear the Tailpipe
In winter, visually confirm the tailpipe is clear of snow and ice before idling.
📡
Vehicle-Grade CO Detector
A detector calibrated to alarm at ≤9 ppm, not the residential standard of 70 ppm.
Federal Public Lands: The Most Permissive Legal Option
For those who want a legal, uninterrupted overnight stay away from urban restrictions and highway infrastructure, federal public lands — managed by the Bureau of Land Management (BLM) and the U.S. Forest Service (USFS) — offer the most permissive framework in the country.[21]
Dispersed camping allows individuals to sleep in vehicles on federal land free of charge and without reservations, subject to conservation rules:
14-day stay limit within any 28-day period. After 14 days, vehicles must relocate at least 25–30 air miles away and cannot return until the 28-day cycle resets.[21]
200-foot buffer from water sources (lakes, rivers, streams) under BLM rules; 100-foot buffer under most National Forest regulations.[22]
Stay on designated roads. Motor Vehicle Use Maps (MVUM) define where driving is authorized. Vehicles may typically pull up to 150–300 feet off road into a pre-disturbed clearing. Creating new tracks is a federal violation.
No permanent improvements — structures, trenches, or modifications to the land are prohibited and subject to federal fines.
The primary limitation of federal dispersed camping is geography: BLM land is concentrated in the West (Nevada, Utah, Arizona, California, Wyoming, Oregon). Travelers in the East have substantially fewer dispersed camping options and must rely more heavily on state rest areas, private campgrounds, or truck stop chains that allow overnight parking.
Frequently Asked Questions
Is it illegal to sleep in your car in a Walmart parking lot?
It depends on the specific store's policy and local ordinances. Walmart's corporate policy historically tolerated overnight RV and car parking as a customer service, but individual store managers have discretion to restrict it. Always look for posted signs. In cities with municipal anti-camping ordinances, local law may prohibit vehicular sleeping even on private property open to the public.
Is it illegal to sleep in your car in a neighborhood?
Most residential streets are public right-of-way, making them subject to whatever municipal vehicle habitation ordinance your city has. After the 2024 Supreme Court ruling in Grants Pass v. Johnson, cities have broad authority to enforce these bans. Check your city's municipal code — many cities ban habitation between specified hours (e.g., 9 PM–6 AM) or within set distances of residences.
Can you sleep in your car at a rest stop overnight?
In most states, yes — for a defined period. About 19 states have no posted time limit. Another 21 states allow stays of 8–24 hours. 6 states cap stays at 2–4 hours (FL, KY, IL, NY, PA, SD). Hawaii bans vehicle habitation on all public roads 6 PM–6 AM. Tennessee enforces a strict 2-hour limit and additionally bans sleeping on state property 10 PM–7 AM.
Can you get a DUI for sleeping in your car drunk?
Yes, in many states. The "Actual Physical Control" (APC) doctrine allows DUI charges without the car being in motion. Risk is highest when: keys are in the ignition or on your person, the engine is running, and you're in the driver's seat. Risk is lowest when: engine is off, keys are in the trunk or glove box, and you're in the back seat, parked legally in a place you were before drinking. State law varies significantly — California requires volitional movement; Minnesota has convicted drivers parked in their own assigned spot with engine off.
Is it safe to sleep in your car with the windows up?
If the engine is running, no — carbon monoxide can accumulate to dangerous levels through imperfect cabin seals. If the engine is off, oxygen depletion from respiration (CO₂ buildup) can cause cognitive impairment over extended periods in a tightly sealed cabin. SAE research found 96% of vehicles exceeded recommended CO₂ thresholds during engine-idle scenarios. Best practice: crack a window, ensure the tailpipe is clear of snow, and use a vehicle-grade CO detector calibrated to ≤9 ppm.
Which states have the most lenient laws on sleeping in your car?
Alabama, Alaska, Arkansas, Arizona, Connecticut, Georgia, Indiana, Louisiana, Maine, Massachusetts, Michigan, Missouri, North Dakota, Oklahoma, Rhode Island, Utah, West Virginia, and Wyoming all have no posted time limits at state rest areas and actively encourage safety resting. For extended vehicle camping, BLM-managed land in Nevada, Utah, Arizona, California, and Oregon offers 14-day dispersed camping with no fee or reservation.
Legal Disclaimer
This content is provided for informational and educational research purposes only. It does not constitute legal advice and does not create an attorney-client relationship. Laws are subject to change; verify current statutes with your state's official code or consult a qualified attorney in your jurisdiction before taking any action.
Primary Source Directory
Every factual claim in this report traces to one of the following primary government, statutory, or peer-reviewed sources. Secondary sources are clearly labeled.
#
Source Name
Issuing Authority
Link
[1]
Drowsy Driving: Avoid Falling Asleep Behind the Wheel