Too Tired to Drive, Nowhere to Stay: Where Can You Legally Park and Sleep?
It is 1:40 a.m. on the interstate. You have been driving since noon, the lane lines are starting to blur, and the next motel you can afford is two hours away. You take the exit. There is a state rest area, a big store lot with the lights still on, and a quiet residential street. Three places to park, and three different sets of rules: a state time limit, a private owner’s permission, and whatever the city council wrote into its code. Some people reading this are on a road trip. Some are sleeping in a car because there is nowhere else to go tonight. The law is the same for both. This guide takes it one location at a time, then covers drinking and what to say when a flashlight taps the glass.Is It Illegal to Sleep in Your Car? The Short Answer
Sleeping in Your Car, Place by Place
A store that lets travelers park overnight is giving permission, not recognizing a right, and it can take that permission back with a sign or one sentence from a security guard. Ask inside first. If you are told to leave, leave; staying is what turns a nap into a trespass case.
State camping laws treat vehicles differently:
- Texas — Penal Code § 48.05 makes camping in a public place without consent a Class C misdemeanor. “Camp” means residing temporarily in a place with shelter, such as a tent, tarp, sleeping bag, or blankets. The text does not mention vehicles.
- Florida — § 125.0231 stops cities and counties from allowing regular public camping or sleeping on public property, but the definition excludes “Lodging or residing overnight in a motor vehicle that is registered, insured, and located in a place where it may lawfully be.”
- Kentucky — KRS 511.110, the unlawful camping statute, says it does not prevent a person from sleeping temporarily in a vehicle parked lawfully on a public road, street, or parking lot for less than 12 hours.
- Indiana — Senate Enrolled Act 285, effective July 1, 2026, bars camping, sleeping, or long-term shelter on state or local government land not authorized for it. A first contact brings a warning; the misdemeanor applies only if the person is within 300 feet of that spot at least 48 hours later. The chapter does not mention vehicles.
- Texas — Transportation Code § 545.411: it is an offense to remain at a rest area longer than 24 hours, or to put up a tent or structure, if a sign gives notice or an officer tells you. After an officer’s notice you have eight hours to leave.
- California — 21 CCR § 2205: no more than 8 hours in any 24-hour period, and camping is prohibited.
- Washington — RCW 47.38.020: no more than 8 hours within a 24-hour period, and no camping.
- Florida — Rule 14-28.002: up to 3 hours, or up to 10 hours for commercial motor vehicle operators. Camping is prohibited.
- Virginia — 24VAC30-51-30, effective March 11, 2026: “No overnight parking is permitted in rest areas.”
Read the sign as you pull in. In four of these five states a rest area is a lawful place to sleep, but only inside the posted limit.
National parks are stricter. Federal regulations define camping to include the “parking of a motor vehicle, motor home or trailer, or mooring of a vessel for the apparent purpose of overnight occupancy” (36 CFR § 1.4), and they prohibit camping outside designated sites or areas (36 CFR § 2.10). Sleeping in your car at a park pullout or trailhead is camping under that definition, so use a campground.
Other states draw the line elsewhere. Florida’s DUI statute, § 316.193, reaches anyone “driving or in actual physical control of a vehicle.” In State v. Fleck (Minn. 2010), the Minnesota Supreme Court upheld a conviction of a man asleep behind the wheel in his own apartment parking spot, engine off and cold, keys in the center console. California’s Supreme Court went the other way in Mercer v. Department of Motor Vehicles (1991), holding that “drive” requires proof the vehicle actually moved, while noting that other charges, such as public intoxication, can still apply.
These cases turn on where the person sat, where the keys were, whether the engine was running, and what gear the car was in. Texas also has a public intoxication offense (Penal Code § 49.02) that needs no vehicle. A ride, a friend’s couch, or a room avoids the question entirely.
What to Say When an Officer Knocks on Your Window
“Good evening, officer. I got too tired to drive safely, so I pulled over to sleep.”
If you are not sure the spot is allowed:“Is it a problem for me to be parked here? If it is, I’ll move.”
If you are told to move but you are not safe to drive:“I’m not able to drive safely right now. Can I call someone for a ride, or walk from here?”
If the questions keep going:“Am I being detained, or am I free to go?”
If the officer asks to look through the car:“I don’t consent to a search.”
Do not argue about the ordinance at the window, and never give a false name. Three guides go deeper: when you have to show ID to police, your rights during a traffic stop, and when police can search your car.Sleeping in Your Car: What You Can vs. Can’t Do
✓ YOU CAN USUALLY
- Sleep at a state rest area inside the posted time limit
- Sleep in a private lot when the owner or manager has said yes
- Sleep in your vehicle on BLM or national forest land open to dispersed camping, within the stay limit
- Ask whether you are free to go, and decline consent to a search
✗ YOU CAN’T
- Stay on private property after you have been told to leave
- Ignore a city ordinance or a no-overnight-parking sign because you are only sleeping
- Outstay a rest-area limit, or park overnight where the state bans it, like Virginia
- Sleep in your car in a national park outside a designated campsite
- Assume a parked car protects you from a DUI charge after drinking
- Give an officer a false name — a crime under Texas Penal Code § 38.02 if you are detained or arrested
Myths About Sleeping in Your Car, Busted
Sleeping-in-Your-Car Questions People Actually Ask
Tap a question to open it.Is it illegal to sleep in your car in Texas?
Can you sleep in your car at a rest stop?
Can you sleep in your car in a Walmart or other store parking lot?
Can you get a DUI for sleeping in your car?
Can police knock on your window and make you move?
Is it legal to sleep in your car on a residential street?
Is it illegal to live in your car, and where can you get help?
Sleeping in Your Car: Key Terms, Explained
The Law Behind Sleeping in Your Car
Links to the full texts are in Sources below.Vehicle Sleeping Law That’s Still Moving
- State camping laws after Grants Pass — Florida’s and Kentucky’s statewide laws date from 2024, and Indiana’s took effect July 1, 2026. Each handles vehicles differently.
- City vehicle ordinances — in February 2026 the Colorado Springs City Council voted 7–2 for an ordinance against vehicle camping on public property, according to local news reports.
- Federal pressure — Executive Order 14321, signed July 24, 2025, tells federal agencies to give grant priority to states and cities that enforce prohibitions on urban camping.
- Texas — Senate Bill 241, which would have pushed cities to enforce the state camping ban more strictly, passed the Senate but did not become law in 2025, the Texas Tribune reported.
The Bottom Line on Whether It Is Illegal to Sleep in Your Car
The law does not ask whether you were asleep. It asks whose ground you were on and what that owner, city, state, or agency allows. A rest area gives you a set number of hours. A store lot gives you whatever the manager says. A city street gives you whatever the council wrote. A national park gives you a campsite or nothing. And if you have been drinking, the driver’s seat can be a charge of its own. So read the sign, ask permission, keep the engine off, and move when you are told to. Pulling over when you are too tired to drive is the right call; the only question is where. Now you know.Sources
Primary sources:- City of Grants Pass v. Johnson, 603 U.S. ___ (2024) — full opinion — supreme.justia.com
- Martin v. City of Boise, 920 F.3d 584 (9th Cir. 2019) — law.justia.com
- Desertrain v. City of Los Angeles, No. 11-56957 (9th Cir. 2014) — law.justia.com
- Cady v. Dombrowski, 413 U.S. 433 (1973) — supreme.justia.com
- Texas Transportation Code § 545.411 — use of rest area — law.justia.com
- TxDOT — safety rest area list — txdot.gov
- Texas Penal Code § 30.05 — criminal trespass — statutes.capitol.texas.gov
- Texas Penal Code § 48.05 — prohibited camping — statutes.capitol.texas.gov
- Texas Penal Code §§ 49.02 and 49.04 — public intoxication and driving while intoxicated — statutes.capitol.texas.gov
- Texas Penal Code § 38.02 — failure to identify — statutes.capitol.texas.gov
- Freeman v. State, No. 05-00-01920-CR (Tex. App.—Dallas 2002), applying Denton v. State, 911 S.W.2d 388 (Tex. Crim. App. 1995) — caselaw.findlaw.com
- Florida Statutes § 316.193 — driving under the influence — flsenate.gov
- State v. Fleck, No. A08-0072 (Minn. Jan. 21, 2010) — mn.gov
- Mercer v. Department of Motor Vehicles, 53 Cal.3d 753 (1991) — scocal.stanford.edu
- Los Angeles Municipal Code § 85.02 — use of vehicles for dwelling — codelibrary.amlegal.com
- San Diego Police Department document OR 19-11 — vehicle habitation ordinance (Municipal Code § 86.0137), May 16, 2019 — sandiego.gov
- San Diego Police Department Training Bulletin 23-17 — enforcement of vehicle habitation, December 20, 2023 — sandiego.gov
- Florida Statutes § 125.0231 — public camping and public sleeping — flsenate.gov
- Kentucky Revised Statutes § 511.110 — unlawful camping — legislature.ky.gov
- Indiana Senate Enrolled Act 285 (2026) — iga.in.gov
- California Code of Regulations, title 21, § 2205 — safety roadside rest areas — law.cornell.edu
- Revised Code of Washington § 47.38.020 — limitations on use of rest areas — leg.wa.gov
- Florida Administrative Code Rule 14-28.002 — public use of rest areas — law.cornell.edu
- Virginia Administrative Code, 24VAC30-51 — waysides and rest areas — law.lis.virginia.gov
- 36 CFR § 1.4 — National Park Service definitions — ecfr.gov
- 36 CFR § 2.10 — camping and food storage — ecfr.gov
- Bureau of Land Management — camping on public lands — blm.gov
- Black Hills National Forest — dispersed camping — fs.usda.gov
- Mendocino National Forest — dispersed camping stay limits, Order 08-25-16 — fs.usda.gov
- Executive Order 14321, Ending Crime and Disorder on America’s Streets (July 24, 2025) — govinfo.gov
- CDC — carbon monoxide poisoning basics — cdc.gov
- 211 — about the 211 network — 211.org
- Colorado Springs Gazette — City Council vote on vehicle camping, February 2026 — gazette.com
- Texas Tribune — Senate Bill 241 withdrawn, May 26, 2025 — texastribune.org
- ClickOrlando — Florida rest stop time limits, August 5, 2026 — clickorlando.com
LawJustic is for educational purposes only and does not provide legal advice. Rules on sleeping in a vehicle vary by state, county, and city and change often. If you have been cited or charged, contact a licensed attorney in your state. Last reviewed: October 2026.